Skip to content

Commit 004d226

Browse files
brianquinlanCommit Queue
authored andcommitted
Allow package:dds and package:dtd to accept the next release of shelf_web_socket and web_socket_channel
Bug:https://github.com/dart-lang/web_socket_channel/issues/340 Change-Id: I3dff79a66876005eb77a33f1f82f8ac5d19e764f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/362192 Commit-Queue: Brian Quinlan <[email protected]> Reviewed-by: Ben Konyi <[email protected]> Reviewed-by: Nate Bosch <[email protected]>
1 parent 3888fe9 commit 004d226

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

pkg/dds/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ and prepared DDS for using `unified_analytics` through the Dart Tooling Daemon.
55
- Updated `README.md` and added contributing guide (`CONTRIBUTING.md`).
66
- Updated `package:dds_service_extensions` constraint to ^2.0.0.
77
- Determine default `requireUserPermissionToResume` values from the `pause_isolates_on_start` and `pause_isolates_on_exit` flags.
8+
- Indicate compatibility with `package:web_socket_channel` 2.x and 3.x
9+
- Indicate compatibility with `package:shelf_web_socket` 1.x and 2.x
810
- Updated the `devtools_shared` dependency to version `^9.0.1`.
911
- Remove the `package:unified_analytics` dependency.
1012
- Serve DevTools extensions from their absolute location.

pkg/dds/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ dependencies:
2424
path: ^1.8.0
2525
shelf_proxy: ^1.0.0
2626
shelf_static: ^1.0.0
27-
shelf_web_socket: ^1.0.0
27+
shelf_web_socket: '>=1.0.0 <3.0.0'
2828
shelf: ^1.0.0
2929
sse: ^4.0.0
3030
stack_trace: ^1.10.0
3131
stream_channel: ^2.0.0
3232
vm_service: ^14.0.0
33-
web_socket_channel: ^2.0.0
33+
web_socket_channel: '>=2.0.0 <4.0.0'
3434

3535
# We use 'any' version constraints here as we get our package versions from
3636
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the

pkg/dtd/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2.2.1
2+
- Indicate compatibility with `package:web_socket_channel` 2.x and 3.x.
3+
14
## 2.2.0
25
- Added new response types `Success`, `StringResponse`, `BoolResponse`, and `StringListResponse`.
36
- Added contributing guide (`CONTRIBUTING.md`).

pkg/dtd/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: dtd
2-
version: 2.2.0
2+
version: 2.2.1
33
description: A package for communicating with the Dart Tooling Daemon.
44
repository: https://github.com/dart-lang/sdk/tree/main/pkg/dtd
55

@@ -10,7 +10,7 @@ dependencies:
1010
json_rpc_2: ^3.0.2
1111
stream_channel: ^2.1.2
1212
unified_analytics: ^6.0.0
13-
web_socket_channel: ^2.4.0
13+
web_socket_channel: '>=2.0.0 <4.0.0'
1414

1515
# We use 'any' version constraints here as we get our package versions from
1616
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the

0 commit comments

Comments
 (0)