Skip to content

Commit 07c5092

Browse files
itsjustkevinCommit Queue
authored and
Commit Queue
committed
[docs][release] Merge stable Changelog to main and update broken links.
Change-Id: Iba25e89e98332ccd8b0f4e18213cebc39bbe7f0b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/326141 Reviewed-by: William Hesse <[email protected]> Commit-Queue: Kevin Chisholm <[email protected]>
1 parent 66b5841 commit 07c5092

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,37 @@ constraint][language version] lower bound to 3.2 or greater (`sdk: '^3.2.0'`).
201201
changed between direct, dev and transitive dependency.
202202
- The command `dart pub upgrade` no longer shows unchanged dependencies.
203203

204+
## 3.1.2 - 2023-09-13
205+
206+
This is a patch release that:
207+
208+
- Fixes a bug in dart2js which crashed the compiler when a typed record pattern
209+
was used outside the scope of a function body, such as in a field initializer.
210+
For example `final x = { for (var (int a,) in someList) a: a };`
211+
(issue [#53449])
212+
213+
- Fixes an expedient issue of users seeing an unhandled
214+
exception pause in the debugger, please see
215+
https://github.com/dart-lang/sdk/issues/53450 for more
216+
details.
217+
The fix uses try/catch in lookupAddresses instead of
218+
Future error so that we don't see an unhandled exception
219+
pause in the debugger (issue [#53450])
220+
221+
[#53449]: https://github.com/dart-lang/sdk/issues/53449
222+
[#53450]: https://github.com/dart-lang/sdk/issues/53450
223+
224+
## 3.1.1 - 2023-09-07
225+
226+
This is a patch release that:
227+
228+
- Fixes a bug in the parser which prevented a record pattern from containing a
229+
nested record pattern, where the nested record pattern uses record
230+
destructuring shorthand syntax, for example `final ((:a, :b), c) = record;`
231+
(issue [#53352]).
232+
233+
[#53352]: https://github.com/dart-lang/sdk/issues/53352
234+
204235
## 3.1.0
205236

206237
### Libraries

0 commit comments

Comments
 (0)