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 * `dart:core` | |
10 * Added `Uri.data` getter for `data:` URIs, and `UriData` class for the | |
11 return type. | |
12 | |
13 * `dart:convert` | |
14 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. | |
15 | |
16 ## 1.13.0 | 9 ## 1.13.0 |
17 | 10 |
18 ### Core library changes | 11 ### Core library changes |
19 * `dart:async` | 12 * `dart:async` |
20 * `StreamController` added getters for `onListen`, `onPause`, and `onResume` | 13 * `StreamController` added getters for `onListen`, `onPause`, and `onResume` |
21 with the corresponding new `typedef void ControllerCallback()`. | 14 with the corresponding new `typedef void ControllerCallback()`. |
22 * `StreamController` added a getter for `onCancel` with the corresponding | 15 * `StreamController` added a getter for `onCancel` with the corresponding |
23 new `typedef ControllerCancelCallback()`; | 16 new `typedef ControllerCancelCallback()`; |
24 * `StreamTransformer` instances created with `fromHandlers` with no | 17 * `StreamTransformer` instances created with `fromHandlers` with no |
25 `handleError` callback now forward stack traces along with errors to the | 18 `handleError` callback now forward stack traces along with errors to the |
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 they will keep the Dart process alive until they time out. This fixes the | 622 they will keep the Dart process alive until they time out. This fixes the |
630 handling of persistent connections. Previously, the client would shut down | 623 handling of persistent connections. Previously, the client would shut down |
631 immediately after a request. | 624 immediately after a request. |
632 | 625 |
633 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 626 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
634 default. The new `autoCompress` property can be set to `true` to re-enable | 627 default. The new `autoCompress` property can be set to `true` to re-enable |
635 compression. | 628 compression. |
636 | 629 |
637 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 630 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
638 which controls how it resolves `package:` URIs. | 631 which controls how it resolves `package:` URIs. |
OLD | NEW |