Skip to content

Commit a7b98e0

Browse files
committed
Update changelog
1 parent e6f905c commit a7b98e0

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
## 0.1.1
1+
## 0.2.0
22

3-
* Fail generation when undefined types are encountered.
4-
Throw a helpful error.
3+
* **BREAKING** Fail generation for types that are not a JSON primitive or that
4+
do not explicitly supports JSON serialization.
5+
6+
* Eliminated all implicit casts in generated code. These would end up being
7+
runtime checks in most cases.
8+
9+
* Provide a helpful error when generation fails due to undefined types.
510

611
## 0.1.0+1
712

@@ -10,7 +15,11 @@
1015
## 0.1.0
1116

1217
* Split off from [source_gen](https://pub.dartlang.org/packages/source_gen).
18+
1319
* Add `/* unsafe */` comments to generated output likely to be unsafe.
20+
1421
* Support (de)serializing values in `Map`.
22+
1523
* Fix ordering of fields when they are initialized via constructor.
24+
1625
* Don't use static members when calculating fields to (de)serialize.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: json_serializable
2-
version: 0.1.1-dev
2+
version: 0.2.0-dev
33
author: Dart Team <misc@dartlang.org>
44
description: Generates utilities to aid in serializing to/from JSON.
55
homepage: https://github.com/dart-lang/json_serializable

0 commit comments

Comments
 (0)