NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #45 most downloaded on pub.dev
StreamChannel wrappers for WebSockets. Provides a cross-platform WebSocketChannel API, a cross-platform implementation of that API that communicates over an underlying StreamChannel.
Last release 1 years ago
17 Apr 2025
Release timing varies
gaps range from 2 weeks to 12 months
Nearly every release is documented
notes for 31 of 31 stable releases
1 version withdrawn
withdrawn after publishing
11 years old
33 releases · first in 2016
Support package:web_socket 1.0.0.
package:web_socket 1.0.0.Move to dart-lang/http monorepo.
dart-lang/http monorepo.Remove unnecessary dependency_overrides.
One column per quarter.
dependency_overrides.WebSocketChannel.new.web: '>=0.5.0 <2.0.0'.Add support for providing custom message when terminating a connection.
3.7.0.package:web_socket WebSockets and make it the
default implementation for WebSocketChannel.connect.WebSocketChannel constructor.WebSocketChannel an abstract interface.IOWebSocketChannel.ready will throw
WebSocketChannelException instead of WebSocketException.use secure random number generator for frame masking.
- Require Dart ^3.3 - Require package:web ^0.5.0.
^3.3package:web ^0.5.0.HtmlWebSocketChannel: Relax the type of the websocket parameter to the constructor in order to mitigate a breaking change introduced in 2.4.1.
HtmlWebSocketChannel: Relax the type of the websocket parameter to the
constructor in order to mitigate a breaking change introduced in 2.4.1.- Allow web: '>=0.3.0 <0.5.0'
web: '>=0.3.0 <0.5.0'Update the examples to use WebSocketChannel.ready and clarify that WebSocketChannel.ready should be awaited before sending data over the WebSocketChan
WebSocketChannel.ready and clarify that
WebSocketChannel.ready should be awaited before sending data over the
WebSocketChannel.ready in the docs for connect.pkg:web to support WebAssembly compilation.Add a customClient parameter to the IOWebSocketChannel.connect factory, which allows the user to provide a custom HttpClient instance to use for the W
customClient parameter to the IOWebSocketChannel.connect factory,
which allows the user to provide a custom HttpClient instance to use for the
WebSocket connectionAdded a Future ready property to WebSocketChannel, which completes when the connection is established
ready property to WebSocketChannel, which completes when
the connection is establishedconnectTimeout parameter to the IOWebSocketChannel.connect factory,
which controls the timeout of the WebSocket Future.Add HtmlWebSocketChannel.innerWebSocket getter to access features not exposed through the shared WebSocketChannel interface.
HtmlWebSocketChannel.innerWebSocket getter to access features not exposed
through the shared WebSocketChannel interface.Add IOWebSocketChannel.innerWebSocket getter to access features not exposed through the shared WebSocketChannel interface.
IOWebSocketChannel.innerWebSocket getter to access features not exposed
through the shared WebSocketChannel interface.- Support null safety. - Require Dart 2.12.
Add protocols argument to WebSocketChannel.connect. See the docs for WebSocket.connet.
protocols argument to WebSocketChannel.connect. See the docs for
WebSocket.connet.3.x).Add WebSocketChannel.connect factory constructor supporting platform independent creation of WebSockets providing the lowest common denominator of sup
WebSocketChannel.connect factory constructor supporting platform
independent creation of WebSockets providing the lowest common denominator
of support on dart:io and dart:html.bug fix don't pass protocols parameter to WebSocket.
Updates to handle Socket implements Stream
Socket implements Stream<Uint8List>Internal changes for consistency with the Dart SDK.
Allow stream_channel version 2.x
stream_channel version 2.x* Fixed description in pubspec. * Fixed lints in README.md.
Fixed description in pubspec.
Fixed lints in README.md.
Fixed analysis lints that affected package score.
Fixed links in README.md.
Added an example.
Fixed analysis lints that affected package score.
* Set max SDK version to <3.0.0.
<3.0.0.Remove use of deprecated constant name.
* Support the latest dev SDK.
Declare support for async 2.0.0.
async 2.0.0.Nothing published for this version
Increase the SDK version constraint to <2.0.0-dev.infinity.
<2.0.0-dev.infinity.* Support crypto 2.0.0.
crypto 2.0.0.Fix all strong-mode errors and warnings.
Fix all strong-mode errors and warnings.
Fix a bug where HtmlWebSocketChannel.close() would crash on non-Dartium
browsers if the close code and reason weren't provided explicitly.
Properly use BASE64 from dart:convert rather than crypto.
BASE64 from dart:convert rather than crypto.* Add support for crypto 1.0.0.
crypto 1.0.0.First non-experimental release; no semantic changes from version 0.1.6.
Your coding agent can read these notes before it upgrades. Set up the MCP server →