Skip to content

Releases: dipscope/TypeManager.TS

v8.3.0

31 Dec 21:21
82c9dc8

Choose a tag to compare

Added

  • Get/set interceptors for properties to react or transform values on access.

v8.2.1

08 Jun 20:51
79116d2

Choose a tag to compare

Changed

  • Optimize json stringify function.

v8.2.0

03 Jun 21:37
cdca945

Choose a tag to compare

Added

  • Type option to specify the callback to invoke before serialization starts.
  • Type option to specify the callback to invoke when the deserialization is completed.

v8.1.3

02 Jun 20:15
e599561

Choose a tag to compare

Changed

  • Clear alias map when type manager is cleared.

v8.1.2

02 Jun 20:03
e0393dd

Choose a tag to compare

Fixed

  • Broken alias resolvers for cleared type metadata.

v8.1.1

02 Jun 19:20
33e7e67

Choose a tag to compare

Fixed

  • Clone of internal object references.

v8.1.0

01 Jun 21:16
7c0e035

Choose a tag to compare

Added

  • Method clone for creating copies of the static type manager configuration.
  • Method clear for removing all registrations from the type manager instance.

v8.0.1

22 Mar 18:41
8ecc368

Choose a tag to compare

Changed

  • Remove outdated dependencies.

v8.0.0

11 Jan 14:12
60177d4

Choose a tag to compare

Added

  • Support for lazy parent type and interface inheritance.
  • Performance on large object graphs is up to 3 times faster.

Changed

  • The metadata is now read-only and configuration must be done using the provided API.
  • Declaring and retrieving user custom options has been simplified.
  • Property customOptions was replaced with customValueMap.
  • Property parentTypeFns was replaced with parentTypeArguments.
  • Custom context is now part of the metadata.

Migrating from previous version

  • Rename customOptions to customValueMap and wrap your configuration array into map.
  • Rename parentTypeFns to parentTypeArguments if you have this option declared on your type.

v7.2.1

17 Feb 22:48

Choose a tag to compare

Fixed

  • TypeScript 5 decorators do not work.
  • Circular loop when using multiple inheritance through the decorator type options.