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, and will be removed in a future release. | 30 * `Resource` is deprecated, and will be removed in a future release. |
31 | 31 |
32 * `dart:developer` | 32 * `dart:developer` |
33 * Added `Timeline` class for interacting with Observatory's timeline feature. | 33 * Added `Timeline` class for interacting with Observatory's timeline feature. |
34 * 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. |
35 | 35 |
| 36 * `dart:html`, `dart:indexed_db`, `dart:svg`, `dart:web_audio`, `dart:web_gl`, `
dart:web_sql` |
| 37 * The return type of some APIs changed from `double` to `num`. Dartium is now |
| 38 using |
| 39 JS interop for most operations. JS does not distinguish between numeric |
| 40 types, and will return a number as an int if it fits in an int. This will |
| 41 mostly cause an error if you assign to something typed `double` in |
| 42 checked mode. You may |
| 43 need to insert a `toDouble()` call or accept `num`. Examples of APIs that |
| 44 are affected include `Element.getBoundingClientRect` and |
| 45 `TextMetrics.width`. |
| 46 |
36 * `dart:io` | 47 * `dart:io` |
37 * **Breaking:** Secure networking has changed, replacing the NSS library | 48 * **Breaking:** Secure networking has changed, replacing the NSS library |
38 with the BoringSSL library. `SecureSocket`, `SecureServerSocket`, | 49 with the BoringSSL library. `SecureSocket`, `SecureServerSocket`, |
39 `RawSecureSocket`,`RawSecureServerSocket`, `HttpClient`, and `HttpServer` | 50 `RawSecureSocket`,`RawSecureServerSocket`, `HttpClient`, and `HttpServer` |
40 now all use a `SecurityContext` object which contains the certificates | 51 now all use a `SecurityContext` object which contains the certificates |
41 and keys used for secure TLS (SSL) networking. | 52 and keys used for secure TLS (SSL) networking. |
42 | 53 |
43 This is a breaking change for server applications and for some client | 54 This is a breaking change for server applications and for some client |
44 applications. Certificates and keys are loaded into the `SecurityContext` | 55 applications. Certificates and keys are loaded into the `SecurityContext` |
45 from PEM files, instead of from an NSS certificate database. Information | 56 from PEM files, instead of from an NSS certificate database. Information |
(...skipping 20 matching lines...) Expand all Loading... |
66 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have | 77 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have |
67 been removed from the repository. | 78 been removed from the repository. |
68 | 79 |
69 * This is the last release to ship the VM's "legacy debug protocol". | 80 * This is the last release to ship the VM's "legacy debug protocol". |
70 We intend to remove the legacy debug protocol in Dart VM 1.14. | 81 We intend to remove the legacy debug protocol in Dart VM 1.14. |
71 | 82 |
72 * The VM's Service Protocol has been updated to version 3.0 to take care | 83 * The VM's Service Protocol has been updated to version 3.0 to take care |
73 of a number of issues uncovered by the first few non-observatory | 84 of a number of issues uncovered by the first few non-observatory |
74 clients. This is a potentially breaking change for clients. | 85 clients. This is a potentially breaking change for clients. |
75 | 86 |
| 87 * Dartium has been substantially changed. Rather than using C++ calls into |
| 88 Chromium internals for DOM operations it now uses JS interop. |
| 89 The DOM objects in `dart:html` and related libraries now wrap |
| 90 a JavaScript object and delegate operations to it. This should be |
| 91 mostly transparent to users. However, performance and memory characteristics |
| 92 may be different from previous versions. There may be some changes in which |
| 93 DOM objects are wrapped as Dart objects. For example, if you get a reference |
| 94 to a Window object, even through JS interop, you will always see it as a |
| 95 Dart Window, even when used cross-frame. We expect the change to using |
| 96 JS interop will make it much simpler to update to new Chrome versions. |
| 97 |
76 ## 1.12.2 - 2015-10-21 | 98 ## 1.12.2 - 2015-10-21 |
77 | 99 |
78 ### Core library changes | 100 ### Core library changes |
79 | 101 |
80 * `dart:io` | 102 * `dart:io` |
81 | 103 |
82 * A memory leak in creation of Process objects is fixed. | 104 * A memory leak in creation of Process objects is fixed. |
83 | 105 |
84 ## 1.12.1 - 2015-09-08 | 106 ## 1.12.1 - 2015-09-08 |
85 | 107 |
(...skipping 536 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 | 644 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 | 645 handling of persistent connections. Previously, the client would shut down |
624 immediately after a request. | 646 immediately after a request. |
625 | 647 |
626 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 648 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
627 default. The new `autoCompress` property can be set to `true` to re-enable | 649 default. The new `autoCompress` property can be set to `true` to re-enable |
628 compression. | 650 compression. |
629 | 651 |
630 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 652 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
631 which controls how it resolves `package:` URIs. | 653 which controls how it resolves `package:` URIs. |
OLD | NEW |