OLD | NEW |
| 1 ## 1.25.0 |
| 2 |
| 3 ### Language |
| 4 |
| 5 #### Strong Mode |
| 6 |
| 7 ### Core library changes |
| 8 |
| 9 ### Dart VM |
| 10 |
| 11 ### Tool Changes |
| 12 |
1 ## 1.24.0 | 13 ## 1.24.0 |
2 | 14 |
3 ### Language | 15 ### Language |
4 * During a dynamic type check, `void` is not required to be `null` anymore. | 16 * During a dynamic type check, `void` is not required to be `null` anymore. |
5 In practice, this makes overriding `void` functions with non-`void` functions | 17 In practice, this makes overriding `void` functions with non-`void` functions |
6 safer. | 18 safer. |
7 * During static analysis, a function or setter declared using `=>` with return | 19 * During static analysis, a function or setter declared using `=>` with return |
8 type `void` now allows the returned expression to have any type. For example, | 20 type `void` now allows the returned expression to have any type. For example, |
9 assuming the declaration `int x;`, it is now type correct to have | 21 assuming the declaration `int x;`, it is now type correct to have |
10 `void f() => ++x;`. | 22 `void f() => ++x;`. |
(...skipping 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1987 they will keep the Dart process alive until they time out. This fixes the | 1999 they will keep the Dart process alive until they time out. This fixes the |
1988 handling of persistent connections. Previously, the client would shut down | 2000 handling of persistent connections. Previously, the client would shut down |
1989 immediately after a request. | 2001 immediately after a request. |
1990 | 2002 |
1991 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 2003 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
1992 default. The new `autoCompress` property can be set to `true` to re-enable | 2004 default. The new `autoCompress` property can be set to `true` to re-enable |
1993 compression. | 2005 compression. |
1994 | 2006 |
1995 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 2007 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
1996 which controls how it resolves `package:` URIs. | 2008 which controls how it resolves `package:` URIs. |
OLD | NEW |