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 |
| 5 this file is part of. |
| 6 A library part can now declare its library either as: |
| 7 `part of name.of.library;` or as `part of "uriReferenceOfLibrary.dart";`. |
| 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 |
| 10 file. |
4 | 11 |
5 #### Strong Mode | 12 #### Strong Mode |
6 | 13 |
7 ### Core library changes | 14 ### Core library changes |
8 | 15 |
9 * `dart:io` | 16 * `dart:io` |
10 * Unified backends for `SecureSocket`, `SecurityContext`, and | 17 * Unified backends for `SecureSocket`, `SecurityContext`, and |
11 `X509Certificate` to be consistent across all platforms. All | 18 `X509Certificate` to be consistent across all platforms. All |
12 `SecureSocket`, `SecurityContext`, and `X509Certificate` properties and | 19 `SecureSocket`, `SecurityContext`, and `X509Certificate` properties and |
13 methods are now supported on iOS and OSX. | 20 methods are now supported on iOS and OSX. |
(...skipping 2074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2088 they will keep the Dart process alive until they time out. This fixes the | 2095 they will keep the Dart process alive until they time out. This fixes the |
2089 handling of persistent connections. Previously, the client would shut down | 2096 handling of persistent connections. Previously, the client would shut down |
2090 immediately after a request. | 2097 immediately after a request. |
2091 | 2098 |
2092 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 2099 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
2093 default. The new `autoCompress` property can be set to `true` to re-enable | 2100 default. The new `autoCompress` property can be set to `true` to re-enable |
2094 compression. | 2101 compression. |
2095 | 2102 |
2096 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 2103 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
2097 which controls how it resolves `package:` URIs. | 2104 which controls how it resolves `package:` URIs. |
OLD | NEW |