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

Side by Side Diff: CHANGELOG.md

Issue 2822173002: Warn when adding something to a closed sink and improve documentation (Closed)
Patch Set: Only warn for now. 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') | sdk/lib/async/stream_transformers.dart » ('J')
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 4
5 #### Strong Mode 5 #### Strong Mode
6 6
7 ### Core library changes 7 ### Core library changes
8 8
9 * `dart:io` 9 * `dart:io`
10 * Added `Platform.localeName`, needed for accessing the locale on platforms 10 * Added `Platform.localeName`, needed for accessing the locale on platforms
11 that don't store it in an environment variable. 11 that don't store it in an environment variable.
12 * Added `ProcessInfo.currentRss` and `ProcessInfo.maxRss` for inspecting 12 * Added `ProcessInfo.currentRss` and `ProcessInfo.maxRss` for inspecting
13 the Dart VM process current and peak resident set size. 13 the Dart VM process current and peak resident set size.
14 * Added 'RawSynchronousSocket', a basic synchronous socket implementation. 14 * Added 'RawSynchronousSocket', a basic synchronous socket implementation.
15 * `dart:convert` 15 * `dart:convert`
16 * Removed deprecated `ChunkedConverter` class. 16 * Removed deprecated `ChunkedConverter` class.
17 * JSON maps are now typed as `Map<String, dynamic>` instead of 17 * JSON maps are now typed as `Map<String, dynamic>` instead of
18 `Map<dynamic, dynamic>`. A JSON-map is not a `HashMap` or `LinkedHashMap` 18 `Map<dynamic, dynamic>`. A JSON-map is not a `HashMap` or `LinkedHashMap`
19 anymore (but just a `Map`). 19 anymore (but just a `Map`).
20 * `dart:async`, `dart:io`, `dart:core`
21 * Adding to a closed sink, including `IOSink`, is not allowed anymore. In
22 1.24, violations are only reported (on stdout or stderr), but a future
23 version of the Dart SDK will change this to throwing a `StateError`.
24
20 25
21 ### Dart VM 26 ### Dart VM
22 27
23 ### Tool Changes 28 ### Tool Changes
24 29
25 * Pub 30 * Pub
26 * `pub build` will use a failing exit code if there are errors in any 31 * `pub build` will use a failing exit code if there are errors in any
27 transformer. 32 transformer.
28 * Allow publishing packages that depend on the Flutter SDK. 33 * Allow publishing packages that depend on the Flutter SDK.
29 34
(...skipping 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1883 they will keep the Dart process alive until they time out. This fixes the 1888 they will keep the Dart process alive until they time out. This fixes the
1884 handling of persistent connections. Previously, the client would shut down 1889 handling of persistent connections. Previously, the client would shut down
1885 immediately after a request. 1890 immediately after a request.
1886 1891
1887 * **Breaking change:** `HttpServer` no longer compresses all traffic by 1892 * **Breaking change:** `HttpServer` no longer compresses all traffic by
1888 default. The new `autoCompress` property can be set to `true` to re-enable 1893 default. The new `autoCompress` property can be set to `true` to re-enable
1889 compression. 1894 compression.
1890 1895
1891 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, 1896 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument,
1892 which controls how it resolves `package:` URIs. 1897 which controls how it resolves `package:` URIs.
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/async/stream.dart » ('j') | sdk/lib/async/stream_transformers.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698