Skip to content

Upgrading http_parser 2 to 3

Breaking2.2.1 → 3.1.4Breaking1Platform2New2Changed5Fixed4Other2

BreakingUpgrade verdict

1 breaking change and 2 platform requirement changes.

  • Code that implements this class itself must add the new member or it will no longer compile.
  • This version needs a newer Dart SDK to run.
  • You need Dart 3.7.0 or newer to use this version.
3 items need code or config changes

Dart SDK requirement changed in 3.1.4: >=1.8.0 <2.0.0 → >=2.3.0 <3.0.0.

Breaking1
Adds ClientTransportConnection.peerMaxConcurrentStreams, a new member on an implementable class, so existing implements clauses need updating.
ClientTransportConnection.peerMaxConcurrentStreamsClientTransportConnectionSETTINGS_MAX_CONCURRENT_STREAMS
Platform2
Requires Dart SDK 2.0.0-dev.17.0 or greater.
Requires Dart SDK 3.7.0.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • removed: class CompatibleWebSocket: abstract implements Stream, StreamSink
  • removed: class CompatibleWebSocketException implements Exception
  • removed: class WebSocketChannel extends StreamChannelMixin
  • removed: class WebSocketSink extends DelegatingStreamSink
  • removed: ctor CompatibleWebSocket(Stream<List<int>> stream, {StreamSink<List<int>> sink, String protocol, bool serverSide = …})
  • removed: ctor CompatibleWebSocketException([this.message])
  • removed: ctor WebSocketChannel(StreamChannel<List<int>> channel, {String protocol, bool serverSide = …})
  • removed: field CompatibleWebSocket.pingInterval: Duration
  • removed: field CompatibleWebSocketException.message: final String
  • removed: get CompatibleWebSocket.closeCode: int
  • removed: get CompatibleWebSocket.closeReason: String
  • removed: get WebSocketChannel.closeCode: int
  • removed: get WebSocketChannel.closeReason: String
  • removed: get WebSocketChannel.pingInterval: Duration
  • removed: get WebSocketChannel.sink: WebSocketSink
  • removed: get WebSocketChannel.stream: Stream
  • removed: method CompatibleWebSocket.close([int closeCode, String closeReason]): Future
  • removed: method CompatibleWebSocketException.toString(): String
  • removed: method WebSocketSink.close([int closeCode, String closeReason]): Future
  • removed: set WebSocketChannel.pingInterval(Duration value)
  • removed: static method CompatibleWebSocket.signKey(String key): String
  • removed: static method WebSocketChannel.signKey(String key): String
  • changed: method MediaType.change({String type, String subtype, String mimeType, Map<String, String> parameters, bool clearParameters = …}): MediaType → method MediaType.change( {String type, String subtype, String mimeType, Map<String, String> parameters, bool clearParameters = …}): MediaType
  • added: class ChunkedCodingCodec extends Codec<List<int>, List<int>>
  • added: class ChunkedCodingDecoder extends Converter<List<int>, List<int>>
  • added: class ChunkedCodingEncoder extends Converter<List<int>, List<int>>
  • added: get ChunkedCodingCodec.decoder: ChunkedCodingDecoder
  • added: get ChunkedCodingCodec.encoder: ChunkedCodingEncoder
  • added: method ChunkedCodingDecoder.convert(List<int> input): List<int>
  • added: method ChunkedCodingDecoder.startChunkedConversion(Sink<List<int>> sink): ByteConversionSink
  • added: method ChunkedCodingEncoder.convert(List<int> input): List<int>
  • added: method ChunkedCodingEncoder.startChunkedConversion(Sink<List<int>> sink): ByteConversionSink
  • added: variable chunkedCoding: const