Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: CHANGELOG.md

Issue 1652413002: Use StreamChannel. (Closed) Base URL: git@github.com:dart-lang/json_rpc_2.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | README.md » ('j') | README.md » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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.
OLDNEW
« no previous file with comments | « no previous file | README.md » ('j') | README.md » ('J')

Powered by Google App Engine
This is Rietveld 408576698