Skip to content

Releases: dart-lang/shelf

package:shelf_web_socket v3.0.0

30 Jan 17:49
2a7442f
Compare
Choose a tag to compare
  • 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 #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');
  });
});

package:shelf_router_generator v1.1.1

07 Jan 19:57
bf79951
Compare
Choose a tag to compare
  • Support the latest package:analyzer and package:source_gen
  • Require sdk: ^3.3.0

package:shelf_web_socket v2.0.1

22 Nov 16:37
7f26ebd
Compare
Choose a tag to compare
  • Require Dart ^3.3.0.

shelf-v1.4.2

21 Jun 17:46
2536c15
Compare
Choose a tag to compare

package:shelf_router_generator v1.1.0

20 Sep 20:34
4851978
Compare
Choose a tag to compare
  • Require sdk: ^3.0.0
  • Require analyzer: '>=4.6.0 <7.0.0'
  • Remove trailing slash requirement when using mount.

package:shelf_proxy v1.0.4

23 May 23:17
1c37128
Compare
Choose a tag to compare
  • Require Dart 2.19.
  • Allow package:http v1.0.0

shelf_web_socket-v1.0.4

03 May 19:22
25861e5
Compare
Choose a tag to compare
  • Added package topics to the pubspec file.

shelf_test_handler-v2.0.2

03 May 19:26
25861e5
Compare
Choose a tag to compare
  • Added package topics to the pubspec file.
  • Require Dart 2.17.

shelf_static-v1.1.2

03 May 19:26
25861e5
Compare
Choose a tag to compare
  • Added package topics to the pubspec file.
  • Require Dart 2.17.

shelf_router_generator-v1.0.6

03 May 19:41
79e3cee
Compare
Choose a tag to compare
  • Added package topics to the pubspec file.