| OLD | NEW |
| 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 Loading... |
| 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 | |
| 42 | 37 |
| 43 ### Dart VM | 38 ### Dart VM |
| 44 | 39 |
| 45 ### Tool Changes | 40 ### Tool Changes |
| 46 | 41 |
| 47 * Pub | 42 * Pub |
| 48 * `pub build` will use a failing exit code if there are errors in any | 43 * `pub build` will use a failing exit code if there are errors in any |
| 49 transformer. | 44 transformer. |
| 50 * Allow publishing packages that depend on the Flutter SDK. | 45 * Allow publishing packages that depend on the Flutter SDK. |
| 51 | 46 |
| (...skipping 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1905 they will keep the Dart process alive until they time out. This fixes the | 1900 they will keep the Dart process alive until they time out. This fixes the |
| 1906 handling of persistent connections. Previously, the client would shut down | 1901 handling of persistent connections. Previously, the client would shut down |
| 1907 immediately after a request. | 1902 immediately after a request. |
| 1908 | 1903 |
| 1909 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1904 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1910 default. The new `autoCompress` property can be set to `true` to re-enable | 1905 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1911 compression. | 1906 compression. |
| 1912 | 1907 |
| 1913 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1908 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1914 which controls how it resolves `package:` URIs. | 1909 which controls how it resolves `package:` URIs. |
| OLD | NEW |