NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #39 most downloaded on pub.dev
A shelf handler that wires up a listener for every connection.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 1.8 years
Nearly every release is documented
notes for 25 of 26 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
26 releases · first in 2014
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…
webSocketHandler method'sonConnection callback. Previously this took an untyped function with eitherConnectionCallback; a typedef^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');
});
});One column per quarter.
Require Dart ^3.3.0 .
^3.3.0.BREAKING:: Remove support for hijacking WebSocket requests that are not being transported using dart:io Sockets.
dart:io Sockets.^3.0.0.Added package topics to the pubspec file.
Fix checking for binary callbacks with strong null safety.
2.17.Update the pubspec repository field.
2.14.repository field.Require the latest shelf, remove dead code.
* Migrate to null safety.
Support the latest shelf release (1.x.x).
1.x.x).protocols argument even if the onConnection callback takes a second argument.Support the latest package:web_socket_channel.
package:web_socket_channel.Add pingInterval argument to webSocketHandler, to be passed through to the created channel.
pingInterval argument to webSocketHandler, to be passed through to the created channel.Stop using comment-based generic syntax.
Update SDK version to 2.0.0-dev.17.0.
Stopped using deprected HTML_ESCAPE constant name.
HTML_ESCAPE constant name.Set max SDK version to <3.0.0, and adjust other dependencies.
<3.0.0, and adjust other dependencies.Fix the check for onConnection to check the number of arguments and not that the arguments are dynamic.
onConnection to check the number of arguments and not that the arguments are dynamic.Allow stream_channel version 2.x
stream_channel version 2.x* Fix all strong-mode warnings.
Breaking change: webSocketHandler() now uses the [WebSocketChannel][WebSocketChannel] class defined in the web_socket_channel package, rather than the…
webSocketHandler() now uses the
WebSocketChannel class defined in the
web_socket_channel package, rather than the deprecated class defined in
http_parser.Breaking change: webSocketHandler() now passes a WebSocketChannel to the onConnection() callback, rather than a deprecated CompatibleWebSocket.
webSocketHandler() now passes a WebSocketChannel to the onConnection() callback, rather
than a deprecated CompatibleWebSocket.Nothing published for this version
Properly parse the Connection header. This fixes an issue where Firefox was unable to connect.
Connection header. This fixes an issue where Firefox was unable to connect.Mark as compatible with version 0.6.0 of shelf.
0.6.0 of shelf.* Support http_parser 1.0.0.
http_parser 1.0.0.Fix a link to shelf in the README.
shelf in the README.* Support http_parser 2.0.0.
http_parser 2.0.0.Your coding agent can read these notes before it upgrades. Set up the MCP server →