All Versions
10
Latest Version
Avg Release Cycle
161 days
Latest Release
1319 days ago
Changelog History
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 method
validate'` error
-
v2.8.0 Changes
February 07, 2017โ Added
- ๐ Ruby 2.4 support
๐ Changed
- ๐ Made the
:clear_cache
option forvalidate
also clear the URI parse cache - ๐ Moved
JSON::Validator.absolutize_ref
and the ref manipulating code inJSON::Schema::RefAttribute
intoJSON::Util::URI
- ๐ Made validation errors refer to json schema types not ruby types
๐ Deprecated
JSON::Validator#validator_for
in favor ofJSON::Validator#validator_for_uri
JSON::Validator.validate2
in favor ofJSON::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 onJSON::Validator
ultimately callvalidate!
- โก๏ธ Updated addressable dependency to 2.4.0
- Attached failed
uri
orpathname
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 aJSON::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