All Versions
10
Latest Version
Avg Release Cycle
201 days
Latest Release
1108 days ago

Changelog History

  • v1.5.0

    March 19, 2017

    🔖 Version 1.5.0 - 3/19/2017

    • 👍 JSONassert now supports user-supplied error messages (thanks yasin3061@!)
    • ♻️ Some refactoring / code health cleanup (thanks picimako@!)
    • License headers on individual files
    • Java 8 friendly javadocs
  • v1.4.0

    October 30, 2016
    • 🔄 Change the implementation for org.json to one with a more open license
    • 🛠 Fix null pointer exception (issue #48)
    • 👌 Support wildcards in Customization.path
  • v1.3.0

    October 30, 2016
    • Fix & improve ArrayValueMatcher JavaDoc (thanks dmackinder!) Fix final JavaDoc example and add new example showing how to verify every array element using a custom comparator
    • Fix URL in pom.xml (aukevanleeuwen)
    • Update JSONCompareResult.java adding 2 new lists for missing and unexpected fileds (thanks riccorazza!)
    • Includes missing imports in test class (thanks javierseixas!)
  • v1.2.3

    February 05, 2014
    • This edition brought to you by dmackinder (thanks dmackinder!)
    • Added array size comparator enhancements.
    • Added ArrayValueMatcher to simplify verification of range of array elements.
    • Improve diagnostics from RegularExpressionValueMatcher.
    • Deprecated former Customization.matches() signature
  • v1.2.2

    December 31, 2013
    • ➕ Added support for JSONString
  • v1.2.1

    October 24, 2013
    • Remove commons-collection dependency
    • Updated Customization class to allow path-matching, and matching of expected and actual values with user-provided EqualityComparator.
    • Added AssertNotEquals
  • v1.2.0

    March 17, 2013
    • Fixed handling comparison of equivalent values across long, int, and double
    • Add JSONCompareMode to asserts to allow for more options than strict/not-strict
    • Added hooks to override/extend comparison behavior via JSONComparator
  • v1.1.1

    October 15, 2012
    • Return diagnostics (instead of throwing an exception) when comparing JSONObject and JSONArray
    • Expose field comparison results as a list in JSONCompareResult
    • Fix bug where actual JSON array doesn't contain JSONObjects with unique keys
    • Improve diagnostics
    • Unify some diagnostics
    • Fix handling of arrays of booleans
  • v1.1.0

    September 03, 2012
    • Added withStrictOrdering() and withExtensible() to JSONCompareMode
    • Javadoc fixes
    • Fix bug where expected and actual were reversed
    • Fix bug where nulls gave false positives in some cases
    • Simplified publishing Javadocs
  • v1.0.0

    April 05, 2012

    🎉 Initial release!