Skip to content

Bump class-validator from 0.11.1 to 0.12.1#79

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/class-validator-0.12.1
Closed

Bump class-validator from 0.11.1 to 0.12.1#79
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/class-validator-0.12.1

Conversation

@dependabot-preview
Copy link
Contributor

Bumps class-validator from 0.11.1 to 0.12.1.

Changelog

Sourced from class-validator's changelog.

0.12.1 (2020-04-18)

Bug Fixes

  • apply only nested validator for ValidateNested multi-dimensional array (c463be5)

0.12.0 (2020-04-18)

Bug Fixes

  • accept negative timezone in isDateString (#564) (2012d72), closes #565
  • apply all decorators type PropertyDecorator (#556) (5fb36e3), closes #555
  • avoiding metadataStorage from DI (#335) (b57fef4), closes #328 #261 #132
  • correct registerDecorator options argument (7909ec6), closes #302
  • IsNumberString accept isNumbericOptions as argument (62b993f), closes #518 #463
  • optional constraints property in ValidationError (#465) (84680ad), closes #309
  • pass context to ValidationError for async validations (#533) (4eb1216)
  • switch isLatitude & isLongitude validators (#513) (5497179), closes #502
  • switch isLatitude & isLongitude validators (#537) (c27500b)
  • ValidateNested support multi-dimensional arrays (#539) (62678e1)

Code Refactoring

Features

  • sync validatorjs version from v10.11.3 to v13.0.0 (09120b7), closes #576 #425

BREAKING CHANGES

  • Validatorjs releases contain some breaking changes e.g. IsMobileNumber or IsHexColor. Please check validatorjs CHANGELOG

  • Validation functions was removed from Validator class to enable tree shaking.

    BEFORE:

        import {Validator} from "class-validator";
    const validator = new Validator();
    validator.isNotIn(value, possibleValues);
    validator.isBoolean(value);

    AFTER:

... (truncated)
Commits
  • bca014c chore: update version and changelog for 0.12.1
  • c463be5 fix: apply only nested validator for ValidateNested multi-dimensional array
  • 3144b6c chore: update version and changelog for 0.12.0
  • 7909ec6 fix: correct registerDecorator options argument
  • 09120b7 feat: sync validatorjs version from v10.11.3 to v13.0.0
  • 11a7b8b refactor: update build process to enable tree shaking (#568)
  • 7294108 docs: added note about nested validation and object creation (#571)
  • 62678e1 fix: ValidateNested support multi-dimensional arrays (#539)
  • 6457326 docs: update IsNumberString docs
  • 62b993f fix: IsNumberString accept isNumbericOptions as argument
  • 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 Apr 20, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #84.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/class-validator-0.12.1 branch April 24, 2020 04:44
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