Skip to content

Commit 9522b13

Browse files
What's new 3.4 (#5846)
1 parent 2de6aba commit 9522b13

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

src/content/guides/whats-new.md

+59
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,65 @@ and follow the [Dart blog][].
1717
[dart-announce]: https://groups.google.com/a/dartlang.org/d/forum/announce
1818
[Dart blog]: https://medium.com/dartlang
1919

20+
## May 14, 2024: 3.4 release
21+
22+
This section lists notable changes made from February 16, 2024,
23+
through May 14, 2024.
24+
For details about the 3.4 release,
25+
check out [3.4 blog post][] and the [SDK changelog][3-4-changelog].
26+
27+
[3.4 blog post]: https://medium.com/dartlang/dart-3-4-bd8d23b4462a
28+
[3-4-changelog]: {{site.repo.dart.sdk}}/blob/main/CHANGELOG.md#340
29+
30+
### Docs updated or added to dart.dev {:.no_toc}
31+
32+
In addition to bug fixes and incremental improvements,
33+
we made the following changes to this site:
34+
35+
* Added a page documenting the experimental [Macros][] language feature.
36+
* Added a page to track [Wasm][] developments for Dart.
37+
* Refactored the [Constructors][] page.
38+
* Clarified the instructions in the [Renames][] section of the `package:web`
39+
migration page.
40+
* Adjusted the Effective Dart entry on [enabling type promotion][] to recommend
41+
the null-check pattern before other idioms.
42+
* Revised the [Web libraries and packages][] list to better represent the
43+
recommended solutions.
44+
* Explained how to destructure named fields on the [Records][] and [Patterns][]
45+
pages.
46+
* Included a [before-and-after table][] of web solutions on the JS interop page.
47+
* Added a section explaining [spread operators][] to the Operators page.
48+
* Clarified ordering of [parenthetical patterns][] on the Pattern types page.
49+
* Added docs for [`ExternalDartReference`][] to the JS types page.
50+
* Updated the site for new [linter rules][] and [diagnostic messages][],
51+
for example adding docs for the new [`@mustBeConst`][] annotation diagnostic.
52+
53+
[Macros]: /language/macros
54+
[Wasm]: /web/wasm
55+
[Constructors]: /language/constructors/
56+
[Renames]: /interop/js-interop/package-web/#renames
57+
[enabling type promotion]: /effective-dart/usage/#consider-type-promotion-or-null-check-patterns-for-using-nullable-types
58+
[linter rules]: /tools/linter-rules/
59+
[diagnostic messages]: /tools/diagnostic-messages/
60+
[`@mustBeConst`]: /tools/diagnostic-messages/#non_const_argument_for_const_parameter
61+
[Web libraries and packages]: /web/libraries/
62+
[Records]: /language/records/#multiple-returns
63+
[Patterns]: /language/patterns/#destructuring-multiple-returns
64+
[before-and-after table]: /interop/js-interop/#next-generation-js-interop
65+
[spread operators]: /language/operators/#spread-operators
66+
[parenthetical patterns]: /language/pattern-types/#parenthesized
67+
[`ExternalDartReference`]: /interop/js-interop/js-types/#jsboxeddartobject-vs-externaldartreference
68+
69+
### Articles added to the Dart blog {:.no_toc}
70+
71+
We published the following article on the Dart blog:
72+
73+
* [History of JS interop in Dart][blog-3-28-24]
74+
* [Dart in Google Summer of Code 2024][blog-3-5-24]
75+
76+
[blog-3-28-24]: https://medium.com/dartlang/history-of-js-interop-in-dart-98b06991158f
77+
[blog-3-5-24]: https://medium.com/dartlang/dart-in-google-summer-of-code-2024-8ca45fb6dc4e
78+
2079
## February 15, 2024: 3.3 release
2180

2281
This section lists notable changes made from November 16, 2023,

0 commit comments

Comments
 (0)