Skip to content

Releases: dipscope/TypeManager.TS

v7.2.1

17 Feb 22:48
Compare
Choose a tag to compare

Fixed

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

v7.2.0

18 Oct 19:53
Compare
Choose a tag to compare

Added

  • Support for polymorphic serialization based on interface types.

v7.1.1

18 Aug 22:30
Compare
Choose a tag to compare

Fixed

  • Extraction of type extension metadata when it was not defined.
  • Extraction of property extension metadata when it was not defined.

v7.1.0

18 Aug 19:36
Compare
Choose a tag to compare

Added

  • Type extension metadata.
  • Property extension metadata.

v7.0.1

10 Aug 19:25
Compare
Choose a tag to compare

Fixed

  • Invalid ES5 lazy type resolvers.

v7.0.0

25 Jun 21:08
Compare
Choose a tag to compare

Added

  • Strongly typed custom options.
  • Performance improvements when using custom options.

Removed

  • Old custom data option.

Migrating from previous version

  • Replace old custom data configurations with newly introduced strongly typed custom options.

v6.0.0

22 Mar 20:55
Compare
Choose a tag to compare

Added

  • Fluent api for declarative configuration.
  • Property metadata sorters.
  • Inject metadata sorters.
  • Stable json stringify and parse functions.
  • Any and unknown type serializers.
  • Modules support.
  • Performance improvements.

Changed

  • If property type argument is not configured then no error will be thrown and property will be serialized as unknown.
  • Weak reference maps changed to regular maps to allow more extension points.
  • Reference handler names to be more self descriptive.

Migrating from previous version

  • Replace old declarative configuration calls with newly introduced fluent api.
  • You can still use raw declarative api through the options by adapting method calls.

v5.0.0

31 Jul 18:00
Compare
Choose a tag to compare

Added

  • Preserve null option.
  • Performance improvements.

Changed

  • Simplify handling of object references inside serializers.
  • Separate modules are now merged into one to reduce final application bundle size and simplify usage.

Removed

  • Helper decorators as they silently increase final application bundle size and reduce performance on startup for the end user.

Migrating from previous version

  • Replace all separate module imports to @dipscope/type-manager.
  • Remove all helper decorators and use configure options with the same names from the main Type, Property and Inject decorators.

v4.1.1

30 May 17:14
Compare
Choose a tag to compare

Changed

  • Moved source maps into separate file and reduced production bundle size.

v4.1.0

22 May 14:56
Compare
Choose a tag to compare

Added

  • Getters for serialized and deserialized default value in metadata.
  • Decorators and options to define serialized and deserialized default value explicitly.