OLD | NEW |
1 ## 1.0.0 | 1 ## 1.0.0 |
2 | 2 |
3 * Add a `Client` class for communicating with external JSON-RPC 2.0 servers. | 3 * Add a `Client` class for communicating with external JSON-RPC 2.0 servers. |
4 | 4 |
| 5 * Add a `Peer` class that's both a `Client` and a `Server`. |
| 6 |
5 ## 0.1.0 | 7 ## 0.1.0 |
6 | 8 |
7 * Remove `Server.handleRequest()` and `Server.parseRequest()`. Instead, `new | 9 * Remove `Server.handleRequest()` and `Server.parseRequest()`. Instead, `new |
8 Server()` takes a `Stream` and a `StreamSink` and uses those behind-the-scenes | 10 Server()` takes a `Stream` and a `StreamSink` and uses those behind-the-scenes |
9 for its communication. | 11 for its communication. |
10 | 12 |
11 * Add `Server.listen()`, which causes the server to begin listening to the | 13 * Add `Server.listen()`, which causes the server to begin listening to the |
12 underlying request stream. | 14 underlying request stream. |
13 | 15 |
14 * Add `Server.close()`, which closes the underlying request stream and response | 16 * Add `Server.close()`, which closes the underlying request stream and response |
15 sink. | 17 sink. |
16 | 18 |
17 ## 0.0.2+3 | 19 ## 0.0.2+3 |
18 | 20 |
19 * Widen the version constraint for `stack_trace`. | 21 * Widen the version constraint for `stack_trace`. |
20 | 22 |
21 ## 0.0.2+2 | 23 ## 0.0.2+2 |
22 | 24 |
23 * Fix error response to include data from `RpcException` when not a map. | 25 * Fix error response to include data from `RpcException` when not a map. |
OLD | NEW |