| OLD | NEW |
| 1 ## 1.23.0 | 1 ## 1.23.0 |
| 2 | 2 |
| 3 ### Core library changes | 3 ### Core library changes |
| 4 * `dart:core`: Add `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:io`: Added functions `File.lastAccessed`, `File.lastAccessedSync`, |
| 7 `File.setLastModified`, `File.setLastModifiedSync`, `File.setLastAccessed`, |
| 8 and `File.setLastAccessedSync`. |
| 6 | 9 |
| 7 ## 1.22.0 | 10 ## 1.22.0 |
| 8 | 11 |
| 9 ### Language | 12 ### Language |
| 10 | 13 |
| 11 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) | 14 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) |
| 12 are no longer supported, and will cause errors. We updated the language spec | 15 are no longer supported, and will cause errors. We updated the language spec |
| 13 and added warnings in 1.21, and are now taking the last step to fully | 16 and added warnings in 1.21, and are now taking the last step to fully |
| 14 de-support them. They were previously only supported in the VM, and there | 17 de-support them. They were previously only supported in the VM, and there |
| 15 are almost no known uses of them in the wild. | 18 are almost no known uses of them in the wild. |
| (...skipping 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1669 they will keep the Dart process alive until they time out. This fixes the | 1672 they will keep the Dart process alive until they time out. This fixes the |
| 1670 handling of persistent connections. Previously, the client would shut down | 1673 handling of persistent connections. Previously, the client would shut down |
| 1671 immediately after a request. | 1674 immediately after a request. |
| 1672 | 1675 |
| 1673 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1676 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1674 default. The new `autoCompress` property can be set to `true` to re-enable | 1677 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1675 compression. | 1678 compression. |
| 1676 | 1679 |
| 1677 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1680 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1678 which controls how it resolves `package:` URIs. | 1681 which controls how it resolves `package:` URIs. |
| OLD | NEW |