Sourced from hamcrest-library's releases.
hamcrest-java-2.2
Improvements
- AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue https://github.com/facebook/flipper/issues/245](hamcrest/JavaHamcrest#245))
- Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue https://github.com/facebook/flipper/issues/256](hamcrest/JavaHamcrest#256), [Issue https://github.com/facebook/flipper/issues/257](hamcrest/JavaHamcrest#257))
- AssertionError message is unhelpful when match fails for byte type ([Issue https://github.com/facebook/flipper/issues/254](hamcrest/JavaHamcrest#254), [Issue https://github.com/facebook/flipper/issues/255](hamcrest/JavaHamcrest#255))
- Use platform specific line breaks ([PR https://github.com/facebook/flipper/issues/267](hamcrest/JavaHamcrest#267))
- Build now checks for consistent use of spaces ([PR https://github.com/facebook/flipper/issues/217](hamcrest/JavaHamcrest#217))
Bugfixes
- Fix compatibility issue for development with Android D8 (https://github.com/facebook/flipper/commit/dfddcc483ebb5448bf663e6452f8732875c7db1a) ([Issue https://github.com/facebook/flipper/issues/246](hamcrest/JavaHamcrest#246))
- Fix typo in license name ([Issue https://github.com/facebook/flipper/issues/247](hamcrest/JavaHamcrest#247))
- 1.3 compatible constructors for string matchers ([Issue https://github.com/facebook/flipper/issues/259](hamcrest/JavaHamcrest#259), [Issue https://github.com/facebook/flipper/issues/260](hamcrest/JavaHamcrest#260))
- Fix for split packages with Java 9 modules ([Issue https://github.com/facebook/flipper/issues/269](hamcrest/JavaHamcrest#269), [PR https://github.com/facebook/flipper/issues/270](hamcrest/JavaHamcrest#270))
hamcrest-java-2.2-rc1
Improvements
- AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue https://github.com/facebook/flipper/issues/245](hamcrest/JavaHamcrest#245))
- Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue https://github.com/facebook/flipper/issues/256](hamcrest/JavaHamcrest#256), [Issue https://github.com/facebook/flipper/issues/257](hamcrest/JavaHamcrest#257))
- AssertionError message is unhelpful when match fails for byte type ([Issue https://github.com/facebook/flipper/issues/254](hamcrest/JavaHamcrest#254), [Issue https://github.com/facebook/flipper/issues/255](hamcrest/JavaHamcrest#255))
- Use platform specific line breaks ([PR https://github.com/facebook/flipper/issues/267](hamcrest/JavaHamcrest#267))
- Build now checks for consistent use of spaces ([PR https://github.com/facebook/flipper/issues/217](hamcrest/JavaHamcrest#217))
Bugfixes
- Fix compatibility issue for development with Android D8 (https://github.com/facebook/flipper/commit/dfddcc483ebb5448bf663e6452f8732875c7db1a) ([Issue https://github.com/facebook/flipper/issues/246](hamcrest/JavaHamcrest#246))
- Fix typo in license name ([Issue https://github.com/facebook/flipper/issues/247](hamcrest/JavaHamcrest#247))
- 1.3 compatible constructors for string matchers ([Issue https://github.com/facebook/flipper/issues/259](hamcrest/JavaHamcrest#259), [Issue https://github.com/facebook/flipper/issues/260](hamcrest/JavaHamcrest#260))
- Fix for split packages with Java 9 modules ([Issue https://github.com/facebook/flipper/issues/269](hamcrest/JavaHamcrest#269), [PR https://github.com/facebook/flipper/issues/270](hamcrest/JavaHamcrest#270))
hamcrest-java-2.1
Overview
After a long hiatus without releases, this version simplifies the packaging of Hamcrest into a single jar:
hamcrest-2.1.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, and in particular the section on Upgrading from Hamcrest 1.x
- The
org.hamcrest.Factoryannotation has been removed (it should not be used in client code)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
... (truncated)
Sourced from hamcrest-library's changelog.
Version 2.2 (17th October 2019)
Improvements
- AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue https://github.com/facebook/flipper/issues/245](hamcrest/JavaHamcrest#245))
- Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue https://github.com/facebook/flipper/issues/256](hamcrest/JavaHamcrest#256), [Issue https://github.com/facebook/flipper/issues/257](hamcrest/JavaHamcrest#257))
- AssertionError message is unhelpful when match fails for byte type ([Issue https://github.com/facebook/flipper/issues/254](hamcrest/JavaHamcrest#254), [Issue https://github.com/facebook/flipper/issues/255](hamcrest/JavaHamcrest#255))
- Use platform specific line breaks ([PR https://github.com/facebook/flipper/issues/267](hamcrest/JavaHamcrest#267))
- Build now checks for consistent use of spaces ([PR https://github.com/facebook/flipper/issues/217](hamcrest/JavaHamcrest#217))
Bugfixes
- Fix compatibility issue for development with Android D8 (https://github.com/facebook/flipper/commit/dfddcc483ebb5448bf663e6452f8732875c7db1a) ([Issue https://github.com/facebook/flipper/issues/246](hamcrest/JavaHamcrest#246))
- Fix typo in license name ([Issue https://github.com/facebook/flipper/issues/247](hamcrest/JavaHamcrest#247))
60454d3 Version 2.20706138 Version 2.2-SNAPSHOTe049297 Version 2.2-rc1052acf3 Clean up readmec5e9c50 Start checkstyle setup7f10c55 Add PR https://github.com/facebook/flipper/issues/270 to changesdc4c012 Add PR https://github.com/facebook/flipper/issues/267 to changes2951069 Use platform-specific line separatorsc1ea49a Use different module names for hamcrest jars.976a60f Update copyright year to say 2019