Add separate import for `IsolateChannel` (dart-lang/stream_channel#40) This will allow us to move to this import in the few packages which are using this class, like test, without having a fully broken state in between, and without required `git` dependency overrides.
diff --git a/pkgs/stream_channel/CHANGELOG.md b/pkgs/stream_channel/CHANGELOG.md index 87ba42f..68b68a1 100644 --- a/pkgs/stream_channel/CHANGELOG.md +++ b/pkgs/stream_channel/CHANGELOG.md
@@ -1,7 +1,10 @@ -## 1.6.9 +## 1.7.0 +* Make `IsolateChannel` available through + `package:stream_channel/isolate_channel.dart`. This will be the required + import in the next release. * Require `2.0.0` or newer SDK. -* Drop unnecessary `new` and `const`. +* Internal style changes. ## 1.6.8
diff --git a/pkgs/stream_channel/lib/isolate_channel.dart b/pkgs/stream_channel/lib/isolate_channel.dart new file mode 100644 index 0000000..5d9f6e1 --- /dev/null +++ b/pkgs/stream_channel/lib/isolate_channel.dart
@@ -0,0 +1,5 @@ +// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +export 'src/isolate_channel.dart' show IsolateChannel;
diff --git a/pkgs/stream_channel/pubspec.yaml b/pkgs/stream_channel/pubspec.yaml index 996cd70..da152fb 100644 --- a/pkgs/stream_channel/pubspec.yaml +++ b/pkgs/stream_channel/pubspec.yaml
@@ -1,5 +1,5 @@ name: stream_channel -version: 1.6.9 +version: 1.7.0 description: An abstraction for two-way communication channels. author: Dart Team <misc@dartlang.org>
diff --git a/pkgs/stream_channel/test/isolate_channel_test.dart b/pkgs/stream_channel/test/isolate_channel_test.dart index 8971972..776928d 100644 --- a/pkgs/stream_channel/test/isolate_channel_test.dart +++ b/pkgs/stream_channel/test/isolate_channel_test.dart
@@ -7,6 +7,7 @@ import 'dart:async'; import 'dart:isolate'; +import 'package:stream_channel/isolate_channel.dart'; import 'package:stream_channel/stream_channel.dart'; import 'package:test/test.dart';