Releases: dart-lang/shelf
Releases · dart-lang/shelf
package:shelf_router_generator v1.1.3
- Require
analyzer: ^8.1.1 - Require
build: ^4.0.0 - Require
build_config: ^1.2.0 - Require
source_gen: ^4.0.1 - Require
sdk: ^3.9.0
package:shelf_router_generator v1.1.2
- Require
analyzer: '>=7.4.0 <9.0.0' - Require
build: ^3.0.0 - Require
build_config: ^1.1.0 - Require
source_gen: ^3.0.0 - Require
sdk: ^3.7.0
package:shelf_web_socket v3.0.0
- BREAKING:: Change the signature of the
webSocketHandlermethod's
onConnectioncallback. Previously this took an untyped function with either
one or two parameters. This now requires aConnectionCallback; 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
- Support the latest
package:analyzerandpackage:source_gen - Require
sdk: ^3.3.0
package:shelf_web_socket v2.0.1
- Require Dart
^3.3.0.
shelf-v1.4.2
package:shelf_router_generator v1.1.0
- 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
- Require Dart
2.19. - Allow
package:httpv1.0.0
shelf_web_socket-v1.0.4
- Added package topics to the pubspec file.
shelf_test_handler-v2.0.2
- Added package topics to the pubspec file.
- Require Dart
2.17.