Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps class-transformer from 0.3.1 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

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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants