Skip to content

Latest commit

 

History

History
93 lines (56 loc) · 3.26 KB

File metadata and controls

93 lines (56 loc) · 3.26 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.2.7 - 2026-06-10

Fixed

  • Include the JSON Schema metaschema data files in the packaged gem. 0.2.6 was built without the data/draft-* submodules checked out, so create_registry crashed with Sources::Error on the released gem. (@skryukov)

0.2.6 - 2026-06-10 [YANKED]

Added

  • New :annotated output format interleaves the instance data with annotations collected during evaluation (title/description by default, configurable via keywords:). Each node becomes {"title" => ..., "value" => ...}, mirroring the shape of the data — handy for rendering values alongside their schema-defined labels. (@skryukov, #13)
  • JSONSkooma::UnexpectedSchemaClassError < RegistryError is now raised by Registry#schema when the resolved fragment does not match the expected class. Extensions can rescue this specific error instead of matching on message text. (@skryukov)
  • Registry#load_json(uri) is now public so extensions can load a raw document via registered sources. (@skryukov)
  • Keywords::ValueSchemas.default_schema_class= lets extensions set the fallback class used to wrap sub-schemas when a keyword does not specify its own schema_value_class. (@skryukov)

0.2.5 - 2024-12-25

Added

0.2.4 - 2024-10-31

Added

0.2.3 - 2024-04-28

Fixed

  • Fix JSONSkooma::Sources::Remote to allow remote refs. (@killondark)

0.2.2 - 2024-04-09

Fixed

  • Fix $dynamicAnchor boolean evaluation. (@skryukov)

0.2.1 - 2023-12-03

Fixed

  • Make unevaluated* keyword respect reference keywords. (@skryukov)
  • Fix :basic output. (@skryukov)

0.2.0 - 2023-10-23

Added

  • Add JSON Schema evaluation against a reference. (@skryukov)

Changed

  • Optimized JSON Schema evaluation. (@skryukov)

Fixed

  • Fix compatibility issues for Ruby < 3.1 and JRuby. (@skryukov)
  • Fix Zeitwerk eager loading. (@skryukov)

0.1.0 - 2023-09-27

Added