NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #101 most downloaded on pub.dev
Provides client and server functionality for setting up bi-directional communication through Server Sent Events (SSE) and corresponding POST requests.
Last release 6 months ago
08 Apr 2026
Release timing varies
gaps range from 4 weeks to 1.4 years
Nearly every release is documented
notes for 36 of 36 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
36 releases · first in 2019
Update the minimum Dart SDK version to 3.11.0.
3.11.0.Simplify the format of client ID strings.
One column per quarter.
Move to dart-lang/tools monorepo.
dart-lang/tools monorepo.Require package web: '>=0.5.0 <2.0.0'.
web: '>=0.5.0 <2.0.0'.Drop unneeded dependency on package:js.
package:js.3.3.0.package:web.Fix incorrect cast causing failure with dart2wasm.
dart2wasm.Update the minimum Dart SDK version to 3.2.0.
3.2.0.Send fetch requests instead of XHR requests.
fetch requests instead of XHR requests.debugKey parameter to SseClient to include in logging.package:js.2.16.0.Apply keepAlive logic to SocketExceptions.
keepAlive logic to SocketExceptions.package:pedantic to package:lintsrepository field.Limit the number of concurrent requests to prevent Chrome from automatically dropping them on the floor.
- Support null safety.
Require the latest shelf and remove dead code.
Fix an issue where closing the SseConnection stream would result in an error.
SseConnection stream would result in an
error.Add onConnected to replace onOpen.
onConnected to replace onOpen.done event to the
connection sink.Deprecate the client's onOpen getter. Messages will now be buffered until a connection is established.
onOpen getter. Messages will now be buffered until a
connection is established.Drop dependency on package:uuid.
package:uuid.\*\* Note \*\* This is not modelled as a breaking change as the server can handle messages from older clients. However, clients should be using the la…
** Note ** This is not modelled as a breaking change as the server can handle messages from older clients. However, clients should be using the latest server if they require order guarantees.
Add new shutdown methods on SseHandler and SseConnection to allow closing connections immediately, ignoring any keep-alive periods.
shutdown methods on SseHandler and SseConnection to allow
closing connections immediately, ignoring any keep-alive periods.Remove onClose from SseConnection and ensure the corresponding sink.close correctly fires.
onClose from SseConnection and ensure the corresponding
sink.close correctly fires.Add an onClose event to the SseConnection. This allows consumers to listen to this event in lue of sseConnection.sink.done as that is not guaranteed t
onClose event to the SseConnection. This allows consumers to listen
to this event in lue of sseConnection.sink.done as that is not guaranteed to
fire.Fix an issue where keepAlive may cause state errors when attempting to send messages on a closed stream.
keepAlive may cause state errors when attempting to send
messages on a closed stream.Fix an issue where keepAlive would only allow a single reconnection.
keepAlive would only allow a single reconnection.Re-expose isInKeepAlivePeriod flag on SseConnection. This flag will be true when a connection has been dropped and is in the keep-alive period waiting
isInKeepAlivePeriod flag on SseConnection. This flag will be
true when a connection has been dropped and is in the keep-alive period
waiting for a client to reconnect.Fix an issue where the SseClient would not send a done event when there was an error with the SSE connection.
SseClient would not send a done event when there
was an error with the SSE connection.Note that this is a breaking change but in actuality no one should be depending on this API.
isInKeepAlive on SseConnection private.Note that this is a breaking change but in actuality no one should be depending on this API.
Add optional keepAlive parameter to the SseHandler. If keepAlive is supplied, the connection will remain active for this period after a disconnect and
keepAlive parameter to the SseHandler. If keepAlive is
supplied, the connection will remain active for this period after a disconnect
and can be reconnected transparently. If there is no reconnect within that
period, the connection will be closed normally.Old functions still exists as deprecated, forwarding to the new functions without the preferNewest argument. Makes PackageConfig , Package and Languag…
findPackageConfigAndFile and findPackageConfigAndUri..packages file..packages files.packages.readAnyConfigFile to readConfigFile, and removedpreferNewest parameter.readAnyConfigFileUri which becomes readConfigFileUri.preferNewest argument.PackageConfig, Package and LanguageVersion @sealed classes,final in a future update.PackageConfig.minVersion to complement .maxVersion.2.Possible Breaking Change Error messages may now be delayed up to 5 seconds in the client.
Fix an exception when a subscription to a combineLatest stream is canceled while there is an ongoing asynchronous combine callback.
combineLatest stream is canceled- Use proper headers delimiter.
Switched to using the Apache httpd mime.conf table as the source of truth for mime types. Mime type additions:
application/vnd.geogebra.slidesfont/collectionimage/jxlimage/vnd.dvb.subtitlevideo/mp2tapplication/x-font-otf => font/otfapplication/x-font-ttf => font/ttfapplication/x-font-woff => font/woffmodel/vnd.mtsapplication/inkml+xml, inkml => inkapplication/octet-stream, so => binapplication/onenote, onetoc2 => onetocapplication/pgp-signature, sig => ascapplication/tei+xml, teicorpus => teiapplication/vnd.adobe.fxp, fxpl => fxpapplication/vnd.clonk.c4group, c4u => c4gapplication/vnd.dece.data, uvvf => uvfapplication/vnd.dece.ttml+xml, uvvt => uvtapplication/vnd.eszigno3+xml, et3 => es3application/vnd.framemaker, maker => fmapplication/vnd.geometry-explorer, gre => gexapplication/vnd.grafeq, gqs => gqfapplication/vnd.ibm.modcap, listafp => afpapplication/vnd.iccprofile, icm => iccapplication/vnd.intercon.formnet, xpx => xpwapplication/vnd.kde.kpresenter, kpt => kprapplication/vnd.kde.kword, kwt => kwdapplication/vnd.kinar, knp => kneapplication/vnd.koan, skt => skpapplication/vnd.ms-project, mpt => mppapplication/vnd.palm, pqa => pdbapplication/vnd.quark.quarkxpress, qxt => qxdapplication/vnd.simtech-mindmapper, twds => twdapplication/vnd.stardivision.writer, vor => sdwapplication/vnd.sus-calendar, susp => susapplication/vnd.symbian.install, sisx => sisapplication/vnd.ufdl, ufdl => ufdapplication/vnd.visio, vsw => vsdapplication/vnd.zul, zirz => zirapplication/x-authorware-bin, x32 => aabapplication/x-blorb, blorb => blbapplication/x-cbr, cbz => cbrapplication/x-director, w3d => dirapplication/x-font-type1, pfm => pfaapplication/x-msdownload, msi => exeapplication/x-pkcs12, pfx => p12application/x-pkcs7-certificates, spc => p7bapplication/x-zmachine, z8 => z1application/xv+xml, xvml => mxmlaudio/basic, snd => auaudio/mpeg, mpga => mp3audio/vnd.dece.audio, uvva => uvaimage/tiff, tif => tiffimage/vnd.dece.graphic, uvvi => uviimage/x-freehand, fhc => fhmessage/rfc822, mime => emlmodel/mesh, silo => mshmodel/x3d+binary, x3dbz => x3dbmodel/x3d+vrml, x3dvz => x3dvmodel/x3d+xml, x3dz => x3dtext/troff, tr => ttext/uri-list, urls => uritext/x-fortran, for => fvideo/mj2, mjp2 => mj2video/vnd.dece.hd, uvvh => uvhvideo/vnd.dece.mobile, uvvm => uvmvideo/vnd.dece.pd, uvvp => uvpvideo/vnd.dece.sd, uvvs => uvsvideo/vnd.dece.video, uvvv => uvvvideo/vnd.uvvu.mp4, uvvu => uvuvideo/x-ms-asf, asx => asfFix an issue where messages could come out of order.
Support the latest package:stream_channel.
package:stream_channel.>=2.1.0 <3.0.0.Update to package:uuid version 2.0.
package:uuid version 2.0.No longer expose close and onClose on an SseConnection. This is simply handled by the underlying stream / sink.
close and onClose on an SseConnection. This is simply
handled by the underlying stream / sink.SseConnection were not properly closed.Initial stable release.
- Initial commit.
Your coding agent can read these notes before it upgrades. Set up the MCP server →