From 7fe45d4c46f39c5bb26f7c75e1e912ddf8a25537 Mon Sep 17 00:00:00 2001 From: Benjamin Jones Date: Sat, 20 Sep 2025 00:12:00 -0400 Subject: [PATCH 1/5] Update WebSocketChannel documentation This constructor was removed in 3.0.0 according to the changelog. --- pkgs/web_socket_channel/lib/src/channel.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/web_socket_channel/lib/src/channel.dart b/pkgs/web_socket_channel/lib/src/channel.dart index f8a560e220..4f1f06f679 100644 --- a/pkgs/web_socket_channel/lib/src/channel.dart +++ b/pkgs/web_socket_channel/lib/src/channel.dart @@ -17,8 +17,6 @@ const String _webSocketGUID = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11'; /// A [StreamChannel] that communicates over a WebSocket. /// /// This is implemented by classes that use `dart:io` and `dart:html`. -/// The [WebSocketChannel.new] constructor can also be used on any platform to -/// connect to use the WebSocket protocol over a pre-existing channel. /// /// All implementations emit [WebSocketChannelException]s. These exceptions wrap /// the native exception types where possible. From 25c924290c2c15e84fa125f97ce5d33b9eabbe56 Mon Sep 17 00:00:00 2001 From: Benjamin Jones Date: Sat, 20 Sep 2025 00:24:31 -0400 Subject: [PATCH 2/5] Update CHANGELOG.md --- pkgs/web_socket_channel/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/web_socket_channel/CHANGELOG.md b/pkgs/web_socket_channel/CHANGELOG.md index f1828265e4..607286fd19 100644 --- a/pkgs/web_socket_channel/CHANGELOG.md +++ b/pkgs/web_socket_channel/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.0.4 + +- Remove obsolete documentation for `WebSocketChannel.new`. + ## 3.0.3 - Support `package:web_socket` 1.0.0. From 8380be0c9629e6d16b0e090df571bea013de0dde Mon Sep 17 00:00:00 2001 From: Benjamin Jones Date: Sat, 20 Sep 2025 00:25:42 -0400 Subject: [PATCH 3/5] Update version in pubspec.yaml Per contributor guidelines, this should be incremented in the first change after a release has been published. --- pkgs/web_socket_channel/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/web_socket_channel/pubspec.yaml b/pkgs/web_socket_channel/pubspec.yaml index 1446efa8cf..326b274e08 100644 --- a/pkgs/web_socket_channel/pubspec.yaml +++ b/pkgs/web_socket_channel/pubspec.yaml @@ -1,5 +1,5 @@ name: web_socket_channel -version: 3.0.3 +version: 3.0.4 description: >- A WebSocket API that enables cross-platform communication via StreamChannel. repository: https://github.com/dart-lang/http/tree/master/pkgs/web_socket_channel From 6cac956eb368284e3d735afa83c10ea70e5d4096 Mon Sep 17 00:00:00 2001 From: Benjamin Jones Date: Mon, 22 Sep 2025 21:59:27 -0400 Subject: [PATCH 4/5] Add wip tag to version Co-authored-by: Brian Quinlan --- pkgs/web_socket_channel/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/web_socket_channel/pubspec.yaml b/pkgs/web_socket_channel/pubspec.yaml index 326b274e08..0bbbd49be0 100644 --- a/pkgs/web_socket_channel/pubspec.yaml +++ b/pkgs/web_socket_channel/pubspec.yaml @@ -1,5 +1,5 @@ name: web_socket_channel -version: 3.0.4 +version: 3.0.4-wip description: >- A WebSocket API that enables cross-platform communication via StreamChannel. repository: https://github.com/dart-lang/http/tree/master/pkgs/web_socket_channel From 5800c50b242361685fd1ce79be4bbba83ac2f50b Mon Sep 17 00:00:00 2001 From: Benjamin Jones Date: Mon, 22 Sep 2025 22:00:47 -0400 Subject: [PATCH 5/5] Add wip tag to version in CHANGELOG.md Co-authored-by: Brian Quinlan --- pkgs/web_socket_channel/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/web_socket_channel/CHANGELOG.md b/pkgs/web_socket_channel/CHANGELOG.md index 607286fd19..5314c638eb 100644 --- a/pkgs/web_socket_channel/CHANGELOG.md +++ b/pkgs/web_socket_channel/CHANGELOG.md @@ -1,4 +1,4 @@ -## 3.0.4 +## 3.0.4-wip - Remove obsolete documentation for `WebSocketChannel.new`.