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` | |
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 | |
kevmoo
2015/11/11 22:00:49
Folks should only see issues when running in check
Alan Knight
2015/11/11 23:00:12
Hmm. I was thinking it was more than that, but I'm
| |
40 types, and will return a number as an int if it fits in an int. You may | |
41 need to insert a `toDouble()` call or accept `num`. Examples of APIs that | |
42 are affected include `Element.getBoundingClientRect` and | |
43 `TextMetrics.width`. | |
44 | |
36 * `dart:io` | 45 * `dart:io` |
37 * **Breaking:** Secure networking has changed, replacing the NSS library | 46 * **Breaking:** Secure networking has changed, replacing the NSS library |
38 with the BoringSSL library. `SecureSocket`, `SecureServerSocket`, | 47 with the BoringSSL library. `SecureSocket`, `SecureServerSocket`, |
39 `RawSecureSocket`,`RawSecureServerSocket`, `HttpClient`, and `HttpServer` | 48 `RawSecureSocket`,`RawSecureServerSocket`, `HttpClient`, and `HttpServer` |
40 now all use a `SecurityContext` object which contains the certificates | 49 now all use a `SecurityContext` object which contains the certificates |
41 and keys used for secure TLS (SSL) networking. | 50 and keys used for secure TLS (SSL) networking. |
42 | 51 |
43 This is a breaking change for server applications and for some client | 52 This is a breaking change for server applications and for some client |
44 applications. Certificates and keys are loaded into the `SecurityContext` | 53 applications. Certificates and keys are loaded into the `SecurityContext` |
45 from PEM files, instead of from an NSS certificate database. Information | 54 from PEM files, instead of from an NSS certificate database. Information |
46 about how to change applications that use secure networking is at | 55 about how to change applications that use secure networking is at |
47 https://www.dartlang.org/server/tls-ssl.html | 56 https://www.dartlang.org/server/tls-ssl.html |
48 | 57 |
49 * `HttpClient` no longer sends URI fragments in the request. This is not | 58 * `HttpClient` no longer sends URI fragments in the request. This is not |
50 allowed by the HTTP protocol. | 59 allowed by the HTTP protocol. |
51 The `HttpServer` still gracefully receives fragments, but discards them | 60 The `HttpServer` still gracefully receives fragments, but discards them |
52 before delivering the request. | 61 before delivering the request. |
53 * To allow connections to be accepted on the same port across different | 62 * To allow connections to be accepted on the same port across different |
54 isolates, set the `shared` argument to `true` when creating server socket | 63 isolates, set the `shared` argument to `true` when creating server socket |
55 and `HttpServer` instances. | 64 and `HttpServer` instances. |
56 * The deprecated `ServerSocketReference` and `RawServerSocketReference` | 65 * The deprecated `ServerSocketReference` and `RawServerSocketReference` |
57 classes have been removed. | 66 classes have been removed. |
58 * The corresponding `reference` properties on `ServerSocket` and | 67 * The corresponding `reference` properties on `ServerSocket` and |
59 `RawServerSocket` have been removed. | 68 `RawServerSocket` have been removed. |
60 | 69 |
70 * `dart:indexed_db` | |
kevmoo
2015/11/11 22:00:49
Roll all of these under `dart:html` – a comma-sepa
Alan Knight
2015/11/11 23:00:12
Done.
| |
71 * APIs returning double have changed to num. See `dart:html` discussion. | |
72 | |
61 * `dart:isolate` | 73 * `dart:isolate` |
62 * `spawnUri` added an `environment` named argument. | 74 * `spawnUri` added an `environment` named argument. |
63 | 75 |
76 * `dart:svg` | |
77 * APIs returning double have changed to num. See `dart:html` discussion. | |
78 | |
79 * `dart:web_audio` | |
80 * APIs returning double have changed to num. See `dart:html` discussion. | |
81 | |
82 * `dart:web_gl` | |
83 * APIs returning double have changed to num. See `dart:html` discussion. | |
84 | |
85 * `dart:web_sql` | |
86 * APIs returning double have changed to num. See `dart:html` discussion. | |
87 | |
64 ### Tool changes | 88 ### Tool changes |
65 | 89 |
66 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have | 90 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have |
67 been removed from the repository. | 91 been removed from the repository. |
68 | 92 |
69 * This is the last release to ship the VM's "legacy debug protocol". | 93 * 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. | 94 We intend to remove the legacy debug protocol in Dart VM 1.14. |
71 | 95 |
72 * The VM's Service Protocol has been updated to version 3.0 to take care | 96 * 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 | 97 of a number of issues uncovered by the first few non-observatory |
74 clients. This is a potentially breaking change for clients. | 98 clients. This is a potentially breaking change for clients. |
75 | 99 |
100 * Dartium has been substantially changed. Rather than using C++ calls into | |
101 Chromium internals for DOM operations it now uses JS interop. | |
102 The DOM objects in `dart:html` and related libraries now wrap | |
103 a JavaScript object and delegate operations to it. This should be | |
104 mostly transparent to users. However, performance and memory characteristics | |
105 may be different from previous versions. There may be some changes in which | |
kevmoo
2015/11/11 22:00:49
What does it mean to be "wrapped as Dart objects"?
Alan Knight
2015/11/11 23:00:12
Clarified.
| |
106 DOM objects are wrapped as Dart objects, e.g. Window objects are always | |
107 returned as Dart, even when used cross-frame. We expect the change to using | |
108 JS interop will make it much simpler to update to new Chrome versions. | |
109 | |
76 ## 1.12.2 - 2015-10-21 | 110 ## 1.12.2 - 2015-10-21 |
77 | 111 |
78 ### Core library changes | 112 ### Core library changes |
79 | 113 |
80 * `dart:io` | 114 * `dart:io` |
81 | 115 |
82 * A memory leak in creation of Process objects is fixed. | 116 * A memory leak in creation of Process objects is fixed. |
83 | 117 |
84 ## 1.12.1 - 2015-09-08 | 118 ## 1.12.1 - 2015-09-08 |
85 | 119 |
(...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 | 656 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 | 657 handling of persistent connections. Previously, the client would shut down |
624 immediately after a request. | 658 immediately after a request. |
625 | 659 |
626 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 660 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
627 default. The new `autoCompress` property can be set to `true` to re-enable | 661 default. The new `autoCompress` property can be set to `true` to re-enable |
628 compression. | 662 compression. |
629 | 663 |
630 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 664 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
631 which controls how it resolves `package:` URIs. | 665 which controls how it resolves `package:` URIs. |
OLD | NEW |