OLD | NEW |
1 ## 1.12.0 | 1 ## 1.12.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 | 4 |
5 * `dart:html` | 5 * `dart:html` |
6 * `NodeTreeSanitizer` added the `const trusted` field. It can be used | 6 * `NodeTreeSanitizer` added the `const trusted` field. It can be used |
7 instead of defining a `NullTreeSanitizer` class when calling | 7 instead of defining a `NullTreeSanitizer` class when calling |
8 `setInnerHtml` or other methods that create DOM from text. It is | 8 `setInnerHtml` or other methods that create DOM from text. It is |
9 also more efficient, skipping the creation of a `DocumentFragment`. | 9 also more efficient, skipping the creation of a `DocumentFragment`. |
10 | 10 |
11 * `dart:io` | 11 * `dart:io` |
12 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for | 12 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for |
13 opening a file write only. | 13 opening a file write only. |
14 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) | 14 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) |
15 * Change stdout/stderr to binary mode on Windows. | 15 * Change stdout/stderr to binary mode on Windows. |
16 [4205b29](https://github.com/dart-lang/sdk/commit/4205b2997e01f2cea8e2f44c6f
46ed6259ab7277) | 16 [4205b29](https://github.com/dart-lang/sdk/commit/4205b2997e01f2cea8e2f44c6f
46ed6259ab7277) |
17 | 17 |
18 ### Tool changes | 18 ### Tool changes |
19 | 19 |
20 * Pub | 20 * Pub |
21 | 21 |
22 * Pub will now generate a ".packages" file in addition to the "packages" | |
23 directory when running `pub get` or similar operations, per the | |
24 [package spec proposal][]. Pub now has a `--no-package-symlinks` flag that | |
25 will stop "packages" directories from being generated at all. | |
26 | |
27 * When `pub publish` finds a violation, it will emit a non-zero exit code. | |
28 | |
29 * `pub run` starts up faster for executables that don't import transformed | 22 * `pub run` starts up faster for executables that don't import transformed |
30 code. | 23 code. |
31 | 24 |
32 * An issue where HTTP requests were sometimes made even though `--offline` was | 25 * `pub get` and `pub upgrade` |
33 passed to `pub get` or `pub upgrade` has been fixed. | |
34 | 26 |
35 * A bug with `--offline` that caused an unhelpful error message has been | 27 * Pub will now generate a ".packages" file in addition to the "packages" |
36 fixed. | 28 directory when running `pub get` or similar operations, per the |
| 29 [package spec proposal][]. Pub now has a `--no-package-symlinks` flag that |
| 30 will stop "packages" directories from being generated at all. |
37 | 31 |
38 * A crashing bug involving transformers that only apply to non-public code has | 32 * An issue where HTTP requests were sometimes made even though `--offline` |
39 been fixed. | 33 was passed has been fixed. |
| 34 |
| 35 * A bug with `--offline` that caused an unhelpful error message has been |
| 36 fixed. |
| 37 |
| 38 * Pub will no longer time out when a package takes a long time to download. |
| 39 |
| 40 * `pub publish` |
| 41 |
| 42 * Pub will emit a non-zero exit code when it finds a violation while |
| 43 publishing. |
| 44 |
| 45 * `.gitignore` files will be respected even if the package isn't at the top |
| 46 level of the Git repository. |
| 47 |
| 48 * Barback integration |
| 49 |
| 50 * A crashing bug involving transformers that only apply to non-public code |
| 51 has been fixed. |
| 52 |
| 53 * A stack overflow caused by a transformer being run multiple times on the |
| 54 package that defines it has been fixed. |
40 | 55 |
41 [package spec proposal]: https://github.com/lrhn/dep-pkgspec | 56 [package spec proposal]: https://github.com/lrhn/dep-pkgspec |
42 | 57 |
43 ## 1.11.1 | 58 ## 1.11.1 |
44 | 59 |
45 ### Tool changes | 60 ### Tool changes |
46 | 61 |
47 * Pub will always load Dart SDK assets from the SDK whose `pub` executable was | 62 * Pub will always load Dart SDK assets from the SDK whose `pub` executable was |
48 run, even if a `DART_SDK` environment variable is set. | 63 run, even if a `DART_SDK` environment variable is set. |
49 | 64 |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 they will keep the Dart process alive until they time out. This fixes the | 398 they will keep the Dart process alive until they time out. This fixes the |
384 handling of persistent connections. Previously, the client would shut down | 399 handling of persistent connections. Previously, the client would shut down |
385 immediately after a request. | 400 immediately after a request. |
386 | 401 |
387 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 402 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
388 default. The new `autoCompress` property can be set to `true` to re-enable | 403 default. The new `autoCompress` property can be set to `true` to re-enable |
389 compression. | 404 compression. |
390 | 405 |
391 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 406 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
392 which controls how it resolves `package:` URIs. | 407 which controls how it resolves `package:` URIs. |
OLD | NEW |