OLD | NEW |
1 ## 1.25.0 | 1 ## 1.25.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 VM | 9 ### Dart VM |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 * Added `Platform.localeName`, needed for accessing the locale on platforms | 68 * Added `Platform.localeName`, needed for accessing the locale on platforms |
69 that don't store it in an environment variable. | 69 that don't store it in an environment variable. |
70 * Added `ProcessInfo.currentRss` and `ProcessInfo.maxRss` for inspecting | 70 * Added `ProcessInfo.currentRss` and `ProcessInfo.maxRss` for inspecting |
71 the Dart VM process current and peak resident set size. | 71 the Dart VM process current and peak resident set size. |
72 * Added 'RawSynchronousSocket', a basic synchronous socket implementation. | 72 * Added 'RawSynchronousSocket', a basic synchronous socket implementation. |
73 * `dart:convert` | 73 * `dart:convert` |
74 * Removed deprecated `ChunkedConverter` class. | 74 * Removed deprecated `ChunkedConverter` class. |
75 * JSON maps are now typed as `Map<String, dynamic>` instead of | 75 * JSON maps are now typed as `Map<String, dynamic>` instead of |
76 `Map<dynamic, dynamic>`. A JSON-map is not a `HashMap` or `LinkedHashMap` | 76 `Map<dynamic, dynamic>`. A JSON-map is not a `HashMap` or `LinkedHashMap` |
77 anymore (but just a `Map`). | 77 anymore (but just a `Map`). |
78 * `dart:async` | |
79 * Add `groupBy` to `Stream`. Allows splitting a string into separate streams | |
80 depending on "key" property computed from the individual events. | |
81 * `dart:async`, `dart:io`, `dart:core` | 78 * `dart:async`, `dart:io`, `dart:core` |
82 * Adding to a closed sink, including `IOSink`, is not allowed anymore. In | 79 * Adding to a closed sink, including `IOSink`, is not allowed anymore. In |
83 1.24, violations are only reported (on stdout or stderr), but a future | 80 1.24, violations are only reported (on stdout or stderr), but a future |
84 version of the Dart SDK will change this to throwing a `StateError`. | 81 version of the Dart SDK will change this to throwing a `StateError`. |
85 | 82 |
86 ### Dart VM | 83 ### Dart VM |
87 | 84 |
88 ### Tool Changes | 85 ### Tool Changes |
89 | 86 |
90 * Pub | 87 * Pub |
(...skipping 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1999 they will keep the Dart process alive until they time out. This fixes the | 1996 they will keep the Dart process alive until they time out. This fixes the |
2000 handling of persistent connections. Previously, the client would shut down | 1997 handling of persistent connections. Previously, the client would shut down |
2001 immediately after a request. | 1998 immediately after a request. |
2002 | 1999 |
2003 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 2000 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
2004 default. The new `autoCompress` property can be set to `true` to re-enable | 2001 default. The new `autoCompress` property can be set to `true` to re-enable |
2005 compression. | 2002 compression. |
2006 | 2003 |
2007 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 2004 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
2008 which controls how it resolves `package:` URIs. | 2005 which controls how it resolves `package:` URIs. |
OLD | NEW |