From 8935eca6b649d831e8d08353106d17050d4d5fc6 Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Thu, 11 Apr 2024 13:37:45 -0700 Subject: [PATCH] Prepare shelf_web_socket 2.0 for release --- pkgs/shelf_web_socket/CHANGELOG.md | 2 +- pkgs/shelf_web_socket/pubspec.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/shelf_web_socket/CHANGELOG.md b/pkgs/shelf_web_socket/CHANGELOG.md index 5984e065..e7ceb61b 100644 --- a/pkgs/shelf_web_socket/CHANGELOG.md +++ b/pkgs/shelf_web_socket/CHANGELOG.md @@ -1,4 +1,4 @@ -## 2.0.0-wip +## 2.0.0 * Require Dart `^3.0.0`. * **BREAKING:**: Remove support for hijacking WebSocket requests that are not diff --git a/pkgs/shelf_web_socket/pubspec.yaml b/pkgs/shelf_web_socket/pubspec.yaml index 2a8f846b..e2a0ef0b 100644 --- a/pkgs/shelf_web_socket/pubspec.yaml +++ b/pkgs/shelf_web_socket/pubspec.yaml @@ -1,5 +1,5 @@ name: shelf_web_socket -version: 2.0.0-wip +version: 2.0.0 description: > A shelf handler that wires up a listener for every connection. repository: https://github.com/dart-lang/shelf/tree/master/pkgs/shelf_web_socket @@ -14,7 +14,7 @@ environment: dependencies: shelf: ^1.1.0 stream_channel: ^2.1.0 - web_socket_channel: ^2.0.0 + web_socket_channel: '>=2.0.0 <4.0.0' dev_dependencies: dart_flutter_team_lints: ^2.0.0