OLD | NEW |
1 ## 1.23.0 | 1 ## 1.23.0 |
2 | 2 |
| 3 ### Language |
| 4 * Allow using URI strings in `part of` declarations to refer to the |
| 5 importing library. |
| 6 |
3 ### Core library changes | 7 ### Core library changes |
4 * `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. |
5 Example: `uri.isScheme("http")`. Ignores case when comparing. | 9 Example: `uri.isScheme("http")`. Ignores case when comparing. |
6 * `dart:core`: Make `UriData.parse` validate its input better. | 10 * `dart:core`: Make `UriData.parse` validate its input better. |
7 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. |
8 alphabet and padding, and it contains invalid base-64 data, | 12 alphabet and padding, and it contains invalid base-64 data, |
9 parsing fails. Also normalizes non-base-64 data. | 13 parsing fails. Also normalizes non-base-64 data. |
10 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, | 14 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, |
11 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, | 15 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, |
12 and `File.setLastAccessedSync`. | 16 and `File.setLastAccessedSync`. |
(...skipping 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1700 they will keep the Dart process alive until they time out. This fixes the | 1704 they will keep the Dart process alive until they time out. This fixes the |
1701 handling of persistent connections. Previously, the client would shut down | 1705 handling of persistent connections. Previously, the client would shut down |
1702 immediately after a request. | 1706 immediately after a request. |
1703 | 1707 |
1704 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1708 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1705 default. The new `autoCompress` property can be set to `true` to re-enable | 1709 default. The new `autoCompress` property can be set to `true` to re-enable |
1706 compression. | 1710 compression. |
1707 | 1711 |
1708 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1712 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1709 which controls how it resolves `package:` URIs. | 1713 which controls how it resolves `package:` URIs. |
OLD | NEW |