@@ -201,6 +201,37 @@ constraint][language version] lower bound to 3.2 or greater (`sdk: '^3.2.0'`).
201
201
changed between direct, dev and transitive dependency.
202
202
- The command ` dart pub upgrade ` no longer shows unchanged dependencies.
203
203
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
+
204
235
## 3.1.0
205
236
206
237
### Libraries
0 commit comments