OLD | NEW |
1 ## 1.20.0 | 1 ## 1.20.0 |
2 | 2 |
| 3 ### Dart VM |
| 4 |
| 5 * We have improved the way that the VM locates the native code library for a |
| 6 native extension (e.g. `dart-ext:` import). We have updated this |
| 7 [article on native extensions](https://www.dartlang.org/articles/dart-vm/nativ
e-extensions) |
| 8 to reflect the VM's improved behavior. |
| 9 |
3 ### Core library changes | 10 ### Core library changes |
4 * `dart:core`: Remove deprecated `Resource` class. | 11 * `dart:core`: Remove deprecated `Resource` class. |
5 Use the class in `package:resource` instead. | 12 Use the class in `package:resource` instead. |
6 * `dart:async` | 13 * `dart:async` |
7 * `Future.wait` now catches synchronous errors and returns them in the | 14 * `Future.wait` now catches synchronous errors and returns them in the |
8 returned Future. | 15 returned Future. |
9 * `dart:io` | 16 * `dart:io` |
10 * Added `WebSocket.addUtf8Text` to allow sending a pre-encoded text message | 17 * Added `WebSocket.addUtf8Text` to allow sending a pre-encoded text message |
11 without a round-trip UTF-8 conversion. | 18 without a round-trip UTF-8 conversion. |
12 | 19 |
(...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 they will keep the Dart process alive until they time out. This fixes the | 1215 they will keep the Dart process alive until they time out. This fixes the |
1209 handling of persistent connections. Previously, the client would shut down | 1216 handling of persistent connections. Previously, the client would shut down |
1210 immediately after a request. | 1217 immediately after a request. |
1211 | 1218 |
1212 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1219 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1213 default. The new `autoCompress` property can be set to `true` to re-enable | 1220 default. The new `autoCompress` property can be set to `true` to re-enable |
1214 compression. | 1221 compression. |
1215 | 1222 |
1216 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1223 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1217 which controls how it resolves `package:` URIs. | 1224 which controls how it resolves `package:` URIs. |
OLD | NEW |