OLD | NEW |
1 ## 1.13.0 | 1 ## 1.13.0 |
2 | 2 |
3 * `dart:core` | 3 * `dart:core` |
4 * `Uri` added `removeFragment` method. | 4 * `Uri` added `removeFragment` method. |
5 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, | 5 * `String.allMatches` (implementing `Pattern.allMatches`) is now lazy, |
6 as all `allMatches` implementations are intended to be. | 6 as all `allMatches` implementations are intended to be. |
7 | 7 |
8 * `dart:io` | 8 * `dart:io` |
9 * `HttpClient` no longer sends URI fragments in the request. This is not | 9 * `HttpClient` no longer sends URI fragments in the request. This is not |
10 allowed by the HTTP protocol. | 10 allowed by the HTTP protocol. |
11 The `HttpServer` still gracefully receives fragments, but discards them | 11 The `HttpServer` still gracefully receives fragments, but discards them |
12 before delivering the request. | 12 before delivering the request. |
13 | 13 |
14 * `dart:async` | 14 * `dart:async` |
15 * `StreamTransformer`s created with `fromHandlers` with no `handleError` | 15 * `StreamTransformer`s created with `fromHandlers` with no `handleError` |
16 callback now forward stack traces along with errors to the resulting | 16 callback now forward stack traces along with errors to the resulting |
17 streams. | 17 streams. |
18 | 18 |
| 19 ### Tool changes |
| 20 |
| 21 * `docgen` and 'dartdocgen' no longer ship in the sdk. The `docgen` sources have |
| 22 been removed from the repository. |
| 23 |
19 ## 1.12.0 | 24 ## 1.12.0 |
20 | 25 |
21 ### Language changes | 26 ### Language changes |
22 | 27 |
23 * Null-aware operators | 28 * Null-aware operators |
24 * `??`: if null operator. `expr1 ?? expr2` evaluates to `expr1` if not `null
`, otherwise `expr2`. | 29 * `??`: if null operator. `expr1 ?? expr2` evaluates to `expr1` if not `null
`, otherwise `expr2`. |
25 * `??=`: null-aware assignment. `v ??= expr` causes `v` to be assigned `expr
` only if `v` is `null`. | 30 * `??=`: null-aware assignment. `v ??= expr` causes `v` to be assigned `expr
` only if `v` is `null`. |
26 * `x?.p`: null-aware access. `x?.p` evaluates to `x.p` if `x` is not `null`,
otherwise evaluates to `null`. | 31 * `x?.p`: null-aware access. `x?.p` evaluates to `x.p` if `x` is not `null`,
otherwise evaluates to `null`. |
27 * `x?.m()`: null-aware method invocation. `x?.m()` invokes `m` only if `x` i
s not `null`. | 32 * `x?.m()`: null-aware method invocation. `x?.m()` invokes `m` only if `x` i
s not `null`. |
28 | 33 |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 they will keep the Dart process alive until they time out. This fixes the | 544 they will keep the Dart process alive until they time out. This fixes the |
540 handling of persistent connections. Previously, the client would shut down | 545 handling of persistent connections. Previously, the client would shut down |
541 immediately after a request. | 546 immediately after a request. |
542 | 547 |
543 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 548 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
544 default. The new `autoCompress` property can be set to `true` to re-enable | 549 default. The new `autoCompress` property can be set to `true` to re-enable |
545 compression. | 550 compression. |
546 | 551 |
547 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 552 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
548 which controls how it resolves `package:` URIs. | 553 which controls how it resolves `package:` URIs. |
OLD | NEW |