File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ linter:
2626 - prefer_final_locals
2727 - sort_child_properties_last
2828 - unnecessary_breaks
29- - unnecessary_ignore
29+ # TODO: Add this back when the SDK on CI is at least 3.13.0-76.0.dev
30+ # - unnecessary_ignore
3031 - use_full_hex_values_for_flutter_colors
3132 - use_null_aware_elements
3233 - use_string_buffers
Original file line number Diff line number Diff line change 1+ ## 6.13.2
2+
3+ - Require ` analyzer: '>=10.0.0 <14.0.0' `
4+
15## 6.13.1
26
37- Improve error message when generating code for ` Record ` types with unsupported
1115
1216## 6.13.0
1317
14- - Fix schema generation for many different types of fields.
18+ - Fix schema generation for many different types of fields.
1519 ([ #1549 ] ( https://github.com/google/json_serializable.dart/issues/1549 ) )
16- - Support ` JsonSerializable.dateTimeUtc ` configuration option.
20+ - Support ` JsonSerializable.dateTimeUtc ` configuration option.
1721 ([ #1371 ] ( https://github.com/google/json_serializable.dart/issues/1371 ) )
1822- Remove ` json_schema ` from ` dependencies ` (it is only used in tests).
1923
7882
7983## 6.9.3
8084
81- - Error out if the target package does not have a language version of ` 3.0 ` or
85+ - Error out if the target package does not have a language version of ` 3.0 ` or
8286 greater.
8387
8488## 6.9.2
101105- Add type arguments to ` Map ` literals used for ` Record ` serialization.
102106- Add support for ` JsonSerializable(createJsonKeys: true) ` .
103107 ([ #1401 ] ( https://github.com/google/json_serializable.dart/pull/1401 ) )
104- - Handle decoding an ` int ` value from a ` double ` literal.
108+ - Handle decoding an ` int ` value from a ` double ` literal.
105109 This now matches the behavior of ` double ` values being encoded as ` int ` .
106110
107111## 6.7.1
Original file line number Diff line number Diff line change @@ -86,8 +86,7 @@ List<FieldElement> createSortedFieldSet(ClassElement element) {
8686 continue ;
8787 }
8888
89- if (v is GetterElement ) {
90- final variable = v.variable as FieldElement ;
89+ if (v case GetterElement (variable: final FieldElement variable)) {
9190 assert (! inheritedFields.containsKey (variable.name));
9291 inheritedFields[variable.name! ] = variable;
9392 }
Original file line number Diff line number Diff line change 11name : json_serializable
2- version : 6.13.1
2+ version : 6.13.2
33description : >-
44 Automatically generate code for converting to and from JSON by annotating
55 Dart classes.
@@ -15,7 +15,7 @@ topics:
1515resolution : workspace
1616
1717dependencies :
18- analyzer : ' >=10.0.0 <13 .0.0'
18+ analyzer : ' >=10.0.0 <14 .0.0'
1919 async : ^2.10.0
2020 build : ^4.0.4
2121 build_config : ^1.2.0
You can’t perform that action at this time.
0 commit comments