OLD | NEW |
1 ## 1.19.0 | 1 ## 1.19.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 | 4 |
5 * `dart:io` | 5 * `dart:io` |
6 * `Socket.connect` with source-address argument is now non-blocking | 6 * `Socket.connect` with source-address argument is now non-blocking |
7 on Mac. Was already non-blocking on all other platforms. | 7 on Mac. Was already non-blocking on all other platforms. |
8 * Report a better error when a bind fails because of a bad source address. | 8 * Report a better error when a bind fails because of a bad source address. |
9 | 9 |
10 ### Strong Mode | 10 ### Strong Mode |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 // Treat `object` as `String` inside this block. | 51 // Treat `object` as `String` inside this block. |
52 // But it will require a cast to pass it to something that expects `T`. | 52 // But it will require a cast to pass it to something that expects `T`. |
53 print(object.substring(1)); | 53 print(object.substring(1)); |
54 } | 54 } |
55 } | 55 } |
56 ``` | 56 ``` |
57 | 57 |
58 ### Dart VM | 58 ### Dart VM |
59 | 59 |
60 * The dependency on BoringSSL has been rolled forward. Going forward, builds | 60 * The dependency on BoringSSL has been rolled forward. Going forward, builds |
61 of the Dart VM including secure sockets will require a compiler with C11 | 61 of the Dart VM including secure sockets will require a compiler with C++11 |
62 support, and to link against glib 2.16 or newer. | 62 support, and to link against glib 2.16 or newer. For details, see the |
| 63 [Building wiki page](https://github.com/dart-lang/sdk/wiki/Building). |
63 | 64 |
64 ### Tool Changes | 65 ### Tool Changes |
65 | 66 |
66 * `dartfmt` - upgraded to v0.2.9 | 67 * `dartfmt` - upgraded to v0.2.9 |
67 * Support trailing commas in argument and parameter lists. | 68 * Support trailing commas in argument and parameter lists. |
68 * Gracefully handle read-only files. | 69 * Gracefully handle read-only files. |
69 * About a dozen other bug fixes. | 70 * About a dozen other bug fixes. |
70 | 71 |
71 * Pub | 72 * Pub |
72 * Added the ability for packages to declare a constraint on the [Flutter][] | 73 * Added the ability for packages to declare a constraint on the [Flutter][] |
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1154 they will keep the Dart process alive until they time out. This fixes the | 1155 they will keep the Dart process alive until they time out. This fixes the |
1155 handling of persistent connections. Previously, the client would shut down | 1156 handling of persistent connections. Previously, the client would shut down |
1156 immediately after a request. | 1157 immediately after a request. |
1157 | 1158 |
1158 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1159 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1159 default. The new `autoCompress` property can be set to `true` to re-enable | 1160 default. The new `autoCompress` property can be set to `true` to re-enable |
1160 compression. | 1161 compression. |
1161 | 1162 |
1162 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1163 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1163 which controls how it resolves `package:` URIs. | 1164 which controls how it resolves `package:` URIs. |
OLD | NEW |