| 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. | |
| 5 In practice, this makes overriding `void` functions with non-`void` functions | |
| 6 safer. | |
| 7 | 4 |
| 8 #### Strong Mode | 5 #### Strong Mode |
| 9 | 6 |
| 10 * Removed ad hoc Future.then inference in favor of using FutureOr. Prior to | 7 * Removed ad hoc Future.then inference in favor of using FutureOr. Prior to |
| 11 adding FutureOr to the language, the analyzer implented an ad hoc type inference | 8 adding FutureOr to the language, the analyzer implented an ad hoc type inference |
| 12 for Future.then (and overrides) treating it as if the onValue callback was typed | 9 for Future.then (and overrides) treating it as if the onValue callback was typed |
| 13 to return FutureOr for the purposes of inference. This ad hoc inference has | 10 to return FutureOr for the purposes of inference. This ad hoc inference has |
| 14 been removed now that FutureOr has been added. | 11 been removed now that FutureOr has been added. |
| 15 | 12 |
| 16 Packages that implement `Future` must either type the `onValue` parameter to | 13 Packages that implement `Future` must either type the `onValue` parameter to |
| (...skipping 1880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1897 they will keep the Dart process alive until they time out. This fixes the | 1894 they will keep the Dart process alive until they time out. This fixes the |
| 1898 handling of persistent connections. Previously, the client would shut down | 1895 handling of persistent connections. Previously, the client would shut down |
| 1899 immediately after a request. | 1896 immediately after a request. |
| 1900 | 1897 |
| 1901 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1898 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1902 default. The new `autoCompress` property can be set to `true` to re-enable | 1899 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1903 compression. | 1900 compression. |
| 1904 | 1901 |
| 1905 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1902 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1906 which controls how it resolves `package:` URIs. | 1903 which controls how it resolves `package:` URIs. |
| OLD | NEW |