OLD | NEW |
1 ## 1.14.0 | 1 ## 1.14.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 * `dart:convert` | 4 * `dart:convert` |
5 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. | 5 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. |
6 | 6 |
7 * `dart:core` | 7 * `dart:core` |
8 * Added `current` getter to `StackTrace` class. | 8 * Added `current` getter to `StackTrace` class. |
9 * Added `Uri.data` getter for `data:` URIs, and `UriData` class for the | 9 * Added `Uri.data` getter for `data:` URIs, and `UriData` class for the |
10 return type. | 10 return type. |
(...skipping 20 matching lines...) Expand all Loading... |
31 * Other optimizations and bug fixes. | 31 * Other optimizations and bug fixes. |
32 | 32 |
33 * Pub | 33 * Pub |
34 | 34 |
35 * **Breaking:** Pub now eagerly emits an error when a pubspec's "name" field | 35 * **Breaking:** Pub now eagerly emits an error when a pubspec's "name" field |
36 is not a valid Dart identifier. Since packages with non-identifier names | 36 is not a valid Dart identifier. Since packages with non-identifier names |
37 were never allowed to be published, and some of them already caused crashes | 37 were never allowed to be published, and some of them already caused crashes |
38 when being written to a `.packages` file, this is unlikely to break many | 38 when being written to a `.packages` file, this is unlikely to break many |
39 people in practice. | 39 people in practice. |
40 | 40 |
| 41 * **Breaking:** Support for `barback` versions prior to 0.15.0 (released July |
| 42 2014) has been dropped. Pub will no longer install these older barback |
| 43 versions. |
| 44 |
41 * `pub serve` now GZIPs the assets it serves to make load times more similar | 45 * `pub serve` now GZIPs the assets it serves to make load times more similar |
42 to real-world use-cases. | 46 to real-world use-cases. |
43 | 47 |
44 * `pub deps` now supports a `--no-dev` flag, which causes it to emit the | 48 * `pub deps` now supports a `--no-dev` flag, which causes it to emit the |
45 dependency tree as it would be if no `dev_dependencies` were in use. This | 49 dependency tree as it would be if no `dev_dependencies` were in use. This |
46 makes it easier to see your package's dependency footprint as your users | 50 makes it easier to see your package's dependency footprint as your users |
47 will experience it. | 51 will experience it. |
48 | 52 |
49 * `pub global run` now detects when a global executable's SDK constraint is no | 53 * `pub global run` now detects when a global executable's SDK constraint is no |
50 longer met and errors out, rather than trying to run the executable anyway. | 54 longer met and errors out, rather than trying to run the executable anyway. |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 they will keep the Dart process alive until they time out. This fixes the | 704 they will keep the Dart process alive until they time out. This fixes the |
701 handling of persistent connections. Previously, the client would shut down | 705 handling of persistent connections. Previously, the client would shut down |
702 immediately after a request. | 706 immediately after a request. |
703 | 707 |
704 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 708 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
705 default. The new `autoCompress` property can be set to `true` to re-enable | 709 default. The new `autoCompress` property can be set to `true` to re-enable |
706 compression. | 710 compression. |
707 | 711 |
708 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 712 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
709 which controls how it resolves `package:` URIs. | 713 which controls how it resolves `package:` URIs. |
OLD | NEW |