| OLD | NEW |
| 1 ## 1.23.0 |
| 2 |
| 3 ### Core library changes |
| 4 * `dart:core`: Add `Uri.isScheme` function to check the scheme of a URI. |
| 5 Example: `uri.isScheme("http")`. Ignores case when comparing. |
| 6 |
| 1 ## 1.22.0 | 7 ## 1.22.0 |
| 2 | 8 |
| 3 ### Language | 9 ### Language |
| 4 | 10 |
| 5 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) | 11 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) |
| 6 are no longer supported, and will cause errors. We updated the language spec | 12 are no longer supported, and will cause errors. We updated the language spec |
| 7 and added warnings in 1.21, and are now taking the last step to fully | 13 and added warnings in 1.21, and are now taking the last step to fully |
| 8 de-support them. They were previously supported in the VM only. | 14 de-support them. They were previously supported in the VM only. |
| 9 | 15 |
| 10 * The `assert()` statement has been expanded to support an optional second | 16 * The `assert()` statement has been expanded to support an optional second |
| (...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1489 they will keep the Dart process alive until they time out. This fixes the | 1495 they will keep the Dart process alive until they time out. This fixes the |
| 1490 handling of persistent connections. Previously, the client would shut down | 1496 handling of persistent connections. Previously, the client would shut down |
| 1491 immediately after a request. | 1497 immediately after a request. |
| 1492 | 1498 |
| 1493 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1499 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1494 default. The new `autoCompress` property can be set to `true` to re-enable | 1500 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1495 compression. | 1501 compression. |
| 1496 | 1502 |
| 1497 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1503 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1498 which controls how it resolves `package:` URIs. | 1504 which controls how it resolves `package:` URIs. |
| OLD | NEW |