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 * `StreamController` added getters for `onListen`, `onPause`, and `onResume` |
| 14 with the corresponding new `typedef void ControllerCallback()`. |
| 15 * `StreamController` added a getter for `onCancel` with the corresponding |
| 16 new `typedef ControllerCancelCallback()`; |
13 * `StreamTransformer` instances created with `fromHandlers` with no | 17 * `StreamTransformer` instances created with `fromHandlers` with no |
14 `handleError` callback now forward stack traces along with errors to the | 18 `handleError` callback now forward stack traces along with errors to the |
15 resulting streams. | 19 resulting streams. |
16 | 20 |
17 * `dart:core` | 21 * `dart:core` |
18 * `Uri` added `removeFragment` method. | 22 * `Uri` added `removeFragment` method. |
19 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, | 23 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, |
20 as all `allMatches` implementations are intended to be. | 24 as all `allMatches` implementations are intended to be. |
21 * `Resource` is deprecated in favor of the resource package. | 25 * `Resource` is deprecated in favor of the resource package. |
22 See https://pub.dartlang.org/packages/resource to learn more. This is | 26 See https://pub.dartlang.org/packages/resource to learn more. This is |
(...skipping 573 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 |