Skip to content

Commit a19a468

Browse files
committed
Revise CHANGELOG.
Change-Id: I79f20a03ea7f52d436c353fd2de878f6797d1e28 Reviewed-on: https://dart-review.googlesource.com/68203 Commit-Queue: Bob Nystrom <rnystrom@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
1 parent 91c6130 commit a19a468

File tree

1 file changed

+19
-30
lines changed

1 file changed

+19
-30
lines changed

CHANGELOG.md

Lines changed: 19 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,29 @@ significant changes across all areas of the platform. Large changes include:
99
products. Now it is the one official static type system for the entire
1010
platform and replaces the previous "checked" and "production" modes.
1111

12-
* The `new` keyword is optional and can be omitted. Likewise, `const` can be
13-
omitted inside a const context ([issue 30921][].
14-
15-
* **(Breaking)** Functions marked `async` now run synchronously to the first
16-
`await` statement instead of returning to the event loop once at the top of
17-
the function body before any code runs ([issue 30345][]).
12+
* **(Breaking)** Functions marked `async` now run synchronously until the
13+
first `await` statement. Previously, they would return to the event loop
14+
once at the top of the function body before any code runs ([issue 30345][]).
1815

1916
* **(Breaking)** Constants in the core libraries have been renamed from
20-
`SCREAMING_CAPS` to `lowercaseWithUnderscores`.
17+
`SCREAMING_CAPS` to `lowerCamelCase`.
2118

2219
* **(Breaking)** Many new methods have been added to core library classes. If
2320
you implement the interfaces of these classes, you will need to implement
2421
the new methods.
2522

26-
* "dart:isolate" and "dart:mirrors" are no longer supported when using Dart
27-
for the web. They are still supported in the command-line VM.
28-
29-
* Dartium is no longer maintained or supported.
23+
* **(Breaking)** "dart:isolate" and "dart:mirrors" are no longer supported
24+
when using Dart for the web. They are still supported in the command-line
25+
VM.
3026

3127
* **(Breaking)** Pub's transformer-based build system has been [replaced by a
3228
new build system][transformers].
3329

30+
* The `new` keyword is optional and can be omitted. Likewise, `const` can be
31+
omitted inside a const context ([issue 30921][]).
32+
33+
* Dartium is no longer maintained or supported.
34+
3435
[issue 30345]: https://github.com/dart-lang/sdk/issues/30345
3536
[issue 30921]: https://github.com/dart-lang/sdk/issues/30921
3637
[strong mode]: https://www.dartlang.org/guides/language/sound-dart
@@ -60,8 +61,9 @@ significant changes across all areas of the platform. Large changes include:
6061
to have parts, and it allows tools to easily find the library of a part
6162
file. The Dart 1.0 syntax is supported but deprecated.
6263
63-
* Added support for starting `async` functions synchronously. All tools (VM,
64-
dart2js, DDC) support this ([issue 30345][]).
64+
* Functions marked `async` now run synchronously until the first `await`
65+
statement. Previously, they would return to the event loop once at the top
66+
of the function body before any code runs ([issue 30345][]).
6567
6668
* The type `void` is now a Top type like `dynamic`, and `Object`. It also now
6769
has new errors for being used where not allowed (such as being assigned to
@@ -80,9 +82,9 @@ significant changes across all areas of the platform. Large changes include:
8082
}
8183
```
8284
83-
* Invocations of `noSuchMethod()` receive default values for optional args. The
84-
following program used to print "No arguments passed", and now prints "First
85-
argument is 3".
85+
* Invocations of `noSuchMethod()` receive default values for optional args.
86+
The following program used to print "No arguments passed", and now prints
87+
"First argument is 3".
8688
8789
```dart
8890
abstract class B {
@@ -118,19 +120,6 @@ significant changes across all areas of the platform. Large changes include:
118120
}
119121
```
120122
121-
* Inference chooses `void` when combining `Object` or `dynamic` and `void`
122-
([issue 33341][]). When combining with other top types, inference now
123-
prefers `void`. For example, given:
124-
125-
```dart
126-
void foo() {};
127-
dynamic bar() {};
128-
var a = [foo(), bar()];
129-
```
130-
131-
The variable `a` would previously have been inferred as `List<dynamic>`, and
132-
is now be inferred as `List<void>`.
133-
134123
* Numerous corner case bugs around return statements in synchronous and
135124
asynchronous functions fixed. Specifically:
136125
@@ -320,7 +309,7 @@ Still need entries for all changes to dart:html since 1.x
320309
#### `dart:html`
321310
322311
* Removed deprecated `query` and `queryAll`. Use `querySelector` and
323-
`queryAllSelector`.
312+
`querySelectorAll`.
324313
325314
#### `dart:io`
326315

0 commit comments

Comments
 (0)