- Require Dart
2.14
. - Update the pubspec
repository
field.
- Require the latest shelf, remove dead code.
- Migrate to null safety.
- Support the latest
package:web_socket_channel
.
- Support the latest shelf release (
1.x.x
). - Require at least Dart 2.1
- Allow omitting
protocols
argument even if theonConnection
callback takes a second argument.
- Add
pingInterval
argument towebSocketHandler
, to be passed through to the created channel.
- Allow
stream_channel
version 2.x
- Fix the check for
onConnection
to check the number of arguments and not that the arguments aredynamic
.
- Set max SDK version to
<3.0.0
, and adjust other dependencies.
- Stopped using deprected
HTML_ESCAPE
constant name.
- Update SDK version to 2.0.0-dev.17.0.
- Stop using comment-based generic syntax.
- Fix all strong-mode warnings.
- Breaking change:
webSocketHandler()
now uses theWebSocketChannel
class defined in theweb_socket_channel
package, rather than the deprecated class defined inhttp_parser
.
- Breaking change:
webSocketHandler()
now passes aWebSocketChannel
to theonConnection()
callback, rather than a deprecatedCompatibleWebSocket
.
- Support
http_parser
2.0.0.
- Fix a link to
shelf
in the README.
- Support
http_parser
1.0.0.
- Mark as compatible with version
0.6.0
ofshelf
.
- Properly parse the
Connection
header. This fixes an issue where Firefox was unable to connect.