2018-06-28 01:58:42 +00:00
|
|
|
# 2.0.8+3
|
|
|
|
* Don't fail on `null` in `toMap`.
|
|
|
|
* Support self-referencing via `toJson()`.
|
|
|
|
|
2018-06-27 05:51:21 +00:00
|
|
|
# 2.0.8+2
|
|
|
|
* Better discern when custom methods disqualify classes
|
|
|
|
from `const` protection.
|
|
|
|
|
2018-06-27 05:45:46 +00:00
|
|
|
# 2.0.8+1
|
|
|
|
* Fix generation of `const` constructors with iterables.
|
|
|
|
|
2018-06-27 05:38:12 +00:00
|
|
|
# 2.0.8
|
2018-06-27 05:36:57 +00:00
|
|
|
* Now supports de/serialization of `enum` types.
|
|
|
|
* Generate `const` constructors when possible.
|
|
|
|
* Remove `whereType`, perform manual coercion.
|
2018-06-23 04:52:46 +00:00
|
|
|
* Generate a `fromMap` with typecasting, for Dart 2's sake.
|
|
|
|
|
2018-05-15 19:01:13 +00:00
|
|
|
# 2.0.7
|
|
|
|
* Create unmodifiable Lists and Maps.
|
2018-05-15 19:33:57 +00:00
|
|
|
* Support `@required` on fields.
|
|
|
|
* Affix an `@immutable` annotation to classes, if
|
|
|
|
`package:meta` is imported.
|
2018-05-15 19:51:23 +00:00
|
|
|
* Add `/// <reference path="..." />` to TypeScript models.
|
2018-05-15 19:01:13 +00:00
|
|
|
|
2018-05-13 16:50:59 +00:00
|
|
|
# 2.0.6
|
|
|
|
* Support for using `abstract` to create immutable model classes.
|
2018-05-13 17:23:40 +00:00
|
|
|
* Add support for custom constructor parameters.
|
2018-05-13 18:02:47 +00:00
|
|
|
* Closed [#21](https://github.com/angel-dart/serialize/issues/21) - better naming
|
|
|
|
of `Map` types.
|
|
|
|
* Added overridden `==` operators.
|
2018-05-13 16:50:59 +00:00
|
|
|
|
2018-03-30 18:53:38 +00:00
|
|
|
# 2.0.5
|
|
|
|
* Deserialization now supports un-serialized `DateTime`.
|
|
|
|
* Better support for regular typed Lists and Maps in TypeScript.
|
|
|
|
|
2018-03-30 04:16:04 +00:00
|
|
|
# 2.0.4
|
|
|
|
* Fields in TypeScript definitions are now nullable by default.
|
|
|
|
|
2018-03-29 19:58:36 +00:00
|
|
|
# 2.0.3
|
|
|
|
* Added a `TypeScriptDefinitionBuilder`.
|
|
|
|
|
2018-03-09 12:39:21 +00:00
|
|
|
# 2.0.2
|
|
|
|
* Generates an `XFields` class with the serialized names of
|
|
|
|
all fields in a model class `X`.
|
2018-03-09 12:45:03 +00:00
|
|
|
* Removed unnecessary named parameters from `XSerializer.fromMap`.
|
2018-03-09 12:39:21 +00:00
|
|
|
|
2018-03-05 06:18:46 +00:00
|
|
|
# 2.0.1
|
|
|
|
* Ensured that `List` is only transformed if
|
|
|
|
it generically references a `Model`.
|