Skip to content

Latest commit

 

History

History
183 lines (82 loc) · 6.17 KB

CHANGELOG.md

File metadata and controls

183 lines (82 loc) · 6.17 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.4.0 (2019-05-13)

Features

  • support for inheritFrom option in parent options (9c307a5)

1.3.1 (2018-11-28)

Bug Fixes

  • added possibility to have full object inside trackBy method for discriminator (e51b007)

1.3.0 (2018-11-26)

Features

  • support for custom trackBy method for discriminator value (85ceb86)

1.2.1 (2018-06-29)

Bug Fixes

  • remove value copy if it's undefined to avoid erasing default value (604f7b0)

1.2.0 (2018-04-03)

Features

  • add possibility to add custom data to go through recursion (f7826f3)

Reverts

  • recurse even if no class annotation found, but stop if not object (9c7bbb5)

1.1.1 (2018-02-20)

Bug Fixes

  • add new decorators to index file (4e95f0c)

1.1.0 (2018-02-20)

Features

  • add support for serialization (871404b), closes #18

1.0.3 (2018-01-07)

Bug Fixes

  • security: update package marked used by typedoc with known vulnerabilities (07dcf47)

1.0.2 (2017-09-28)

Bug Fixes

  • metadata: remove reflect-metadata from the bundle (7657964)

1.0.2 (2017-09-28)

Bug Fixes

  • metadata: remove reflect-metadata from the bundle (7657964)

1.0.1 (2017-08-11)

1.0.0 (2017-08-10)

Bug Fixes

  • add support for class array deserialization (ecb7527), closes #23
  • added FieldName to exported members. (b233c07)
  • changed error message + tests optimization. (a9f0089)
  • remove stupid error importing from deleted file. (ce3dbe6)
  • rename parentOption variable to match pluralization (86b0a5f)
  • rename resultConstructor to match getClass return type (f68135c)
  • doc: remove the @ escape before the decorator in code example, and add Zero-width space to prev (5b0b60e)
  • registry: fix the behavior when deserializing the parent itself with explicit or implicit discr (d5b072e), closes #12

Code Refactoring

  • add better type hinting for deserialize and fix the tests accordingly (a35960d), closes #24

Features

  • add fake parent class to test not abstract self disallowed parent (044f800)
  • add support for attribute names mapping (7396537), closes #17
  • added allowSelf flag to allow parent class to be returned if no children is found. (dd16c14)
  • added multiple checks to handle edge cases for inheritance (129df55)

BREAKING CHANGES

  • Serializer.deserialize() cannot be use without explicit clazz parameter anymore

0.5.5 (2017-07-15)

Features

  • added support for discriminator field with undefined value (it now returns the parent class). (27a31b6)

0.5.4 (2017-07-15)

0.5.3 (2017-07-13)

0.5.1 (2017-07-13)

0.5.0 (2017-07-12)

Features

  • [WIP] added inheritance management, but some issues come with webpack (b333b69)
  • added basic deserialization, with type conservation. (f946d21)
  • inheritence management is now done. (0149709)