OLD | NEW |
1 ## 1.23.0 | 1 ## 1.23.0 |
2 | 2 |
| 3 ### Language |
| 4 * During a dynamic type check, `void` is not required to be `null` anymore. |
| 5 In practice, this makes overriding `void` functions with non-`void` functions |
| 6 safer. |
| 7 |
3 ### Core library changes | 8 ### Core library changes |
4 * `dart:core`: Added `Uri.isScheme` function to check the scheme of a URI. | 9 * `dart:core`: Added `Uri.isScheme` function to check the scheme of a URI. |
5 Example: `uri.isScheme("http")`. Ignores case when comparing. | 10 Example: `uri.isScheme("http")`. Ignores case when comparing. |
6 * `dart:core`: Make `UriData.parse` validate its input better. | 11 * `dart:core`: Make `UriData.parse` validate its input better. |
7 If the data is base-64 encoded, the data is normalized wrt. | 12 If the data is base-64 encoded, the data is normalized wrt. |
8 alphabet and padding, and it contains invalid base-64 data, | 13 alphabet and padding, and it contains invalid base-64 data, |
9 parsing fails. Also normalizes non-base-64 data. | 14 parsing fails. Also normalizes non-base-64 data. |
10 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, | 15 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, |
11 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, | 16 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, |
12 and `File.setLastAccessedSync`. | 17 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 | 1705 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 | 1706 handling of persistent connections. Previously, the client would shut down |
1702 immediately after a request. | 1707 immediately after a request. |
1703 | 1708 |
1704 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1709 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1705 default. The new `autoCompress` property can be set to `true` to re-enable | 1710 default. The new `autoCompress` property can be set to `true` to re-enable |
1706 compression. | 1711 compression. |
1707 | 1712 |
1708 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1713 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1709 which controls how it resolves `package:` URIs. | 1714 which controls how it resolves `package:` URIs. |
OLD | NEW |