OLD | NEW |
1 ## 1.13.0 | 1 ## 1.13.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 * `dart:async` | 4 * `dart:async` |
5 * `StreamTransformer` instances created with `fromHandlers` with no | 5 * `StreamTransformer` instances created with `fromHandlers` with no |
6 `handleError` callback now forward stack traces along with errors to the | 6 `handleError` callback now forward stack traces along with errors to the |
7 resulting streams. | 7 resulting streams. |
8 | 8 |
9 * `dart:core` | 9 * `dart:core` |
10 * `Uri` added `removeFragment` method. | 10 * `Uri` added `removeFragment` method. |
11 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, | 11 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, |
12 as all `allMatches` implementations are intended to be. | 12 as all `allMatches` implementations are intended to be. |
13 * `Resource` is deprecated in favor of the resource package. | 13 * `Resource` is deprecated in favor of the resource package. |
14 See https://pub.dartlang.org/packages/resource to learn more. This is | 14 See https://pub.dartlang.org/packages/resource to learn more. This is |
15 the last release to contain the Resource class. | 15 the last release to contain the Resource class. |
16 | 16 |
17 * `dart:io` | 17 * `dart:io` |
18 * `HttpClient` no longer sends URI fragments in the request. This is not | 18 * `HttpClient` no longer sends URI fragments in the request. This is not |
19 allowed by the HTTP protocol. | 19 allowed by the HTTP protocol. |
20 The `HttpServer` still gracefully receives fragments, but discards them | 20 The `HttpServer` still gracefully receives fragments, but discards them |
21 before delivering the request. | 21 before delivering the request. |
22 * Removed server socket references. The use of server socket references | 22 * Removed server socket references. The use of server socket references |
23 was deprecated back in 1.9. Use the `shared` flag when creating listening | 23 was deprecated back in 1.9. Use the `shared` flag when creating listening |
24 sockets and `HttpServer` to distribute accepted sockets between isolates. | 24 sockets and `HttpServer` to distribute accepted sockets between isolates. |
25 | 25 |
| 26 * `dart:isolate` |
| 27 * `Isolate` added `packageRoot` and `packageMap` getters. |
| 28 * `Isolate.spawnUri` added `packageMap` parameter. |
| 29 |
26 ### Tool changes | 30 ### Tool changes |
27 | 31 |
28 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have | 32 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have |
29 been removed from the repository. | 33 been removed from the repository. |
30 | 34 |
31 * This is the last release to ship the VM's "legacy debug protocol". | 35 * This is the last release to ship the VM's "legacy debug protocol". |
32 We intend to remove the legacy debug protocol in Dart VM 1.14. | 36 We intend to remove the legacy debug protocol in Dart VM 1.14. |
33 | 37 |
34 * The VM's Service Protocol has been updated to version 3.0 to take care | 38 * The VM's Service Protocol has been updated to version 3.0 to take care |
35 of a number of issues uncovered by the first few non-observatory | 39 of a number of issues uncovered by the first few non-observatory |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 they will keep the Dart process alive until they time out. This fixes the | 562 they will keep the Dart process alive until they time out. This fixes the |
559 handling of persistent connections. Previously, the client would shut down | 563 handling of persistent connections. Previously, the client would shut down |
560 immediately after a request. | 564 immediately after a request. |
561 | 565 |
562 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 566 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
563 default. The new `autoCompress` property can be set to `true` to re-enable | 567 default. The new `autoCompress` property can be set to `true` to re-enable |
564 compression. | 568 compression. |
565 | 569 |
566 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 570 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
567 which controls how it resolves `package:` URIs. | 571 which controls how it resolves `package:` URIs. |
OLD | NEW |