OLD | NEW |
1 ## 1.25.0 | 1 ## 1.25.0 |
2 | 2 |
3 ### Language | 3 ### Language |
4 * A string in a `part of` declaration may now be used to refer to the library | 4 * A string in a `part of` declaration may now be used to refer to the library |
5 this file is part of. | 5 this file is part of. |
6 A library part can now declare its library either as: | 6 A library part can now declare its library either as: |
7 `part of name.of.library;` or as `part of "uriReferenceOfLibrary.dart";`. | 7 `part of name.of.library;` or as `part of "uriReferenceOfLibrary.dart";`. |
8 This allows libraries with no library declarations (and therefore no name) | 8 This allows libraries with no library declarations (and therefore no name) |
9 to have parts, and it allows tools to easily find the library of a part | 9 to have parts, and it allows tools to easily find the library of a part |
10 file. | 10 file. |
11 | 11 |
12 #### Strong Mode | 12 #### Strong Mode |
13 | 13 |
14 ### Core library changes | 14 ### Core library changes |
15 | 15 |
16 * `dart:io` | 16 * `dart:io` |
17 * Unified backends for `SecureSocket`, `SecurityContext`, and | 17 * Unified backends for `SecureSocket`, `SecurityContext`, and |
18 `X509Certificate` to be consistent across all platforms. All | 18 `X509Certificate` to be consistent across all platforms. All |
19 `SecureSocket`, `SecurityContext`, and `X509Certificate` properties and | 19 `SecureSocket`, `SecurityContext`, and `X509Certificate` properties and |
20 methods are now supported on iOS and OSX. | 20 methods are now supported on iOS and OSX. |
21 * Deprecated `SecurityContext.alpnSupported` as ALPN is now supported on all | 21 * Deprecated `SecurityContext.alpnSupported` as ALPN is now supported on all |
22 platforms. | 22 platforms. |
23 * Added 'timeout' parameter to 'Socket.connect' and 'RawSocket.connect'. If a | 23 * Added 'timeout' parameter to 'Socket.connect' and 'RawSocket.connect'. If a |
24 connection attempt takes longer than the duration specified in 'timeout', a | 24 connection attempt takes longer than the duration specified in 'timeout', a |
25 'SocketException' will be thrown. Note: if the duration specified in | 25 'SocketException' will be thrown. Note: if the duration specified in |
26 'timeout' is greater than the system level timeout duration, a timeout may | 26 'timeout' is greater than the system level timeout duration, a timeout may |
27 occur sooner than specified in 'timeout'. | 27 occur sooner than specified in 'timeout'. |
28 | 28 |
29 ### Dart VM | 29 ### Dart VM |
| 30 * Support for MIPS has been remvoed. |
30 | 31 |
31 ### Tool Changes | 32 ### Tool Changes |
32 | 33 |
33 * Pub | 34 * Pub |
34 | 35 |
35 * `pub get` and `pub upgrade` properly produce an error message and exit code | 36 * `pub get` and `pub upgrade` properly produce an error message and exit code |
36 when no network is present. | 37 when no network is present. |
37 * Bug fixes for dartdevc support in `pub serve`. | 38 * Bug fixes for dartdevc support in `pub serve`. |
38 * Fixed module config invalidation logic so modules are properly | 39 * Fixed module config invalidation logic so modules are properly |
39 recalculated when package layout changes. | 40 recalculated when package layout changes. |
(...skipping 2060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2100 they will keep the Dart process alive until they time out. This fixes the | 2101 they will keep the Dart process alive until they time out. This fixes the |
2101 handling of persistent connections. Previously, the client would shut down | 2102 handling of persistent connections. Previously, the client would shut down |
2102 immediately after a request. | 2103 immediately after a request. |
2103 | 2104 |
2104 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 2105 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
2105 default. The new `autoCompress` property can be set to `true` to re-enable | 2106 default. The new `autoCompress` property can be set to `true` to re-enable |
2106 compression. | 2107 compression. |
2107 | 2108 |
2108 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 2109 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
2109 which controls how it resolves `package:` URIs. | 2110 which controls how it resolves `package:` URIs. |
OLD | NEW |