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 run` starts up faster for executables that don't import transformed | 22 * `pub run` and `pub global run` |
23 code. | 23 |
| 24 * Faster start time for executables that don't import transformed code. |
| 25 |
| 26 * Binstubs for globally-activated executables are now written in the system |
| 27 encoding, rather than always in `UTF-8`. To update existing executables, |
| 28 run `pub cache repair`. |
24 | 29 |
25 * `pub get` and `pub upgrade` | 30 * `pub get` and `pub upgrade` |
26 | 31 |
27 * Pub will now generate a ".packages" file in addition to the "packages" | 32 * Pub will now generate a ".packages" file in addition to the "packages" |
28 directory when running `pub get` or similar operations, per the | 33 directory when running `pub get` or similar operations, per the |
29 [package spec proposal][]. Pub now has a `--no-package-symlinks` flag that | 34 [package spec proposal][]. Pub now has a `--no-package-symlinks` flag that |
30 will stop "packages" directories from being generated at all. | 35 will stop "packages" directories from being generated at all. |
31 | 36 |
32 * An issue where HTTP requests were sometimes made even though `--offline` | 37 * An issue where HTTP requests were sometimes made even though `--offline` |
33 was passed has been fixed. | 38 was passed has been fixed. |
(...skipping 12 matching lines...) Expand all Loading... |
46 level of the Git repository. | 51 level of the Git repository. |
47 | 52 |
48 * Barback integration | 53 * Barback integration |
49 | 54 |
50 * A crashing bug involving transformers that only apply to non-public code | 55 * A crashing bug involving transformers that only apply to non-public code |
51 has been fixed. | 56 has been fixed. |
52 | 57 |
53 * A stack overflow caused by a transformer being run multiple times on the | 58 * A stack overflow caused by a transformer being run multiple times on the |
54 package that defines it has been fixed. | 59 package that defines it has been fixed. |
55 | 60 |
| 61 * A transformer that tries to read a non-existent asset in another package |
| 62 will now be re-run if that asset is later created. |
| 63 |
56 [package spec proposal]: https://github.com/lrhn/dep-pkgspec | 64 [package spec proposal]: https://github.com/lrhn/dep-pkgspec |
57 | 65 |
58 ## 1.11.1 | 66 ## 1.11.1 |
59 | 67 |
60 ### Tool changes | 68 ### Tool changes |
61 | 69 |
62 * Pub will always load Dart SDK assets from the SDK whose `pub` executable was | 70 * Pub will always load Dart SDK assets from the SDK whose `pub` executable was |
63 run, even if a `DART_SDK` environment variable is set. | 71 run, even if a `DART_SDK` environment variable is set. |
64 | 72 |
65 ## 1.11.0 - 2015-06-25 | 73 ## 1.11.0 - 2015-06-25 |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 they will keep the Dart process alive until they time out. This fixes the | 406 they will keep the Dart process alive until they time out. This fixes the |
399 handling of persistent connections. Previously, the client would shut down | 407 handling of persistent connections. Previously, the client would shut down |
400 immediately after a request. | 408 immediately after a request. |
401 | 409 |
402 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 410 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
403 default. The new `autoCompress` property can be set to `true` to re-enable | 411 default. The new `autoCompress` property can be set to `true` to re-enable |
404 compression. | 412 compression. |
405 | 413 |
406 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 414 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
407 which controls how it resolves `package:` URIs. | 415 which controls how it resolves `package:` URIs. |
OLD | NEW |