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 |
| 6 runtime. For details, check the |
| 7 [informal specification](https://gist.github.com/eernstg/4353d7b4f669745bed3a5
423e04a453c). |
5 * Don't warn about switch case fallthrough if the case ends in a `rethrow` | 8 * Don't warn about switch case fallthrough if the case ends in a `rethrow` |
6 statement. | 9 statement. |
7 * Also don't warn if the entire switch case is wrapped in braces - as long as | 10 * 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`. | 11 the block ends with a `break`, `continue`, `rethrow`, `return` or `throw`. |
9 * Allow `=` as well as `:` as separator for named parameter default values. | 12 * Allow `=` as well as `:` as separator for named parameter default values. |
10 | 13 |
11 ### Core library changes | 14 ### Core library changes |
12 | 15 |
13 * `dart:core`: `Set.difference` now takes a `Set<Object>` as argument. | 16 * `dart:core`: `Set.difference` now takes a `Set<Object>` as argument. |
14 | 17 |
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 they will keep the Dart process alive until they time out. This fixes the | 1375 they will keep the Dart process alive until they time out. This fixes the |
1373 handling of persistent connections. Previously, the client would shut down | 1376 handling of persistent connections. Previously, the client would shut down |
1374 immediately after a request. | 1377 immediately after a request. |
1375 | 1378 |
1376 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1379 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1377 default. The new `autoCompress` property can be set to `true` to re-enable | 1380 default. The new `autoCompress` property can be set to `true` to re-enable |
1378 compression. | 1381 compression. |
1379 | 1382 |
1380 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1383 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1381 which controls how it resolves `package:` URIs. | 1384 which controls how it resolves `package:` URIs. |
OLD | NEW |