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 1483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1494 they will keep the Dart process alive until they time out. This fixes the | 1500 they will keep the Dart process alive until they time out. This fixes the |
1495 handling of persistent connections. Previously, the client would shut down | 1501 handling of persistent connections. Previously, the client would shut down |
1496 immediately after a request. | 1502 immediately after a request. |
1497 | 1503 |
1498 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1504 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1499 default. The new `autoCompress` property can be set to `true` to re-enable | 1505 default. The new `autoCompress` property can be set to `true` to re-enable |
1500 compression. | 1506 compression. |
1501 | 1507 |
1502 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1508 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1503 which controls how it resolves `package:` URIs. | 1509 which controls how it resolves `package:` URIs. |
OLD | NEW |