All Versions
10
Latest Version
Avg Release Cycle
161 days
Latest Release
1105 days ago

Changelog History

  • v2.8.1 Changes

    October 14, 2018

    ๐Ÿ”„ Changed

    • All limit classes are now stored in their own files in 'json-schema/attributes/limits'
    • All attribute classes are now stored in their own files in 'json-schema/attributes'

    ๐Ÿ›  Fixed

    • Corrected the draft6 schema id to http://json-schema.org/draft/schema#
    • Rescue URI error when initializing a data string that contains a colon
    • Fragments with an odd number of components no longer raise an undefined methodvalidate'` error
  • v2.8.0 Changes

    February 07, 2017

    โž• Added

    • ๐Ÿ’Ž Ruby 2.4 support

    ๐Ÿ”„ Changed

    • ๐Ÿ“œ Made the :clear_cache option for validate also clear the URI parse cache
    • ๐Ÿšš Moved JSON::Validator.absolutize_ref and the ref manipulating code in JSON::Schema::RefAttribute into JSON::Util::URI
    • ๐Ÿ’Ž Made validation errors refer to json schema types not ruby types

    ๐Ÿ—„ Deprecated

    • JSON::Validator#validator_for in favor of JSON::Validator#validator_for_uri
    • JSON::Validator.validate2 in favor of JSON::Validator.validate!
    • JSON::Schema::Validator#extend_schema_definition in favour of subclassing
  • v2.7.0 Changes

    September 29, 2016

    ๐Ÿ›  Fixed

    • Made sure we really do clear the cache when instructed to
    • It's now possible to use reserved words in property names
    • โœ‚ Removed support for setting "extends" to a string (it's invalid json-schema - use a "$ref" instead)
    • ๐Ÿ˜Œ Relaxed 'items' and 'allowedItems' validation to permit arrays to pass even when they contain fewer elements than the 'items' array. To require full tuples, use 'minItems'.

    ๐Ÿ”„ Changed

    • Made all validate* methods on JSON::Validator ultimately call validate!
    • โšก๏ธ Updated addressable dependency to 2.4.0
    • Attached failed uri or pathname to read errors for more meaning
  • v2.6.2 Changes

    May 13, 2016

    ๐Ÿ›  Fixed

    • Made it possible to include colons in a $ref

    ๐Ÿ”„ Changed

    • Reformatted examples in the readme
  • v2.6.1 Changes

    February 26, 2016

    ๐Ÿ›  Fixed

    • ๐Ÿ‘€ Made sure schemas of an unrecognized type raise a SchemaParseError (not Name error)

    ๐Ÿ”„ Changed

    • Readme was converted from textile to markdown
  • v2.6.0 Changes

    January 08, 2016

    โž• Added

    • โž• Added a changelog

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Improved performance by caching the parsing and normalization of URIs
    • ๐Ÿ‘€ Made validation failures raise a JSON::Schema::SchemaParseError and data loading failures a JSON::Schema::JsonLoadError
  • v2.5.2

    November 24, 2015
  • v2.5.1

    February 23, 2015
  • v2.5.0

    December 03, 2014
  • v2.4.1

    October 28, 2014