| OLD | NEW |
| 1 ## 1.23.0 | 1 ## 1.23.0 |
| 2 | 2 |
| 3 ### Core library changes | 3 ### Core library changes |
| 4 * `dart:core`: Added `Uri.isScheme` function to check the scheme of a URI. | 4 * `dart:core`: Added `Uri.isScheme` function to check the scheme of a URI. |
| 5 Example: `uri.isScheme("http")`. Ignores case when comparing. | 5 Example: `uri.isScheme("http")`. Ignores case when comparing. |
| 6 * `dart:core`: Make `UriData.parse` validate its input better. | 6 * `dart:core`: Make `UriData.parse` validate its input better. |
| 7 If the data is base-64 encoded, the data is normalized wrt. | 7 If the data is base-64 encoded, the data is normalized wrt. |
| 8 alphabet and padding, and it contains invalid base-64 data, | 8 alphabet and padding, and it contains invalid base-64 data, |
| 9 parsing fails. Also normalizes non-base-64 data. | 9 parsing fails. Also normalizes non-base-64 data. |
| 10 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, | 10 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, |
| 11 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, | 11 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, |
| 12 and `File.setLastAccessedSync`. | 12 and `File.setLastAccessedSync`. |
| 13 | 13 |
| 14 ### Dart VM |
| 15 * Calls to `print()` and `Stdout.write*()` now correctly print unicode |
| 16 characters to the console on Windows. Calls to `Stdout.add*()` behave as |
| 17 before. |
| 18 |
| 14 ## 1.22.0 | 19 ## 1.22.0 |
| 15 | 20 |
| 16 ### Language | 21 ### Language |
| 17 | 22 |
| 18 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) | 23 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) |
| 19 are no longer supported, and will cause errors. We updated the language spec | 24 are no longer supported, and will cause errors. We updated the language spec |
| 20 and added warnings in 1.21, and are now taking the last step to fully | 25 and added warnings in 1.21, and are now taking the last step to fully |
| 21 de-support them. They were previously only supported in the VM, and there | 26 de-support them. They were previously only supported in the VM, and there |
| 22 are almost no known uses of them in the wild. | 27 are almost no known uses of them in the wild. |
| 23 | 28 |
| (...skipping 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1676 they will keep the Dart process alive until they time out. This fixes the | 1681 they will keep the Dart process alive until they time out. This fixes the |
| 1677 handling of persistent connections. Previously, the client would shut down | 1682 handling of persistent connections. Previously, the client would shut down |
| 1678 immediately after a request. | 1683 immediately after a request. |
| 1679 | 1684 |
| 1680 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1685 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1681 default. The new `autoCompress` property can be set to `true` to re-enable | 1686 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1682 compression. | 1687 compression. |
| 1683 | 1688 |
| 1684 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1689 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1685 which controls how it resolves `package:` URIs. | 1690 which controls how it resolves `package:` URIs. |
| OLD | NEW |