OLD | NEW |
1 ## 1.20.0 | 1 ## 1.20.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 * `dart:async` | 4 * `dart:async` |
5 * `Future.wait` now catches synchronous errors and returns them in the | 5 * `Future.wait` now catches synchronous errors and returns them in the |
6 returned Future. | 6 returned Future. |
| 7 * `dart:io` |
| 8 * Added `WebSocket.addUtf8Text` to allow sending a pre-encoded text message |
| 9 without a round-trip UTF-8 conversion. |
7 | 10 |
8 ## 1.19.0 | 11 ## 1.19.0 |
9 | 12 |
10 ### Language changes | 13 ### Language changes |
11 | 14 |
12 * The language now allows a trailing comma after the last argument of a call and | 15 * The language now allows a trailing comma after the last argument of a call and |
13 the last parameter of a function declaration. This can make long argument or | 16 the last parameter of a function declaration. This can make long argument or |
14 parameter lists easier to maintain, as commas can be left as-is when | 17 parameter lists easier to maintain, as commas can be left as-is when |
15 reordering lines. For details, see SDK issue | 18 reordering lines. For details, see SDK issue |
16 [26644](https://github.com/dart-lang/sdk/issues/26644). | 19 [26644](https://github.com/dart-lang/sdk/issues/26644). |
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1203 they will keep the Dart process alive until they time out. This fixes the | 1206 they will keep the Dart process alive until they time out. This fixes the |
1204 handling of persistent connections. Previously, the client would shut down | 1207 handling of persistent connections. Previously, the client would shut down |
1205 immediately after a request. | 1208 immediately after a request. |
1206 | 1209 |
1207 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1210 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1208 default. The new `autoCompress` property can be set to `true` to re-enable | 1211 default. The new `autoCompress` property can be set to `true` to re-enable |
1209 compression. | 1212 compression. |
1210 | 1213 |
1211 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1214 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1212 which controls how it resolves `package:` URIs. | 1215 which controls how it resolves `package:` URIs. |
OLD | NEW |