- Require Dart 3.2
- Add topics to
pubspec.yaml
- Move to
dart-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.
- Expose pings to connection to enable the KEEPALIVE feature for gRPC.
- Require Dart
3.0.0
- Require Dart
2.17.0
. - Send
WINDOW_UPDATE
frames for the connection to account for data being sent on closed streams until theRST_STREAM
has been processed.
- Simplify the implementation of
MultiProtocolHttpServer.close
. - Require Dart
2.15.0
.
- Migrate to null safety.
- Add
TransportConnection.onInitialPeerSettingsReceived
which fires when initial SETTINGS frame is received from the peer.
- Graduate package to 1.0.
package:http2/http2.dart
now reexportspackage:http2/transport.dart
.
- Discard messages incoming after stream cancellation.
-
On connection termination, try to dispatch existing messages, thereby avoiding terminating existing streams.
-
Fix
ClientTransportConnection.isOpen
to returnfalse
if we have exhausted the number of max-concurrent-streams.
- Switch all uppercase constants from
dart:convert
to lowercase.
- More changes required for making tests pass under Dart 2.0 runtime.
- Modify sdk constraint to require '>=2.0.0-dev.40.0'.
- 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.
- Added an
onActiveStateChanged
callback toConnection
, 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.
- Added an
onTerminated
hook that is called when a TransportStream receives a RST_STREAM frame.
- Add errorCode to exception toString message.
- Fixing a performance issue in case the underlying socket is not writeable
- Allow clients of MultiProtocolHttpServer to supply [http.ServerSettings]
- Allow the draft version 'h2-14' in the ALPN protocol negogiation.
- Adding support for MultiProtocolHttpServer in the
package:http2/multiprotocol_server.dart
library
- First version of a HTTP/2 transport implementation in the
package:http2/transport.dart
library
- Initial version