platform/angel_serialize_generator/CHANGELOG.md

84 lines
2.2 KiB
Markdown
Raw Normal View History

2018-11-29 19:38:34 +00:00
# 2.1.2
* Add `declare module` to generated TypeScript files.
2018-11-03 07:36:59 +00:00
# 2.1.1
* Generate `hashCode`.
2018-08-21 21:16:44 +00:00
# 2.1.0
* Removed dependency on `package:id`.
* Update dependencies for Dart2Stable.
* `jsonModelBuilder` now uses `SharedPartBuilder`, rather than
`PartBuilder`.
2018-08-21 21:16:44 +00:00
# 2.0.10
* Generate `XFields.allFields` constant.
* No longer breaks in cases where `dynamic` is present.
* Call `toJson` in `toMap` on nested models.
* Never generate named parameters from private fields.
* Use the new `@generatedSerializable` to *always* find generated
models.
2018-07-11 13:06:03 +00:00
# 2.0.9+4
* Remove `defaults` in `build.yaml`.
# 2.0.9+3
* Fix a cast error when self-referencing nested list expressions.
# 2.0.9+2
* Fix previously unseen cast errors with enums.
2018-06-29 15:30:47 +00:00
# 2.0.9+1
* Fix a cast error when deserializing nested model classes.
2018-06-29 04:11:57 +00:00
# 2.0.9
* Upgrade to `source_gen@^0.8.0`.
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
# 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`.