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