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 |
| 23 was deprecated back in 1.9. Use the `shared` flag when creating listening |
| 24 sockets and `HttpServer` to distribute accepted sockets between isolates. |
22 | 25 |
23 ### Tool changes | 26 ### Tool changes |
24 | 27 |
25 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have | 28 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have |
26 been removed from the repository. | 29 been removed from the repository. |
27 | 30 |
28 * This is the last release to ship the VM's "legacy debug protocol". | 31 * This is the last release to ship the VM's "legacy debug protocol". |
29 We intend to remove the legacy debug protocol in Dart VM 1.14. | 32 We intend to remove the legacy debug protocol in Dart VM 1.14. |
30 | 33 |
31 * The VM's Service Protocol has been updated to version 3.0 to take care | 34 * The VM's Service Protocol has been updated to version 3.0 to take care |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 they will keep the Dart process alive until they time out. This fixes the | 558 they will keep the Dart process alive until they time out. This fixes the |
556 handling of persistent connections. Previously, the client would shut down | 559 handling of persistent connections. Previously, the client would shut down |
557 immediately after a request. | 560 immediately after a request. |
558 | 561 |
559 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 562 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
560 default. The new `autoCompress` property can be set to `true` to re-enable | 563 default. The new `autoCompress` property can be set to `true` to re-enable |
561 compression. | 564 compression. |
562 | 565 |
563 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 566 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
564 which controls how it resolves `package:` URIs. | 567 which controls how it resolves `package:` URIs. |
OLD | NEW |