| OLD | NEW |
| 1 ## 1.20.0 | 1 ## 1.20.0 |
| 2 | 2 |
| 3 ### Dart VM | 3 ### Dart VM |
| 4 | 4 |
| 5 * We have improved the way that the VM locates the native code library for a | 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 | 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) | 7 [article on native extensions](https://www.dartlang.org/articles/dart-vm/nativ
e-extensions) |
| 8 to reflect the VM's improved behavior. | 8 to reflect the VM's improved behavior. |
| 9 | 9 |
| 10 * Linux builds of the VM will now use the `tcmalloc` library for memory | 10 * Linux builds of the VM will now use the `tcmalloc` library for memory |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 class C extends A {} | 111 class C extends A {} |
| 112 ``` | 112 ``` |
| 113 | 113 |
| 114 ### Tool changes | 114 ### Tool changes |
| 115 | 115 |
| 116 * `dartfmt` - upgraded to v0.2.10 | 116 * `dartfmt` - upgraded to v0.2.10 |
| 117 * Don't crash on annotations before parameters with trailing commas. | 117 * Don't crash on annotations before parameters with trailing commas. |
| 118 * Always split enum declarations if they end in a trailing comma. | 118 * Always split enum declarations if they end in a trailing comma. |
| 119 * Add `--set-exit-if-changed` to set the exit code on a change. | 119 * Add `--set-exit-if-changed` to set the exit code on a change. |
| 120 | 120 |
| 121 * Pub |
| 122 * Pub no longer generates a `packages/` directory by default. Instead, it |
| 123 generates a `.packages` file, called a package spec. To generate |
| 124 a `packages/` directory in addition to the package spec, use the |
| 125 `--packages-dir` flag with `pub get`, `pub upgrade`, and `pub downgrade`. |
| 126 |
| 121 ## 1.19.0 | 127 ## 1.19.0 |
| 122 | 128 |
| 123 ### Language changes | 129 ### Language changes |
| 124 | 130 |
| 125 * The language now allows a trailing comma after the last argument of a call and | 131 * The language now allows a trailing comma after the last argument of a call and |
| 126 the last parameter of a function declaration. This can make long argument or | 132 the last parameter of a function declaration. This can make long argument or |
| 127 parameter lists easier to maintain, as commas can be left as-is when | 133 parameter lists easier to maintain, as commas can be left as-is when |
| 128 reordering lines. For details, see SDK issue | 134 reordering lines. For details, see SDK issue |
| 129 [26644](https://github.com/dart-lang/sdk/issues/26644). | 135 [26644](https://github.com/dart-lang/sdk/issues/26644). |
| 130 | 136 |
| (...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1316 they will keep the Dart process alive until they time out. This fixes the | 1322 they will keep the Dart process alive until they time out. This fixes the |
| 1317 handling of persistent connections. Previously, the client would shut down | 1323 handling of persistent connections. Previously, the client would shut down |
| 1318 immediately after a request. | 1324 immediately after a request. |
| 1319 | 1325 |
| 1320 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1326 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1321 default. The new `autoCompress` property can be set to `true` to re-enable | 1327 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1322 compression. | 1328 compression. |
| 1323 | 1329 |
| 1324 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1330 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1325 which controls how it resolves `package:` URIs. | 1331 which controls how it resolves `package:` URIs. |
| OLD | NEW |