1
- # Changelog and release notes
1
+ # Changelog
2
2
3
+ _ This changelog follows the [ keep a changelog] [ keep-a-changelog ] _ format to maintain a human readable changelog.
3
4
4
- ### 0.2.3 [ BREAKING CHANGE]
5
+ ### [ 0.3.1] [ v0.3.1 ] - 2020-07-29
6
+
7
+ #### Added
8
+
9
+ - table of content added to readme
10
+
11
+ #### Changed
12
+
13
+ - moved from Mocha to Jest
14
+ - added Prettier for code formatting
15
+ - added Eslint for linting
16
+ - updated CI configuration
17
+ - removed some unused dev dependencies
18
+ - updated dependencies to latest version
19
+
20
+ #### Fixed
21
+
22
+ - circular dependency fixed
23
+ - dev dependencies removed from package.json before publishing (no more security warnings)
24
+ - transformer oder is deterministic now (#231 )
25
+ - fix prototype pollution issue (#367 )
26
+
27
+ ### [ 0.2.3] [ v0.2.3 ] [ BREAKING CHANGE]
5
28
6
29
#### Changed
7
30
8
31
- ` enableImplicitConversion ` has been added and imlplicit value conversion is disabled by default.
9
32
- reverted #234 - fix: write properties with defined default values on prototype which broke the ` @Exclude ` decorator.
10
33
11
- ### 0.2.2 [ BREAKING CHANGE]
34
+ ### [ 0.2.2] [ v0.2.2 ] [ BREAKING CHANGE]
12
35
13
36
> ** NOTE:** This version is deprecated.
14
37
@@ -18,103 +41,110 @@ This version has introduced a breaking-change when this library is used with cla
18
41
19
42
- implicity type conversion between values.
20
43
21
- ### 0.2.1
44
+ ### [ 0.2.1] [ v0.2.1 ]
22
45
23
46
> ** NOTE:** This version is deprecated.
24
47
25
48
#### Added
26
49
27
- - add option to strip unkown properties via using the ` excludeExtraneousValues ` option
50
+ - add option to strip unkown properties via using the ` excludeExtraneousValues ` option
28
51
29
- ### 0.2.0 [ BREAKING CHANGE]
52
+ ### [ 0.2.0] [ v0.2.0 ] [ BREAKING CHANGE]
30
53
31
54
#### Added
32
55
33
- - add documentation for using ` Set ` s and ` Map ` s
34
- - add opotion to pass a discriminator function to convert values into different types based on custom conditions
35
- - added support for polymorphism based on a named type property
56
+ - add documentation for using ` Set ` s and ` Map ` s
57
+ - add opotion to pass a discriminator function to convert values into different types based on custom conditions
58
+ - added support for polymorphism based on a named type property
36
59
37
60
#### Fixed
38
61
39
- - fix bug when transforming ` null ` values as primitives
62
+ - fix bug when transforming ` null ` values as primitives
40
63
41
64
### 0.1.10
42
65
43
66
#### Fixed
44
67
45
- - improve MetadataStorage perf by changing from Arrays to ES6 Maps by @sheiidan
46
- - fixed getAncestor issue with unknown nested properties by @247GradLabs
68
+ - improve MetadataStorage perf by changing from Arrays to ES6 Maps by @sheiidan
69
+ - fixed getAncestor issue with unknown nested properties by @247GradLabs
47
70
48
71
### 0.1.9
49
72
50
73
#### Fixed
51
74
52
- - objects with ` null ` prototype are converted properly now
53
- - objects with unknown non primitive properties are converted properly now
54
- - corrected a typo in the README.md
55
- - fixed the deserialize example in the README.md
75
+ - objects with ` null ` prototype are converted properly now
76
+ - objects with unknown non primitive properties are converted properly now
77
+ - corrected a typo in the README.md
78
+ - fixed the deserialize example in the README.md
56
79
57
80
### 0.1.4
58
81
59
82
#### Added
60
83
61
- - added ` TransformClassToPlain ` and ` TransformClassToClass ` decorators
84
+ - added ` TransformClassToPlain ` and ` TransformClassToClass ` decorators
62
85
63
86
### 0.1.0
64
87
65
88
#### Added
66
89
67
- - renamed library from ` constructor-utils ` to ` class-transformer `
68
- - completely renamed most of names
69
- - renamed all main methods: ` plainToConstructor ` now is ` plainToClass ` and ` constructorToPlain ` is ` classToPlain ` , etc.
70
- - ` plainToConstructorArray ` method removed - now ` plainToClass ` handles it
71
- - ` @Skip() ` decorator renamed to ` @Exclude() `
72
- - added ` @Expose ` decorator
73
- - added lot of new options: groups, versioning, custom names, etc.
74
- - methods and getters that should be exposed must be decorated with ` @Expose ` decorator
75
- - added ` excludedPrefix ` to class transform options that allows exclude properties that start with one of the given prefix
90
+ - renamed library from ` constructor-utils ` to ` class-transformer `
91
+ - completely renamed most of names
92
+ - renamed all main methods: ` plainToConstructor ` now is ` plainToClass ` and ` constructorToPlain ` is ` classToPlain ` , etc.
93
+ - ` plainToConstructorArray ` method removed - now ` plainToClass ` handles it
94
+ - ` @Skip() ` decorator renamed to ` @Exclude() `
95
+ - added ` @Expose ` decorator
96
+ - added lot of new options: groups, versioning, custom names, etc.
97
+ - methods and getters that should be exposed must be decorated with ` @Expose ` decorator
98
+ - added ` excludedPrefix ` to class transform options that allows exclude properties that start with one of the given prefix
76
99
77
100
### 0.0.22
78
101
79
102
#### Fixed
80
103
81
- - fixed array with primitive types being converted
104
+ - fixed array with primitive types being converted
82
105
83
106
### 0.0.18-0.0.21
84
107
85
108
#### Fixed
86
109
87
- - fixed bugs when getters are not converted with es6 target
110
+ - fixed bugs when getters are not converted with es6 target
88
111
89
112
### 0.0.17
90
113
91
114
#### Fixed
92
115
93
- - fixed issue #4
94
- - added type guessing during transformation from constructor to plain object
95
- - added sample with generics
116
+ - fixed issue #4
117
+ - added type guessing during transformation from constructor to plain object
118
+ - added sample with generics
96
119
97
120
### 0.0.16
98
121
99
122
#### Changed
100
123
101
- - renamed ` constructor-utils/constructor-utils ` to ` constructor-utils ` package namespace
124
+ - renamed ` constructor-utils/constructor-utils ` to ` constructor-utils ` package namespace
102
125
103
126
### 0.0.15
104
127
105
128
#### Removed
106
129
107
- - removed code mappings from package
130
+ - removed code mappings from package
108
131
109
132
### 0.0.14
110
133
111
134
#### Removed
112
135
113
- - removed ` import "reflect-metadata" ` from source code. Now reflect metadata should be included like any other shims.
136
+ - removed ` import "reflect-metadata" ` from source code. Now reflect metadata should be included like any other shims.
114
137
115
138
### 0.0.13
116
139
117
140
#### Changed
118
141
119
- - Library has changed its name from ` serializer.ts ` to ` constructor-utils ` .
120
- - Added ` constructor-utils ` namespace.
142
+ - Library has changed its name from ` serializer.ts ` to ` constructor-utils ` .
143
+ - Added ` constructor-utils ` namespace.
144
+
145
+ [ v0.3.1 ] : https://github.com/typestack/class-transformer/compare/v0.2.3...v0.3.1
146
+ [ v0.2.3 ] : https://github.com/typestack/class-transformer/compare/v0.2.2...v0.2.3
147
+ [ v0.2.2 ] : https://github.com/typestack/class-transformer/compare/v0.2.1...v0.2.2
148
+ [ v0.2.1 ] : https://github.com/typestack/class-transformer/compare/v0.2.0...v0.2.1
149
+ [ v0.2.0 ] : https://github.com/typestack/class-transformer/compare/v0.1.10...v0.2.0
150
+ [ keep-a-changelog ] : https://keepachangelog.com/en/1.0.0/
0 commit comments