OLD | NEW |
1 ## 1.21.0 | 1 ## 1.21.0 |
2 | 2 |
3 ### Language | 3 ### Language |
4 | 4 |
5 * Don't warn about switch case fallthrough if the case ends in a `rethrow` | 5 * Don't warn about switch case fallthrough if the case ends in a `rethrow` |
6 statement. | 6 statement. |
7 * Also don't warn if the entire switch case is wrapped in braces - as long as | 7 * Also don't warn if the entire switch case is wrapped in braces - as long as |
8 the block ends with a `break`, `continue`, `rethrow`, `return` or `throw`. | 8 the block ends with a `break`, `continue`, `rethrow`, `return` or `throw`. |
9 * Allow `=` as well as `:` as separator for named parameter default values. | 9 * Allow `=` as well as `:` as separator for named parameter default values. |
10 | 10 |
11 ### Core library changes | 11 ### Core library changes |
12 | 12 |
13 * `dart:core`: `Set.difference` now takes a `Set<Object>` as argument. | 13 * `dart:core`: `Set.difference` now takes a `Set<Object>` as argument. |
14 | 14 |
15 * `dart:developer`: | 15 * `dart:developer`: |
16 * The service protocol http server can now be controlled from Dart code. | 16 * The service protocol http server can now be controlled from Dart code. |
17 | 17 |
18 ## 1.20.1 - 2016-10-13 | 18 ## 1.20.1 - 2016-10-13 |
19 | 19 |
20 Patch release, resolves one issue: | 20 Patch release, resolves one issue: |
21 | 21 |
22 * Dartium: Fixes a bug that caused crashes. No issue filed | 22 * Dartium: Fixes a bug that caused crashes. No issue filed |
23 | 23 |
| 24 ### Strong Mode |
| 25 |
| 26 * It is no longer a warning when casting from dynamic to a composite type |
| 27 (SDK issue [27766](https://github.com/dart-lang/sdk/issues/27766)). |
| 28 |
| 29 ```dart |
| 30 main() { |
| 31 dynamic obj = <int>[1, 2, 3]; |
| 32 // This is now allowed without a warning. |
| 33 List<int> list = obj; |
| 34 } |
| 35 ``` |
| 36 |
24 ## 1.20.0 - 2016-10-11 | 37 ## 1.20.0 - 2016-10-11 |
25 | 38 |
26 ### Dart VM | 39 ### Dart VM |
27 | 40 |
28 * We have improved the way that the VM locates the native code library for a | 41 * We have improved the way that the VM locates the native code library for a |
29 native extension (e.g. `dart-ext:` import). We have updated this | 42 native extension (e.g. `dart-ext:` import). We have updated this |
30 [article on native extensions](https://www.dartlang.org/articles/dart-vm/nativ
e-extensions) | 43 [article on native extensions](https://www.dartlang.org/articles/dart-vm/nativ
e-extensions) |
31 to reflect the VM's improved behavior. | 44 to reflect the VM's improved behavior. |
32 | 45 |
33 * Linux builds of the VM will now use the `tcmalloc` library for memory | 46 * Linux builds of the VM will now use the `tcmalloc` library for memory |
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1352 they will keep the Dart process alive until they time out. This fixes the | 1365 they will keep the Dart process alive until they time out. This fixes the |
1353 handling of persistent connections. Previously, the client would shut down | 1366 handling of persistent connections. Previously, the client would shut down |
1354 immediately after a request. | 1367 immediately after a request. |
1355 | 1368 |
1356 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1369 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1357 default. The new `autoCompress` property can be set to `true` to re-enable | 1370 default. The new `autoCompress` property can be set to `true` to re-enable |
1358 compression. | 1371 compression. |
1359 | 1372 |
1360 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1373 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1361 which controls how it resolves `package:` URIs. | 1374 which controls how it resolves `package:` URIs. |
OLD | NEW |