OLD | NEW |
1 ## 1.13.0 | 1 ## 1.13.0 |
2 | 2 |
3 * `dart:core` | 3 * `dart:core` |
4 * `Uri` added `removeFragment` method. | 4 * `Uri` added `removeFragment` method. |
5 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, | 5 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, |
6 as all `allMatches` implementations are intended to be. | 6 as all `allMatches` implementations are intended to be. |
7 * `dart:io` | 7 * `dart:io` |
8 * `HttpClient` no longer sends URI fragments in the requeust. This is not | 8 * `HttpClient` no longer sends URI fragments in the requeust. This is not |
9 allowed by the HTTP protocol. | 9 allowed by the HTTP protocol. |
10 The `HttpServer` still gracefully receives fragments, but discards them | 10 The `HttpServer` still gracefully receives fragments, but discards them |
(...skipping 30 matching lines...) Expand all Loading... |
41 * `dart:io` | 41 * `dart:io` |
42 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for | 42 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for |
43 opening a file write only. | 43 opening a file write only. |
44 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) | 44 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) |
45 * Change stdout/stderr to binary mode on Windows. | 45 * Change stdout/stderr to binary mode on Windows. |
46 [4205b29](https://github.com/dart-lang/sdk/commit/4205b2997e01f2cea8e2f44c6f
46ed6259ab7277) | 46 [4205b29](https://github.com/dart-lang/sdk/commit/4205b2997e01f2cea8e2f44c6f
46ed6259ab7277) |
47 | 47 |
48 * `dart:mirrors` | 48 * `dart:mirrors` |
49 * `InstanceMirror.delegate` moved up to `ObjectMirror`. | 49 * `InstanceMirror.delegate` moved up to `ObjectMirror`. |
50 * Fix InstanceMirror.getField optimization when the selector is an operator. | 50 * Fix InstanceMirror.getField optimization when the selector is an operator. |
51 * Fix reflective NoSuchMethodErrors to match their non-reflective counterparts
when due | 51 * Fix reflective NoSuchMethodErrors to match their non-reflective |
52 to argument mismatches. | 52 counterparts when due to argument mismatches. (VM only) |
53 | 53 |
54 * `dart:developer` | 54 * `dart:developer` |
55 * New `log` function to transmit logging events to Observatory. | 55 * New `log` function to transmit logging events to Observatory. |
56 | |
57 | |
58 * Observatory | |
59 * Allocation profiling. | |
60 * New feature to display output from logging. | |
61 * Heap snapshot analysis works for 64-bit VMs. | |
62 * Improved ability to inspect typed data, regex and compiled code. | |
63 * Ability to break on all or uncaught exceptions from Observatory's debugger. | |
64 * Ability to set closure-specific breakpoints. | |
65 * 'anext' - step past await/yield. | |
66 * Preserve when a variable has been expanded/unexpanded in the debugger. | |
67 * Keep focus on debugger input box whenever possible. | |
68 * Echo stdout/stderr in the Observatory debugger. Standalone-only so far. | |
69 * Minor fixes to service protocol documentation. | |
70 | 56 |
71 ### Tool changes | 57 ### Tool changes |
72 | 58 |
73 * Pub | 59 * Pub |
74 | 60 |
75 * **Breaking:** various commands that previously ran `pub get` implicitly no | 61 * **Breaking:** various commands that previously ran `pub get` implicitly no |
76 longer do so. Instead, they merely check to make sure the ".packages" file | 62 longer do so. Instead, they merely check to make sure the ".packages" file |
77 is newer than the pubspec and the lock file, and fail if it's not. | 63 is newer than the pubspec and the lock file, and fail if it's not. |
78 | 64 |
79 * Added support for `--verbosity=error` and `--verbosity=warning`. | 65 * Added support for `--verbosity=error` and `--verbosity=warning`. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 121 |
136 [package spec proposal]: https://github.com/lrhn/dep-pkgspec | 122 [package spec proposal]: https://github.com/lrhn/dep-pkgspec |
137 | 123 |
138 * Formatter (`dartfmt`) | 124 * Formatter (`dartfmt`) |
139 | 125 |
140 * Over 50 bugs fixed. | 126 * Over 50 bugs fixed. |
141 | 127 |
142 * Optimized line splitter is much faster and produces better output on | 128 * Optimized line splitter is much faster and produces better output on |
143 complex code. | 129 complex code. |
144 | 130 |
| 131 * Observatory |
| 132 * Allocation profiling. |
| 133 * New feature to display output from logging. |
| 134 * Heap snapshot analysis works for 64-bit VMs. |
| 135 * Improved ability to inspect typed data, regex and compiled code. |
| 136 * Ability to break on all or uncaught exceptions from Observatory's debugger. |
| 137 * Ability to set closure-specific breakpoints. |
| 138 * 'anext' - step past await/yield. |
| 139 * Preserve when a variable has been expanded/unexpanded in the debugger. |
| 140 * Keep focus on debugger input box whenever possible. |
| 141 * Echo stdout/stderr in the Observatory debugger. Standalone-only so far. |
| 142 * Minor fixes to service protocol documentation. |
| 143 |
145 ### VM Service Protocol Changes | 144 ### VM Service Protocol Changes |
146 | 145 |
147 * **BREAKING** The service protocol now sends JSON-RPC 2.0-compatible | 146 * **BREAKING** The service protocol now sends JSON-RPC 2.0-compatible |
148 server-to-client events. To reflect this, the service protocol version is | 147 server-to-client events. To reflect this, the service protocol version is |
149 now 2.0. | 148 now 2.0. |
150 | 149 |
151 * The service protocol now includes a `"jsonrpc"` property in its responses, as | 150 * The service protocol now includes a `"jsonrpc"` property in its responses, as |
152 opposed to `"json-rpc"`. | 151 opposed to `"json-rpc"`. |
153 | 152 |
154 * The service protocol now properly handles requests with non-string ids. | 153 * The service protocol now properly handles requests with non-string ids. |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 they will keep the Dart process alive until they time out. This fixes the | 507 they will keep the Dart process alive until they time out. This fixes the |
509 handling of persistent connections. Previously, the client would shut down | 508 handling of persistent connections. Previously, the client would shut down |
510 immediately after a request. | 509 immediately after a request. |
511 | 510 |
512 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 511 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
513 default. The new `autoCompress` property can be set to `true` to re-enable | 512 default. The new `autoCompress` property can be set to `true` to re-enable |
514 compression. | 513 compression. |
515 | 514 |
516 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 515 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
517 which controls how it resolves `package:` URIs. | 516 which controls how it resolves `package:` URIs. |
OLD | NEW |