Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 16, 2021

This PR contains the following updates:

Package Change Age Confidence
class-transformer 0.3.10.5.1 age confidence

Release Notes

typestack/class-transformer (class-transformer)

v0.5.1

Compare Source

Changed
  • re-added accidentally removed deprecated function names classToPlain and plainToClass

v0.5.0

Compare Source

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.

v0.4.1

Compare Source

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
  • fixed a scenario when a specially crafted JS object would be parsed to Array
Changed
  • various dev-dependencies updated

v0.4.0

Compare Source

Breaking Changes

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

Added
  • add option to ignore unset properties
  • group information is exposed in the @Transform handler
  • transformation options are exposed in the @Transform handler
Fixed
  • fixed TypeError when discriminator.subTypes is not defined
Changed
  • various dev-dependencies has been updated

v0.3.2

Compare Source

Breaking Changes

Signature change for @Transform decorator
From this version the @Transform decorator receives the transformation parameters in a a wrapper object. You need to
destructure the values you are interested in.

Old way:

@​Transform((value, obj, type) => /* Do some stuff with value here. */)

New way with wrapper object:

@​Transform(({ value, key, obj, type }) => /* Do some stuff with value here. */)
Added
  • exposeDefaultValues option has been added, when enabled properties will use their default values when no value is present for the property
  • the name of the currently transformed parameter is exposed in the @Transform decorator
Fixed
  • fixed an issue with transforming Map (#​319)
  • fixed an issue with sourcemap generation (#​472)
Changed
  • various internal refactors
  • various changes to the project tooling
  • various dev-dependencies has been updated

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 883711a to e95bccc Compare January 16, 2021 13:43
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 602ebfc to 43f85c2 Compare February 2, 2021 10:36
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 13 times, most recently from 1227924 to 670fd7a Compare February 10, 2021 10:47
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 12 times, most recently from 9ca8462 to fd403d5 Compare February 12, 2021 15:11
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 8 times, most recently from c232b3a to ad67899 Compare February 5, 2022 09:49
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from ad67899 to 8a51174 Compare February 12, 2022 01:27
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from f777ed4 to ed0e026 Compare March 5, 2022 00:22
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from bf72762 to 30ed478 Compare March 19, 2022 02:10
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 11dbac1 to 386745c Compare April 9, 2022 02:35
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 386745c to 6b8e5e9 Compare April 9, 2022 19:02
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 6b8e5e9 to ea2863a Compare April 23, 2022 00:52
@renovate renovate bot changed the title fix(deps): update dependency class-transformer to v0.4.0 fix(deps): update dependency class-transformer to v0.5.1 Apr 23, 2022
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 3744649 to 6b401e7 Compare May 2, 2022 11:43
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 6b401e7 to 7d1afd5 Compare June 10, 2022 13:50
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 7d1afd5 to b53f0dc Compare June 30, 2022 14:55
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 147ef6f to 8f55b22 Compare July 25, 2022 14:33
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 8f55b22 to 49b74ae Compare November 29, 2022 10:14
@renovate renovate bot changed the title fix(deps): update dependency class-transformer to v0.5.1 Update dependency class-transformer to v0.5.1 Dec 17, 2022
@renovate renovate bot changed the title Update dependency class-transformer to v0.5.1 fix(deps): update dependency class-transformer to v0.5.1 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 49b74ae to bae022c Compare February 14, 2023 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants