Skip to content

Releases: thoughtbot/json_matchers

v0.11.0

05 Apr 16:53
Compare
Choose a tag to compare
  • Expand references of DocumentStore schemas (#93, 3b66b4d)

v0.10.0

02 Aug 02:19
Compare
Choose a tag to compare
  • BREAKING CHANGE Implement the validation with the json_schema gem instead
    of json-schema. #31
  • BREAKING CHANGE - remove support for configuring validation options.

v0.9.0

02 Aug 02:21
Compare
Choose a tag to compare

Deprecate support for configuring validation options.

In preparation for #31, this commit deprecates support for global
and matcher-specific options, like strict: true.

The json_schema gem does not accept similar configuration
options, so in the future we'll need to remove support entirely.

v0.8.0

06 Apr 21:34
Compare
Choose a tag to compare
  • Add assert_json_matches_schema and refute_json_matches_schema for
    use in minitest test suites #66

v0.7.3

06 Apr 21:34
Compare
Choose a tag to compare
  • Alias match_response_schema to match_json_schema. These matches can
    validate any JSON, whether it's from a request body, a response body, a Hash,
    or a String. #68

v0.7.2

06 Apr 21:34
Compare
Choose a tag to compare
  • Accept Array instances as arguments to match_response_schema #60

v0.7.1

06 Apr 21:34
Compare
Choose a tag to compare
  • Accept Hash instances as arguments to match_response_schema #58, #59

v0.7.0

06 Apr 21:33
Compare
Choose a tag to compare
  • Default record_errors: true #52
  • Add support for configuring record_errors #51

v0.6.3

08 Nov 15:31
Compare
Choose a tag to compare
  • Fix error message for string responses. #49

v0.6.2

28 Oct 19:45
Compare
Choose a tag to compare
  • Remove dependency on Rails. #47