| 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. |
| 7 If the data is base-64 encoded, the data is normalized wrt. |
| 8 alphabet and padding, and it contains invalid base-64 data, |
| 9 parsing fails. Also normalizes non-base-64 data. |
| 6 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, | 10 * `dart:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, |
| 7 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, | 11 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, |
| 8 and `File.setLastAccessedSync`. | 12 and `File.setLastAccessedSync`. |
| 9 | 13 |
| 10 ## 1.22.0 | 14 ## 1.22.0 |
| 11 | 15 |
| 12 ### Language | 16 ### Language |
| 13 | 17 |
| 14 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) | 18 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) |
| 15 are no longer supported, and will cause errors. We updated the language spec | 19 are no longer supported, and will cause errors. We updated the language spec |
| (...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1672 they will keep the Dart process alive until they time out. This fixes the | 1676 they will keep the Dart process alive until they time out. This fixes the |
| 1673 handling of persistent connections. Previously, the client would shut down | 1677 handling of persistent connections. Previously, the client would shut down |
| 1674 immediately after a request. | 1678 immediately after a request. |
| 1675 | 1679 |
| 1676 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1680 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1677 default. The new `autoCompress` property can be set to `true` to re-enable | 1681 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1678 compression. | 1682 compression. |
| 1679 | 1683 |
| 1680 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1684 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1681 which controls how it resolves `package:` URIs. | 1685 which controls how it resolves `package:` URIs. |
| OLD | NEW |