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 | 8 |
9 * `dart:core` | 9 * `dart:core` |
10 * Added `Uri.isScheme` function to check the scheme of a URI. | 10 * Added `Uri.isScheme` function to check the scheme of a URI. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 * Imports to `dart:io` are allowed, but the imported library is not supported | 50 * Imports to `dart:io` are allowed, but the imported library is not supported |
51 and will likely fail on most APIs at runtime. This change was made as a | 51 and will likely fail on most APIs at runtime. This change was made as a |
52 stopgap measure to make it easier to write libraries that share code between | 52 stopgap measure to make it easier to write libraries that share code between |
53 platforms (like package `http`). This might change again when configuration | 53 platforms (like package `http`). This might change again when configuration |
54 specific imports are supported. | 54 specific imports are supported. |
55 | 55 |
56 * Pub | 56 * Pub |
57 * `pub publish` | 57 * `pub publish` |
58 * Warns if a package imports a package that's not a dependency from within | 58 * Warns if a package imports a package that's not a dependency from within |
59 `lib/` or `bin/`, or a package that's not a dev dependency from within | 59 `lib/` or `bin/`, or a package that's not a dev dependency from within |
60 `test/` or `tool/`. | 60 `benchmark/`, `example/`, `test/` or `tool/`. |
61 * No longer produces "UID too large" errors on OS X. All packages are now | 61 * No longer produces "UID too large" errors on OS X. All packages are now |
62 uploaded with the user and group names set to "pub". | 62 uploaded with the user and group names set to "pub". |
63 * No longer fails with a stack overflow when uploading a package that uses | 63 * No longer fails with a stack overflow when uploading a package that uses |
64 Git submodules. | 64 Git submodules. |
65 * `pub get` and `pub upgrade` | 65 * `pub get` and `pub upgrade` |
66 * Produce more informative error messages if they're run directly in a | 66 * Produce more informative error messages if they're run directly in a |
67 package that uses Flutter. | 67 package that uses Flutter. |
68 * Properly unlock SDK and path dependencies if they have a new version | 68 * Properly unlock SDK and path dependencies if they have a new version |
69 that's also valid according to the user's pubspec. | 69 that's also valid according to the user's pubspec. |
70 | 70 |
(...skipping 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1735 they will keep the Dart process alive until they time out. This fixes the | 1735 they will keep the Dart process alive until they time out. This fixes the |
1736 handling of persistent connections. Previously, the client would shut down | 1736 handling of persistent connections. Previously, the client would shut down |
1737 immediately after a request. | 1737 immediately after a request. |
1738 | 1738 |
1739 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1739 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1740 default. The new `autoCompress` property can be set to `true` to re-enable | 1740 default. The new `autoCompress` property can be set to `true` to re-enable |
1741 compression. | 1741 compression. |
1742 | 1742 |
1743 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1743 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1744 which controls how it resolves `package:` URIs. | 1744 which controls how it resolves `package:` URIs. |
OLD | NEW |