json-schema-library
Advanced tools
Changelog
7.0.0
Breaking Changes
Core
interface by new Draft
interfaceInterface
to Draft
Interface
to Draft
addSchema
to addRemoteSchema
compileSchema
to have an additional schema-parameter for rootSchema referencecompileSchema
and addRemoteSchema
to work on instance state, instead of global stateaddRemoteSchema
, compileSchema
now requires draft instance as first parameteraddValidator
, compileSchema
, createSchemaOf
, each
, eachSchema
, getChildSchemaSelection
, getSchema
, getTemplate
, isValid
, step
, validate
. They are still accessible under the draftConfigs of each draft-versionJsonEditor
to draft07Milestone
Changelog
6.1.0
getTemplate
to resolve $ref to infinityBreaking Changes
iterateSchema
renamed to eachSchema
validate
and isValid
changed signature from (schema, data, [pointer]) to (data, [schema], [pointer])validateAsync
changed signature from (schema, data, [pointer], [onError]) to (data, [{ schema, pointer, onError }])getTemplate
changed signature from (schema, data) to (data, [schema])getSchema
changed signature from (schema, data, [pointer]) to (pointer, [data], [schema])each
changed signature from (schema, data, [pointer]) to (data, [schema], [pointer])resolveOneOf
changed signature from (schema, data, [pointer]) to (data, [schema], [pointer])precompileSchema
renamed to compileSchema
Milestone consistent feature support
Milestone add remaining draft04 features
Milestone customizable default and form (json-editor) validation
Milestone custom validator (form-validation, oneOfProperty)
step
in isValid -- bad: circular dependencies with step -> guessOneOfSchema -> isValid --X-> step