| OLD | NEW |
| 1 ## 1.23.0 | 1 ## 1.23.0 |
| 2 | 2 |
| 3 ### Language | 3 ### Language |
| 4 * Allow using URI strings in `part of` declarations to refer to the | 4 * Allow using URI strings in `part of` declarations to refer to the |
| 5 importing library. | 5 importing library. |
| 6 | 6 |
| 7 ### Core library changes | 7 ### Core library changes |
| 8 * `dart:core`: Added `Uri.isScheme` function to check the scheme of a URI. | 8 * `dart:core`: Added `Uri.isScheme` function to check the scheme of a URI. |
| 9 Example: `uri.isScheme("http")`. Ignores case when comparing. | 9 Example: `uri.isScheme("http")`. Ignores case when comparing. |
| 10 * `dart:core`: Make `UriData.parse` validate its input better. | 10 * `dart:core`: Make `UriData.parse` validate its input better. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 [default Flutter analysis options](https://github.com/flutter/flutter/blob
/master/packages/flutter/lib/analysis_options_user.yaml) | 32 [default Flutter analysis options](https://github.com/flutter/flutter/blob
/master/packages/flutter/lib/analysis_options_user.yaml) |
| 33 found in `package:flutter`. | 33 found in `package:flutter`. |
| 34 * If in a Bazel workspace, then use the analysis options in `package:dart.an
alysis_options/default.yaml` if it exists. | 34 * If in a Bazel workspace, then use the analysis options in `package:dart.an
alysis_options/default.yaml` if it exists. |
| 35 * Use the default analysis options rules. | 35 * Use the default analysis options rules. |
| 36 * In addition, specific to `dartanalyzer`: | 36 * In addition, specific to `dartanalyzer`: |
| 37 * an analysis options file can be specified on the command line via `--optio
ns` | 37 * an analysis options file can be specified on the command line via `--optio
ns` |
| 38 and that file will be used instead of searching for an analysis options fi
le. | 38 and that file will be used instead of searching for an analysis options fi
le. |
| 39 * any analysis option specified on the command line (e.g. `--strong` or `--n
o-strong`) | 39 * any analysis option specified on the command line (e.g. `--strong` or `--n
o-strong`) |
| 40 takes precedence over any corresponding value specified in the analysis op
tions file. | 40 takes precedence over any corresponding value specified in the analysis op
tions file. |
| 41 | 41 |
| 42 * Dartium, dart2js, and DDC |
| 43 |
| 44 * Imports to `dart:io` are allowed, but the imported library is not supported |
| 45 and will likely fail on most APIs at runtime. This change was made as a |
| 46 stopgap measure to make it easier to write libraries that share code between |
| 47 platforms (like package `http`). This might change again when configuration |
| 48 specific imports are supported. |
| 42 | 49 |
| 43 ## 1.22.0 | 50 ## 1.22.0 |
| 44 | 51 |
| 45 ### Language | 52 ### Language |
| 46 | 53 |
| 47 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) | 54 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) |
| 48 are no longer supported, and will cause errors. We updated the language spec | 55 are no longer supported, and will cause errors. We updated the language spec |
| 49 and added warnings in 1.21, and are now taking the last step to fully | 56 and added warnings in 1.21, and are now taking the last step to fully |
| 50 de-support them. They were previously only supported in the VM, and there | 57 de-support them. They were previously only supported in the VM, and there |
| 51 are almost no known uses of them in the wild. | 58 are almost no known uses of them in the wild. |
| (...skipping 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1705 they will keep the Dart process alive until they time out. This fixes the | 1712 they will keep the Dart process alive until they time out. This fixes the |
| 1706 handling of persistent connections. Previously, the client would shut down | 1713 handling of persistent connections. Previously, the client would shut down |
| 1707 immediately after a request. | 1714 immediately after a request. |
| 1708 | 1715 |
| 1709 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1716 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1710 default. The new `autoCompress` property can be set to `true` to re-enable | 1717 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1711 compression. | 1718 compression. |
| 1712 | 1719 |
| 1713 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1720 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1714 which controls how it resolves `package:` URIs. | 1721 which controls how it resolves `package:` URIs. |
| OLD | NEW |