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