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

Update dependency yup to v0.32.11 #36

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 19, 2018

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
yup 0.26.5 -> 0.32.11 age adoption passing confidence

Release Notes

jquense/yup

v0.32.11

Compare Source

Bug Fixes

v0.32.10

Compare Source

Bug Fixes
Features

v0.32.9

Compare Source

Bug Fixes

v0.32.8

Compare Source

v0.32.7

Compare Source

v0.32.6

Compare Source

Bug Fixes

v0.32.5

Compare Source

Bug Fixes
  • types: change base.default() to any (01c6930)

v0.32.4

Compare Source

Bug Fixes
  • types: rm base pick/omit types as they conflict with more specific ones (14e2c8c)
Features

v0.32.3

Compare Source

Bug Fixes
  • types: AnyObjectSchema anys (1c54665)

v0.32.2

Compare Source

Bug Fixes

v0.32.1

Compare Source

Bug Fixes

v0.32.0

Compare Source

Features
BREAKING CHANGES
  • concat doesn't check for "unset" nullable or presence when merging meaning the nullability and presence will always be the same as the schema passed to concat(). They can be overridden if needed after concatenation
  • schema factory functions are no longer constructors. The classes are now also exported for extension or whatever else. e.g. import { StringSchema, string } from 'yup'

0.31.1 (2020-12-01)

Bug Fixes
  • swallowed errors on nested schema with no tests (5316ab9), closes #​1127
Features

v0.31.1

Compare Source

Bug Fixes
  • swallowed errors on nested schema with no tests (5316ab9), closes #​1127
Features

v0.31.0

Compare Source

Bug Fixes
Features
  • add array.length() and treat empty arrays as valid for required() (fbc158d)
  • add object.pick and object.omit (425705a)
  • deprecate the getter overload of default() (#​1119) (5dae837)
  • more strictly coerce strings, exclude arrays and plain objects (963d2e8)
BREAKING CHANGES
  • array().required() will no longer consider an empty array missing and required checks will pass.

To maintain the old behavior change to:

array().required().min(1)
  • plain objects and arrays are no long cast to strings automatically

to recreate the old behavior:

string().transform((_, input) => input != null && input.toString ? input.toString() : value);

v0.30.0

Compare Source

Bug Fixes
Features
  • exposes context on mixed.test function and add originalValue to context (#​1021) (6096064)
Performance Improvements
BREAKING CHANGES
  • defined() now doesn't automatically allow null, this was a bug. to mimic the old behavior add nullable() to schema with defined()

0.29.3 (2020-08-04)

0.29.2 (2020-07-27)

Bug Fixes
Features

0.29.1 (2020-05-27)

Bug Fixes
Features
  • allow access to parent schema (and unlimited ancestors!) in test context (#​556) (db35920)

v0.29.3

Compare Source

v0.29.2

Compare Source

Bug Fixes
Features

v0.29.1

Compare Source

Bug Fixes
Features
  • allow access to parent schema (and unlimited ancestors!) in test context (#​556) (db35920)

v0.29.0

Compare Source

  • feat!: update docs to account for changes in types and add additional example (#​891) (e105a71), closes #​891
Bug Fixes
  • object bug when nested object has a property with strict (#​871) (7f52b8a)
Features
BREAKING CHANGES
  • For users of @types/yup only, no function changes but the type def change is large enough that it warranted a major bump here

0.28.5 (2020-04-30)

Bug Fixes

0.28.4 (2020-04-20)

Bug Fixes
Features
  • make schema.type and array.innerType public API's (8f00d50)
  • provide keys in default noUnknown message (#​579) (ad5d015)

0.28.3 (2020-03-06)

Bug Fixes

v0.28.5

Compare Source

Bug Fixes

v0.28.4

Compare Source

Bug Fixes
Features
  • make schema.type and array.innerType public API's (8f00d50)
  • provide keys in default noUnknown message (#​579) (ad5d015)

v0.28.3

Compare Source

Bug Fixes

v0.28.2

Compare Source

v0.28.1

Compare Source

v0.28.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
  • use Number.isInteger. This works correctly for large numbers.

Related to https://github.com/jquense/yup/pull/147

  • reach() no longer resolves the returned schema meaning it's conditions have not been processed yet; prefer validateAt/castAt where it makes sense
  • required no longer shows up twice in describe() output for array and strings, which also no longer override required

v0.27.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
  • reach() no longer resolves the returned schema meaning it's conditions have not been processed yet; prefer validateAt/castAt where it makes sense
  • required no longer shows up twice in describe() output for array and strings, which also no longer override required

v0.26.3 - Tue, 28 Aug 2018 15:00:04 GMT

v0.26.0 - Fri, 20 Jul 2018 15:39:03 GMT

BREAKING CHANGES
  • locale number config properties less and more are now lessThan and moreThan

v0.25.1 - Wed, 16 May 2018 23:59:14 GMT

v0.25.0 - Tue, 15 May 2018 21:43:54 GMT

  • remove default export, there are only named exports now!
  • fix message defaults for built-in tests, default is only used for undefined messages
  • fix the describe() method so it works with nested schemas

v0.24.1 - Fri, 09 Feb 2018 19:09:02 GMT

v0.24.0 - Tue, 16 Jan 2018 14:44:32 GMT

v0.23.0 - Thu, 12 Oct 2017 17:08:47 GMT

** Probably not breaking but we are being safe about it **

  • 🎉 Add Synchronous validation! #​94

** Features **

  • Custom locales without import order #​125

v0.22.1 - Thu, 12 Oct 2017 14:49:16 GMT

  • Fix bug in browsers without symbol #​132

v0.22.0 - Sat, 26 Aug 2017 14:48:57 GMT

** Breaking **

  • Use native Set and lodash CloneDeep: #​109

** Fixes and Features

  • Better custom locale support: #​105
  • fix some messages: #​112
  • Clearer errors for common mistakes: #​108
  • New string validation length: #​67

v0.21.3 - Wed, 18 Jan 2017 15:39:25 GMT

  • 7bc01e0 [added] deep path support for from

v0.21.2 - Fri, 09 Sep 2016 16:52:44 GMT

  • be80413 [fixed] default in concat()

v0.21.1 - Mon, 29 Aug 2016 18:39:29 GMT

v0.21.0 - Mon, 29 Aug 2016 18:29:31 GMT

  • 8a8cc5b [changed] remove case aliases and simplify camelCase

v0.20.0 - Wed, 20 Jul 2016 02:02:08 GMT

  • f7446d2 [fixed] pass path correctly to cast()
  • 9b5232a [added] allow function then/otherwise bodies
  • 73858fe [changed] Don't throw on undefined values in cast()

v0.19.1 - Mon, 18 Jul 2016 21:53:05 GMT

  • 69c0ad4 [fixed] array().concat() incorrectly cleared the sub-schema

v0.19.0 - Fri, 24 Jun 2016 15:19:48 GMT

  • b0dd021 [changed] Split integer(), remove transform
  • 758ac51 [added] string.ensure
  • f2b0078 [changed] Less aggressive type coercions
  • ab94510 [fixed] boxed number allowed NaN

v0.18.3 - Mon, 09 May 2016 15:50:47 GMT

v0.18.2 - Mon, 25 Apr 2016 18:23:13 GMT

v0.18.1 - Mon, 25 Apr 2016 15:01:16 GMT

  • 816e607 [added] validation params to ValidationError

v0.18.0 - Sat, 23 Apr 2016 01:20:27 GMT

  • f827822 [changed] validate() on objects won't cast nested schema with strict()

v0.17.6 - Thu, 21 Apr 2016 14:59:59 GMT

  • 139dd24 [changed] lazy qualifies as a yup schema

v0.17.5 - Thu, 21 Apr 2016 11:20:16 GMT

  • c553cc0 [added] options to lazy resolve

v0.17.4 - Wed, 20 Apr 2016 14:15:39 GMT

v0.17.3 - Tue, 19 Apr 2016 20:24:09 GMT

v0.17.2 - Tue, 19 Apr 2016 16:46:54 GMT

v0.17.1 - Thu, 14 Apr 2016 19:12:22 GMT

  • ab78f54 [fixed] reach with lazy()

v0.17.0 - Thu, 14 Apr 2016 17:13:50 GMT

  • 6e9046b [changed] clean up interface, added lazy(), and fixed object strict semantics

v0.16.5 - Tue, 12 Apr 2016 13:36:38 GMT

  • c3b613b [added] strip() method for objects
  • 68fc010 [added] array.of shorthand

v0.16.4 - Sat, 09 Apr 2016 20:13:13 GMT

  • f30d1e3 [fixed] bug in date min/max with ref

v0.16.3 - Thu, 07 Apr 2016 19:13:23 GMT

v0.16.2 - Thu, 07 Apr 2016 17:57:44 GMT

  • 83c0656 [added] meta() and describe()

v0.16.1 - Tue, 05 Apr 2016 20:56:45 GMT

  • 9d70a7b [changed] doesn't throw when context is missing.
  • 594fa53 [changed] added reach error

v0.16.0 - Tue, 05 Apr 2016 20:17:40 GMT

  • 75739b8 [added] context sensitive reach()

v0.15.0 - Tue, 29 Mar 2016 14:56:15 GMT

  • 3ae5fdc [changed] null is not considered an empty value for isValid
  • 9eb42c6 [added] refs!

v0.14.2 - Tue, 29 Mar 2016 14:48:37 GMT

v0.14.1 - Tue, 16 Feb 2016 19:51:25 GMT

  • ff19720 [fixed] noUnknown and stripUnknown work and propagate to children

v0.14.0 - Mon, 08 Feb 2016 16:17:40 GMT

  • 86b6446 [fixed] camelCase should maintain leading underscores

v0.13.0 - Mon, 01 Feb 2016 20:49:40 GMT

  • 335eb18 [fixed] pass options to array sub schema
  • f7f631d [changed] oneOf doesn't include empty values
  • 0a7b2d4 [fixed] type and whitelist/blacklist checks threw inconsistent errors
  • 1274a45 [changed] required() to non-exclusive

v0.12.0 - Tue, 12 Jan 2016 19:12:18 GMT

  • 5bc250f [changed] don't clone unspecified object keys
  • 069c6fd [added] withMutation() method
  • e1d4891 [fixed] don't alias non existent fields

v0.11.0 - Sun, 08 Nov 2015 17:17:09 GMT

  • 686f6b1 [changed] concat() allows mixing "mixed" and other type

0.9.0

breaking

  • test functions are no longer passed path and context as arguments, Instead they are now values on this inside the test function.
  • test functions are longer called with the schema as their this value, use this.schema instead.

other changes

  • test functions are call with with a new context object, including, options, parent and createError for dynamically altering validation errors.

0.8.3

  • document stripUnknown
  • add recursive option
  • add noUnknown() test to objects

0.8.2

  • default for objects now adds keys for all fields, not just fields with non empty defaults

0.8.1

  • bug fix

0.8.0

breaking

  • test functions are now passed path and context values along with the field value. Only breaks if using the callback style of defining custom validations

0.7.0

breaking

  • the validation() method has been renamed to test() and has a new signature requiring a name argument
  • exclusive validations now trump the previous one instead of defering to it e.g: string().max(10).max(15) has a max of 15 instead of 10

other changes

  • expose advanced signature for custom validation tests, gives finer grained control over how tests are added
  • added the abortEarly (default: true) option
  • transforms are passed an addition parameter: 'originalValue' you allow recovering from a bad transform further up the chain (provided no one mutated the value)

0.6.3

  • fix concat() method and add tests

0.6.2

  • fix validations where nullable fields were failing due to null values e.g string.max()

0.6.1

  • fix export error

0.6.0

breaking

  • Removed the extend and create methods. Use whatever javascript inheritance patterns you want instead.
  • the resolution order of defaults and coercions has changed. as well as the general handling of null values.
    • Number: null will coerce to false when nullable() is not specified. NaN values will now fail isType() checks
    • String: null will coerce to '' when nullable() is not specified
    • Date: Invalid dates will not be coerced to null, but left as invalid date, This is probably not a problem for anyone as invalid dates will also fail isType() checks
  • default values are cloned everytime they are returned, so it is impossible to share references to defaults across schemas. No one should be doing that anyway
  • stopped pretending that using schemas as conditions in when() actually worked (it didn't)

other changes

  • transform() now passes the original value to each transformer. Allowing you to recover from a bad transform.
  • added the equals() alias for oneOf

0.5.0

breaking

  • isValid is now async, provide a node style callback, or use the promise the method returns to read the validity. This change allows for more robust validations, specifically remote ones for client code (or db queries for server code). The cast method is still, and will remain, synchronous.

other changes

  • added validate method (also async) which resolves to the value, and rejects with a new ValidationError

v0.26.10

Compare Source

v0.26.9

Compare Source

v0.26.8

Compare Source

v0.26.7

Compare Source

v0.26.6

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency yup to v0.26.6 Update dependency yup to v0.26.7 Jan 10, 2019
@renovate renovate bot force-pushed the renovate/yup-0.x branch from d523176 to 0cb9c77 Compare January 10, 2019 15:36
@renovate renovate bot force-pushed the renovate/yup-0.x branch from 0cb9c77 to 7f915a7 Compare January 23, 2019 20:40
@renovate renovate bot changed the title Update dependency yup to v0.26.7 Update dependency yup to v0.26.8 Jan 23, 2019
@renovate renovate bot changed the title Update dependency yup to v0.26.8 Update dependency yup to v0.26.9 Jan 23, 2019
@renovate renovate bot force-pushed the renovate/yup-0.x branch from 7f915a7 to 987bc37 Compare January 23, 2019 20:57
@renovate renovate bot changed the title Update dependency yup to v0.26.9 Update dependency yup to v0.26.10 Jan 23, 2019
@renovate renovate bot force-pushed the renovate/yup-0.x branch from 987bc37 to c92a7cd Compare January 23, 2019 21:10
@renovate renovate bot force-pushed the renovate/yup-0.x branch from c92a7cd to 3734e35 Compare March 14, 2019 13:38
@renovate renovate bot changed the title Update dependency yup to v0.26.10 Update dependency yup to v0.27.0 Mar 14, 2019
@renovate renovate bot force-pushed the renovate/yup-0.x branch from 3734e35 to 49a1ca6 Compare December 22, 2019 04:53
@renovate renovate bot changed the title Update dependency yup to v0.27.0 Update dependency yup to v0.28.0 Dec 22, 2019
@renovate renovate bot force-pushed the renovate/yup-0.x branch from 49a1ca6 to 17855d4 Compare February 8, 2020 15:49
@renovate renovate bot changed the title Update dependency yup to v0.28.0 Update dependency yup to v0.28.1 Feb 8, 2020
@renovate renovate bot force-pushed the renovate/yup-0.x branch from 17855d4 to 131f744 Compare March 15, 2020 05:59
@renovate renovate bot changed the title Update dependency yup to v0.28.1 Update dependency yup to v0.28.3 Mar 15, 2020
@renovate renovate bot force-pushed the renovate/yup-0.x branch from 131f744 to 1e3e935 Compare April 28, 2020 04:55
@renovate renovate bot changed the title Update dependency yup to v0.28.3 Update dependency yup to v0.28.4 Apr 28, 2020
@renovate renovate bot force-pushed the renovate/yup-0.x branch from 1e3e935 to b68ee69 Compare May 8, 2020 11:00
@renovate renovate bot changed the title Update dependency yup to v0.28.4 Update dependency yup to v0.28.5 May 8, 2020
@renovate renovate bot force-pushed the renovate/yup-0.x branch from b68ee69 to a2f0e7e Compare June 30, 2020 14:56
@renovate renovate bot changed the title Update dependency yup to v0.28.5 Update dependency yup to v0.29.1 Jun 30, 2020
@renovate renovate bot force-pushed the renovate/yup-0.x branch from a2f0e7e to fb0c584 Compare August 22, 2020 07:00
@renovate renovate bot changed the title Update dependency yup to v0.29.1 Update dependency yup to v0.29.3 Aug 22, 2020
@renovate renovate bot force-pushed the renovate/yup-0.x branch from fb0c584 to aca8a16 Compare November 28, 2020 15:52
@renovate renovate bot changed the title Update dependency yup to v0.29.3 Update dependency yup to v0.31.0 Nov 28, 2020
@renovate renovate bot force-pushed the renovate/yup-0.x branch from aca8a16 to 2c03d97 Compare December 9, 2020 18:55
@renovate renovate bot changed the title Update dependency yup to v0.31.0 Update dependency yup to v0.32.6 Dec 9, 2020
@renovate renovate bot force-pushed the renovate/yup-0.x branch from 2c03d97 to fbb43c7 Compare January 7, 2021 03:57
@renovate renovate bot changed the title Update dependency yup to v0.32.6 Update dependency yup to v0.32.8 Jan 7, 2021
@renovate renovate bot force-pushed the renovate/yup-0.x branch from fbb43c7 to 8246bb1 Compare April 26, 2021 16:01
@renovate renovate bot changed the title Update dependency yup to v0.32.8 Update dependency yup to v0.32.9 Apr 26, 2021
@renovate renovate bot force-pushed the renovate/yup-0.x branch from 8246bb1 to 24db088 Compare October 20, 2021 09:26
@renovate renovate bot changed the title Update dependency yup to v0.32.9 Update dependency yup to v0.32.11 Oct 20, 2021
@renovate
Copy link
Author

renovate bot commented Mar 25, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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.

2 participants