Releases: sagold/json-schema-library
Releases · sagold/json-schema-library
v11.2.0
What's Changed
- introduced
throwOnInvalidRefto abort validation when a$refcannot be resolved - added export of meta-schema for all drafts using
import "json-schema-library/remotes" - added support for format validations:
idn-hostname,iri,iri-reference
Full Changelog: v11.1.0...v11.2.0
v11.1.0
- introduced upcoming keyword
propertyDependenciesKeywordto package export - added support for keyword
deprecatedMessage - introduced schema validation errors and unused keyword annotations
Full Changelog: v11.0.0...v11.1.0
v11.0.0
v11.0.0
- introduced annotations
- added
node.createAnnotationhelper - changed typing to strict
- added annotations-list to
validate()result - added keyword support for
deprecated: truewhich returns adeprecated-warningannotation - added support for ref resolution in
getSchemaType - introduced esm module export
- fixed typo in argument
disableRecusionLimitdisableRecursionLimit - added settings to exports for global changes of settings
- introduce setting
REGEX_FLAGSand schema-propertyregexFlagsto customize regex flags to use evaluating regex - fixed an issue resolving non-URI compatible $ref-targets containing
#/definitions
breaking changes:
- Return type of validators is now
ValidationReturnTypeinstead ofValidationResult - type
AnnotationDatareplacesErroData
v10.2.0
What's Changed
- Add useTypeDefaults option to toggle use of type specific initial values by @manisatwick in #75
New Contributors
- @manisatwick made their first contribution in #75
Full Changelog: v10.1.2...v10.2.0
v10.0.0
- Added support for draft-2019-09 and draft-2020-12
- Full compliance to JSON Schema Test-Suite from draft04 to draft-2020-12
- Simplified API Usage
Refer to list of breaking changes for upgrading json-schema-library.
v9.2.1
v9.1.1
- fix issue in allOf wrongly merging sub-schemas
Full Changelog: v9.1.0...v9.1.1
9.1.0
- added validation of format "idn-email"
Full Changelog: v9.0.3...v9.1.0
v9.0.2
What's Changed
- format validation for
email,date,date-timeandtimeare now valid if string is empty
Full Changelog: v9.0.1...v9.0.2
v9.0.1
Fixes floating point issue in multipleOf validation
Full Changelog: v9.0.0...v9.0.1