Releases: dipscope/TypeManager.TS
Releases · dipscope/TypeManager.TS
v8.0.0
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 withcustomValueMap
. - Property
parentTypeFns
was replaced withparentTypeArguments
. - Custom context is now part of the metadata.
Migrating from previous version
- Rename
customOptions
tocustomValueMap
and wrap your configuration array into map. - Rename
parentTypeFns
toparentTypeArguments
if you have this option declared on your type.
v7.2.1
v7.2.0
v7.1.1
v7.1.0
v7.0.1
v7.0.0
v6.0.0
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
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
andInject
decorators.