OLD | NEW |
1 ## 1.14.0 | 1 ## 1.14.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 * `dart:math` | 4 * `dart:math` |
5 * `Random` added a `secure` constructor returning a cryptographically secure | 5 * `Random` added a `secure` constructor returning a cryptographically secure |
6 random generator which reads from the entropy source provided by the | 6 random generator which reads from the entropy source provided by the |
7 embedder for every generated random value. | 7 embedder for every generated random value. |
8 | 8 |
9 ## 1.13.0 | 9 ## 1.13.0 |
10 | 10 |
11 ### Core library changes | 11 ### Core library changes |
12 * `dart:async` | 12 * `dart:async` |
13 * `StreamTransformer` instances created with `fromHandlers` with no | 13 * `StreamTransformer` instances created with `fromHandlers` with no |
14 `handleError` callback now forward stack traces along with errors to the | 14 `handleError` callback now forward stack traces along with errors to the |
15 resulting streams. | 15 resulting streams. |
16 | 16 |
17 * `dart:core` | 17 * `dart:core` |
| 18 * `DataUri` class added to help with creating and deconstructing data: URIs. |
18 * `Uri` added `removeFragment` method. | 19 * `Uri` added `removeFragment` method. |
19 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, | 20 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, |
20 as all `allMatches` implementations are intended to be. | 21 as all `allMatches` implementations are intended to be. |
21 * `Resource` is deprecated in favor of the resource package. | 22 * `Resource` is deprecated in favor of the resource package. |
22 See https://pub.dartlang.org/packages/resource to learn more. This is | 23 See https://pub.dartlang.org/packages/resource to learn more. This is |
23 the last release to contain the Resource class. | 24 the last release to contain the Resource class. |
24 | 25 |
25 * `dart:io` | 26 * `dart:io` |
26 * `HttpClient` no longer sends URI fragments in the request. This is not | 27 * `HttpClient` no longer sends URI fragments in the request. This is not |
27 allowed by the HTTP protocol. | 28 allowed by the HTTP protocol. |
28 The `HttpServer` still gracefully receives fragments, but discards them | 29 The `HttpServer` still gracefully receives fragments, but discards them |
29 before delivering the request. | 30 before delivering the request. |
30 * Removed server socket references. The use of server socket references | 31 * Removed server socket references. The use of server socket references |
31 was deprecated back in 1.9. Use the `shared` flag when creating listening | 32 was deprecated back in 1.9. Use the `shared` flag when creating listening |
32 sockets and `HttpServer` to distribute accepted sockets between isolates. | 33 sockets and `HttpServer` to distribute accepted sockets between isolates. |
33 | 34 |
34 * `dart:isolate` | 35 * `dart:isolate` |
35 * `Isolate` added `packageRoot` and `packageMap` getters. | 36 * `Isolate` added `packageRoot` and `packageMap` getters. |
36 * `Isolate.spawnUri` added `packageMap` parameter. | 37 * `Isolate.spawnUri` added `packageMap` parameter. |
37 | 38 |
| 39 * `dart:convert` |
| 40 * Added `BASE64` codec for simple base64 encoding and decoding. |
| 41 |
38 ### Tool changes | 42 ### Tool changes |
39 | 43 |
40 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have | 44 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have |
41 been removed from the repository. | 45 been removed from the repository. |
42 | 46 |
43 * This is the last release to ship the VM's "legacy debug protocol". | 47 * This is the last release to ship the VM's "legacy debug protocol". |
44 We intend to remove the legacy debug protocol in Dart VM 1.14. | 48 We intend to remove the legacy debug protocol in Dart VM 1.14. |
45 | 49 |
46 * The VM's Service Protocol has been updated to version 3.0 to take care | 50 * The VM's Service Protocol has been updated to version 3.0 to take care |
47 of a number of issues uncovered by the first few non-observatory | 51 of a number of issues uncovered by the first few non-observatory |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
596 they will keep the Dart process alive until they time out. This fixes the | 600 they will keep the Dart process alive until they time out. This fixes the |
597 handling of persistent connections. Previously, the client would shut down | 601 handling of persistent connections. Previously, the client would shut down |
598 immediately after a request. | 602 immediately after a request. |
599 | 603 |
600 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 604 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
601 default. The new `autoCompress` property can be set to `true` to re-enable | 605 default. The new `autoCompress` property can be set to `true` to re-enable |
602 compression. | 606 compression. |
603 | 607 |
604 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 608 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
605 which controls how it resolves `package:` URIs. | 609 which controls how it resolves `package:` URIs. |
OLD | NEW |