diff --git a/CHANGELOG.md b/CHANGELOG.md index c6baf24b3f9..930c5153342 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -66,7 +66,46 @@ number, like `.`, `x`, or the `e` in scientific notation. [#55266]: https://github.com/dart-lang/sdk/issues/55266 -## 3.5.0 +## 3.5.2 - 2024-08-28 + +- Fixes a bug where `ZLibDecoder` would incorrectly attempt to decompress data + past the end of the zlib footer (issue [#56481][]). +- Fixes issue where running `dart` from `PATH` could result in some commands not + working as expected (issues [#56080][], [#56306][], [#56499][]). +- Fixes analysis server plugins not receiving `setContextRoots` requests or + being provided incorrect context roots in multi-package workspaces (issue + [#56475][]). + +[#56481]: https://github.com/dart-lang/sdk/issues/56481 +[#56080]: https://github.com/dart-lang/sdk/issues/56080 +[#56306]: https://github.com/dart-lang/sdk/issues/56306 +[#56499]: https://github.com/dart-lang/sdk/issues/56499 +[#56475]: https://github.com/dart-lang/sdk/issues/56475 + +## 3.5.1 - 2024-08-14 + +- Fixes resolving `include:` in `analysis_options.yaml` file in a nested + folder in the workspace (issue[#56464][]). +- Fixes source maps generated by `dart compile wasm` when optimizations are + enabled (issue [#56423][]). +- Fixes a bug in the `dart2wasm` compiler in unsound `-O3` / `-O4` modes where a + implicit setter for a field of generic type will store `null` instead of the + field value (issue [#56374][]). +- Fixes a bug in the `dart2wasm` compiler that can trigger in certain situations + when using partial instantiations of generic tear-offs (constructors or static + methods) in constant expressions (issue [#56440][]). +- The algorithm for computing the standard upper bound of two types, + also known is UP, is provided the missing implementation for + `StructuralParameterType` objects. In some corner cases cases the + lacking implementation resulted in a crash of the compiler (issue [#56457][]). + +[#56464]: https://github.com/dart-lang/sdk/issues/56464 +[#56423]: https://github.com/dart-lang/sdk/issues/56423 +[#56374]: https://github.com/dart-lang/sdk/issues/56374 +[#56440]: https://github.com/dart-lang/sdk/issues/56440 +[#56457]: https://github.com/dart-lang/sdk/issues/56457 + +## 3.5.0 - 2024-08-06 ### Language @@ -188,7 +227,91 @@ number, like `.`, `x`, or the `e` in scientific notation. - `Dart_DefaultCanonicalizeUrl` is removed from the Dart C API. -## 3.4.0 +## 3.4.4 - 2024-06-12 + +This is a patch release that: + +- Fixes an issue where pub would crash when failing to fetch advisories from + the server. (issue [pub#4269]). + +- Fixes an issue where `const bool.fromEnvironment('dart.library.ffi')` is true + and conditional import condition `dart.library.ffi` is true in dart2wasm. + (issue [#55948]). + +- Fixes an issue where FFI calls with variadic arguments on MacOS Arm64 + would mangle the arguments. (issue [#55943]). + +[pub#4269]: https://github.com/dart-lang/pub/issues/4269 +[#55948]: https://github.com/dart-lang/sdk/issues/55948 +[#55943]: https://github.com/dart-lang/sdk/issues/55943 + +## 3.4.3 - 2024-06-05 + +This is a patch release that: + +- Fixes an issue where `DART_VM_OPTIONS` were not correctly parsed for + standalone Dart executables created with `dart compile exe` (issue + [#55818]). + +- Fixes a bug in dart2wasm that can result in a runtime error that says + `array.new_fixed()` has a constant larger than 10000 (issue [#55873]). + +- Adds support for `--enable-experiment` flag to `dart compile` wasm + (issue [#55894]). + +- Fixes an issue in dart2wasm compiler that can result in incorrect + nullability of type parameter (see [#55895]). + +- Disallows `dart:ffi` imports in user code in dart2wasm (e.g. issue + [#53910]) as dart2wasm's currently only supports a small subset of + `dart:ffi` (issue [#55890]). + +[#55818]: https://github.com/dart-lang/sdk/issues/55818 +[#55873]: https://github.com/dart-lang/sdk/issues/55873 +[#55894]: https://github.com/dart-lang/sdk/issues/55894 +[#55895]: https://github.com/dart-lang/sdk/issues/55895 +[#55910]: https://github.com/dart-lang/sdk/issues/53910 +[#55890]: https://github.com/dart-lang/sdk/issues/55890 + +## 3.4.2 - 2024-05-29 + +This is a patch release that: + +- Marks `dart compile wasm` as no longer experimental. + +- Fixes two bugs in exception handling in `async` functions in dart2wasm + (issues [#55347], [#55457]). + +- Fixes restoration of `this` variable in `sync*` and `async` functions in + dart2wasm. + +- Implements missing control flow constructs (exceptions, switch/case with + yields) in `sync*` in dart2wasm (issues [#51342], [#51343]). + +- Fixes a bug dart2wasm compiler that surfaces as a compiler crash when indexing + lists where the compiler proofs the list to be constant and the index is + out-of-bounds (issue [#55817]). + +[#55347]: https://github.com/dart-lang/sdk/issues/55347 +[#55457]: https://github.com/dart-lang/sdk/issues/55457 +[#51342]: https://github.com/dart-lang/sdk/issues/51342 +[#51343]: https://github.com/dart-lang/sdk/issues/51343 +[#55817]: https://github.com/dart-lang/sdk/issues/55817 + +## 3.4.1 - 2024-05-22 + +This is a patch release that: + +- Fixes a bug in the CFE which could manifest as compilation errors of Flutter + web apps when compiled with dart2wasm (issue [#55714]). + +- Fixes a bug in the pub client, such that `dart run` will not interfere with + Flutter l10n (at least for most cases) (issue [#55758]). + +[#55714]: https://github.com/dart-lang/sdk/issues/55714 +[#55758]: https://github.com/dart-lang/sdk/issues/55758 + +## 3.4.0 - 2024-05-14 ### Language