| 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` | 13 * `StreamController` added getters for `onListen`, `onPause`, and `onResume` |
| 14 with the corresponding new `typedef void ControllerCallback()`. | 14 with the corresponding new `typedef void ControllerCallback()`. |
| 15 * `StreamController` added a getter for `onCancel` with the corresponding | 15 * `StreamController` added a getter for `onCancel` with the corresponding |
| 16 new `typedef ControllerCancelCallback()`; | 16 new `typedef ControllerCancelCallback()`; |
| 17 * `StreamTransformer` instances created with `fromHandlers` with no | 17 * `StreamTransformer` instances created with `fromHandlers` with no |
| 18 `handleError` callback now forward stack traces along with errors to the | 18 `handleError` callback now forward stack traces along with errors to the |
| 19 resulting streams. | 19 resulting streams. |
| 20 | 20 |
| 21 * `dart:convert` | 21 * `dart:convert` |
| 22 * Added support for Base-64 encoding and decoding. | 22 * Added support for Base-64 encoding and decoding. |
| 23 * Added new classes `Base64Codec`, `Base64Encoder`, and `Base64Decoder`. | 23 * Added new classes `Base64Codec`, `Base64Encoder`, and `Base64Decoder`. |
| 24 * Added new top-level `const Base64Codec BASE64`. | 24 * Added new top-level `const Base64Codec BASE64`. |
| 25 | 25 |
| 26 * `dart:core` | 26 * `dart:core` |
| 27 * `Uri` added `removeFragment` method. | 27 * `Uri` added `removeFragment` method. |
| 28 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, | 28 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, |
| 29 as all `allMatches` implementations are intended to be. | 29 as all `allMatches` implementations are intended to be. |
| 30 * `Resource` is deprecated in favor of the resource package. | 30 * `Resource` is deprecated, and will be removed in a future release. |
| 31 See https://pub.dartlang.org/packages/resource to learn more. This is | |
| 32 the last release to contain the Resource class. | |
| 33 | 31 |
| 34 * `dart:developer` | 32 * `dart:developer` |
| 35 * Added `Timeline` class for interacting with Observatory's timeline feature. | 33 * Added `Timeline` class for interacting with Observatory's timeline feature. |
| 36 * Added `ServiceExtensionHandler`, `ServiceExtensionResponse`, and `registerEx
tension` which enable developers to provide their own VM service protocol extens
ions. | 34 * Added `ServiceExtensionHandler`, `ServiceExtensionResponse`, and `registerEx
tension` which enable developers to provide their own VM service protocol extens
ions. |
| 37 | 35 |
| 38 * `dart:io` | 36 * `dart:io` |
| 39 * **Breaking:** Secure networking has changed, replacing the NSS library | 37 * **Breaking:** Secure networking has changed, replacing the NSS library |
| 40 with the BoringSSL library. `SecureSocket`, `SecureServerSocket`, | 38 with the BoringSSL library. `SecureSocket`, `SecureServerSocket`, |
| 41 `RawSecureSocket`,`RawSecureServerSocket`, `HttpClient`, and `HttpServer` | 39 `RawSecureSocket`,`RawSecureServerSocket`, `HttpClient`, and `HttpServer` |
| 42 now all use a `SecurityContext` object which contains the certificates | 40 now all use a `SecurityContext` object which contains the certificates |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 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 |
| 625 handling of persistent connections. Previously, the client would shut down | 623 handling of persistent connections. Previously, the client would shut down |
| 626 immediately after a request. | 624 immediately after a request. |
| 627 | 625 |
| 628 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 626 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 629 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 |
| 630 compression. | 628 compression. |
| 631 | 629 |
| 632 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 630 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 633 which controls how it resolves `package:` URIs. | 631 which controls how it resolves `package:` URIs. |
| OLD | NEW |