From b5b39f514cde4efc6473b26780de8647568f8487 Mon Sep 17 00:00:00 2001 From: Leaf Petersen Date: Wed, 31 Jan 2018 12:51:53 -0800 Subject: [PATCH 1/2] Updates for Dart 2.0 core library changes (wave 2.2) --- CHANGELOG.md | 7 +++++++ lib/src/mime_multipart_transformer.dart | 2 +- pubspec.yaml | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 043c412..1e3f9a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# 0.9.6 + +* Updates to support Dart 2.0 core library changes (wave + 2.2). See [issue 31847][sdk#31847] for details. + + [sdk#31847]: https://github.com/dart-lang/sdk/issues/31847 + # 0.9.5 * Add support for the WebAssembly format. diff --git a/lib/src/mime_multipart_transformer.dart b/lib/src/mime_multipart_transformer.dart index ba1a5ae..a71e6d9 100644 --- a/lib/src/mime_multipart_transformer.dart +++ b/lib/src/mime_multipart_transformer.dart @@ -30,7 +30,7 @@ Uint8List _getBoundary(String boundary) { * of them streaming the multipart data. */ class MimeMultipartTransformer - implements StreamTransformer, MimeMultipart> { + extends StreamTransformerBase, MimeMultipart> { final List _boundary; /** diff --git a/pubspec.yaml b/pubspec.yaml index 75f0457..1811771 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,9 +1,9 @@ name: mime -version: 0.9.5 +version: 0.9.6 author: Dart Team description: Helper-package for working with MIME. homepage: https://www.github.com/dart-lang/mime environment: - sdk: '>=1.8.3 <2.0.0' + sdk: '>=2.0.0-dev.20.0 <2.0.0' dev_dependencies: test: '^0.12.0' From cb0d6327717d6cbb2196aad7377eb7025dcd9361 Mon Sep 17 00:00:00 2001 From: Leaf Petersen Date: Wed, 31 Jan 2018 15:50:02 -0800 Subject: [PATCH 2/2] Remove stable from travis --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index da58f76..8b6048d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: dart sudo: false dart: - dev - - stable dart_task: - test - dartfmt