NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #452 most downloaded on pub.dev
A HTTP/2 implementation in Dart.
Latest stable
3.2.0
Last release 6 days ago
16 Nov 2026
Release timing varies
gaps range from 2 weeks to 1.8 years
Nearly every release is documented
notes for 24 of 24 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
25 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
fix(http2): replenish connection receive window when stream closes with unconsumed data by @mosuem in #2005
when has read the response stream by @ChandraChaan in #2040Full Changelog: http_multi_server-v3.2.3...http2-v3.2.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Settings.connectionWindowSize and Settings.maxFrameSize to configure
the connection-level receive window and SETTINGS_MAX_FRAME_SIZE. (#1997)streamWindowSize and maxFrameSize to the receive side as
soon as they are sent, and acknowledge received data once per half window
when the window is at least twice 65535 bytes.SETTINGS_MAX_FRAME_SIZE when sending; the ACK of our own
SETTINGS_INITIAL_WINDOW_SIZE no longer resizes send windows.DATA frames is terminated, reset, or
its incoming subscription is cancelled.PRIORITY and unknown extension frames on open, idle, and closed
streams, and treat SETTINGS, PING, and GOAWAY frames with a non-zero
stream ID as a connection-level PROTOCOL_ERROR.sendData(..., endStream: true) stalling forever when the data exceeds
the peer's flow-control window (#1998).StreamTransportException when
the peer sends RST_STREAM(NO_ERROR) after END_STREAM (RFC 9113
Section 8.1).RST_STREAM before the still-queued HEADERS of the same
stream when a stream is cancelled; drop the stream's queued DATA instead.Http2Client propagates pausing a response body to the underlying HTTP/2
stream, so a slow reader stops the server at the flow-control window instead
of buffering the whole response in memory, and uses a 4 MiB stream / 16 MiB
connection receive window instead of the protocol's 64 KiB defaults.HEADERS, RST_STREAM, and GOAWAY behind
DATA that is waiting for connection-level flow-control credit.StreamException (a stream reset because of a GOAWAY or oversized headers)
now extends StreamTransportException, as documented for TransportException
subclasses. MultiProtocolHttpServer.startServing forwards an unexpected ALPN
protocol to onError instead of throwing inside the socket listener.SETTINGS_MAX_CONCURRENT_STREAMS value. Reserved peer streams
are also bounded locally. The default limit is 100.Gracefully handle receiving headers on a stream that the client has canceled.
SETTINGS_MAX_CONCURRENT_STREAMS limit on incoming remote streams.Http2Client (package:http2/client.dart), a pooled, multiplexed
package:http Client backed by HTTP/2 connections.ClientTransportConnection.peerMaxConcurrentStreams, exposing the peer's
most recently advertised SETTINGS_MAX_CONCURRENT_STREAMS. Note this is a
new member on an implementable class, so any existing
implements ClientTransportConnection will need updating.Move to dart-lang/http monorepo.
pubspec.yamldart-lang/http monorepo.Only send updates on frames and pings being received when there are listeners, as to not fill up memory.
Transform headers to lowercase.
Send WINDOW_UPDATE frames for the connection to account for data being sent on closed streams until the RST_STREAM has been processed.
3.0.02.17.0.WINDOW_UPDATE frames for the connection to account for data being sent on closed streams until the RST_STREAM has been processed.Simplify the implementation of MultiProtocolHttpServer.close.
MultiProtocolHttpServer.close.2.15.0.* Migrate to null safety.
Nothing published for this version
Add TransportConnection.onInitialPeerSettingsReceived which fires when initial SETTINGS frame is received from the peer.
TransportConnection.onInitialPeerSettingsReceived which fires when
initial SETTINGS frame is received from the peer.First non-experimental release; no semantic changes from version 0.1.6.
package:http2/http2.dart now reexports package:http2/transport.dart.Discard messages incoming after stream cancellation.
Switch all uppercase constants from dart:convert to lowercase.
dart:convert to lowercase.On connection termination, try to dispatch existing messages, thereby avoiding terminating existing streams.
On connection termination, try to dispatch existing messages, thereby avoiding terminating existing streams.
Fix ClientTransportConnection.isOpen to return false if we have exhausted
the number of max-concurrent-streams.
More changes required for making tests pass under Dart 2.0 runtime.
* Fixes for Dart 2.0.
Strong mode fixes and other cleanup.
Removed use of new Function syntax, since it isn't fully supported in Dart 1.24.
Function syntax, since it isn't fully supported in Dart
1.24.Added an onActiveStateChanged callback to Connection, which is invoked when the connection changes state from idle to active or from active to idle. T
onActiveStateChanged callback to Connection, which is invoked when
the connection changes state from idle to active or from active to idle. This
can be used to implement an idle connection timeout.Fixed a bug where a closed window would not open correctly due to an increase in initial window size.
The endStream bit is now set on the requested frame, instead of on an empty data frame following it.
onTerminated hook that is called when a TransportStream receives
a RST_STREAM frame.Fixing a performance issue in case the underlying socket is not writeable
Add errorCode to exception toString message.
Adding support for MultiProtocolHttpServer in the package:http2/multiprotocol_server.dart library
package:http2/multiprotocol_server.dart libraryFirst version of a HTTP/2 transport implementation in the package:http2/transport.dart library
package:http2/transport.dart libraryOne column per quarter.