hamcrest/JavaHamcrest
### [`v2.2`](https://togithub.com/hamcrest/JavaHamcrest/blob/HEAD/CHANGES.md#Version-22-17th-October-2019)
[Compare Source](https://togithub.com/hamcrest/JavaHamcrest/compare/v2.1...v2.2)
##### Improvements
- AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue #245](https://togithub.com/hamcrest/JavaHamcrest/pull/245))
- Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue #256](https://togithub.com/hamcrest/JavaHamcrest/issues/256), [Issue #257](https://togithub.com/hamcrest/JavaHamcrest/issues/257))
- AssertionError message is unhelpful when match fails for byte type ([Issue #254](https://togithub.com/hamcrest/JavaHamcrest/issues/254), [Issue #255](https://togithub.com/hamcrest/JavaHamcrest/issues/255))
- Use platform specific line breaks ([PR #267](https://togithub.com/hamcrest/JavaHamcrest/pull/267))
- Build now checks for consistent use of spaces ([PR #217](https://togithub.com/hamcrest/JavaHamcrest/pull/217))
##### Bugfixes
- Fix compatibility issue for development with Android D8 ([Issue #246](https://togithub.com/hamcrest/JavaHamcrest/issues/246))
- Fix typo in license name ([Issue #247](https://togithub.com/hamcrest/JavaHamcrest/pull/247))
- 1.3 compatible constructors for string matchers ([Issue #259](https://togithub.com/hamcrest/JavaHamcrest/issues/259), [Issue #260](https://togithub.com/hamcrest/JavaHamcrest/issues/260))
- Fix for split packages with Java 9 modules ([Issue #269](https://togithub.com/hamcrest/JavaHamcrest/issues/269), [PR #270](https://togithub.com/hamcrest/JavaHamcrest/pull/270))
### [`v2.1`](https://togithub.com/hamcrest/JavaHamcrest/blob/HEAD/CHANGES.md#Version-21-21st-December-2018)
##### Overview for 2.1
After a long hiatus without releases, this version simplifies the packaging of
Hamcrest into a single jar: `hamcrest-.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](http://hamcrest.org/JavaHamcrest/distributables.html)
documentation for more information, and in particular,
[Upgrading from Hamcrest 1.x](http://hamcrest.org/JavaHamcrest/distributables.html#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](https://togithub.com/hamcrest/JavaHamcrest/issues/75) - address doclint errors reported in JDK 1.8
- Fix [GH issue #69](https://togithub.com/hamcrest/JavaHamcrest/issues/69) - Iterable contains in order is null-safe
- Fix [GH issue #59](https://togithub.com/hamcrest/JavaHamcrest/issues/59) - added equalToObject() (i.e. unchecked) method
- Fix [GH issue #25](https://togithub.com/hamcrest/JavaHamcrest/issues/25) - arrayContaining(null, null) cause NullPointerException
- Fix [GH issue #36](https://togithub.com/hamcrest/JavaHamcrest/issues/36) - string matching on regular expressions
- Fix [GH issue #8](https://togithub.com/hamcrest/JavaHamcrest/issues/8) - isCloseTo() shows wrong delta in mismatch description
- Fix [GH issue #59](https://togithub.com/hamcrest/JavaHamcrest/issues/59) - add untyped version of equalTo, named equalToObject
- Fix [GC issue #131](https://code.google.com/archive/p/hamcrest/issues/131) - Implement IsEmptyMap, IsMapWithSize
- Fix [GC issue #187](https://code.google.com/archive/p/hamcrest/issues/187) - IsArray.describeMismatchSafely() should use Matcher.describeMismatch
- Fix [GC issue #155](https://code.google.com/archive/p/hamcrest/issues/155) - Add Matcher implementation for files
- Fix [GC issue #69](https://code.google.com/archive/p/hamcrest/issues/69) - fix NPE in IsIterableContainingInOrder
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.3
->2.2
1.3
->2.2
Release Notes
hamcrest/JavaHamcrest
### [`v2.2`](https://togithub.com/hamcrest/JavaHamcrest/blob/HEAD/CHANGES.md#Version-22-17th-October-2019) [Compare Source](https://togithub.com/hamcrest/JavaHamcrest/compare/v2.1...v2.2) ##### Improvements - AllOf/AnyOf: Pass the matchers to constructor using varargs ([Issue #245](https://togithub.com/hamcrest/JavaHamcrest/pull/245)) - Matchers.anyOf: Fix generic bounds compatibility for JDK 11 ([Issue #256](https://togithub.com/hamcrest/JavaHamcrest/issues/256), [Issue #257](https://togithub.com/hamcrest/JavaHamcrest/issues/257)) - AssertionError message is unhelpful when match fails for byte type ([Issue #254](https://togithub.com/hamcrest/JavaHamcrest/issues/254), [Issue #255](https://togithub.com/hamcrest/JavaHamcrest/issues/255)) - Use platform specific line breaks ([PR #267](https://togithub.com/hamcrest/JavaHamcrest/pull/267)) - Build now checks for consistent use of spaces ([PR #217](https://togithub.com/hamcrest/JavaHamcrest/pull/217)) ##### Bugfixes - Fix compatibility issue for development with Android D8 ([Issue #246](https://togithub.com/hamcrest/JavaHamcrest/issues/246)) - Fix typo in license name ([Issue #247](https://togithub.com/hamcrest/JavaHamcrest/pull/247)) - 1.3 compatible constructors for string matchers ([Issue #259](https://togithub.com/hamcrest/JavaHamcrest/issues/259), [Issue #260](https://togithub.com/hamcrest/JavaHamcrest/issues/260)) - Fix for split packages with Java 9 modules ([Issue #269](https://togithub.com/hamcrest/JavaHamcrest/issues/269), [PR #270](https://togithub.com/hamcrest/JavaHamcrest/pull/270)) ### [`v2.1`](https://togithub.com/hamcrest/JavaHamcrest/blob/HEAD/CHANGES.md#Version-21-21st-December-2018) ##### Overview for 2.1 After a long hiatus without releases, this version simplifies the packaging of Hamcrest into a single jar: `hamcrest-Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.