| 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 20 matching lines...) Expand all Loading... |
| 31 [default Flutter analysis options](https://github.com/flutter/flutter/blob
/master/packages/flutter/lib/analysis_options_user.yaml) | 31 [default Flutter analysis options](https://github.com/flutter/flutter/blob
/master/packages/flutter/lib/analysis_options_user.yaml) |
| 32 found in `package:flutter`. | 32 found in `package:flutter`. |
| 33 * If in a Bazel workspace, then use the analysis options in `package:dart.an
alysis_options/default.yaml` if it exists. | 33 * If in a Bazel workspace, then use the analysis options in `package:dart.an
alysis_options/default.yaml` if it exists. |
| 34 * Use the default analysis options rules. | 34 * Use the default analysis options rules. |
| 35 * In addition, specific to `dartanalyzer`: | 35 * In addition, specific to `dartanalyzer`: |
| 36 * an analysis options file can be specified on the command line via `--optio
ns` | 36 * an analysis options file can be specified on the command line via `--optio
ns` |
| 37 and that file will be used instead of searching for an analysis options fi
le. | 37 and that file will be used instead of searching for an analysis options fi
le. |
| 38 * any analysis option specified on the command line (e.g. `--strong` or `--n
o-strong`) | 38 * any analysis option specified on the command line (e.g. `--strong` or `--n
o-strong`) |
| 39 takes precedence over any corresponding value specified in the analysis op
tions file. | 39 takes precedence over any corresponding value specified in the analysis op
tions file. |
| 40 | 40 |
| 41 * Pub | |
| 42 | |
| 43 * `pub publish` | |
| 44 | |
| 45 * Warns if a package imports a package that's not a dependency from within | |
| 46 `lib/` or `bin/`, or a package that's not a dev dependency from within | |
| 47 `test/` or `tool/`. | |
| 48 | |
| 49 * No longer produces "UID too large" errors on OS X. All packages are now | |
| 50 uploaded with the user and group names set to "pub". | |
| 51 | |
| 52 * No longer fails with a stack overflow when uploading a package that uses | |
| 53 Git submodules. | |
| 54 | |
| 55 * `pub get` and `pub upgrade` | |
| 56 | |
| 57 * Produce more informative error messages if they're run directly in a | |
| 58 package that uses Flutter. | |
| 59 | |
| 60 * Properly unlock SDK and path dependencies if they have a new version | |
| 61 that's also valid according to the user's pubspec. | |
| 62 | 41 |
| 63 ## 1.22.0 | 42 ## 1.22.0 |
| 64 | 43 |
| 65 ### Language | 44 ### Language |
| 66 | 45 |
| 67 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) | 46 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) |
| 68 are no longer supported, and will cause errors. We updated the language spec | 47 are no longer supported, and will cause errors. We updated the language spec |
| 69 and added warnings in 1.21, and are now taking the last step to fully | 48 and added warnings in 1.21, and are now taking the last step to fully |
| 70 de-support them. They were previously only supported in the VM, and there | 49 de-support them. They were previously only supported in the VM, and there |
| 71 are almost no known uses of them in the wild. | 50 are almost no known uses of them in the wild. |
| (...skipping 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1725 they will keep the Dart process alive until they time out. This fixes the | 1704 they will keep the Dart process alive until they time out. This fixes the |
| 1726 handling of persistent connections. Previously, the client would shut down | 1705 handling of persistent connections. Previously, the client would shut down |
| 1727 immediately after a request. | 1706 immediately after a request. |
| 1728 | 1707 |
| 1729 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1708 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1730 default. The new `autoCompress` property can be set to `true` to re-enable | 1709 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1731 compression. | 1710 compression. |
| 1732 | 1711 |
| 1733 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1712 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1734 which controls how it resolves `package:` URIs. | 1713 which controls how it resolves `package:` URIs. |
| OLD | NEW |