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`. | 10 * Added `Platform.localeName`. |
11 | 11 |
12 ### Dart VM | 12 ### Dart VM |
13 | 13 |
14 ### Tool Changes | 14 ### Tool Changes |
15 | 15 |
16 * Pub | 16 * Pub |
17 * `pub build` will use a failing exit code if there are errors in any | 17 * `pub build` will use a failing exit code if there are errors in any |
18 transformer. | 18 transformer. |
19 * Allow publishing packages that depend on the Flutter SDK. | 19 * Allow publishing packages that depend on the Flutter SDK. |
20 | 20 |
21 ## 1.23.0 | 21 ## 1.23.0 |
22 | 22 |
23 ### Language | |
24 * Allow using URI strings in `part of` declarations to refer to the | |
25 importing library. | |
26 A library part now can declare its library either as: | |
27 `part of name.of.library;` or as `part of "uriReferenceOfLibrary.dart";`. | |
28 This allows libraries with no library declarations (and therefore no name) | |
29 to have parts, and it allows tools to easily find the library of a part file. | |
30 | |
31 #### Strong Mode | 23 #### Strong Mode |
32 | 24 |
33 * Breaking change - it is now a strong mode error if a mixin causes a name | 25 * Breaking change - it is now a strong mode error if a mixin causes a name |
34 conflict between two private members (field/getter/setter/method) from a | 26 conflict between two private members (field/getter/setter/method) from a |
35 different library. (SDK | 27 different library. (SDK |
36 issue [28809](https://github.com/dart-lang/sdk/issues/28809)). | 28 issue [28809](https://github.com/dart-lang/sdk/issues/28809)). |
37 | 29 |
38 lib1.dart: | 30 lib1.dart: |
39 | 31 |
40 | 32 |
(...skipping 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1876 they will keep the Dart process alive until they time out. This fixes the | 1868 they will keep the Dart process alive until they time out. This fixes the |
1877 handling of persistent connections. Previously, the client would shut down | 1869 handling of persistent connections. Previously, the client would shut down |
1878 immediately after a request. | 1870 immediately after a request. |
1879 | 1871 |
1880 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1872 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1881 default. The new `autoCompress` property can be set to `true` to re-enable | 1873 default. The new `autoCompress` property can be set to `true` to re-enable |
1882 compression. | 1874 compression. |
1883 | 1875 |
1884 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1876 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1885 which controls how it resolves `package:` URIs. | 1877 which controls how it resolves `package:` URIs. |
OLD | NEW |