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 runtypes to v6 #89

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 5, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
runtypes ^5.0.1 -> ^6.0.0 age adoption passing confidence

Release Notes

pelotom/runtypes

v6.3.0

Compare Source

Features
  • Add extend helper function to Record (#​239)
  • Add predefined Nullish runtype (#​241)

v6.2.1

Compare Source

Reverts
  • Revert "Remove workaround for resolved TypeScript issue (#​230)" (#​233)

v6.2.0

Compare Source

Features
  • Introduce Record .pick and .omit (#​161)
Bug Fixes
  • Handle objects with null prototypes (#​227)
Refactors
  • Remove workaround for resolved TypeScript issue (#​230)
  • Use any for internal type assertion (#​231)

v6.1.0

Compare Source

Features
Refactors
  • Unuse Exclude internally in static type of Record (#​223)
  • Widen type parameter boundary to RuntypeBase (#​225)

v6.0.0

Compare Source

Features
  • Support arbitrary length intersections (#​165)
  • Support arbitrary length tuples (#​168)
  • Support arbitrary length unions (#​166)
  • Support arbitrary length contracts (#​202)
  • Support arbitrary length async contracts (#​203)
  • Support symbol-keyed properties of object validation (#​204)
  • Provide descriptive error messages (#​209)
Bug Fixes
  • Add null check into hasKey utility (#​205)
  • Add missing readonly to Union function (#​208)
BREAKING CHANGES
  • the various Intersect2, Intersect3, ... types have all been replaced with a single Intersect type that takes a tuple of Runtype validators.
  • the various Tuple2, Tuple3, ... types have all been replaced with a single Tuple type that takes a tuple of Runtype validators.
  • the various Union2, Union3, ... types have all been replaced with a single Union type that takes a tuple of Runtype validators.
  • the various Contract2, Contract3, ... types have all been replaced with a single Contract type that takes a tuple of Runtype meaning parameters and a Runtype meaning a return type
  • the various AsyncContract2, AsyncContract3, ... types have all been replaced with a single AsyncContract type that takes a tuple of Runtype meaning parameters and a Runtype meaning a return type of Promise.
  • Dictionary now does not look over non-enumerable properties of tested objects, and Record now does not recognize inherited properties of passed schema

v5.2.0

Compare Source

  • Branded types now compatible with declaration option of TS (#​196)
  • Remove unnecessary files from packaging result
  • Add Optional runtype (#​113)
  • Support symbol key validation (#​200)

v5.1.0

Compare Source

  • Add BigInt runtype (#​185)
  • Add support for generic dictionary key (#​193)

v5.0.2

Compare Source

  • Docs for branded types (#​112)
  • Adds TypeScript 4.2 compatibility
  • Use export type (#​177)

Configuration

📅 Schedule: 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 WhiteSource Renovate. View repository job log here.

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.

1 participant