| 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 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 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 in favor of the resource package. |
| 31 See https://pub.dartlang.org/packages/resource to learn more. This is | 31 See https://pub.dartlang.org/packages/resource to learn more. This is |
| 32 the last release to contain the Resource class. | 32 the last release to contain the Resource class. |
| 33 | 33 |
| 34 * `dart:io` | 34 * `dart:io` |
| 35 * **Breaking:** Secure networking has changed, replacing the NSS library |
| 36 with the BoringSSL library. `SecureSocket`, `SecureServerSocket`, |
| 37 `RawSecureSocket`,`RawSecureServerSocket`, `HttpClient`, and `HttpServer` |
| 38 now all use a `SecurityContext` object which contains the certificates |
| 39 and keys used for secure TLS (SSL) networking. |
| 40 |
| 41 This is a breaking change for server applications and for some client |
| 42 applications. Certificates and keys are loaded into the `SecurityContext` |
| 43 from PEM files, instead of from an NSS certificate database. Information |
| 44 about how to change applications that use secure networking is at |
| 45 https://www.dartlang.org/server/tls-ssl.html |
| 46 |
| 35 * `HttpClient` no longer sends URI fragments in the request. This is not | 47 * `HttpClient` no longer sends URI fragments in the request. This is not |
| 36 allowed by the HTTP protocol. | 48 allowed by the HTTP protocol. |
| 37 The `HttpServer` still gracefully receives fragments, but discards them | 49 The `HttpServer` still gracefully receives fragments, but discards them |
| 38 before delivering the request. | 50 before delivering the request. |
| 39 * To allow connections to be accepted on the same port across different | 51 * To allow connections to be accepted on the same port across different |
| 40 isolates, set the `shared` argument to `true` when creating server socket | 52 isolates, set the `shared` argument to `true` when creating server socket |
| 41 and `HttpServer` instances. | 53 and `HttpServer` instances. |
| 42 * The deprecated `ServerSocketReference` and `RawServerSocketReference` | 54 * The deprecated `ServerSocketReference` and `RawServerSocketReference` |
| 43 classes have been removed. | 55 classes have been removed. |
| 44 * The corresponding `reference` properties on `ServerSocket` and | 56 * The corresponding `reference` properties on `ServerSocket` and |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 they will keep the Dart process alive until they time out. This fixes the | 620 they will keep the Dart process alive until they time out. This fixes the |
| 609 handling of persistent connections. Previously, the client would shut down | 621 handling of persistent connections. Previously, the client would shut down |
| 610 immediately after a request. | 622 immediately after a request. |
| 611 | 623 |
| 612 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 624 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 613 default. The new `autoCompress` property can be set to `true` to re-enable | 625 default. The new `autoCompress` property can be set to `true` to re-enable |
| 614 compression. | 626 compression. |
| 615 | 627 |
| 616 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 628 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 617 which controls how it resolves `package:` URIs. | 629 which controls how it resolves `package:` URIs. |
| OLD | NEW |