OLD | NEW |
1 ## 1.23.0 | 1 ## 1.23.0 |
2 | 2 |
3 ### Language | 3 ### Language |
4 * Allow using URI strings in `part of` declarations to refer to the | 4 * Allow using URI strings in `part of` declarations to refer to the |
5 importing library. | 5 importing library. |
6 | 6 |
7 ### Core library changes | 7 ### Core library changes |
8 * `dart:core`: Added `Uri.isScheme` function to check the scheme of a URI. | 8 * `dart:core`: Added `Uri.isScheme` function to check the scheme of a URI. |
9 Example: `uri.isScheme("http")`. Ignores case when comparing. | 9 Example: `uri.isScheme("http")`. Ignores case when comparing. |
10 * `dart:core`: Make `UriData.parse` validate its input better. | 10 * `dart:core`: Make `UriData.parse` validate its input better. |
11 If the data is base-64 encoded, the data is normalized wrt. | 11 If the data is base-64 encoded, the data is normalized wrt. |
12 alphabet and padding, and it contains invalid base-64 data, | 12 alphabet and padding, and it contains invalid base-64 data, |
13 parsing fails. Also normalizes non-base-64 data. | 13 parsing fails. Also normalizes non-base-64 data. |
14 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, | 14 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, |
15 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, | 15 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, |
16 and `File.setLastAccessedSync`. | 16 and `File.setLastAccessedSync`. |
17 * `dart:io`: Added `Platform.ansiSupported`. | 17 * `dart:io`: Added `{Stdin,Stdout}.supportsAnsiEscapes`. |
18 | 18 |
19 ### Dart VM | 19 ### Dart VM |
20 * Calls to `print()` and `Stdout.write*()` now correctly print unicode | 20 * Calls to `print()` and `Stdout.write*()` now correctly print unicode |
21 characters to the console on Windows. Calls to `Stdout.add*()` behave as | 21 characters to the console on Windows. Calls to `Stdout.add*()` behave as |
22 before. | 22 before. |
23 | 23 |
24 ### Tool changes | 24 ### Tool changes |
25 | 25 |
26 * Analysis | 26 * Analysis |
27 | 27 |
(...skipping 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1712 they will keep the Dart process alive until they time out. This fixes the | 1712 they will keep the Dart process alive until they time out. This fixes the |
1713 handling of persistent connections. Previously, the client would shut down | 1713 handling of persistent connections. Previously, the client would shut down |
1714 immediately after a request. | 1714 immediately after a request. |
1715 | 1715 |
1716 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1716 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1717 default. The new `autoCompress` property can be set to `true` to re-enable | 1717 default. The new `autoCompress` property can be set to `true` to re-enable |
1718 compression. | 1718 compression. |
1719 | 1719 |
1720 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1720 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1721 which controls how it resolves `package:` URIs. | 1721 which controls how it resolves `package:` URIs. |
OLD | NEW |