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

Side by Side Diff: CHANGELOG.md

Issue 2822173002: Warn when adding something to a closed sink and improve documentation (Closed)
Patch Set: Fix Zone.print only taking a string and update status files. Created 3 years, 7 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 | sdk/lib/async/stream.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## 1.24.0 1 ## 1.24.0
2 2
3 ### Language 3 ### Language
4 * During a dynamic type check, `void` is not required to be `null` anymore. 4 * During a dynamic type check, `void` is not required to be `null` anymore.
5 In practice, this makes overriding `void` functions with non-`void` functions 5 In practice, this makes overriding `void` functions with non-`void` functions
6 safer. 6 safer.
7 7
8 #### Strong Mode 8 #### Strong Mode
9 9
10 * Removed ad hoc Future.then inference in favor of using FutureOr. Prior to 10 * Removed ad hoc Future.then inference in favor of using FutureOr. Prior to
(...skipping 16 matching lines...) Expand all
27 the Dart VM process current and peak resident set size. 27 the Dart VM process current and peak resident set size.
28 * Added 'RawSynchronousSocket', a basic synchronous socket implementation. 28 * Added 'RawSynchronousSocket', a basic synchronous socket implementation.
29 * `dart:convert` 29 * `dart:convert`
30 * Removed deprecated `ChunkedConverter` class. 30 * Removed deprecated `ChunkedConverter` class.
31 * JSON maps are now typed as `Map<String, dynamic>` instead of 31 * JSON maps are now typed as `Map<String, dynamic>` instead of
32 `Map<dynamic, dynamic>`. A JSON-map is not a `HashMap` or `LinkedHashMap` 32 `Map<dynamic, dynamic>`. A JSON-map is not a `HashMap` or `LinkedHashMap`
33 anymore (but just a `Map`). 33 anymore (but just a `Map`).
34 * `dart:async` 34 * `dart:async`
35 * Add `groupBy` to `Stream`. Allows splitting a string into separate streams 35 * Add `groupBy` to `Stream`. Allows splitting a string into separate streams
36 depending on "key" property computed from the individual events. 36 depending on "key" property computed from the individual events.
37 * `dart:async`, `dart:io`, `dart:core`
38 * Adding to a closed sink, including `IOSink`, is not allowed anymore. In
39 1.24, violations are only reported (on stdout or stderr), but a future
40 version of the Dart SDK will change this to throwing a `StateError`.
41
37 42
38 ### Dart VM 43 ### Dart VM
39 44
40 ### Tool Changes 45 ### Tool Changes
41 46
42 * Pub 47 * Pub
43 * `pub build` will use a failing exit code if there are errors in any 48 * `pub build` will use a failing exit code if there are errors in any
44 transformer. 49 transformer.
45 * Allow publishing packages that depend on the Flutter SDK. 50 * Allow publishing packages that depend on the Flutter SDK.
46 51
(...skipping 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1900 they will keep the Dart process alive until they time out. This fixes the 1905 they will keep the Dart process alive until they time out. This fixes the
1901 handling of persistent connections. Previously, the client would shut down 1906 handling of persistent connections. Previously, the client would shut down
1902 immediately after a request. 1907 immediately after a request.
1903 1908
1904 * **Breaking change:** `HttpServer` no longer compresses all traffic by 1909 * **Breaking change:** `HttpServer` no longer compresses all traffic by
1905 default. The new `autoCompress` property can be set to `true` to re-enable 1910 default. The new `autoCompress` property can be set to `true` to re-enable
1906 compression. 1911 compression.
1907 1912
1908 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, 1913 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument,
1909 which controls how it resolves `package:` URIs. 1914 which controls how it resolves `package:` URIs.
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/async/stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698