-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
breaking changesChange that can breaking existing codeChange that can breaking existing codefeatureNew functionality or improvementNew functionality or improvement
Milestone
Description
Construct a schema using the description format.
Flags:
default,failover- plain value changed fromvalueto{ value }, function changes to direct reference without description.allowUnknown->unknownallowOnly->only
Options:
- Changed
optionstopreferences
Types:
- lazy
onceflag moved to root - object
shallowflag removed from describe() - alternatives wraps 'schema' matches item, rename
alternativestomatches - boolean remove true false from default list of truthy/falsy
- change symbol error string format
- object patterns
regexvalue changed to{ regex } - change ref description (remove
key, add all other properties when not the default, changereftotypeand wrap in{ ref }when object key is not ref). - Move
description,label, andunitto flags - Renamed
childrentokeys - Change string.regex to string.pattern and change arg to
{ pattern, options } - array
uniquearguments changed to original args - object
instanceofarguments changed to original args
Valids / Invalids:
- nun-null objects changed from
valueto{ value } - rename
validstoallowandinvalidstoinvalid - only included if different from type default
Tests:
argchanged toargs- single argument always include argument name
Misc:
meta->metas
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking changesChange that can breaking existing codeChange that can breaking existing codefeatureNew functionality or improvementNew functionality or improvement