All Versions
45
Latest Version
Avg Release Cycle
136 days
Latest Release
848 days ago

Changelog History
Page 1

  • v3.0.0 Changes

    February 16, 2022

    Full Changelog

    ๐Ÿ’ฅ Breaking changes:

    • ๐Ÿ’Ž json-schema.gemspec: Raise required ruby version to 2.5 #466 (bastelfreak)
    • ๐Ÿ’Ž Call URI.open directly / Drop Ruby 2.4 support #462 (bastelfreak)

    Implemented enhancements:

    ๐Ÿ›  Fixed bugs:

    • ๐Ÿ›  Bugfix: Fix fragment when used with extended schema #464 (bastelfreak)

    Closed issues:

    • Failure/Error: require 'json-schema-rspec', cannot load such file -- multi_json #448
    • ๐Ÿ‘ Allow type or null? #441
    • type for NilClass #428
    • It would be very useful if the required property name was included in the error object #417
    • โฑ Uninitialized constant JSON::Validator::Timeout #384

    ๐Ÿ”€ Merged pull requests:

    • โšก๏ธ update README.md/gemspec; migrate to GitHub actions #456 (bastelfreak)
    • โšก๏ธ Update json-schema.gemspec; require addressable 2.8 and newer #455 (ahsandar)
    • โšก๏ธ Update README.md #444 (cagmz)
    • Load VERSION.yml from relative path, so that developers can use "bundle config local.json-schema" #419 (ndbroadbent)
    • ๐Ÿ›  Fix typo in Changelog (2019 => 2018) #418 (ndbroadbent)
    • โฑ Made sure we require timeout before using it #385 (iainbeeston)
    • ๐Ÿ’Ž webmock 3 drops ruby 1.9 support; specify this in its gemfile #383 (notEthan)
    • ๐Ÿ”จ Refactor common test suite #377 (iainbeeston)
    • Corrected the draf6 schema id #376 (iainbeeston)
    • โž• Added a rake task to automatically download the latest metaschemas #375 (iainbeeston)
    • โœ… Re-enabled test warnings #374 (iainbeeston)
    • ๐Ÿ›  Fix for string invalid scheme error when string contains colon #373 (benSlaughter)
    • โž• Added simplecov #343 (iainbeeston)
    • Extracted all limits out to their own file #342 (iainbeeston)
    • ๐Ÿ›  Fixes for 1.9 #1 (jarib)
  • v2.8.1 Changes

    October 14, 2018

    Full Changelog

    Closed issues:

    • ๐Ÿ”– Version 2.8.1 Patch release? #415
    • possible to enforce schema ? #410
    • undefined method `each' for "<property>":String #409
    • ๐Ÿ“š Documentation Request: How do I validate the schema itself? #398
    • :errors_as_objects can never be false in base_schema.validate #392
    • too complex #390
    • ๐Ÿš€ Release 2.8.0 of the gem is missing a tag in the repo #389
    • โœ‚ Remove trailing whitespaces #378
    • Failure on 'allOf' validation message output is too generic #320
  • v2.8.0 Changes

    February 07, 2017

    Full Changelog

    Closed issues:

    • ๐Ÿ“œ JSON::Validator.fully_validate(filename, data) fails when trying to parse filename as JSON #366
    • 2.7.0 fails validating not required fields #364
    • Unable to activate json-schema-2.6.2, because addressable-2.4.0 conflicts with addressable (~> 2.3.8) #356
    • Missing comma after empty array not detected as invalid #352
    • ๐Ÿ“œ JSON::Util::URI.parse memory leak #329
    • โž• additionalProperties is tested and implemented incorrectly #321

    ๐Ÿ”€ Merged pull requests:

    • โšก๏ธ Updated ruby versions for travis #372 (iainbeeston)
    • Load local copy of draft schemas #362 (iainbeeston)
    • ๐Ÿ“œ Made sure clear_cache also clears the cache of parsed uris #361 (iainbeeston)
    • Simplified #validator_for methods #346 (iainbeeston)
    • ๐Ÿšš Moved Validator#absolutized_uri and RefAttribute's ref parsing into the URI module #345 (iainbeeston)
    • ๐Ÿ—„ Deprecated JSON::Validator#validate2 #336 (iainbeeston)
    • Deprecated #extend_schema_definition #335 (iainbeeston)
    • ๐Ÿ‘‰ Use self or self.class rather than fully qualified class names #333 (iainbeeston)
    • โœ… Stopped the additional properties test from using class_eval #332 (iainbeeston)
  • v2.7.0 Changes

    September 29, 2016

    Full Changelog

    Closed issues:

    • โšก๏ธ Test failure due to update in JSON-Schema-Test-Suite #357
    • โž• addressable conflict #355
    • String "uri" format validation doesn't work #353
    • How I can set string format by uri or email? #351
    • Whitelisting properties #331
    • ๐Ÿ— How to build a complex schema when using with Rails #328
    • Issues validating objects with oneOf #327
    • ๐Ÿ“œ Trouble with Oj parser on parse error #305
    • โœ… tests failing with ruby 2.2 uninitialized constant JSONSchemaDraft1Test::ArrayValidation (NameError) #262

    ๐Ÿ”€ Merged pull requests:

  • v2.6.2 Changes

    May 13, 2016

    Full Changelog

    Closed issues:

    • "required" array in sub schema not being checked #325
    • ๐Ÿ“œ optional attributes are not being parsed as optional #324
    • JSON pointers are broken when they contain a : #319
    • MultiJSON receives filepath instead of its content #318
    • Chef DK installs addressable 2.4.0 which conflicts with the requirement for 2.3.8 for json-schema #317
    • Empty array (incorrectly?) triggering ValidationError #311

    ๐Ÿ”€ Merged pull requests:

    • Made it possible to have refs that include URI-special characters #322 (iainbeeston)
    • Reformatted the examples to make them easier to read #316 (iainbeeston)
  • v2.6.1 Changes

    February 26, 2016

    Full Changelog

    Closed issues:

    • ๐Ÿ‘€ uninitialized constant JSON::Validator::SchemaParseError #307
    • How can I perform more complex validations #306
    • fully_validate // anyOf, typeOf, allOf don't raise validation errors when using record_errors: true #300
    • ๐Ÿ”‹ Feature Request: provide ref-like path for allOf/oneOf matches if validation fails. #298
    • ๐Ÿ‘€ NameError: uninitialized constant JSON::Validator::SchemaParseError #292
    • oneOf and patternProperties validates incorrectly #291
    • Validate a schema #287

    ๐Ÿ”€ Merged pull requests:

  • v2.6.0 Changes

    January 08, 2016

    Full Changelog

    Closed issues:

    • How to validate data with only part of my schema #288
    • โž• Addressable::Uri does not raise error on invalid strings #282
    • typeOf array doesn't validate references #281
    • register_format_validator doesn't add format to @@default_validator #276
    • ๐Ÿ‘ JSON API 1.0 Support #272

    ๐Ÿ”€ Merged pull requests:

  • v2.5.2 Changes

    November 24, 2015

    Full Changelog

    Closed issues:

    • Properties as Property not working #273
    • Schema nesting with id key is not validating as expected #270
    • Does not validate email correctly... #269
    • No implicit conversion of integer #259
    • No implicit conversion of integer to string with links #258
    • ๐Ÿ“œ Automatically parse number values #257
    • Does not fail for type number when the data is string #251
    • ๐Ÿš€ Prepare release of 2.5.1 #228
    • Unable to set clear_cache option #225
    • ๐Ÿ‘ป Incorrect exception message in 2.5.0 #220
    • Trouble with forbidden additionalProperties and one/any/allOf? #161

    ๐Ÿ”€ Merged pull requests:

  • v2.5.1 Changes

    February 23, 2015

    Full Changelog

    Closed issues:

    • Passing in a fragment with an even number of tokens can lead to undefined method `validate' for #<Hash...> #265
    • Absoluteness correction #233
    • Consider releasing 2.5.1 #227

    ๐Ÿ”€ Merged pull requests:

    • ๐Ÿ›  Ignore fragments in schema caching. Fixes #233 #234 (jphastings)
    • Only add violating properties to error message for strict validation #230 (RST-J)
    • ๐Ÿ‘‰ Show sub-errors for oneOf #216 (isage)
    • โšก๏ธ Update README - latest version is currently 2.5.0 #215 (take)
    • End single quote in validation error #213 (olleolleolle)
    • โž• add description for nested types array and object #212 (brancz)
    • โšก๏ธ Updated to addressable 2.3.7 #226 (iainbeeston)
    • โšก๏ธ Made sure we really do update the common test suite before test runs #224 (iainbeeston)
    • โž• Added Ruby 2.2 to the build matrix #223 (iainbeeston)
    • ๐Ÿ“‡ Renamed variable in oneOf to avoid name clash #221 (iainbeeston)
    • Issue with Fixnum and Float in enum #219 (RST-J)
  • v2.5.0 Changes

    December 03, 2014

    Full Changelog

    Closed issues:

    • โž• additionalProperties and $ref are not working together #185
    • Dependencies #179
    • ๐Ÿ‘‰ Use Addressable for handling URIs? #173
    • โœ… Full support for the common test suite #163
    • โœ‚ Remove yajl-Ruby support in favour of multi_json #162
    • โฌ‡๏ธ Drop support for email and hostname formats #159
    • format: date-time validator isn't leap-second compliant #123
    • Symbol keys not handled in combination with additionalProperties #108
    • When extending a schema in folder names with spaces #100
    • Enhancing schema draft #99
    • ๐Ÿ’Ž Doesn't work in JRuby (1.7.10 or 1.7.6) with --1.8 #95
    • ๐Ÿ‘Œ Support for string "format" attribute #79
    • โœ… Provide secure way of testing #77
    • Breaks with multi_json 1.7.9 (works with 1.7.7) #73
    • โž• additionalProperties and extends don't work together #31
    • ๐Ÿš€ Next minor release (2.5.0) #202

    ๐Ÿ”€ Merged pull requests:

    • โž• Added bundler gem management rake tasks #211 (iainbeeston)
    • ๐Ÿ”จ Refactored parser error code #210 (iainbeeston)
    • WebMock is on globally now; no need to disable it #208 (pd)
    • โž• Addressable spring clean #199 (iainbeeston)
    • โœ… Tidied the common test suite tests #197 (iainbeeston)
    • โœ‚ Remove "no dependencies" claim from README #194 (pd)
    • โœ‚ Remove unused Schema#base_uri method #193 (pd)
    • โšก๏ธ Updated the common test suite #191 (iainbeeston)
    • ๐Ÿ‘‰ Use unescape for paths before reading files #188 (RST-J)
    • ๐Ÿ— Use the new build env on Travis #187 (joshk)
    • 0๏ธโƒฃ oneOf and anyOf errors where default values are present #181 (tonymarklove)
    • Only stringify schema once #180 (treppo)
    • ๐Ÿ”จ Refactor ref schema URI construction. #177 (gabrielg)
    • โœ… Use RFC 2606 reserved invalid DNS name in tests. #176 (gabrielg)
    • ๐Ÿ‘‰ Use Addressable gem to handle URIs #174 (RST-J)
    • General cleanup, mostly focused on attributes/* #172 (pd)
    • โœ… Extend common-test-suite to ignore individual test cases #171 (mpalmer)
    • โž• Added some tests around file uris #169 (iainbeeston)
    • โž• Add some test helpers for common patterns #168 (pd)
    • โœ‚ Removed multijson license #167 (iainbeeston)
    • โž• Add mailing list and IRC channel #166 (hoxworth)
    • ๐Ÿ›  Fix draft3 disallow validation #165 (pd)
    • Enable refremote specs #164 (pd)
    • ๐Ÿ›  Fix for relative ref with fragment identifier on Windows #109 (jlblcc)
    • Any ref issue #200 (RST-J)
    • ๐Ÿ›  Fix test runs for optional dependencies #196 (iainbeeston)
    • JSON::Schema::Reader #175 (pd)