OLD | NEW |
1 ## 1.13.0 | 1 ## 1.13.0 |
2 | 2 |
3 * `dart:core` | 3 * `dart:core` |
4 * `Uri` added `removeFragment` method. | 4 * `Uri` added `removeFragment` method. |
5 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, | 5 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, |
6 as all `allMatches` implementations are intended to be. | 6 as all `allMatches` implementations are intended to be. |
7 * `dart:io` | 7 * `dart:io` |
8 * `HttpClient` no longer sends URI fragments in the requeust. This is not | 8 * `HttpClient` no longer sends URI fragments in the requeust. This is not |
9 allowed by the HTTP protocol. | 9 allowed by the HTTP protocol. |
10 The `HttpServer` still gracefully receives fragments, but discards them | 10 The `HttpServer` still gracefully receives fragments, but discards them |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 * Change stdout/stderr to binary mode on Windows. | 45 * Change stdout/stderr to binary mode on Windows. |
46 [4205b29](https://github.com/dart-lang/sdk/commit/4205b2997e01f2cea8e2f44c6f
46ed6259ab7277) | 46 [4205b29](https://github.com/dart-lang/sdk/commit/4205b2997e01f2cea8e2f44c6f
46ed6259ab7277) |
47 | 47 |
48 * `dart:mirrors` | 48 * `dart:mirrors` |
49 * `InstanceMirror.delegate` moved up to `ObjectMirror`. | 49 * `InstanceMirror.delegate` moved up to `ObjectMirror`. |
50 | 50 |
51 ### Tool changes | 51 ### Tool changes |
52 | 52 |
53 * Pub | 53 * Pub |
54 | 54 |
| 55 * **Breaking:** various commands that previously ran `pub get` implicitly no |
| 56 longer do so. Instead, they merely check to make sure the ".packages" file |
| 57 is newer than the pubspec and the lock file, and fail if it's not. |
| 58 |
| 59 * Added support for `--verbosity=error` and `--verbosity=warning`. |
| 60 |
| 61 * `pub serve` now collapses multiple GET requests into a single line of |
| 62 output. For full output, use `--verbose`. |
| 63 |
| 64 * `pub deps` has improved formatting for circular dependencies on the |
| 65 entrypoint package. |
| 66 |
55 * `pub run` and `pub global run` | 67 * `pub run` and `pub global run` |
56 | 68 |
| 69 * **Breaking:** to match the behavior of the Dart VM, executables no longer |
| 70 run in checked mode by default. A `--checked` flag has been added to run |
| 71 them in checked mode manually. |
| 72 |
57 * Faster start time for executables that don't import transformed code. | 73 * Faster start time for executables that don't import transformed code. |
58 | 74 |
59 * Binstubs for globally-activated executables are now written in the system | 75 * Binstubs for globally-activated executables are now written in the system |
60 encoding, rather than always in `UTF-8`. To update existing executables, | 76 encoding, rather than always in `UTF-8`. To update existing executables, |
61 run `pub cache repair`. | 77 run `pub cache repair`. |
62 | 78 |
63 * `pub get` and `pub upgrade` | 79 * `pub get` and `pub upgrade` |
64 | 80 |
65 * Pub will now generate a ".packages" file in addition to the "packages" | 81 * Pub will now generate a ".packages" file in addition to the "packages" |
66 directory when running `pub get` or similar operations, per the | 82 directory when running `pub get` or similar operations, per the |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 they will keep the Dart process alive until they time out. This fixes the | 488 they will keep the Dart process alive until they time out. This fixes the |
473 handling of persistent connections. Previously, the client would shut down | 489 handling of persistent connections. Previously, the client would shut down |
474 immediately after a request. | 490 immediately after a request. |
475 | 491 |
476 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 492 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
477 default. The new `autoCompress` property can be set to `true` to re-enable | 493 default. The new `autoCompress` property can be set to `true` to re-enable |
478 compression. | 494 compression. |
479 | 495 |
480 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 496 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
481 which controls how it resolves `package:` URIs. | 497 which controls how it resolves `package:` URIs. |
OLD | NEW |