Skip to content

Upgrading http 0.2 to 0.3

Unknown0.2.10+1 → 0.3.7+6

Fetching 5 releases from GitHub…0 / 5
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

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

  • removed: field MultipartRequest.files
  • removed: field MultipartRequest.files: final List<MultipartFile>
  • removed: field StreamedRequest.stream: final OutputStream
  • changed: ctor MultipartFile(this.field, this._stream, this.length, {this.filename, ContentType contentType}) → ctor MultipartFile(this.field, Stream<List<int>> stream, this.length, {this.filename, ContentType contentType})
  • changed: ctor StreamedResponse( this.stream, int statusCode, int contentLength, {BaseRequest request, Map<String, String> headers = …, bool isRedirect = …, bool persistentConnection = …, String reasonPhrase}) → ctor StreamedResponse( Stream<List<int>> stream, int statusCode, int contentLength, {BaseRequest request, Map<String, String> headers = …, bool isRedirect = …, bool persistentConnection = …, String reasonPhrase})
  • changed: field StreamedResponse.stream: final InputStream → field StreamedResponse.stream: final ByteStream
  • changed: method BaseRequest.finalize(): InputStream → method BaseRequest.finalize(): ByteStream
  • changed: method MultipartFile.finalize(): InputStream → method MultipartFile.finalize(): ByteStream
  • changed: method MultipartRequest.finalize(): InputStream → method MultipartRequest.finalize(): ByteStream
  • changed: method Request.finalize(): InputStream → method Request.finalize(): ByteStream
  • changed: method StreamedRequest.finalize(): InputStream → method StreamedRequest.finalize(): ByteStream
  • added: class ByteStream extends StreamView<List<int>>
  • added: ctor ByteStream(Stream<List<int>> stream)
  • added: ctor ByteStream.fromBytes(List<int> bytes)
  • added: get MultipartRequest.files: StreamSink<MultipartFile>
  • added: get StreamedRequest.sink: StreamSink<List<int>>
  • added: method ByteStream.bytesToString([Encoding encoding = …]): Future<String>
  • added: method ByteStream.toBytes(): Future<Uint8List>
  • added: method ByteStream.toStringStream([Encoding encoding = …]): Stream<String>
  • changed: typedef Future<StreamedResponse> MockClientStreamHandler( BaseRequest request, InputStream bodyStream) → typedef Future<StreamedResponse> MockClientStreamHandler( BaseRequest request, ByteStream bodyStream)