|
| 1 | +## 2.1.3 |
| 2 | + |
| 3 | +* Require Dart 3.3 |
| 4 | +* Move to `dart-lang/tools` monorepo. |
| 5 | + |
| 6 | +## 2.1.2 |
| 7 | + |
| 8 | +* Require Dart 2.19 |
| 9 | +* Add an example. |
| 10 | +* Fix a race condition in `IsolateChannel.connectReceive()` where the channel |
| 11 | + could hang forever if its sink was closed before the connection was established. |
| 12 | + |
| 13 | +## 2.1.1 |
| 14 | + |
| 15 | +* Require Dart 2.14 |
| 16 | +* Populate the pubspec `repository` field. |
| 17 | +* Handle multichannel messages where the ID element is a `double` at runtime |
| 18 | + instead of an `int`. When reading an array with `dart2wasm` numbers within the |
| 19 | + array are parsed as `double`. |
| 20 | + |
| 21 | +## 2.1.0 |
| 22 | + |
| 23 | +* Stable release for null safety. |
| 24 | + |
| 25 | +## 2.0.0 |
| 26 | + |
| 27 | +**Breaking changes** |
| 28 | + |
| 29 | +* `IsolateChannel` requires a separate import |
| 30 | + `package:stram_channel/isolate_channel.dart`. |
| 31 | + `package:stream_channel/stream_channel.dart` will now not trigger any platform |
| 32 | + concerns due to importing `dart:isolate`. |
| 33 | +* Remove `JsonDocumentTransformer` class. The `jsonDocument` top level is still |
| 34 | + available. |
| 35 | +* Remove `StreamChannelTransformer.typed`. Use `.cast` on the transformed |
| 36 | + channel instead. |
| 37 | +* Change `Future<dynamic>` returns to `Future<void>`. |
| 38 | + |
| 39 | +## 1.7.0 |
| 40 | + |
| 41 | +* Make `IsolateChannel` available through |
| 42 | + `package:stream_channel/isolate_channel.dart`. This will be the required |
| 43 | + import in the next release. |
| 44 | +* Require `2.0.0` or newer SDK. |
| 45 | +* Internal style changes. |
| 46 | + |
| 47 | +## 1.6.8 |
| 48 | + |
| 49 | +* Set max SDK version to `<3.0.0`, and adjust other dependencies. |
| 50 | + |
| 51 | +## 1.6.7+1 |
| 52 | + |
| 53 | +* Fix Dart 2 runtime types in `IsolateChannel`. |
| 54 | + |
| 55 | +## 1.6.7 |
| 56 | + |
| 57 | +* Update SDK version to 2.0.0-dev.17.0. |
| 58 | +* Add a type argument to `MultiChannel`. |
| 59 | + |
| 60 | +## 1.6.6 |
| 61 | + |
| 62 | +* Fix a Dart 2 issue with inner stream transformation in `GuaranteeChannel`. |
| 63 | + |
| 64 | +* Fix a Dart 2 issue with `StreamChannelTransformer.fromCodec()`. |
| 65 | + |
| 66 | +## 1.6.5 |
| 67 | + |
| 68 | +* Fix an issue with `JsonDocumentTransformer.bind` where it created an internal |
| 69 | + stream channel which didn't get a properly inferred type for its `sink`. |
| 70 | + |
| 71 | +## 1.6.4 |
| 72 | + |
| 73 | +* Fix a race condition in `MultiChannel` where messages from a remote virtual |
| 74 | + channel could get dropped if the corresponding local channel wasn't registered |
| 75 | + quickly enough. |
| 76 | + |
| 77 | +## 1.6.3 |
| 78 | + |
| 79 | +* Use `pumpEventQueue()` from test. |
| 80 | + |
| 81 | +## 1.6.2 |
| 82 | + |
| 83 | +* Declare support for `async` 2.0.0. |
| 84 | + |
| 85 | +## 1.6.1 |
| 86 | + |
| 87 | +* Fix the type of `StreamChannel.transform()`. This previously inverted the |
| 88 | + generic parameters, so it only really worked with transformers where both |
| 89 | + generic types were identical. |
| 90 | + |
| 91 | +## 1.6.0 |
| 92 | + |
| 93 | +* `Disconnector.disconnect()` now returns a future that completes when all the |
| 94 | + inner `StreamSink.close()` futures have completed. |
| 95 | + |
| 96 | +## 1.5.0 |
| 97 | + |
| 98 | +* Add `new StreamChannel.withCloseGuarantee()` to provide the specific guarantee |
| 99 | + that closing the sink causes the stream to close before it emits any more |
| 100 | + events. This is the only guarantee that isn't automatically preserved when |
| 101 | + transforming a channel. |
| 102 | + |
| 103 | +* `StreamChannelTransformer`s provided by the `stream_channel` package now |
| 104 | + properly provide the guarantee that closing the sink causes the stream to |
| 105 | + close before it emits any more events |
| 106 | + |
| 107 | +## 1.4.0 |
| 108 | + |
| 109 | +* Add `StreamChannel.cast()`, which soundly coerces the generic type of a |
| 110 | + channel. |
| 111 | + |
| 112 | +* Add `StreamChannelTransformer.typed()`, which soundly coerces the generic type |
| 113 | + of a transformer. |
| 114 | + |
| 115 | +## 1.3.2 |
| 116 | + |
| 117 | +* Fix all strong-mode errors and warnings. |
| 118 | + |
| 119 | +## 1.3.1 |
| 120 | + |
| 121 | +* Make `IsolateChannel` slightly more efficient. |
| 122 | + |
| 123 | +* Make `MultiChannel` follow the stream channel rules. |
| 124 | + |
| 125 | +## 1.3.0 |
| 126 | + |
| 127 | +* Add `Disconnector`, a transformer that allows the caller to disconnect the |
| 128 | + transformed channel. |
| 129 | + |
| 130 | +## 1.2.0 |
| 131 | + |
| 132 | +* Add `new StreamChannel.withGuarantees()`, which creates a channel with extra |
| 133 | + wrapping to ensure that it obeys the stream channel guarantees. |
| 134 | + |
| 135 | +* Add `StreamChannelController`, which can be used to create custom |
| 136 | + `StreamChannel` objects. |
| 137 | + |
| 138 | +## 1.1.1 |
| 139 | + |
| 140 | +* Fix the type annotation for `StreamChannel.transform()`'s parameter. |
| 141 | + |
| 142 | +## 1.1.0 |
| 143 | + |
| 144 | +* Add `StreamChannel.transformStream()`, `StreamChannel.transformSink()`, |
| 145 | + `StreamChannel.changeStream()`, and `StreamChannel.changeSink()` to support |
| 146 | + changing only the stream or only the sink of a channel. |
| 147 | + |
| 148 | +* Be more explicit about `JsonDocumentTransformer`'s error-handling behavior. |
| 149 | + |
| 150 | +## 1.0.1 |
| 151 | + |
| 152 | +* Fix `MultiChannel`'s constructor to take a `StreamChannel`. This is |
| 153 | + technically a breaking change, but since 1.0.0 was only released an hour ago, |
| 154 | + we're treating it as a bug fix. |
| 155 | + |
| 156 | +## 1.0.0 |
| 157 | + |
| 158 | +* Initial version |
0 commit comments