@dipscope/type-manager 3.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +653 -119
- package/core/discriminant.d.ts +8 -0
- package/core/discriminator.d.ts +6 -0
- package/core/fn.d.ts +21 -11
- package/core/generic-argument.d.ts +1 -1
- package/core/generic-metadata.d.ts +1 -1
- package/core/index.d.ts +8 -0
- package/core/index.js +2 -2
- package/core/inject-index.d.ts +6 -0
- package/core/inject-metadata.d.ts +15 -14
- package/core/inject-options.d.ts +5 -5
- package/core/log.d.ts +6 -6
- package/core/metadata.d.ts +3 -3
- package/core/property-metadata.d.ts +24 -36
- package/core/property-name.d.ts +6 -0
- package/core/property-options.d.ts +58 -2
- package/core/serializer-context-options.d.ts +6 -6
- package/core/serializer-context.d.ts +65 -6
- package/core/type-abstraction.d.ts +8 -0
- package/core/type-argument.d.ts +2 -2
- package/core/type-ctor.d.ts +1 -1
- package/core/type-fn.d.ts +8 -0
- package/core/type-like.d.ts +1 -1
- package/core/type-metadata-symbol.d.ts +6 -0
- package/core/type-metadata.d.ts +118 -28
- package/core/type-name.d.ts +6 -0
- package/core/type-options-base.d.ts +15 -8
- package/core/type-options.d.ts +21 -5
- package/core/type-resolver.d.ts +2 -2
- package/discriminant.d.ts +11 -0
- package/discriminator.d.ts +11 -0
- package/factories/index.js +2 -2
- package/factory.d.ts +4 -4
- package/index.d.ts +3 -3
- package/index.js +2 -2
- package/inject.d.ts +3 -3
- package/injector.d.ts +3 -3
- package/injectors/index.js +2 -2
- package/naming-conventions/index.js +2 -2
- package/naming-conventions/pascal-case.naming-convention.d.ts +1 -1
- package/package.json +1 -1
- package/preserve-discriminator.d.ts +10 -0
- package/property.d.ts +3 -3
- package/reference-handlers/index.js +2 -2
- package/reference-handlers/path.reference-handler.d.ts +22 -6
- package/serializers/index.js +2 -2
- package/type-manager-options.d.ts +3 -3
- package/type-manager.d.ts +217 -46
- package/inject-artisan.d.ts +0 -20
- package/property-artisan.d.ts +0 -20
- package/type-artisan.d.ts +0 -95
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,39 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [4.0.2] - 2022-05-01
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Used symbol instead of string based key to store type metadata.
|
|
13
|
+
- Avoid complete reset of custom data by providing `null` as argument.
|
|
14
|
+
- Code style improvements.
|
|
15
|
+
|
|
16
|
+
## [4.0.1] - 2021-08-01
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Custom data options are now behave like built in configure options.
|
|
21
|
+
- Path reference handler is now using path traversal instead of direct evaluation for resolving references.
|
|
22
|
+
|
|
23
|
+
## [4.0.0] - 2021-03-24
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- Polymorphic types support.
|
|
28
|
+
- Enums support.
|
|
29
|
+
- Accessors support.
|
|
30
|
+
- Multiple runtime configurations support.
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- Newly introduced `TypeFn` is now used instead of `TypeCtor` in configure methods due to adding polymorphic types support.
|
|
35
|
+
- Static methods of `TypeManager` now return static instance to enable method chaining.
|
|
36
|
+
|
|
37
|
+
### Migrating from previous version
|
|
38
|
+
|
|
39
|
+
- Replace `TypeCtor` with `TypeFn` if you are using declarative configuration.
|
|
40
|
+
|
|
8
41
|
## [3.0.0] - 2021-03-06
|
|
9
42
|
|
|
10
43
|
### Added
|