Releases: dipscope/TypeManager.TS
Releases · dipscope/TypeManager.TS
v4.0.4
v4.0.3
v4.0.2
v4.0.1
v4.0.0
Added
- Polymorphic types support.
- Enums support.
- Accessors support.
- Multiple runtime configurations support.
Changed
- Newly introduced
TypeFn
is now used instead ofTypeCtor
in configure methods due to adding polymorphic types support. - Static methods of
TypeManager
now return static instance to enable method chaining.
Migrating from previous version
- Replace
TypeCtor
withTypeFn
if you are using declarative configuration.
v3.0.0
Added
- Generics support.
- Circular object reference support.
- Short property declaration syntax.
- Naming convention support.
- Module separation.
- New set of serializers.
Changed
- Core types, interfaces and classes moved to a core module to keep main namespace clean.
- All decorators are now available from the main namespace.
Fixed
- Invalid implicit conversion of boolean serializer.
- Properties were not assigned during deserialization if they already have initialized value.
Removed
- Multiple decorator and related options as they are no longer required.
Migrating from previous version
- Replace all core type and interface imports from
@dipscope/type-manager
to@dipscope/type-manager/core
. - Replace all helper decorator imports from
@dipscope/type-manager/helpers
to@dipscope/type-manager
. - Change all places where
Property
decorator is used to declare an array of types to a proper generic variant. - If you are using
TypeSerializer
,TypeFactory
,TypeInjector
helper decorators or interfaces then rename them toSerializer
,Factory
,Injector
accordingly. - If you are using
typeAlias
ortypeResolver
property options replace them totypeArgument
.