Skip to content

Commit ce7d4b3

Browse files
parloughCommit Queue
authored andcommitted
[sdk] Clean up and update changelog
- Add latest 3.9 patch entries. - Update a few links to their new location. - Fix a few minor spelling issues. - Update some entries for consistent punctuation and formatting. - Removes a merge conflict remnant. - Other misc cleanup. Change-Id: Ibcc246404867d75665ea64dcd4683a75575e2a7a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/453300 Reviewed-by: Alexander Thomas <[email protected]> Commit-Queue: Ivan Inozemtsev <[email protected]> Reviewed-by: Ivan Inozemtsev <[email protected]>
1 parent 37c3b5b commit ce7d4b3

File tree

1 file changed

+72
-16
lines changed

1 file changed

+72
-16
lines changed

CHANGELOG.md

Lines changed: 72 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Column(
4141
To learn more about the feature, check out the
4242
[feature specification][dot-shorthand-spec].
4343

44-
[dot-shorthand-spec]: https://github.com/dart-lang/language/blob/main/working/3616%20-%20enum%20value%20shorthand/proposal-simple-lrhn.md
44+
[dot-shorthand-spec]: https://github.com/dart-lang/language/blob/main/accepted/3.10/dot-shorthands/feature-specification.md
4545

4646
#### Eliminate spurious Null from generator return type
4747

@@ -87,12 +87,12 @@ instead.
8787
field is not initialized.
8888
- Support the new `@Deprecated` annotations by reporting warnings when specific
8989
functionality of an element is deprecated.
90-
- Offer to import a libary for an appropriate extension member when method or
90+
- Offer to import a library for an appropriate extension member when method or
9191
property is accessed on a nullable value.
9292
- Offer to remove the `const` keyword for a constructor call which includes a
9393
method invocation.
9494
- Remove support for the deprecated `@required` annotation.
95-
- Add two assists to bind constuctor parameters to an existing or a
95+
- Add two assists to bind constructor parameters to an existing or a
9696
non-existing field.
9797
- Add a warning which is reported when an `@experimental` member is used
9898
outside of the package in which it is declared.
@@ -107,27 +107,27 @@ instead.
107107

108108
#### Dart CLI and Dart VM
109109

110-
- The Dart CLI and Dart VM have been split into two seperate executables.
110+
- The Dart CLI and Dart VM have been split into two separate executables.
111111

112112
The Dart CLI tool has been split out of the VM into it's own embedder which
113113
runs in AOT mode. The pure Dart VM executable is called `dartvm` and
114-
has no Dart CLI functionality in it
114+
has no Dart CLI functionality in it.
115115

116116
The Dart CLI executable parses the CLI commands and invokes the rest
117117
of the AOT tools in the same process, for the 'run' and 'test'
118-
commands it execs a process which runs `dartvm`
118+
commands it execs a process which runs `dartvm`.
119119

120-
`dart hello.dart` execs the `dartvm` process and runs 'hello.dart'
120+
`dart hello.dart` execs the `dartvm` process and runs the `hello.dart` file.
121121

122122
The Dart CLI is not generated for ia32 as we are not shipping a
123123
Dart SDK for ia32 anymore (support to execute the `dartvm` for ia32
124-
architecture is retained)
124+
architecture is retained).
125125

126126
### Libraries
127127

128128
#### `dart:async`
129129

130-
- Added `Future.syncValue` constructor for creating a future with a
130+
- Added `Future.syncValue` constructor for creating a future with a
131131
known value. Unlike `Future.value`, it does not allow an asynchronous
132132
`Future<T>` as the value of a new `Future<T>`.
133133

@@ -160,7 +160,7 @@ instead.
160160
#### `dart:io`
161161

162162
- **Breaking Change** [#56468][]: Marked `IOOverrides` as an `abstract base`
163-
class.
163+
class so it can no longer be implemented.
164164
- Added ability to override behavior of `exit(...)` to `IOOverrides`.
165165

166166
[#56468]: https://github.com/dart-lang/sdk/issues/56468
@@ -202,11 +202,68 @@ instead.
202202

203203
- dart2wasm no longer supports `dart:js_util` and will throw an
204204
`UnsupportedError` if any API from this library is invoked. This also applies
205-
to `package:js/js_util.dart`. `package:js/js.dart` continues to be supported.
205+
to `package:js/js_util.dart`. `package:js/js.dart` continues to be supported.
206206
See [#61550][] for more details.
207207

208208
[#61550]: https://github.com/dart-lang/sdk/issues/61550
209209

210+
## 3.9.4
211+
212+
**Released on:** 2025-09-30
213+
214+
#### Pub
215+
216+
- `dart pub get --example` will now resolve `example/` folders in the
217+
entire workspace, not only in the root package.
218+
This fixes [dart-lang/pub#4674][] that made `flutter pub get`
219+
crash if the examples had not been resolved before resolving the workspace.
220+
221+
[dart-lang/pub#4674]: https://github.com/dart-lang/pub/issues/4674
222+
223+
## 3.9.3
224+
225+
**Released on:** 2025-09-09
226+
227+
### Tools
228+
229+
#### Development JavaScript compiler (DDC)
230+
231+
- Fixes a pattern that could lead to exponentially slow compile times when
232+
static calls are deeply nested within a closure.
233+
When present this led to builds timing out or
234+
taking several minutes rather than several seconds.
235+
236+
## 3.9.2
237+
238+
**Released on:** 2025-08-27
239+
240+
### Tools
241+
242+
#### Development JavaScript compiler (DDC)
243+
244+
- Fixes an unintentional invocation of class static getters during a
245+
hot reload in a web development environment.
246+
This led to possible side effects being triggered early or
247+
crashes during the hot reload if the getter throws an exception.
248+
249+
## 3.9.1
250+
251+
**Released on:** 2025-08-20
252+
253+
This is a patch release that:
254+
255+
- Fixes an issue in DevTools causing assertion errors in the terminal after
256+
clicking 'Clear' on the Network Screen (issue [dart-lang/sdk#61187][]).
257+
- Fixes miscompilation to ARM32 when an app used
258+
a large amount of literals (issue [flutter/flutter#172626][]).
259+
- Fixes an issue with git dependencies using `tag_pattern`,
260+
where the `pubspec.lock` file would not be stable when
261+
running `dart pub get` (issue [dart-lang/pub#4644][]).
262+
263+
[dart-lang/sdk#61187]: https://github.com/dart-lang/sdk/issues/61187
264+
[flutter/flutter#172626]: https://github.com/flutter/flutter/issues/172626
265+
[dart-lang/pub#4644]: https://github.com/dart-lang/pub/issues/4644
266+
210267
## 3.9.0
211268

212269
**Released on:** 2025-08-13
@@ -1131,7 +1188,6 @@ The AOT snapshot can be used as follows to run DDC:
11311188
[pub#4445]: https://github.com/dart-lang/pub/issues/4445
11321189
[#57084]: https://github.com/dart-lang/sdk/issues/57084
11331190
[#56552]: https://github.com/dart-lang/sdk/issues/56552
1134-
>>>>>>> BASE (d73f7bdb4366b447eb9874fe80381b8efd03c718 Generate `GeneralizingAstVisitor`, `TimedAstVisitor`, `Analy)
11351191

11361192
## 3.6.0
11371193

@@ -1461,7 +1517,7 @@ This is a patch release that:
14611517
- Fixes a bug in dart2wasm that can result in a runtime error that says
14621518
`array.new_fixed()` has a constant larger than 10000 (issue [#55873]).
14631519

1464-
- Adds support for `--enable-experiment` flag to `dart compile` wasm
1520+
- Adds support for `--enable-experiment` flag to `dart compile wasm`
14651521
(issue [#55894]).
14661522

14671523
- Fixes an issue in dart2wasm compiler that can result in incorrect
@@ -2080,7 +2136,7 @@ This is a patch release that:
20802136

20812137
This is a patch release that:
20822138

2083-
- Adjusts the nullablity computations in the implementation of the
2139+
- Adjusts the nullability computations in the implementation of the
20842140
upper bound algorithm in the compiler frontend (issue [#53999][]).
20852141

20862142
- Fixes missing closure code completion entries for function parameters
@@ -3966,7 +4022,7 @@ them, you must set the lower bound on the SDK constraint for your package to
39664022
}
39674023
```
39684024
3969-
[enhanced enums with members]: https://github.com/dart-lang/language/blob/master/accepted/future-releases/enhanced-enums/feature-specification.md
4025+
[enhanced enums with members]: https://github.com/dart-lang/language/blob/main/accepted/2.17/enhanced-enums/feature-specification.md
39704026
39714027
- **[Super parameters][]**: When extending a class whose constructor takes
39724028
parameters, the subclass constructor needs to provide arguments for them.
@@ -5691,7 +5747,7 @@ Updated the Linter to `0.1.129`, which includes:
56915747

56925748
- `dart pub publish` will now check your pubspec keys for likely typos.
56935749

5694-
- `dart pub upgrade package_foo` fetchs dependencies but ignores the
5750+
- `dart pub upgrade package_foo` fetches dependencies but ignores the
56955751
`pubspec.lock` for `package_foo`, allowing users to only upgrade a subset of
56965752
dependencies.
56975753

0 commit comments

Comments
 (0)