|
1 | 1 | # Changelog and release notes
|
2 | 2 |
|
| 3 | +### 0.2.1 |
| 4 | + |
| 5 | +#### Added |
| 6 | + |
| 7 | +- add option to strip unkown properties via using the `excludeExtraneousValues` option |
| 8 | + |
3 | 9 | ### 0.2.0 [BREAKING CHANGE]
|
4 | 10 |
|
5 | 11 | #### Added
|
6 | 12 |
|
7 |
| -- add documentation for using `Set`s and `Map`s |
8 |
| -- add opotion to pass a discriminator function to convert values into different types based on custom conditions |
9 |
| -- added support for polymorphism based on a named type property |
| 13 | +- add documentation for using `Set`s and `Map`s |
| 14 | +- add opotion to pass a discriminator function to convert values into different types based on custom conditions |
| 15 | +- added support for polymorphism based on a named type property |
10 | 16 |
|
11 | 17 | #### Fixed
|
12 | 18 |
|
13 |
| -- fix bug when transforming `null` values as primitives |
| 19 | +- fix bug when transforming `null` values as primitives |
14 | 20 |
|
15 | 21 | ### 0.1.10
|
16 | 22 |
|
17 | 23 | #### Fixed
|
18 | 24 |
|
19 |
| -- improve MetadataStorage perf by changing from Arrays to ES6 Maps by @sheiidan |
20 |
| -- fixed getAncestor issue with unknown nested properties by @247GradLabs |
| 25 | +- improve MetadataStorage perf by changing from Arrays to ES6 Maps by @sheiidan |
| 26 | +- fixed getAncestor issue with unknown nested properties by @247GradLabs |
21 | 27 |
|
22 | 28 | ### 0.1.9
|
23 | 29 |
|
24 | 30 | #### Fixed
|
25 | 31 |
|
26 |
| -- objects with `null` prototype are converted properly now |
27 |
| -- objects with unknown non primitive properties are converted properly now |
28 |
| -- corrected a typo in the README.md |
29 |
| -- fixed the deserialize example in the README.md |
| 32 | +- objects with `null` prototype are converted properly now |
| 33 | +- objects with unknown non primitive properties are converted properly now |
| 34 | +- corrected a typo in the README.md |
| 35 | +- fixed the deserialize example in the README.md |
30 | 36 |
|
31 | 37 | ### 0.1.4
|
32 | 38 |
|
33 | 39 | #### Added
|
34 | 40 |
|
35 |
| -- added `TransformClassToPlain` and `TransformClassToClass` decorators |
| 41 | +- added `TransformClassToPlain` and `TransformClassToClass` decorators |
36 | 42 |
|
37 | 43 | ### 0.1.0
|
38 | 44 |
|
39 | 45 | #### Added
|
40 | 46 |
|
41 |
| -- renamed library from `constructor-utils` to `class-transformer` |
42 |
| -- completely renamed most of names |
43 |
| -- renamed all main methods: `plainToConstructor` now is `plainToClass` and `constructorToPlain` is `classToPlain`, etc. |
44 |
| -- `plainToConstructorArray` method removed - now `plainToClass` handles it |
45 |
| -- `@Skip()` decorator renamed to `@Exclude()` |
46 |
| -- added `@Expose` decorator |
47 |
| -- added lot of new options: groups, versioning, custom names, etc. |
48 |
| -- methods and getters that should be exposed must be decorated with `@Expose` decorator |
49 |
| -- added `excludedPrefix` to class transform options that allows exclude properties that start with one of the given prefix |
| 47 | +- renamed library from `constructor-utils` to `class-transformer` |
| 48 | +- completely renamed most of names |
| 49 | +- renamed all main methods: `plainToConstructor` now is `plainToClass` and `constructorToPlain` is `classToPlain`, etc. |
| 50 | +- `plainToConstructorArray` method removed - now `plainToClass` handles it |
| 51 | +- `@Skip()` decorator renamed to `@Exclude()` |
| 52 | +- added `@Expose` decorator |
| 53 | +- added lot of new options: groups, versioning, custom names, etc. |
| 54 | +- methods and getters that should be exposed must be decorated with `@Expose` decorator |
| 55 | +- added `excludedPrefix` to class transform options that allows exclude properties that start with one of the given prefix |
50 | 56 |
|
51 | 57 | ### 0.0.22
|
52 | 58 |
|
53 | 59 | #### Fixed
|
54 | 60 |
|
55 |
| -- fixed array with primitive types being converted |
| 61 | +- fixed array with primitive types being converted |
56 | 62 |
|
57 | 63 | ### 0.0.18-0.0.21
|
58 | 64 |
|
59 | 65 | #### Fixed
|
60 | 66 |
|
61 |
| -- fixed bugs when getters are not converted with es6 target |
| 67 | +- fixed bugs when getters are not converted with es6 target |
62 | 68 |
|
63 | 69 | ### 0.0.17
|
64 | 70 |
|
65 | 71 | #### Fixed
|
66 | 72 |
|
67 |
| -- fixed issue #4 |
68 |
| -- added type guessing during transformation from constructor to plain object |
69 |
| -- added sample with generics |
| 73 | +- fixed issue #4 |
| 74 | +- added type guessing during transformation from constructor to plain object |
| 75 | +- added sample with generics |
70 | 76 |
|
71 | 77 | ### 0.0.16
|
72 | 78 |
|
73 | 79 | #### Changed
|
74 | 80 |
|
75 |
| -- renamed `constructor-utils/constructor-utils` to `constructor-utils` package namespace |
| 81 | +- renamed `constructor-utils/constructor-utils` to `constructor-utils` package namespace |
76 | 82 |
|
77 | 83 | ### 0.0.15
|
78 | 84 |
|
79 | 85 | #### Removed
|
80 | 86 |
|
81 |
| -- removed code mappings from package |
| 87 | +- removed code mappings from package |
82 | 88 |
|
83 | 89 | ### 0.0.14
|
84 | 90 |
|
85 | 91 | #### Removed
|
86 | 92 |
|
87 |
| -- removed `import "reflect-metadata"` from source code. Now reflect metadata should be included like any other shims. |
| 93 | +- removed `import "reflect-metadata"` from source code. Now reflect metadata should be included like any other shims. |
88 | 94 |
|
89 | 95 | ### 0.0.13
|
90 | 96 |
|
91 | 97 | #### Changed
|
92 | 98 |
|
93 |
| -- Library has changed its name from `serializer.ts` to `constructor-utils`. |
94 |
| -- Added `constructor-utils` namespace. |
| 99 | +- Library has changed its name from `serializer.ts` to `constructor-utils`. |
| 100 | +- Added `constructor-utils` namespace. |
0 commit comments