| 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 |
| 11 allocation. This has the advantages of better debugging and profiling support |
| 12 and faster small allocations, with the cost of slightly larger initial memory |
| 13 footprint, and slightly slower large allocations. |
| 14 |
| 10 * We have improved the way the VM searches for trusted root certificates for | 15 * We have improved the way the VM searches for trusted root certificates for |
| 11 secure socket connections on Linux. First, the VM will look for trusted root | 16 secure socket connections on Linux. First, the VM will look for trusted root |
| 12 certificates in standard locations on the file system | 17 certificates in standard locations on the file system |
| 13 (/etc/pki/tls/certs/ca-bundle.crt followed by /etc/ssl/certs), and only if | 18 (/etc/pki/tls/certs/ca-bundle.crt followed by /etc/ssl/certs), and only if |
| 14 these do not exist will it fall back on the builtin trusted root certificates. | 19 these do not exist will it fall back on the builtin trusted root certificates. |
| 15 This behavior can be overridden on Linux with the new flags | 20 This behavior can be overridden on Linux with the new flags |
| 16 --root-certs-file and --root-certs-cache. The former is the path to a file | 21 --root-certs-file and --root-certs-cache. The former is the path to a file |
| 17 containing the trusted root certificates, and the latter is the path to a | 22 containing the trusted root certificates, and the latter is the path to a |
| 18 directory containing root certificate files hashed using `c_rehash`. | 23 directory containing root certificate files hashed using `c_rehash`. |
| 19 | 24 |
| (...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1266 they will keep the Dart process alive until they time out. This fixes the | 1271 they will keep the Dart process alive until they time out. This fixes the |
| 1267 handling of persistent connections. Previously, the client would shut down | 1272 handling of persistent connections. Previously, the client would shut down |
| 1268 immediately after a request. | 1273 immediately after a request. |
| 1269 | 1274 |
| 1270 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1275 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1271 default. The new `autoCompress` property can be set to `true` to re-enable | 1276 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1272 compression. | 1277 compression. |
| 1273 | 1278 |
| 1274 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1279 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1275 which controls how it resolves `package:` URIs. | 1280 which controls how it resolves `package:` URIs. |
| OLD | NEW |