Skip to content

chore(deps): bump shelf_web_socket from 2.0.1 to 3.0.0 in /packages/celest#242

Merged
dnys1 merged 2 commits intomainfrom
dependabot/pub/packages/celest/shelf_web_socket-3.0.0
Mar 11, 2025
Merged

chore(deps): bump shelf_web_socket from 2.0.1 to 3.0.0 in /packages/celest#242
dnys1 merged 2 commits intomainfrom
dependabot/pub/packages/celest/shelf_web_socket-3.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2025

Bumps shelf_web_socket from 2.0.1 to 3.0.0.

Release notes

Sourced from shelf_web_socket's releases.

package:shelf_web_socket v3.0.0

  • BREAKING:: Change the signature of the webSocketHandler method's onConnection callback. Previously this took an untyped function with either one or two parameters. This now requires a ConnectionCallback; a typedef taking two parameters. See also dart-lang/shelf#457.
  • Add a API usage example.
  • Require Dart ^3.5.0.

Note that most clients seeing analysis issues from the above breaking change can fix it by adding a second parameter to their callback. So, they would change this:

webSocketHandler((webSocket) {
  webSocket.stream.listen((message) {
    webSocket.sink.add('echo $message');
  });
});

to this:

webSocketHandler((webSocket, _) {
  webSocket.stream.listen((message) {
    webSocket.sink.add('echo $message');
  });
});
Commits
  • 2a7442f rev shelf_web_socket to 3.0 in prep for publishing (#469)
  • bf79951 Publish shelf_router_generator 1.1.1 (#467)
  • 6b8b338 shelf_router_generator: bump dependencies (#464)
  • e3975a8 add more type information to the 'webSocketHandler' method (#463)
  • 2b5b683 move analysis_options.yaml into packages (#460)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [shelf_web_socket](https://github.com/dart-lang/shelf/tree/master/pkgs) from 2.0.1 to 3.0.0.
- [Release notes](https://github.com/dart-lang/shelf/releases)
- [Commits](https://github.com/dart-lang/shelf/commits/shelf_web_socket-v3.0.0/pkgs)

---
updated-dependencies:
- dependency-name: shelf_web_socket
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Mar 10, 2025
@dnys1 dnys1 merged commit 2ad7e1a into main Mar 11, 2025
3 checks passed
@dnys1 dnys1 deleted the dependabot/pub/packages/celest/shelf_web_socket-3.0.0 branch March 11, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update Dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant