Skip to content

Releases: orangain/json-fuzzy-match

0.7.0

21 Jul 11:08
a18be8c
Compare
Choose a tag to compare

Breaking Changes

  • Now minimum supported Java version is 11.
  • Now only the following classes are exported from this module. Originally, other classes are not intended to be used as a library.
    • JsonMatch
    • JsonMatchError
    • JsonStringAssert

Notable Changes

  • Add support for optional marker suggested by @jlorenzen

Detailed Changes

Full Changelog: 0.6.0...0.7.0

0.7.0-alpha1

21 Jul 10:06
cc697be
Compare
Choose a tag to compare
0.7.0-alpha1 Pre-release
Pre-release

Breaking Changes

  • Now minimum supported Java version is 11.
  • Now only the following classes are exported from this module. Originally, other classes are not intended to be used as a library.
    • JsonMatch
    • JsonMatchError
    • JsonStringAssert

Notable Changes

  • Add support for optional marker suggested by @jlorenzen

Detailed Changes

Full Changelog: 0.6.0...0.7.0-alpha1

0.6.0

05 Feb 03:51
26fa48b
Compare
Choose a tag to compare

Breaking Changes

  • Starting from version 0.6.0, json-fuzzy-match is available on Maven Central and groupId is changed from com.github.orangain to io.github.orangain. Thank you jitpack so far.

What's Changed

New Contributors

Full Changelog: 0.5.1...0.6.0

0.6.0-alpha1

04 Feb 15:04
a735b7b
Compare
Choose a tag to compare

Breaking Changes

  • Starting from version 0.6.0, json-fuzzy-match is available on Maven Central and groupId is changed from com.github.orangain to io.github.orangain. Thank you jitpack so far.

What's Changed

New Contributors

Full Changelog: 0.5.1...0.6.0-alpha1

0.5.1

06 Feb 13:03
2e22865
Compare
Choose a tag to compare

Bug fixes

  • Fix match of empty object literal #9

0.5.0

27 Nov 12:27
Compare
Choose a tag to compare

Breaking changes

  • #7: Now JsonStringAssert.assertThat(...).jsonMatches(...) throws proper exception on failure. This improves developer experience in various environments.
    • This includes internal following API changes:
      • JsonMatch.jsonMatches() now returns Optional<JsonMatchError> instead of Optional<String>.
      • JsonMatchError is renamed to JsonMatchErrorDetail and new JsonMatchError is defined.

0.4.1

06 Feb 05:26
Compare
Choose a tag to compare

0.4.0

23 Jul 14:04
Compare
Choose a tag to compare

Breaking changes

  • As of version 0.4.0, json-fuzzy-match no longer depends on Karate. Now the json-fuzzy-match uses its own parser to parse JSON match patterns. Because of this, there are some breaking changes:
    • Lenient JSON syntax is no longer supported. Both pattern and actual value must be a valid JSON string.
    • The following complex matchers are no longer supported.
      • Optional fields, e.g. ##number
      • #? EXPR: self-validation expressions
      • #(EXPR): embedded expressions
      • Using expression in advanced array validation, e.g. #[]? _.length == 3
  • Error message of AssertionError has changed. Now IntelliJ IDEA will show a <Click to see difference> link to compare actual and pattern value side-by-side. Note that both actual and pattern value is pretty-formatted in the error message.
  • Now #uuid marker requires just 36 characters.

New features

  • New pattern markers #date and #datetime are available:
    • #date matches ISO 8601 date string, e.g. 2020-07-23.
    • #datetime matches ISO 8601 datetime string with timezone, e.g. 2020-07-23T14:56:11+09:00.