OLD | NEW |
| 1 ## 2.0.0 |
| 2 |
| 3 * **Breaking change:** all constructors now take a `StreamChannel` rather than a |
| 4 `Stream`/`StreamSink` pair. |
| 5 |
| 6 * `Client.sendRequest()` and `Client.sendNotification()` no longer throw |
| 7 `StateError`s after the connection has been closed but before `Client.close()` |
| 8 has been called. |
| 9 |
| 10 * The various `close()` methods may now be called before their corresponding |
| 11 `listen()` methods. |
| 12 |
| 13 * The various `close()` methods now wait on the result of closing the underlying |
| 14 `StreamSink`. Be aware that [in some circumstances][issue 19095] |
| 15 `StreamController`s' `Sink.close()` futures may never complete. |
| 16 |
| 17 [issue 19095]: https://github.com/dart-lang/sdk/issues/19095 |
| 18 |
1 ## 1.2.0 | 19 ## 1.2.0 |
2 | 20 |
3 * Add `Client.isClosed` and `Server.isClosed`, which make it possible to | 21 * Add `Client.isClosed` and `Server.isClosed`, which make it possible to |
4 synchronously determine whether the connection is open. In particular, this | 22 synchronously determine whether the connection is open. In particular, this |
5 makes it possible to reliably tell whether it's safe to call | 23 makes it possible to reliably tell whether it's safe to call |
6 `Client.sendRequest`. | 24 `Client.sendRequest`. |
7 | 25 |
8 * Fix a race condition in `Server` where a `StateError` could be thrown if the | 26 * Fix a race condition in `Server` where a `StateError` could be thrown if the |
9 connection was closed in the middle of handling a request. | 27 connection was closed in the middle of handling a request. |
10 | 28 |
(...skipping 25 matching lines...) Expand all Loading... |
36 * Add `Server.close()`, which closes the underlying request stream and response | 54 * Add `Server.close()`, which closes the underlying request stream and response |
37 sink. | 55 sink. |
38 | 56 |
39 ## 0.0.2+3 | 57 ## 0.0.2+3 |
40 | 58 |
41 * Widen the version constraint for `stack_trace`. | 59 * Widen the version constraint for `stack_trace`. |
42 | 60 |
43 ## 0.0.2+2 | 61 ## 0.0.2+2 |
44 | 62 |
45 * Fix error response to include data from `RpcException` when not a map. | 63 * Fix error response to include data from `RpcException` when not a map. |
OLD | NEW |