OLD | NEW |
1 ## 1.19.0 | 1 ## 1.19.0 |
2 | 2 |
3 ### Language changes | 3 ### Language changes |
4 | 4 |
5 * The language now allows a trailing comma after the last argument of a call and | 5 * The language now allows a trailing comma after the last argument of a call and |
6 the last parameter of a function declaration. This can make long argument or | 6 the last parameter of a function declaration. This can make long argument or |
7 parameter lists easier to maintain, as commas can be left as-is when | 7 parameter lists easier to maintain, as commas can be left as-is when |
8 reordering lines. For details, see SDK issue | 8 reordering lines. For details, see SDK issue |
9 [26644](https://github.com/dart-lang/sdk/issues/26644). | 9 [26644](https://github.com/dart-lang/sdk/issues/26644). |
10 | 10 |
11 ### Core library changes | 11 ### Core library changes |
12 | 12 |
13 * `dart:io` | 13 * `dart:io` |
14 * `Socket.connect` with source-address argument is now non-blocking | 14 * `Socket.connect` with source-address argument is now non-blocking |
15 on Mac. Was already non-blocking on all other platforms. | 15 on Mac. Was already non-blocking on all other platforms. |
16 * Report a better error when a bind fails because of a bad source address. | 16 * Report a better error when a bind fails because of a bad source address. |
| 17 * Handle HTTP header `charset` parameter with empty value. |
17 | 18 |
18 ### Strong Mode | 19 ### Strong Mode |
19 | 20 |
20 * New feature - an option to disable implicit casts | 21 * New feature - an option to disable implicit casts |
21 (SDK issue [26583](https://github.com/dart-lang/sdk/issues/26583)), | 22 (SDK issue [26583](https://github.com/dart-lang/sdk/issues/26583)), |
22 see the [documentation](https://github.com/dart-lang/dev_compiler/blob/maste
r/doc/STATIC_SAFETY.md#disable-implicit-casts) | 23 see the [documentation](https://github.com/dart-lang/dev_compiler/blob/maste
r/doc/STATIC_SAFETY.md#disable-implicit-casts) |
23 for usage instructions and examples. | 24 for usage instructions and examples. |
24 | 25 |
25 * New feature - an option to disable implicit dynamic | 26 * New feature - an option to disable implicit dynamic |
26 (SDK issue [25573](https://github.com/dart-lang/sdk/issues/25573)), | 27 (SDK issue [25573](https://github.com/dart-lang/sdk/issues/25573)), |
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1163 they will keep the Dart process alive until they time out. This fixes the | 1164 they will keep the Dart process alive until they time out. This fixes the |
1164 handling of persistent connections. Previously, the client would shut down | 1165 handling of persistent connections. Previously, the client would shut down |
1165 immediately after a request. | 1166 immediately after a request. |
1166 | 1167 |
1167 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1168 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1168 default. The new `autoCompress` property can be set to `true` to re-enable | 1169 default. The new `autoCompress` property can be set to `true` to re-enable |
1169 compression. | 1170 compression. |
1170 | 1171 |
1171 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1172 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1172 which controls how it resolves `package:` URIs. | 1173 which controls how it resolves `package:` URIs. |
OLD | NEW |