PackageTrack
Sign in Get early access

stream_channel

An abstraction for two-way communication channels based on the Dart Stream class.

2.1.4 8.8M downloads/mo #51 most downloaded on pub.dev dart-lang/tools

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 1.6 years

Nearly every release is documented

notes for 27 of 27 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

31 releases · first in 2016

0 releases in the last 12 months

see the full history below

Release timeline

31 releases · Jan 2016 to Jan 2025
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 31
  1. 2.1.4 07 Jan 2025
    Release notes
    • Fix StreamChannelMixin so that it can be used as a mixin again.
    Open source →
  2. 2.1.3 20 Dec 2024
    Release notes
    • Require Dart 3.3
    • Move to dart-lang/tools monorepo.
    Open source →
  3. 2.1.2 22 Jun 2023
    Release notes
    • Require Dart 2.19
    • Add an example.
    • Fix a race condition in IsolateChannel.connectReceive() where the channel could hang forever if its sink was closed before the connection was established.
    Open source →
  4. 2.1.1 21 Sep 2022
    Release notes
    • Require Dart 2.14
    • Populate the pubspec repository field.
    • Handle multichannel messages where the ID element is a double at runtime instead of an int. When reading an array with dart2wasm numbers within the array are parsed as double.
    Open source →
  5. 2.1.0 02 Feb 2021
    Release notes
    • Stable release for null safety.
    Open source →
  6. 2.1.0-nullsafety.3 03 Nov 2020 pre-release

    Nothing published for this version

  7. 2.1.0-nullsafety.2 23 Oct 2020 pre-release

    Nothing published for this version

  8. 2.1.0-nullsafety.1 22 Sep 2020 pre-release

    Nothing published for this version

  9. 2.1.0-nullsafety 29 Jul 2020 pre-release

    Nothing published for this version

  10. 2.0.0 28 Mar 2019
    Release notes

    Breaking changes

    • IsolateChannel requires a separate import package:stram_channel/isolate_channel.dart. package:stream_channel/stream_channel.dart will now not trigger any platform concerns due to importing dart:isolate.
    • Remove JsonDocumentTransformer class. The jsonDocument top level is still available.
    • Remove StreamChannelTransformer.typed. Use .cast on the transformed channel instead.
    • Change Future<dynamic> returns to Future<void>.
    Open source →
  11. 1.7.0 26 Mar 2019
    Release notes
    • 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.
    • Internal style changes.
    Open source →
  12. 1.6.8 18 Jul 2018
    Release notes
    • Set max SDK version to <3.0.0, and adjust other dependencies.
    Open source →
  13. 1.6.7 08 Jun 2018
    Release notes
    • Update SDK version to 2.0.0-dev.17.0.
    • Add a type argument to MultiChannel.
    Open source →
  14. 1.6.7+1 12 Jun 2018
    Release notes
    • Fix Dart 2 runtime types in IsolateChannel.
    Open source →
  15. 1.6.6 02 May 2018
    Release notes
    • Fix a Dart 2 issue with inner stream transformation in GuaranteeChannel.

    • Fix a Dart 2 issue with StreamChannelTransformer.fromCodec().

    Open source →
  16. 1.6.5 16 Apr 2018
    Release notes
    • Fix an issue with JsonDocumentTransformer.bind where it created an internal stream channel which didn't get a properly inferred type for its sink.
    Open source →
  17. 1.6.4 27 Feb 2018
    Release notes
    • Fix a race condition in MultiChannel where messages from a remote virtual channel could get dropped if the corresponding local channel wasn't registered quickly enough.
    Open source →
  18. 1.6.3 19 Dec 2017
    Release notes
    • Use pumpEventQueue() from test.
    Open source →
  19. 1.6.2 22 Sep 2017
    Release notes
    • Declare support for async 2.0.0.
    Open source →
  20. 1.6.1 25 Jan 2017
    Release notes
    • Fix the type of StreamChannel.transform(). This previously inverted the generic parameters, so it only really worked with transformers where both generic types were identical.
    Open source →
  21. 1.6.0 19 Jan 2017
    Release notes
    • Disconnector.disconnect() now returns a future that completes when all the inner StreamSink.close() futures have completed.
    Open source →
  22. 1.5.0 06 Jun 2016
    Release notes
    • Add new StreamChannel.withCloseGuarantee() to provide the specific guarantee that closing the sink causes the stream to close before it emits any more events. This is the only guarantee that isn't automatically preserved when transforming a channel.

    • StreamChannelTransformers provided by the stream_channel package now properly provide the guarantee that closing the sink causes the stream to close before it emits any more events

    Open source →
  23. 1.4.0 10 May 2016
    Release notes
    • Add StreamChannel.cast(), which soundly coerces the generic type of a channel.

    • Add StreamChannelTransformer.typed(), which soundly coerces the generic type of a transformer.

    Open source →
  24. 1.3.2 10 May 2016
    Release notes
    • Fix all strong-mode errors and warnings.
    Open source →
  25. 1.3.1 10 Feb 2016
    Release notes
    • Make IsolateChannel slightly more efficient.

    • Make MultiChannel follow the stream channel rules.

    Open source →
  26. 1.3.0 09 Feb 2016
    Release notes
    • Add Disconnector, a transformer that allows the caller to disconnect the transformed channel.
    Open source →
  27. 1.2.0 09 Feb 2016
    Release notes
    • Add new StreamChannel.withGuarantees(), which creates a channel with extra wrapping to ensure that it obeys the stream channel guarantees.

    • Add StreamChannelController, which can be used to create custom StreamChannel objects.

    Open source →
  28. 1.1.1 02 Feb 2016
    Release notes
    • Fix the type annotation for StreamChannel.transform()'s parameter.
    Open source →
  29. 1.1.0 01 Feb 2016
    Release notes
    • Add StreamChannel.transformStream(), StreamChannel.transformSink(), StreamChannel.changeStream(), and StreamChannel.changeSink() to support changing only the stream or only the sink of a channel.

    • Be more explicit about JsonDocumentTransformer's error-handling behavior.

    Open source →
  30. 1.0.1 28 Jan 2016
    Release notes
    • Fix MultiChannel's constructor to take a StreamChannel. This is technically a breaking change, but since 1.0.0 was only released an hour ago, we're treating it as a bug fix.
    Open source →
  31. 1.0.0 28 Jan 2016
    Release notes
    • Initial version
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive