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

Side by Side Diff: CHANGELOG.md

Issue 1870543004: Add typed wrapper functions to delegate classes. (Closed) Base URL: git@github.com:dart-lang/async.git@master
Patch Set: Code review changes Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | lib/async.dart » ('j') | lib/src/delegate/event_sink.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## 1.9.1 1 ## 1.10.0
2 2
3 * Add `DelegatingFuture.typed()`, `DelegatingStreamSubscription.typed()`,
4 `DelegatingStreamConsumer.typed()`, `DelegatingSink.typed()`,
5 `DelegatingEventSink.typed()`, and `DelegatingStreamSink.typed()` static
6 methods. These wrap untyped instances of these classes with the correct type
7 parameter, and assert the types of values as they're accessed.
8
9 * Add a `DelegatingStream` class. This is behaviorally identical to `StreamView`
10 from `dart:async`, but it follows this package's naming conventions and
11 provides a `DelegatingStream.typed()` static method.
12
3 * Fix all strong mode warnings and add generic method annotations. 13 * Fix all strong mode warnings and add generic method annotations.
4 14
5 * `new StreamQueue()` now takes a `Stream<T>` rather than a `Stream<dynamic>`. 15 * `new StreamQueue()`, `new SubscriptionStream()`, `new
6 Passing a type that wasn't `is`-compatible with `Stream<T>` would already 16 DelegatingStreamSubscription()`, `new DelegatingStreamConsumer()`, `new
7 throw an error under some circumstances, so this is not considered a breaking 17 DelegatingSink()`, `new DelegatingEventSink()`, and `new
8 change. 18 DelegatingStreamSink()` now take arguments with generic type arguments (for
9 19 example `Stream<T>`) rather than without (for example `Stream<dynamic>`).
10 * `new SubscriptionStream()` now takes a `Stream<T>` rather than a 20 Passing a type that wasn't `is`-compatible with the fully-specified generic
11 `Stream<dynamic>`. Passing a type that wasn't `is`-compatible with `Stream<T>`
12 would already throw an error under some circumstances, so this is not 21 would already throw an error under some circumstances, so this is not
13 considered a breaking change. 22 considered a breaking change.
14 23
15 * `ErrorResult` now takes a type parameter. 24 * `ErrorResult` now takes a type parameter.
16 25
17 * `Result.asError` now returns a `Result<T>`. 26 * `Result.asError` now returns a `Result<T>`.
18 27
19 ## 1.9.0 28 ## 1.9.0
20 29
21 * Deprecate top-level libraries other than `package:async/async.dart`, which 30 * Deprecate top-level libraries other than `package:async/async.dart`, which
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 - Added a `StreamSplitter` class for splitting a stream into multiple new 118 - Added a `StreamSplitter` class for splitting a stream into multiple new
110 streams. 119 streams.
111 120
112 ## 1.1.1 121 ## 1.1.1
113 122
114 - Updated SDK version constraint to at least 1.9.0. 123 - Updated SDK version constraint to at least 1.9.0.
115 124
116 ## 1.1.0 125 ## 1.1.0
117 126
118 - ChangeLog starts here. 127 - ChangeLog starts here.
OLDNEW
« no previous file with comments | « no previous file | lib/async.dart » ('j') | lib/src/delegate/event_sink.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698