Skip to content

Commit 9b673d6

Browse files
docs: add changelog for 0.5.0
1 parent 9c9d7f6 commit 9b673d6

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,27 @@
22

33
_This changelog follows the [keep a changelog][keep-a-changelog]_ format to maintain a human readable changelog.
44

5-
### [0.4.1][v0.4.1] - 2021-11-20
5+
### [0.5.0][v0.5.0] [BREAKING CHANGE] - 2021-11-20
66

77
> **NOTE:** This version fixes a security vulnerability allowing denial of service attacks with a specially crafted request payload. Please update as soon as possible.
88
9+
#### Breaking Changes
10+
11+
See the breaking changes from `0.4.1` release. It was accidentally released as patch version.
12+
13+
### [0.4.1][v0.4.1] [BREAKING CHANGE] - 2021-11-20
14+
15+
> **NOTE:** This version fixes a security vulnerability allowing denial of service attacks with a specially crafted request payload. Please update as soon as possible.
16+
17+
#### Breaking Changes
18+
19+
**Exported functions has been renamed**
20+
Some of the exported functions has been renamed to better reflect what they are doing.
21+
22+
- `classToPlain` -> `instanceToPlain`
23+
- `plainToClass` -> `plainToInstance`
24+
- `classToClass` -> `instanceToInstance`
25+
926
#### Fixed
1027

1128
- prevent unhandled error in `plaintToclass` when union-type member is undefined
@@ -212,6 +229,7 @@ This version has introduced a breaking-change when this library is used with cla
212229
- Library has changed its name from `serializer.ts` to `constructor-utils`.
213230
- Added `constructor-utils` namespace.
214231

232+
[v0.5.0]: https://github.com/typestack/class-transformer/compare/v0.4.1...v0.5.0
215233
[v0.4.1]: https://github.com/typestack/class-transformer/compare/v0.4.0...v0.4.1
216234
[v0.4.0]: https://github.com/typestack/class-transformer/compare/v0.3.2...v0.4.0
217235
[v0.3.2]: https://github.com/typestack/class-transformer/compare/v0.3.1...v0.3.2

0 commit comments

Comments
 (0)