Skip to content

chore(deps): bump class-transformer from 0.3.1 to 0.4.0 #249

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

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Feb 15, 2021

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 will not automatically merge this PR because this dependency is pre-1.0.0.


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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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 Feb 15, 2021
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/class-transformer-0.4.0 branch 2 times, most recently from 8496b82 to c111a24 Compare February 25, 2021 05:35
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/class-transformer-0.4.0 branch from c111a24 to adf539d Compare May 1, 2021 05:13
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/class-transformer-0.4.0 branch from adf539d to f758357 Compare May 1, 2021 05:20
amarlankri pushed a commit to amarlankri/nestjs-budget-insight-connector that referenced this pull request Oct 4, 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