2
2
title : Dart language evolution
3
3
short-title : Language evolution
4
4
description : Notable changes and additions to the Dart programming language.
5
- lastVerified : 2024-05-14
5
+ lastVerified : 2024-08-04
6
6
---
7
7
8
8
This page lists notable changes and additions to the
@@ -42,6 +42,18 @@ on the Dart language GitHub repo.
42
42
43
43
## Changes in each release
44
44
45
+ ### Dart 3.5
46
+ _Release expected in August 2024_
47
+
48
+ Dart 3.5 added no new language features, but made minor changes to the
49
+ context considered during type inference.
50
+ These include the following, non-language versioned changes:
51
+
52
+ * When the context for an ` await` expression is `dynamic`,
53
+ the context for the operand of expression is now `FutureOr<_>`.
54
+ * When the context for an entire if-null expression (`e1 ?? e2`) is `dynamic`,
55
+ the context for `e2` is now the static type of `e1`.
56
+
45
57
# ## Dart 3.4
46
58
_Released 14 May 2024_
47
59
| [Dart 3.4 announcement](https://medium.com/dartlang/dart-3-4-bd8d23b4462a)
@@ -51,14 +63,14 @@ Dart 3.4 made several improvements related to type analysis. These include:
51
63
* Improvements to the type analysis of conditional expressions,
52
64
if-null expressions and assignments, and switch expressions.
53
65
* Aligning the pattern context type schema for cast patterns with the spec.
54
- * Making the type schema for the null-aware spread operator (` ...?`) nullable for maps
55
- and set literals, to match the behavior of list literals.
66
+ * Making the type schema for the null-aware spread operator (`...?`)
67
+ nullable for maps and set literals, to match the behavior of list literals.
56
68
57
69
# ## Dart 3.3
58
70
_Released 15 February 2024_
59
71
| [Dart 3.3 announcement](https://medium.com/dartlang/dart-3-3-325bf2bf6c13)
60
72
61
- Dart 3.3 added some enchancements to the language :
73
+ Dart 3.3 added some enhancements to the language :
62
74
63
75
* [Extension types][] are a new feature in Dart that allow zero-cost wrapping
64
76
of an existing type. They are similar to wrapper classes and extension methods,
0 commit comments