All Versions
45
Latest Version
Avg Release Cycle
136 days
Latest Release
1246 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:

  • 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:

  • 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)