| OLD | NEW |
| 1 ## 1.25.0 | 1 ## 1.25.0 |
| 2 | 2 |
| 3 ### Language | 3 ### Language |
| 4 | 4 |
| 5 #### Strong Mode | 5 #### Strong Mode |
| 6 | 6 |
| 7 ### Core library changes | 7 ### Core library changes |
| 8 | 8 |
| 9 * `dart:io` | 9 * `dart:io` |
| 10 * Unified backends for `SecureSocket`, `SecurityContext`, and | 10 * Unified backends for `SecureSocket`, `SecurityContext`, and |
| 11 `X509Certificate` to be consistent across all platforms. All | 11 `X509Certificate` to be consistent across all platforms. All |
| 12 `SecureSocket`, `SecurityContext`, and `X509Certificate` properties and | 12 `SecureSocket`, `SecurityContext`, and `X509Certificate` properties and |
| 13 methods are now supported on iOS and OSX. | 13 methods are now supported on iOS and OSX. |
| 14 * Deprecated `SecurityContext.alpnSupported` as ALPN is now supported on all | 14 * Deprecated `SecurityContext.alpnSupported` as ALPN is now supported on all |
| 15 platforms. | 15 platforms. |
| 16 | 16 |
| 17 ### Dart VM | 17 ### Dart VM |
| 18 | 18 |
| 19 ### Tool Changes | 19 ### Tool Changes |
| 20 | 20 |
| 21 * Pub | 21 * Pub |
| 22 | 22 |
| 23 * `pub get` and `pub upgrade` properly produce an error message and exit code | 23 * `pub get` and `pub upgrade` properly produce an error message and exit code |
| 24 when no network is present. | 24 when no network is present. |
| 25 * Bug fixes for dartdevc support in `pub serve`. |
| 26 * Fixed module config invalidation logic so modules are properly |
| 27 recalculated when package layout changes. |
| 28 * Fixed exception when handling require.js errors that aren't script load |
| 29 errors. |
| 30 * Fixed an issue where requesting the bootstrap.js file before the dart.js |
| 31 file would result in a 404. |
| 32 * Fixed a Safari issue during bootstrapping (note that Safari is still not |
| 33 officially supported but does work for trivial examples). |
| 25 | 34 |
| 26 ## 1.24.0 | 35 ## 1.24.0 |
| 27 | 36 |
| 28 ### Language | 37 ### Language |
| 29 * During a dynamic type check, `void` is not required to be `null` anymore. | 38 * During a dynamic type check, `void` is not required to be `null` anymore. |
| 30 In practice, this makes overriding `void` functions with non-`void` functions | 39 In practice, this makes overriding `void` functions with non-`void` functions |
| 31 safer. | 40 safer. |
| 32 | 41 |
| 33 * During static analysis, a function or setter declared using `=>` with return | 42 * During static analysis, a function or setter declared using `=>` with return |
| 34 type `void` now allows the returned expression to have any type. For example, | 43 type `void` now allows the returned expression to have any type. For example, |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 ### Tool Changes | 163 ### Tool Changes |
| 155 | 164 |
| 156 * Dartium | 165 * Dartium |
| 157 | 166 |
| 158 Dartium is now based on Chrome v50. See *Core library changes* above for | 167 Dartium is now based on Chrome v50. See *Core library changes* above for |
| 159 details on the changed APIs. | 168 details on the changed APIs. |
| 160 | 169 |
| 161 * Pub | 170 * Pub |
| 162 | 171 |
| 163 * `pub build` and `pub serve` | 172 * `pub build` and `pub serve` |
| 164 | 173 |
| 165 * Added support for the Dart Development Compiler. | 174 * Added support for the Dart Development Compiler. |
| 166 | 175 |
| 167 Unlike dart2js, this new compiler is modular, which allows pub to do | 176 Unlike dart2js, this new compiler is modular, which allows pub to do |
| 168 incremental re-builds for `pub serve`, and potentially `pub build` in the | 177 incremental re-builds for `pub serve`, and potentially `pub build` in the |
| 169 future. | 178 future. |
| 170 | 179 |
| 171 In practice what that means is you can edit your Dart files, refresh in | 180 In practice what that means is you can edit your Dart files, refresh in |
| 172 Chrome (or other supported browsers), and see your edits almost | 181 Chrome (or other supported browsers), and see your edits almost |
| 173 immediately. This is because pub is only recompiling your package, not all | 182 immediately. This is because pub is only recompiling your package, not all |
| 174 packages that you depend on. | 183 packages that you depend on. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 200 `pub serve test --web-compiler=dartdevc`, and then run | 209 `pub serve test --web-compiler=dartdevc`, and then run |
| 201 `pub run test -p chrome --pub-serve=8080`. | 210 `pub run test -p chrome --pub-serve=8080`. |
| 202 | 211 |
| 203 * The `--no-dart2js` flag has been deprecated in favor of | 212 * The `--no-dart2js` flag has been deprecated in favor of |
| 204 `--web-compiler=none`. | 213 `--web-compiler=none`. |
| 205 | 214 |
| 206 * `pub build` will use a failing exit code if there are errors in any | 215 * `pub build` will use a failing exit code if there are errors in any |
| 207 transformer. | 216 transformer. |
| 208 | 217 |
| 209 * `pub publish` | 218 * `pub publish` |
| 210 | 219 |
| 211 * Added support for the UNLICENSE file. | 220 * Added support for the UNLICENSE file. |
| 212 | 221 |
| 213 * Packages that depend on the Flutter SDK may be published. | 222 * Packages that depend on the Flutter SDK may be published. |
| 214 | 223 |
| 215 * `pub get` and `pub upgrade` | 224 * `pub get` and `pub upgrade` |
| 216 | 225 |
| 217 * Don't dump a stack trace when a network error occurs while fetching | 226 * Don't dump a stack trace when a network error occurs while fetching |
| 218 packages. | 227 packages. |
| 219 | 228 |
| 220 * dartfmt | 229 * dartfmt |
| (...skipping 1858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2079 they will keep the Dart process alive until they time out. This fixes the | 2088 they will keep the Dart process alive until they time out. This fixes the |
| 2080 handling of persistent connections. Previously, the client would shut down | 2089 handling of persistent connections. Previously, the client would shut down |
| 2081 immediately after a request. | 2090 immediately after a request. |
| 2082 | 2091 |
| 2083 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 2092 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 2084 default. The new `autoCompress` property can be set to `true` to re-enable | 2093 default. The new `autoCompress` property can be set to `true` to re-enable |
| 2085 compression. | 2094 compression. |
| 2086 | 2095 |
| 2087 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 2096 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 2088 which controls how it resolves `package:` URIs. | 2097 which controls how it resolves `package:` URIs. |
| OLD | NEW |