Skip to content

Commit c6d3490

Browse files
committed
Cleanup changelog
1 parent efda158 commit c6d3490

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

json_serializable/CHANGELOG.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@
1010

1111
## 6.0.0
1212

13-
- Added support for `JsonSerializable.constructor` to allow specifying an
13+
- Added support for `JsonSerializable.constructor` to allow specifying an
1414
alternative constructor to invoke when creating a `fromJson` helper.
1515
- Support the new `@JsonEnum` annotation in `package:json_annotation`.
1616
- Support `JsonKey.nullForUndefinedEnumValue` as a value for
1717
`JsonKey.unknownEnumValue` when you want to use `null` as the unknown value.
1818
- Use the new `$enumDecodeNullable` and `$enumDecode` in `json_annotation'
19-
instead of generating these for each library.
20-
**NOTE**: This is a potential breaking change if any user code relies on
21-
the previously generated private functions.
19+
instead of generating these for each library. **NOTE**: This is a potential
20+
breaking change if any user code relies on the previously generated private
21+
functions.
2222
- The builder now checks to make sure there is a correctly constrained
2323
dependency on `package:json_annotation`.
2424
- Require Dart SDK `>=2.14.0`.
2525
- Require `json_annotation` `'>=4.3.0 <4.4.0'`.
2626

2727
## 5.0.2
2828

29-
- Include type arguments when invoking `fromJson` on custom types.
30-
This fixes an edge case where the generic arguments could not be inferred.
29+
- Include type arguments when invoking `fromJson` on custom types. This fixes an
30+
edge case where the generic arguments could not be inferred.
3131

3232
## 5.0.1
3333

@@ -182,7 +182,7 @@
182182

183183
## 3.2.3
184184

185-
- Bug fix for analyzer 0.38.5.
185+
- Fixed bug related to `package:analyzer` 0.38.5.
186186

187187
## 3.2.2
188188

@@ -271,12 +271,12 @@ future feature work.
271271
## 2.0.3
272272

273273
- When invoking a `fromJson` constructor on a field type, generate a conversion
274-
expression derived from the the constructor parameter type.
274+
expression derived from the constructor parameter type.
275275

276276
- Be more strict about the supported `List`, `Set`, or `Map` types. This may
277-
causes errors to be raised in cases where invalid code was generated before.
278-
It also allows implementations of these types to add a `fromJson` constructor
279-
to support custom decoding.
277+
cause errors to be raised in cases where invalid code was generated before. It
278+
also allows implementations of these types to add a `fromJson` constructor to
279+
support custom decoding.
280280

281281
- Small change to the whitespace around converted maps to improve a very slow
282282
path when formatting generated code.
@@ -319,8 +319,7 @@ future feature work.
319319

320320
- **BREAKING** `JsonSerializableGenerator` now exposes a `config` property of
321321
type `JsonSerializable` instead of individual properties for `checked`,
322-
`anyMay`, etc. This will affect anyone creating or using this class via
323-
code.
322+
`anyMay`, etc. This will affect creating or using this class via code.
324323

325324
- `type_helper.dart`
326325

@@ -451,7 +450,7 @@ future feature work.
451450
- Added `JsonKey.disallowNullValue`.
452451

453452
- When `true`, generated code throws a `DisallowedNullValueException` if the
454-
corresponding keys exist in in the JSON map, but it's value is null.
453+
corresponding keys exist in the JSON map, but its value is `null`.
455454
- Will be captured and wrapped in a `CheckedFromJsonException` if `checked` is
456455
enabled in `json_serializable`.
457456

@@ -641,7 +640,7 @@ future feature work.
641640
- Moved the annotations in `annotations.dart` to `package:json_annotations`.
642641

643642
- Allows package authors to release code that has the corresponding
644-
annotations without requiring package users to inherit all of the transitive
643+
annotations without requiring package users to inherit all the transitive
645644
dependencies.
646645

647646
- Deprecated `annotations.dart`.
@@ -687,7 +686,7 @@ future feature work.
687686
and related helpers which allow custom generation for specific types.
688687

689688
- **BREAKING** Generation fails for types that are not a JSON primitive or that
690-
do not explicitly supports JSON serialization.
689+
do not explicitly support JSON serialization.
691690

692691
- **BREAKING** `TypeHelper`:
693692

0 commit comments

Comments
 (0)