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 ### Core library changes | 7 ### Core library changes |
11 | 8 |
12 * `dart:io` | 9 * `dart:io` |
13 * Added `Platform.localeName`, needed for accessing the locale on platforms | 10 * Added `Platform.localeName`, needed for accessing the locale on platforms |
14 that don't store it in an environment variable. | 11 that don't store it in an environment variable. |
15 * Added `ProcessInfo.currentRss` and `ProcessInfo.maxRss` for inspecting | 12 * Added `ProcessInfo.currentRss` and `ProcessInfo.maxRss` for inspecting |
16 the Dart VM process current and peak resident set size. | 13 the Dart VM process current and peak resident set size. |
(...skipping 1869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1886 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 |
1887 handling of persistent connections. Previously, the client would shut down | 1884 handling of persistent connections. Previously, the client would shut down |
1888 immediately after a request. | 1885 immediately after a request. |
1889 | 1886 |
1890 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1887 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1891 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 |
1892 compression. | 1889 compression. |
1893 | 1890 |
1894 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1891 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1895 which controls how it resolves `package:` URIs. | 1892 which controls how it resolves `package:` URIs. |
OLD | NEW |