Index: CHANGELOG.md |
diff --git a/CHANGELOG.md b/CHANGELOG.md |
index 524cbad6add40950d309bc7ad817bb1f24f382e1..649c738b279b837d49aaa571d297a6689a8878d5 100644 |
--- a/CHANGELOG.md |
+++ b/CHANGELOG.md |
@@ -1,3 +1,21 @@ |
+## 2.0.0 |
+ |
+* **Breaking change:** all constructors now take a `StreamChannel` rather than a |
+ `Stream`/`StreamSink` pair. |
+ |
+* `Client.sendRequest()` and `Client.sendNotification()` no longer throw |
+ `StateError`s after the connection has been closed but before `Client.close()` |
+ has been called. |
+ |
+* The various `close()` methods may now be called before their corresponding |
+ `listen()` methods. |
+ |
+* The various `close()` methods now wait on the result of closing the underlying |
+ `StreamSink`. Be aware that [in some circumstances][issue 19095] |
+ `StreamController`s' `Sink.close()` futures may never complete. |
+ |
+[issue 19095]: https://github.com/dart-lang/sdk/issues/19095 |
+ |
## 1.2.0 |
* Add `Client.isClosed` and `Server.isClosed`, which make it possible to |