OLD | NEW |
1 ## 1.21.0 | 1 ## 1.21.0 |
2 | 2 |
3 ### Language | 3 ### Language |
4 | 4 |
5 * Support generic method syntax. Type arguments are not available at | 5 * Support generic method syntax. Type arguments are not available at |
6 runtime. For details, check the | 6 runtime. For details, check the |
7 [informal specification](https://gist.github.com/eernstg/4353d7b4f669745bed3a5
423e04a453c). | 7 [informal specification](https://gist.github.com/eernstg/4353d7b4f669745bed3a5
423e04a453c). |
8 * Support access to initializing formals, e.g., the use of `x` to initialize | 8 * Support access to initializing formals, e.g., the use of `x` to initialize |
9 `y` in `class C { var x, y; C(this.x): y = x; }`. | 9 `y` in `class C { var x, y; C(this.x): y = x; }`. |
10 Please check the | 10 Please check the |
11 [informal specification](https://gist.github.com/eernstg/cff159be9e34d5ea295d8
c24b1a3e594) | 11 [informal specification](https://gist.github.com/eernstg/cff159be9e34d5ea295d8
c24b1a3e594) |
12 for details. | 12 for details. |
13 * Don't warn about switch case fallthrough if the case ends in a `rethrow` | 13 * Don't warn about switch case fallthrough if the case ends in a `rethrow` |
14 statement. | 14 statement. |
15 * Also don't warn if the entire switch case is wrapped in braces - as long as | 15 * Also don't warn if the entire switch case is wrapped in braces - as long as |
16 the block ends with a `break`, `continue`, `rethrow`, `return` or `throw`. | 16 the block ends with a `break`, `continue`, `rethrow`, `return` or `throw`. |
17 * Allow `=` as well as `:` as separator for named parameter default values. | 17 * Allow `=` as well as `:` as separator for named parameter default values. |
18 | 18 |
19 ### Core library changes | 19 ### Core library changes |
20 | 20 |
21 * `dart:core`: `Set.difference` now takes a `Set<Object>` as argument. | 21 * `dart:core`: `Set.difference` now takes a `Set<Object>` as argument. |
22 | 22 |
23 * `dart:developer`: | 23 * `dart:developer` |
24 * The service protocol http server can now be controlled from Dart code. | 24 |
| 25 * Added `Service` class. |
| 26 * Allows inspecting and controlling the VM service protocol HTTP server. |
| 27 * Provides an API to access the ID of an `Isolate`. |
25 | 28 |
26 ### Tool changes | 29 ### Tool changes |
27 | 30 |
28 * Dart Dev Compiler | 31 * Dart Dev Compiler |
29 | 32 |
30 * Support calls to `loadLibrary()` on deferred libraries. Deferred libraries | 33 * Support calls to `loadLibrary()` on deferred libraries. Deferred libraries |
31 are still loaded eagerly. (#27343) | 34 are still loaded eagerly. (#27343) |
32 | 35 |
33 ## 1.20.1 - 2016-10-13 | 36 ## 1.20.1 - 2016-10-13 |
34 | 37 |
(...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1380 they will keep the Dart process alive until they time out. This fixes the | 1383 they will keep the Dart process alive until they time out. This fixes the |
1381 handling of persistent connections. Previously, the client would shut down | 1384 handling of persistent connections. Previously, the client would shut down |
1382 immediately after a request. | 1385 immediately after a request. |
1383 | 1386 |
1384 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1387 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1385 default. The new `autoCompress` property can be set to `true` to re-enable | 1388 default. The new `autoCompress` property can be set to `true` to re-enable |
1386 compression. | 1389 compression. |
1387 | 1390 |
1388 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1391 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1389 which controls how it resolves `package:` URIs. | 1392 which controls how it resolves `package:` URIs. |
OLD | NEW |