Open
Conversation
8fdac5f to
1fcc0d4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.6.0→^7.0.0Release Notes
runtypes/runtypes (runtypes)
v7.0.4Compare Source
What's Changed
@ts-expect-errorin validation methods by @yuhr in #484Full Changelog: runtypes/runtypes@v7.0.3...v7.0.4
v7.0.3Compare Source
What's Changed
anyinputs correctly by @yuhr in #481Full Changelog: runtypes/runtypes@v7.0.2...v7.0.3
v7.0.2Compare Source
What's Changed
selfofwithmodifications on everycloneby @yuhr in #477Full Changelog: runtypes/runtypes@v7.0.1...v7.0.2
v7.0.1Compare Source
What's Changed
inspectby @yuhr in #471Maybeby @yuhr in #472Runtype.Coreby @yuhr in #474Full Changelog: runtypes/runtypes@v7.0.0...v7.0.1
v7.0.0Compare Source
Migration From v6
Notable breaking changes from v6:
Recordhas been renamed toObjectDictionaryhas been renamed toRecordand the order of arguments is nowRecord(Key, Value).Or(...)and.And(...)utility have been renamed to.or(...)and.and(...)Optionalis no longer a runtype, but a contextual wrapper only meaningful inObjectfields.validate(...)method has been renamed to.inspect(...)and performs parsing by defaultFailurehas been changed drastically to include full details of validation failuresHighlighted new features:
What's Changed
typescriptto5.3.3by @yuhr in #337Constraintruntype by @yuhr in #345sort-exports/sort-exportsby @yuhr in #346jdx/mise-action@v2instead ofjdx/rtx-action@v1by @yuhr in #347RecordtoObjectby @yuhr in #349DictionarytoRecordby @yuhr in #350Recordby @yuhr in #351deno.lockby @yuhr in #354Optionalto conformnoUncheckedIndexedAccessby @yuhr in #355OrtoorandAndtoandby @yuhr in #356Partialby @yuhr in #358Objectby @yuhr in #360dntby @yuhr in #361README.mdby @yuhr in #362Staticby @yuhr in #365anyby @yuhr in #368import/no-unused-modulesESLint rule by @yuhr in #371package.jsonfor npm releases by @yuhr in #372Runtypefundamentally by @yuhr in #375Dictionaryby @yuhr in #376Guardconstructor by @yuhr in #377Constraintby @yuhr in #378withAssertionhelper by @yuhr in #380withConstraintby @yuhr in #381withby @yuhr in #384Optionalpseudo-runtype by @yuhr in #388overrideby @yuhr in #390Objectby @yuhr in #393SameValueZeroequality forLiteralby @yuhr in #394conformhelper method by @yuhr in #397defaultinObjectby @yuhr in #401Uniontypes of common utilities by @yuhr in #402UnionandIntersectby @yuhr in #405UnionofLiterals in key ofRecordby @yuhr in #406Recordby @yuhr in #407SymbolForby @yuhr in #408Unionby @yuhr in #415Brandby @yuhr in #416Unionby @yuhr in #418Intersectby @yuhr in #419inspectmethod in place ofvalidateby @yuhr in #423Constraintby @yuhr in #424Runtypeas class by @yuhr in #426Objectby @yuhr in #428ValidationErrortemporarily by @yuhr in #432matchrequirewhenby @yuhr in #433matchutility ofUnionby @yuhr in #435innertodetailinFailureby @yuhr in #440PROPERTY_PRESENTandNOTHING_EXPECTEDby @yuhr in #441IntersectofObjects by @yuhr in #442IntersectofObjects by @yuhr in #443Tupleby @yuhr in #445Failuretype by @yuhr in #446Tupleby @yuhr in #448InstanceOfby @yuhr in #449defaultValuetodefaultby @yuhr in #451Parserby @yuhr in #452returnstoresolvesinAsyncContractby @yuhr in #453Objectcorrectly by @yuhr in #455UnionandIntersectby @yuhr in #457Symbolcorrectly by @yuhr in #458ContractandAsyncContractby @yuhr in #460index.tsby @yuhr in #462Full Changelog: runtypes/runtypes@v6.7.0...v7.0.0
v6.7.0Compare Source
What's Changed
InstanceOfruntype by @yuhr in pelotom#313New Contributors
Full Changelog: runtypes/runtypes@v6.6.0...v6.7.0
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.
This PR was generated by Mend Renovate. View the repository job log.