Skip to content

Latest commit

 

History

History
117 lines (75 loc) · 2.23 KB

NEWS.md

File metadata and controls

117 lines (75 loc) · 2.23 KB

master

0.7.0

  • Default record_errors: true #52
  • Add support for configuring record_errors #51

0.6.3

  • Fix error message for string responses. #49

0.6.2

  • Remove dependency on Rails. #47

0.6.1

  • Configure default options for all matchers. #46
  • Use JSON.pretty_generate to format error messages. #44

0.6.0

  • Accept a JSON string along with a response.

0.5.1

  • Update json-schema dependency to ~> 2.6.0. #37

0.5.0

Breaking Changes

  • No longer default to strict: true.

0.4.0

Breaking Changes

  • Rename the gem to json_matchers.

0.3.1

  • No longer condone auto-loading RSpec. Add documentation around adding require "json_matchers/rspec" to consumers' spec/spec_helper.rb

Breaking Changes

  • Rename module to JsonMatchers. This resolves clashing with gems like oj / oj_mimic_json that take control of the standard library's json module. As a result, the file to require is now json_matchers, instead of json/matchers.

0.3.0

  • Pass options from matcher to JSON::Validator

0.2.2

  • Includes validation failure message in RSpec output

0.2.1

  • Supports RSpec 2 syntax failure_message_for_should and failure_message_for_should_not

0.2.0

  • RSpec failure messages include both the body of the response, and the body of the JSON Schema file

0.1.0

Breaking Changes

0.0.1

Features

  • Validate your Rails response JSON with match_response_schema