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. |
(...skipping 13 matching lines...) Expand all Loading... |
24 'SecureSocket.connect' and 'RawSecureSocket.connect. If a connection attempt | 24 'SecureSocket.connect' and 'RawSecureSocket.connect. If a connection attempt |
25 takes longer than the duration specified in 'timeout', a 'SocketException' | 25 takes longer than the duration specified in 'timeout', a 'SocketException' |
26 will be thrown. Note: if the duration specified in 'timeout' is greater than | 26 will be thrown. Note: if the duration specified in 'timeout' is greater than |
27 the system level timeout duration, a timeout may occur sooner than specified | 27 the system level timeout duration, a timeout may occur sooner than specified |
28 in 'timeout'. | 28 in 'timeout'. |
29 | 29 |
30 * `dart:core` | 30 * `dart:core` |
31 * The `Uri` class now correctly handles paths while running on Node.js on | 31 * The `Uri` class now correctly handles paths while running on Node.js on |
32 Windows. | 32 Windows. |
33 | 33 |
| 34 * `dart:developer` |
| 35 * `Timeline.startSync` and `Timeline.timeSync` now accept an optional |
| 36 parameter `flow` of type `Flow`. The `flow` parameter is used to generate |
| 37 flow timeline events that are enclosed by the slice described by |
| 38 `Timeline.{start,finish}Sync` and `Timeline.timeSync`. |
| 39 |
34 ### Dart VM | 40 ### Dart VM |
35 * Support for MIPS has been remvoed. | 41 * Support for MIPS has been remvoed. |
36 | 42 |
37 ### Tool Changes | 43 ### Tool Changes |
38 | 44 |
39 * Pub | 45 * Pub |
40 | 46 |
41 * Git dependencies may now include a `path` parameter, indicating that the | 47 * Git dependencies may now include a `path` parameter, indicating that the |
42 package exists in a subdirectory of the Git repository. For example: | 48 package exists in a subdirectory of the Git repository. For example: |
43 | 49 |
(...skipping 2117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2161 they will keep the Dart process alive until they time out. This fixes the | 2167 they will keep the Dart process alive until they time out. This fixes the |
2162 handling of persistent connections. Previously, the client would shut down | 2168 handling of persistent connections. Previously, the client would shut down |
2163 immediately after a request. | 2169 immediately after a request. |
2164 | 2170 |
2165 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 2171 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
2166 default. The new `autoCompress` property can be set to `true` to re-enable | 2172 default. The new `autoCompress` property can be set to `true` to re-enable |
2167 compression. | 2173 compression. |
2168 | 2174 |
2169 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 2175 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
2170 which controls how it resolves `package:` URIs. | 2176 which controls how it resolves `package:` URIs. |
OLD | NEW |