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

Bump class-transformer from 0.2.3 to 0.4.0 #181

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 15, 2021

Bumps class-transformer from 0.2.3 to 0.4.0.

Changelog

Sourced from class-transformer's changelog.

[0.4.0][v0.4.0] [BREAKING CHANGE] - 2021-02-14

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

[0.3.2][v0.3.2] [BREAKING CHANGE] - 2021-01-14

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)

... (truncated)

Commits
  • ab093a3 merge: release 0.4.0 (#593)
  • a101300 docs: update changelog for 0.4.0
  • ba1b3b8 build: bump version to 0.4.0
  • 29a6c77 docs: add changelog for 0.4.0
  • 2356b3a feat: add option to ignore unset fields during class to plain transformation
  • 8d52929 build: update ts-jest config
  • 9858a8c build(deps-dev): bump @typescript-eslint/parser from 4.13.0 to 4.15.0 (#588)
  • b50a156 build(deps-dev): bump @typescript-eslint/eslint-plugin (#592)
  • 5a8b033 build: auto-merge dependency updates
  • ad2840f build(deps-dev): bump typescript from 4.1.3 to 4.1.5 (#591)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by typestack-release-bot, a new releaser for class-transformer since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 22, 2021

Superseded by #272.

@dependabot dependabot bot closed this Nov 22, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/class-transformer-0.4.0 branch November 22, 2021 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Dependabot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants