Chromium Code Reviews| 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. |
| 11 * Added `growable` parameter to `List.filled` constructor. | 11 * Added `growable` parameter to `List.filled` constructor. |
| 12 | 12 |
| 13 * `dart:math` | 13 * `dart:math` |
| 14 * `Random` added a `secure` constructor returning a cryptographically secure | 14 * `Random` added a `secure` constructor returning a cryptographically secure |
| 15 random generator which reads from the entropy source provided by the | 15 random generator which reads from the entropy source provided by the |
| 16 embedder for every generated random value. | 16 embedder for every generated random value. |
| 17 | 17 |
| 18 * `dart:io` | 18 * `dart:io` |
| 19 * `Platform` added an `isiOS` getter and `Platform.operatingSystem` may now | 19 * `Platform` added an `isiOS` getter and `Platform.operatingSystem` may now |
| 20 return `ios`. | 20 return `ios`. |
| 21 | 21 |
| 22 ### Tool changes | |
| 23 | |
| 24 * Pub | |
| 25 | |
| 26 * **Breaking:** Pub now eagerly emits an error when a pubspec's "name" field | |
| 27 is not a valid Dart identifier. Since packages with non-identifier names | |
| 28 were never allowed to be published, and some of them already caused crashes | |
| 29 when being written to a `.packages` file, this is unlikely to break many | |
| 30 people in practice. | |
| 31 | |
| 32 * `pub serve` now serves GZIPs the assets it serves to make load times more | |
|
Bob Nystrom
2015/12/02 22:02:02
"serves GZIPs" -> "GZIPs"
nweiz
2015/12/02 22:03:46
Done.
| |
| 33 similar to real-world use-cases. | |
| 34 | |
| 35 * `pub deps` now supports a `--no-dev` flag, which causes it to emit the | |
| 36 dependency tree as it would be if no `dev_dependencies` were in use. This | |
| 37 makes it easier to see your package's dependency footprint as your users | |
| 38 will experience it. | |
| 39 | |
| 40 * `pub global run` now detects when a global executable's SDK constraint is no | |
| 41 longer met and errors out, rather than trying to run the executable anyway. | |
| 42 | |
| 43 * Fixed a crashing bug when using `pub global run` on a global script that | |
| 44 didn't exist. | |
| 45 | |
| 46 * Fixed a crashing bug when a pubspec contains a dependency without a source | |
| 47 declared. | |
| 48 | |
| 22 ## 1.13.0 - 2015-11-18 | 49 ## 1.13.0 - 2015-11-18 |
| 23 | 50 |
| 24 ### Core library changes | 51 ### Core library changes |
| 25 * `dart:async` | 52 * `dart:async` |
| 26 * `StreamController` added getters for `onListen`, `onPause`, and `onResume` | 53 * `StreamController` added getters for `onListen`, `onPause`, and `onResume` |
| 27 with the corresponding new `typedef void ControllerCallback()`. | 54 with the corresponding new `typedef void ControllerCallback()`. |
| 28 * `StreamController` added a getter for `onCancel` with the corresponding | 55 * `StreamController` added a getter for `onCancel` with the corresponding |
| 29 new `typedef ControllerCancelCallback()`; | 56 new `typedef ControllerCancelCallback()`; |
| 30 * `StreamTransformer` instances created with `fromHandlers` with no | 57 * `StreamTransformer` instances created with `fromHandlers` with no |
| 31 `handleError` callback now forward stack traces along with errors to the | 58 `handleError` callback now forward stack traces along with errors to the |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 664 they will keep the Dart process alive until they time out. This fixes the | 691 they will keep the Dart process alive until they time out. This fixes the |
| 665 handling of persistent connections. Previously, the client would shut down | 692 handling of persistent connections. Previously, the client would shut down |
| 666 immediately after a request. | 693 immediately after a request. |
| 667 | 694 |
| 668 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 695 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 669 default. The new `autoCompress` property can be set to `true` to re-enable | 696 default. The new `autoCompress` property can be set to `true` to re-enable |
| 670 compression. | 697 compression. |
| 671 | 698 |
| 672 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 699 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 673 which controls how it resolves `package:` URIs. | 700 which controls how it resolves `package:` URIs. |
| OLD | NEW |