Skip to content

Commit

Permalink
docs: add changelog for 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NoNameProvided committed Nov 20, 2021
1 parent 9c9d7f6 commit 9b673d6
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,27 @@

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

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

> **NOTE:** This version fixes a security vulnerability allowing denial of service attacks with a specially crafted request payload. Please update as soon as possible.
#### Breaking Changes

See the breaking changes from `0.4.1` release. It was accidentally released as patch version.

### [0.4.1][v0.4.1] [BREAKING CHANGE] - 2021-11-20

> **NOTE:** This version fixes a security vulnerability allowing denial of service attacks with a specially crafted request payload. Please update as soon as possible.
#### Breaking Changes

**Exported functions has been renamed**
Some of the exported functions has been renamed to better reflect what they are doing.

- `classToPlain` -> `instanceToPlain`
- `plainToClass` -> `plainToInstance`
- `classToClass` -> `instanceToInstance`

#### Fixed

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

[v0.5.0]: https://github.com/typestack/class-transformer/compare/v0.4.1...v0.5.0
[v0.4.1]: https://github.com/typestack/class-transformer/compare/v0.4.0...v0.4.1
[v0.4.0]: https://github.com/typestack/class-transformer/compare/v0.3.2...v0.4.0
[v0.3.2]: https://github.com/typestack/class-transformer/compare/v0.3.1...v0.3.2
Expand Down

0 comments on commit 9b673d6

Please sign in to comment.