diff --git a/CHANGELOG.md b/CHANGELOG.md index 0344397..aff1de9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ -## 3.0.1-wip +## 3.0.1 - Remove unnecessary `dependency_overrides`. - Remove obsolete documentation for `WebSocketChannel.new`. +- Update package `web: '>=0.5.0 <2.0.0'`. ## 3.0.0 diff --git a/lib/adapter_web_socket_channel.dart b/lib/adapter_web_socket_channel.dart index d4df1b3..0271f44 100644 --- a/lib/adapter_web_socket_channel.dart +++ b/lib/adapter_web_socket_channel.dart @@ -30,13 +30,13 @@ class AdapterWebSocketChannel extends StreamChannelMixin /// The close code set by the local user. /// /// To ensure proper ordering, this is stored until we get a done event on - /// [_controller.local.stream]. + /// [StreamChannelController.local]`.stream`. int? _localCloseCode; /// The close reason set by the local user. /// /// To ensure proper ordering, this is stored until we get a done event on - /// [_controller.local.stream]. + /// [StreamChannelController.local]`.stream`. String? _localCloseReason; /// Completer for [ready]. diff --git a/lib/html.dart b/lib/html.dart index a96076f..bc99a63 100644 --- a/lib/html.dart +++ b/lib/html.dart @@ -37,13 +37,13 @@ class HtmlWebSocketChannel extends StreamChannelMixin /// The close code set by the local user. /// /// To ensure proper ordering, this is stored until we get a done event on - /// [_controller.local.stream]. + /// [StreamChannelController.local]`.stream`. int? _localCloseCode; /// The close reason set by the local user. /// /// To ensure proper ordering, this is stored until we get a done event on - /// [_controller.local.stream]. + /// [StreamChannelController.local]`.stream`. String? _localCloseReason; /// Completer for [ready]. diff --git a/pubspec.yaml b/pubspec.yaml index a4fbefc..54f57f9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: web_socket_channel -version: 3.0.1-wip +version: 3.0.1 description: >- StreamChannel wrappers for WebSockets. Provides a cross-platform WebSocketChannel API, a cross-platform implementation of that API that @@ -13,7 +13,7 @@ dependencies: async: ^2.5.0 crypto: ^3.0.0 stream_channel: ^2.1.0 - web: ^0.5.0 + web: '>=0.5.0 <2.0.0' web_socket: ^0.1.5 dev_dependencies: