| 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 * `Uri` added `removeFragment` method. | 18 * `Uri` added `removeFragment` method. |
| 19 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, | 19 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, |
| 20 as all `allMatches` implementations are intended to be. | 20 as all `allMatches` implementations are intended to be. |
| 21 * `Resource` is deprecated in favor of the resource package. | 21 * `Resource` is deprecated in favor of the resource package. |
| 22 See https://pub.dartlang.org/packages/resource to learn more. This is | 22 See https://pub.dartlang.org/packages/resource to learn more. This is |
| 23 the last release to contain the Resource class. | 23 the last release to contain the Resource class. |
| 24 | 24 |
| 25 * `dart:io` | 25 * `dart:io` |
| 26 * `HttpClient` no longer sends URI fragments in the request. This is not | 26 * `HttpClient` no longer sends URI fragments in the request. This is not |
| 27 allowed by the HTTP protocol. | 27 allowed by the HTTP protocol. |
| 28 The `HttpServer` still gracefully receives fragments, but discards them | 28 The `HttpServer` still gracefully receives fragments, but discards them |
| 29 before delivering the request. | 29 before delivering the request. |
| 30 * Removed server socket references. The use of server socket references | 30 * To allow connections to be accepted on the same port across different |
| 31 was deprecated back in 1.9. Use the `shared` flag when creating listening | 31 isolates, set the `shared` argument to `true` when creating server socket |
| 32 sockets and `HttpServer` to distribute accepted sockets between isolates. | 32 and `HttpServer` instances. |
| 33 * The deprecated `ServerSocketReference` and `RawServerSocketReference` |
| 34 classes have been removed. |
| 35 * The corresponding `reference` properties on `ServerSocket` and |
| 36 `RawServerSocket` have been removed. |
| 33 | 37 |
| 34 * `dart:isolate` | 38 * `dart:isolate` |
| 35 * `Isolate` added `packageRoot` and `packageMap` getters. | 39 * `Isolate` added `packageRoot` and `packageMap` getters. |
| 36 * `Isolate.spawnUri` added `packageMap` parameter. | 40 * `Isolate.spawnUri` added `packageMap` parameter. |
| 37 | 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 |
| (...skipping 553 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 |