Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1001)

Unified Diff: packages/async/CHANGELOG.md

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/async/.travis.yml ('k') | packages/async/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/async/CHANGELOG.md
diff --git a/packages/async/CHANGELOG.md b/packages/async/CHANGELOG.md
index 5801872c54fa320d4028b2d13b9b11820e7bbc52..e4a869678e19014e3aa92dcbc24333ed956d90cb 100644
--- a/packages/async/CHANGELOG.md
+++ b/packages/async/CHANGELOG.md
@@ -1,8 +1,144 @@
+## 1.13.3
+
+* Make `TypeSafeStream` extend `Stream` instead of implementing it. This ensures
+ that new methods on `Stream` are automatically picked up, they will go through
+ the `listen` method which type-checks every event.
+
+## 1.13.2
+
+* Fix a type-warning.
+
+## 1.13.1
+
+* Use `FutureOr` for various APIs that had previously used `dynamic`.
+
+## 1.13.0
+
+* Add `collectBytes` and `collectBytesCancelable` functions which collects
+ list-of-byte events into a single byte list.
+
+* Fix a bug where rejecting a `StreamQueueTransaction` would throw a
+ `StateError` if `StreamQueue.rest` had been called on one of its child queues.
+
+* `StreamQueue.withTransaction()` now properly returns whether or not the
+ transaction was committed.
+
+## 1.12.0
+
+* Add an `AsyncCache` class that caches asynchronous operations for a period of
+ time.
+
+* Add `StreamQueue.peek` and `StreamQueue.lookAheead`.
+ These allow users to look at events without consuming them.
+
+* Add `StreamQueue.startTransaction()` and `StreamQueue.withTransaction()`.
+ These allow users to conditionally consume events based on their values.
+
+* Add `StreamQueue.cancelable()`, which allows users to easily make a
+ `CancelableOperation` that can be canceled without affecting the queue.
+
+* Add `StreamQueue.eventsDispatched` which counts the number of events that have
+ been dispatched by a given queue.
+
+* Add a `subscriptionTransformer()` function to create `StreamTransformer`s that
+ modify the behavior of subscriptions to a stream.
+
+## 1.11.3
+
+* Fix strong-mode warning against the signature of Future.then
+
+## 1.11.1
+
+* Fix new strong-mode warnings introduced in Dart 1.17.0.
+
+## 1.11.0
+
+* Add a `typedStreamTransformer()` function. This wraps an untyped
+ `StreamTransformer` with the correct type parameters, and asserts the types of
+ events as they're emitted from the transformed stream.
+
+* Add a `StreamSinkTransformer.typed()` static method. This wraps an untyped
+ `StreamSinkTransformer` with the correct type parameters, and asserts the
+ types of arguments passed in to the resulting sink.
+
+## 1.10.0
+
+* Add `DelegatingFuture.typed()`, `DelegatingStreamSubscription.typed()`,
+ `DelegatingStreamConsumer.typed()`, `DelegatingSink.typed()`,
+ `DelegatingEventSink.typed()`, and `DelegatingStreamSink.typed()` static
+ methods. These wrap untyped instances of these classes with the correct type
+ parameter, and assert the types of values as they're accessed.
+
+* Add a `DelegatingStream` class. This is behaviorally identical to `StreamView`
+ from `dart:async`, but it follows this package's naming conventions and
+ provides a `DelegatingStream.typed()` static method.
+
+* Fix all strong mode warnings and add generic method annotations.
+
+* `new StreamQueue()`, `new SubscriptionStream()`, `new
+ DelegatingStreamSubscription()`, `new DelegatingStreamConsumer()`, `new
+ DelegatingSink()`, `new DelegatingEventSink()`, and `new
+ DelegatingStreamSink()` now take arguments with generic type arguments (for
+ example `Stream<T>`) rather than without (for example `Stream<dynamic>`).
+ Passing a type that wasn't `is`-compatible with the fully-specified generic
+ would already throw an error under some circumstances, so this is not
+ considered a breaking change.
+
+* `ErrorResult` now takes a type parameter.
+
+* `Result.asError` now returns a `Result<T>`.
+
+## 1.9.0
+
+* Deprecate top-level libraries other than `package:async/async.dart`, which
+ exports these libraries' interfaces.
+
+* Add `Result.captureStreamTransformer`, `Result.releaseStreamTransformer`,
+ `Result.captureSinkTransformer`, and `Result.releaseSinkTransformer`.
+
+* Deprecate `CaptureStreamTransformer`, `ReleaseStreamTransformer`,
+ `CaptureSink`, and `ReleaseSink`. `Result.captureStreamTransformer`,
+ `Result.releaseStreamTransformer`, `Result.captureSinkTransformer`, and
+ `Result.releaseSinkTransformer` should be used instead.
+
+## 1.8.0
+
+- Added `StreamSinkCompleter`, for creating a `StreamSink` now and providing its
+ destination later as another sink.
+
+- Added `StreamCompleter.setError`, a shortcut for emitting a single error event
+ on the resulting stream.
+
+- Added `NullStreamSink`, an implementation of `StreamSink` that discards all
+ events.
+
+## 1.7.0
+
+- Added `SingleSubscriptionTransformer`, a `StreamTransformer` that converts a
+ broadcast stream into a single-subscription stream.
+
+## 1.6.0
+
+- Added `CancelableOperation.valueOrCancellation()`, which allows users to be
+ notified when an operation is canceled elsewhere.
+
+- Added `StreamSinkTransformer` which transforms events before they're passed to
+ a `StreamSink`, similarly to how `StreamTransformer` transforms events after
+ they're emitted by a stream.
+
+## 1.5.0
+
+- Added `LazyStream`, which forwards to the return value of a callback that's
+ only called when the stream is listened to.
+
## 1.4.0
- Added `AsyncMemoizer.future`, which allows the result to be accessed before
`runOnce()` is called.
+- Added `CancelableOperation`, an asynchronous operation that can be canceled.
+ It can be created using a `CancelableCompleter`.
+
- Added `RestartableTimer`, a non-periodic timer that can be reset over and
over.
@@ -42,6 +178,9 @@
- Added a `StreamGroup` class for merging the events of a group of streams,
potentially of unknown size.
+- Added a `StreamSplitter` class for splitting a stream into multiple new
+ streams.
+
## 1.1.1
- Updated SDK version constraint to at least 1.9.0.
« no previous file with comments | « packages/async/.travis.yml ('k') | packages/async/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698