OLD | NEW |
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`, now throws. | |
22 | 20 |
23 ### Dart VM | 21 ### Dart VM |
24 | 22 |
25 ### Tool Changes | 23 ### Tool Changes |
26 | 24 |
27 * Pub | 25 * Pub |
28 * `pub build` will use a failing exit code if there are errors in any | 26 * `pub build` will use a failing exit code if there are errors in any |
29 transformer. | 27 transformer. |
30 * Allow publishing packages that depend on the Flutter SDK. | 28 * Allow publishing packages that depend on the Flutter SDK. |
31 | 29 |
(...skipping 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1885 they will keep the Dart process alive until they time out. This fixes the | 1883 they will keep the Dart process alive until they time out. This fixes the |
1886 handling of persistent connections. Previously, the client would shut down | 1884 handling of persistent connections. Previously, the client would shut down |
1887 immediately after a request. | 1885 immediately after a request. |
1888 | 1886 |
1889 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1887 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1890 default. The new `autoCompress` property can be set to `true` to re-enable | 1888 default. The new `autoCompress` property can be set to `true` to re-enable |
1891 compression. | 1889 compression. |
1892 | 1890 |
1893 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1891 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1894 which controls how it resolves `package:` URIs. | 1892 which controls how it resolves `package:` URIs. |
OLD | NEW |