Skip to content

Commit

Permalink
Allow package:dds and package:dtd to accept the next release of shelf…
Browse files Browse the repository at this point in the history
…_web_socket and web_socket_channel

Bug:dart-lang/web_socket_channel#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]>
  • Loading branch information
brianquinlan authored and Commit Queue committed Apr 11, 2024
1 parent 3888fe9 commit 004d226
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions pkg/dds/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ and prepared DDS for using `unified_analytics` through the Dart Tooling Daemon.
- Updated `README.md` and added contributing guide (`CONTRIBUTING.md`).
- Updated `package:dds_service_extensions` constraint to ^2.0.0.
- Determine default `requireUserPermissionToResume` values from the `pause_isolates_on_start` and `pause_isolates_on_exit` flags.
- Indicate compatibility with `package:web_socket_channel` 2.x and 3.x
- Indicate compatibility with `package:shelf_web_socket` 1.x and 2.x
- Updated the `devtools_shared` dependency to version `^9.0.1`.
- Remove the `package:unified_analytics` dependency.
- Serve DevTools extensions from their absolute location.
Expand Down
4 changes: 2 additions & 2 deletions pkg/dds/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ dependencies:
path: ^1.8.0
shelf_proxy: ^1.0.0
shelf_static: ^1.0.0
shelf_web_socket: ^1.0.0
shelf_web_socket: '>=1.0.0 <3.0.0'
shelf: ^1.0.0
sse: ^4.0.0
stack_trace: ^1.10.0
stream_channel: ^2.0.0
vm_service: ^14.0.0
web_socket_channel: ^2.0.0
web_socket_channel: '>=2.0.0 <4.0.0'

# We use 'any' version constraints here as we get our package versions from
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the
Expand Down
3 changes: 3 additions & 0 deletions pkg/dtd/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2.2.1
- Indicate compatibility with `package:web_socket_channel` 2.x and 3.x.

## 2.2.0
- Added new response types `Success`, `StringResponse`, `BoolResponse`, and `StringListResponse`.
- Added contributing guide (`CONTRIBUTING.md`).
Expand Down
4 changes: 2 additions & 2 deletions pkg/dtd/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: dtd
version: 2.2.0
version: 2.2.1
description: A package for communicating with the Dart Tooling Daemon.
repository: https://github.com/dart-lang/sdk/tree/main/pkg/dtd

Expand All @@ -10,7 +10,7 @@ dependencies:
json_rpc_2: ^3.0.2
stream_channel: ^2.1.2
unified_analytics: ^6.0.0
web_socket_channel: ^2.4.0
web_socket_channel: '>=2.0.0 <4.0.0'

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

0 comments on commit 004d226

Please sign in to comment.