All Versions
15
Latest Version
2.2
Avg Release Cycle
346 days
Latest Release
1790 days ago

Changelog History
Page 1

  • v2.2 Changes

    October 17, 2019

    ๐Ÿ‘Œ Improvements

    • AllOf/AnyOf: Pass the matchers to constructor using varargs (Issue #245)
    • Matchers.anyOf: Fix generic bounds compatibility for JDK 11 (Issue #256, Issue #257)
    • AssertionError message is unhelpful when match fails for byte type (Issue #254, Issue #255)
    • ๐Ÿ‘‰ Use platform specific line breaks (PR #267)
    • ๐Ÿ— Build now checks for consistent use of spaces (PR #217)

    ๐Ÿ›  Bugfixes

  • v2.2-rc1 Changes

    September 05, 2019

    ๐Ÿ‘Œ Improvements

    • AllOf/AnyOf: Pass the matchers to constructor using varargs (Issue #245)
    • Matchers.anyOf: Fix generic bounds compatibility for JDK 11 (Issue #256, Issue #257)
    • AssertionError message is unhelpful when match fails for byte type (Issue #254, Issue #255)
    • ๐Ÿ‘‰ Use platform specific line breaks (PR #267)
    • ๐Ÿ— Build now checks for consistent use of spaces (PR #217)

    ๐Ÿ›  Bugfixes

  • v2.1 Changes

    December 20, 2018

    Overview for 2.1

    ๐Ÿš€ After a long hiatus without releases, this version simplifies the packaging of Hamcrest into a single jar: hamcrest-<version>.jar. Other big changes include Java 9 module compatibility, migrating the code repository from Google Code to ๐Ÿ›  GitHub, along with numerous other new features, improvements and bug fixes.

    ๐Ÿ’ฅ Breaking Changes for 2.1

    • ๐Ÿ“ฆ The way that the project is packaged has changed. This may cause problems with โฌ†๏ธ correctly upgrading transitive dependencies. Refer to the Hamcrest Distributables ๐Ÿ“š documentation for more information, and in particular, โฌ†๏ธ Upgrading from Hamcrest 1.x
    • ๐Ÿšš org.hamcrest.Factory has been removed. This was only used in old implementations ๐Ÿ— of the hamcrest build toolchain, and can safely be deleted from client code without any effect.

    ๐Ÿ”„ Changes for 2.1

    • ๐Ÿ“š Documentation updates
    • Several JavaDoc improvements and corrections
    • ๐Ÿ›  Fix JavaDoc examples
    • โฌ†๏ธ Upgraded to Java 7
    • ๐Ÿ— Build with Gradle
    • Publish a single jar hamcrest-2.1.jar
    • Publish pom-only artifacts for hamcrest-core and hamcrest-library.
    • โž• Add implementation for CharSequence length matcher
    • ๐Ÿ›  Fix for TypeSafeDiagnosingMatcher can't detect generic types for subclass
    • ๐Ÿ‘‰ Make Hamcrest an OSGI bundle
    • โž• Add StringRegularExpression matcher
    • ๐Ÿ›  Fix StringContainsInOrder to detect if a repeated pattern is missing
    • โž• Add ArrayAsIterableMatcher
    • ๐Ÿ›  Fix description for IsEqualIgnoringCase
    • โœ‚ Removed deprecated methods from previous release
    • ๐Ÿ‘Œ Improve mismatch description of hasItem/hasItems
    • General improvements to mismatch descriptions
    • ๐Ÿ—„ Deprecated several matcher factory methods of the for "isXyz"
    • ๐Ÿ›  Fix GH issue #75 - address doclint errors reported in JDK 1.8
    • ๐Ÿ›  Fix GH issue #69 - Iterable contains in order is null-safe
    • ๐Ÿ›  Fix GH issue #59 - added equalToObject() (i.e. unchecked) method
    • ๐Ÿ›  Fix GH issue #25 - arrayContaining(null, null) cause NullPointerException
    • ๐Ÿ›  Fix GH issue #36 - string matching on regular expressions
    • ๐Ÿ›  Fix GH issue #8 - isCloseTo() shows wrong delta in mismatch description
    • ๐Ÿ›  Fix GH issue #59 - add untyped version of equalTo, named equalToObject
    • ๐Ÿ›  Fix GC issue #131 - Implement IsEmptyMap, IsMapWithSize
    • ๐Ÿ›  Fix GC issue #187 - IsArray.describeMismatchSafely() should use Matcher.describeMismatch
    • ๐Ÿ›  Fix GC issue #155 - Add Matcher implementation for files
    • ๐Ÿ›  Fix GC issue #69 - fix NPE in IsIterableContainingInOrder
  • v2.1-rc4 Changes

    December 13, 2018

    โช Restore deleted classes to keep backwards compatibility with version 1.3, and mark them as deprecated.

  • v2.1-rc3 Changes

    November 29, 2018

    ๐Ÿ›  This fixes the problem that Maven has with interpreting pom-only artifacts. Both hamcrest-core and hamcrest-library artifacts now publish empty jars with a dependency on the hamcrest artifact.

  • v2.1-rc2 Changes

    November 27, 2018

    ๐Ÿš€ This release publishes pom-only artifacts for hamcrest-core and hamcrest-library for better backwards compatibility with previous releases.

  • v2.1-rc1 Changes

    November 25, 2018

    Overview

    ๐Ÿš€ After a long hiatus without releases, this version simplifies the packaging of
    Hamcrest into a single jar: hamcrest-<version>.jar. Other big changes include
    Java 9 module compatibility, along with numerous other improvements and bug
    ๐Ÿ›  fixes.

    ๐Ÿ’ฅ Breaking Changes

    Although the class API has not changed since Hamcrest 1.3, the way that the
    ๐Ÿ“ฆ project is packaged has changed. Refer to the Hamcrest Distributables
    ๐Ÿ“š documentation for more information.

    ๐Ÿ”„ Changes

    • Publish a single jar hamcrest-2.1.jar
    • ๐Ÿ“š Documentation updates
    • โž• Add implementation for CharSequence length matcher
    • ๐Ÿ›  Fix for TypeSafeDiagnosingMatcher can't detect generic types for subclass
    • ๐Ÿ“‡ Renamed IsCollectionContaining to IsIterableContaining
    • ๐Ÿ‘‰ Make Hamcrest an OSGI bundle
    • โž• Add StringRegularExpression matcher
    • ๐Ÿ›  Fix StringContainsInOrder to detect if a repeated pattern is missing
    • โž• Add ArrayAsIterableMatcher
    • ๐Ÿ›  Fix description for IsEqualIgnoringCase
    • ๐Ÿ›  Fix JavaDoc examples

    ๐Ÿ”– Version 2.0.0.0 Changes

    ๐Ÿ”– Version 2.1-rc1 also includes changes previous released (but un-tagged as version 2.0.0.0). These changes include:

    • โฌ†๏ธ Upgraded to Java 7
    • ๐Ÿ— Build with Gradle
    • Publish a single jar java-hamcrest-2.0.0.0.jar
    • โœ‚ Removed deprecated methods from previous release
    • ๐Ÿ‘Œ Improve mismatch description of hasItem/hasItems
    • General improvements to mismatch descriptions
    • Several JavaDoc improvements and corrections
    • ๐Ÿ—„ Deprecated several matcher factory methods of the for "isXyz"
    • ๐Ÿ›  Fix GH issue #75 - address doclint errors reported in JDK 1.8
    • ๐Ÿ›  Fix GH issue #69 - Iterable contains in order is null-safe
    • ๐Ÿ›  Fix GH issue #59 - added equalToObject() (i.e. unchecked) method
    • ๐Ÿ›  Fix GH issue #25 - arrayContaining(null, null) cause NullPointerException
    • ๐Ÿ›  Fix GH issue #36 - string matching on regular expressions
    • ๐Ÿ›  Fix GH issue #8 - isCloseTo() shows wrong delta in mismatch description
    • ๐Ÿ›  Fix GH issue #59 - add untyped version of equalTo, named equalToObject
    • ๐Ÿ›  Fix GC issue #131 - Implement IsEmptyMap, IsMapWithSize
    • ๐Ÿ›  Fix GC issue #187 - IsArray.describeMismatchSafely() should use Matcher.describeMismatch
    • ๐Ÿ›  Fix GC issue #155 - Add Matcher implementation for files
    • ๐Ÿ›  Fix GC issue #69 - fix NPE in IsIterableContainingInOrder
  • v1.3 Changes

    July 09, 2012
    • Introduce Condition class to ease the implementation of multi-step matches
    • โฌ†๏ธ Upgrade qdox (included in the generator) to the latest stable version
    • ๐Ÿ—„ Correct inadvertent deprecation of the Is.isA factory method
    • ๐Ÿ›  Fix issue #179 - AllOf does not output mismatch description
    • ๐Ÿ›  Fix issue #177 - Introduced closeTo matcher for BigDecimals
    • ๐Ÿ›  Fix issue #152 - Factory classes missing from matchers.xml
    • ๐Ÿ›  Fix issue #144 - OrderingComparison doesn't describe mismatch of comparables that return values other than (-1,0,1)
    • ๐Ÿ›  Fix issue #134 - DescribedAs does not delegate describeMismatch
    • ๐Ÿ›  Fix issue #106 - deprecation warning when writing custom matchers
    • ๐Ÿ›  Fix issue #101 - Added theInstance alias for sameInstance factory method
  • v1.3.RC4

    July 02, 2012
  • v1.3.RC3

    June 10, 2012