Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dependency maintenance): update dependency class-transformer to v0.5.1 #262

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 14, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
class-transformer 0.3.1 -> 0.5.1 age adoption passing 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 - At any time (no schedule defined), 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 3 times, most recently from b089a07 to 560d7d6 Compare January 20, 2021 09:28
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 9 times, most recently from dc669ba to de37a00 Compare January 31, 2021 07:38
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 9 times, most recently from e69c423 to b621dad Compare February 13, 2021 09:37
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from b621dad to b787c1a Compare February 14, 2021 16:45
@renovate renovate bot changed the title fix(dependency maintenance): update dependency class-transformer to v0.3.2 fix(dependency maintenance): update dependency class-transformer to v0.4.0 Feb 14, 2021
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 5 times, most recently from d7704c9 to 9a5b327 Compare February 19, 2021 20:23
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from cd09e34 to 7463d42 Compare March 9, 2021 12:07
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 5 times, most recently from f5c6a0a to 2f72e4d Compare June 4, 2024 12:00
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 3 times, most recently from b554c17 to 94e9d89 Compare June 26, 2024 12:46
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 3 times, most recently from 66dc87c to b0b4c23 Compare July 10, 2024 13:07
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 8 times, most recently from bd9e4a2 to 3036088 Compare August 6, 2024 13:24
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 4 times, most recently from e7073af to 6e5cfa4 Compare August 23, 2024 10:05
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 346ea7e to c1d70d3 Compare September 16, 2024 10:08
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from bdb2668 to b1a56af Compare September 25, 2024 15:41
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from b1a56af to 80cd224 Compare October 24, 2024 10:07
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 80cd224 to 8ba9cb5 Compare October 24, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants