Skip to content

v3.0.0

Latest

Choose a tag to compare

@frantuma frantuma released this 20 Oct 13:57
· 1 commit to main since this release

3.0.0 (2026-10-20)

  • feat(validation)!: ship precompiled JSON Schema validators (d0fb667)

Bug Fixes

  • deps: move @types/ramda to devDependencies (4cb4981)
  • validation: compile the AsyncAPI 2.3 to 2.6 schemas (66d537f)
  • validation: resolve JSON positions without json-source-map (cd8c54d)
  • validation: resolve positions in documents with lone CR breaks (4d50431)

Performance Improvements

  • validation: look up mapping keys in linear time (c117d13)
  • validation: stop keeping yaml source tokens for positions (a25b8af)
  • validation: trim and size the edit distance like leven did (0836e64)

BREAKING CHANGES

  • the JSON Schema validation providers no longer accept
    a schema of their own. The OpenAPI 2.0, 3.0 and 3.1, Arazzo 1.0 and 1.1
    and Overlay providers take no constructor arguments, and
    JsonSchemaValidationProvider takes a validation function instead of a
    schema and no longer exposes its ajv, ajv2020 and jsonSchema fields. To
    validate against a schema of your own, compile it with your own Ajv and
    pass the function to a subclass of JsonSchemaValidationProvider, as the
    README's "Migrating to 3.0" section shows.