OLD | NEW |
1 ## 1.22.0 | 1 ## 1.22.0 |
2 | 2 |
3 ### Language | 3 ### Language |
4 | 4 |
5 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) | 5 * Breaking change: ['Generalized tear-offs'](https://github.com/gbracha/genera
lizedTearOffs/blob/master/proposal.md) |
6 are no longer supported, and will cause errors. We updated the language spec | 6 are no longer supported, and will cause errors. We updated the language spec |
7 and added warnings in 1.21, and are now taking the last step to fully | 7 and added warnings in 1.21, and are now taking the last step to fully |
8 de-support them. They were previously supported in the VM only. | 8 de-support them. They were previously supported in the VM only. |
9 | 9 |
10 * The `assert()` statement has been expanded to support an optional second | 10 * The `assert()` statement has been expanded to support an optional second |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 * Properly close the standard input stream of child processes started using | 64 * Properly close the standard input stream of child processes started using |
65 `pub run`. | 65 `pub run`. |
66 | 66 |
67 * Handle parse errors from the package cache more gracefully. A package whose | 67 * Handle parse errors from the package cache more gracefully. A package whose |
68 pubspec can't be parsed will now be ignored by `pub get --offline` and | 68 pubspec can't be parsed will now be ignored by `pub get --offline` and |
69 deleted by `pub cache repair`. | 69 deleted by `pub cache repair`. |
70 | 70 |
71 * Make `pub run` run executables in spawned isolates. This lets them handle | 71 * Make `pub run` run executables in spawned isolates. This lets them handle |
72 signals and use standard IO reliably. | 72 signals and use standard IO reliably. |
73 | 73 |
| 74 ### Infrastructure changes |
| 75 |
| 76 * The SDK now uses GN rather than gyp to generate its build files, which will |
| 77 now be exclusively ninja flavored. Documentation can be found on our |
| 78 [wiki](https://github.com/dart-lang/sdk/wiki/Building-with-GN). Also see the |
| 79 help message of `tools/gn.py`. This change is in response to the deprecation |
| 80 of gyp. Build file generation with gyp will continue to be available in this |
| 81 release by setting the environment variable `DART_USE_GYP` before running |
| 82 `gclient sync` or `gclient runhooks`, but this will be removed in a future |
| 83 release. |
| 84 |
74 ## 1.21.0 - 2016-12-07 | 85 ## 1.21.0 - 2016-12-07 |
75 | 86 |
76 ### Language | 87 ### Language |
77 | 88 |
78 * Support generic method syntax. Type arguments are not available at | 89 * Support generic method syntax. Type arguments are not available at |
79 runtime. For details, check the | 90 runtime. For details, check the |
80 [informal specification](https://gist.github.com/eernstg/4353d7b4f669745bed3a5
423e04a453c). | 91 [informal specification](https://gist.github.com/eernstg/4353d7b4f669745bed3a5
423e04a453c). |
81 * Support access to initializing formals, e.g., the use of `x` to initialize | 92 * Support access to initializing formals, e.g., the use of `x` to initialize |
82 `y` in `class C { var x, y; C(this.x): y = x; }`. | 93 `y` in `class C { var x, y; C(this.x): y = x; }`. |
83 Please check the | 94 Please check the |
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1478 they will keep the Dart process alive until they time out. This fixes the | 1489 they will keep the Dart process alive until they time out. This fixes the |
1479 handling of persistent connections. Previously, the client would shut down | 1490 handling of persistent connections. Previously, the client would shut down |
1480 immediately after a request. | 1491 immediately after a request. |
1481 | 1492 |
1482 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1493 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1483 default. The new `autoCompress` property can be set to `true` to re-enable | 1494 default. The new `autoCompress` property can be set to `true` to re-enable |
1484 compression. | 1495 compression. |
1485 | 1496 |
1486 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1497 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1487 which controls how it resolves `package:` URIs. | 1498 which controls how it resolves `package:` URIs. |
OLD | NEW |