Release notes
*Sourced from [hamcrest-library's releases](https://github.com/hamcrest/JavaHamcrest/releases).*
> ## 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](http://hamcrest.org/JavaHamcrest/distributables.html)
> documentation for more information, and in particular the section on
> [Upgrading from Hamcrest 1.x](http://hamcrest.org/JavaHamcrest/distributables#upgrading-from-hamcrest-1x)
> * The `org.hamcrest.Factory` annotation 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
> * 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
> * Upgraded to Java 7
> * Build with Gradle
> * Publish a single jar java-hamcrest-2.0.0.0.jar
> * Deprecate `IsCollectionContaining` and `IsArrayContainingXXX`
> * 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](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/75) - address doclint errors reported in JDK 1.8
> * Fix GH issue [#69](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/69) - Iterable contains in order is null-safe
> * Fix GH issue [#59](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/59) - added equalToObject() (i.e. unchecked) method
> * Fix GH issue [#25](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/25) - arrayContaining(null, null) cause NullPointerException
> * Fix GH issue [#36](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/36) - string matching on regular expressions
> * Fix GH issue [#8](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/8) - isCloseTo() shows wrong delta in mismatch description
> * Fix GH issue [#59](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/59) - add untyped version of equalTo, named equalToObject
> * Fix GC issue [#131](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/131) - Implement IsEmptyMap, IsMapWithSize
> * Fix GC issue [#187](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/187) - IsArray.describeMismatchSafely() should use Matcher.describeMismatch
> * Fix GC issue [#155](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/155) - Add Matcher implementation for files
> * Fix GC issue [#69](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/69) - fix NPE in IsIterableContainingInOrder
>
> ## hamcrest-java-2.1-rc4
> Restore deleted classes to keep backwards compatibility with version 1.3, and mark them as deprecated.
> ... (truncated)
Changelog
*Sourced from [hamcrest-library's changelog](https://github.com/hamcrest/JavaHamcrest/blob/master/CHANGES.md).*
> ## Version 2.1 (Unreleased)
>
> ### 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://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/75) - address doclint errors reported in JDK 1.8
> * Fix [GH issue #69](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/69) - Iterable contains in order is null-safe
> * Fix [GH issue #59](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/59) - added equalToObject() (i.e. unchecked) method
> * Fix [GH issue #25](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/25) - arrayContaining(null, null) cause NullPointerException
> * Fix [GH issue #36](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/36) - string matching on regular expressions
> * Fix [GH issue #8](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/8) - isCloseTo() shows wrong delta in mismatch description
> * Fix [GH issue #59](https://github-redirect.dependabot.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
> ... (truncated)
Commits
- [`8cf0846`](https://github.com/hamcrest/JavaHamcrest/commit/8cf0846f96b2090ef2cf6972f4890c82f427cb19) Add JavaDoc for version 2.1
- [`ddb0a18`](https://github.com/hamcrest/JavaHamcrest/commit/ddb0a18c2e60e692c92cf883dbaaec8e07ca7d1f) Version 2.1
- [`6519416`](https://github.com/hamcrest/JavaHamcrest/commit/6519416cc467ebbdd901708a7450f632bf235a5d) Documentation updates for 2.1 ([#237](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/237))
- [`7ffc219`](https://github.com/hamcrest/JavaHamcrest/commit/7ffc219d0253a7b1fdc69d6166f4333558210a3b) Version 2.1-SNAPSHOT
- [`cf6796e`](https://github.com/hamcrest/JavaHamcrest/commit/cf6796e1b3745a188cf4548cb585482543ad1de6) Version 2.1-rc4
- [`b76e174`](https://github.com/hamcrest/JavaHamcrest/commit/b76e174c6dce53d814f91946163434a3384bf9fb) Fix javadoc error when using Oracle.
- [`bf8b3e2`](https://github.com/hamcrest/JavaHamcrest/commit/bf8b3e23477953e79b3af1cecafcb37276b41fa5) Bring back test for IsCollectionContaining.
- [`faac95a`](https://github.com/hamcrest/JavaHamcrest/commit/faac95ae402b1819ce6bca5c9c0b8afd78d65f4f) Fix failing tests.
- [`59d34c8`](https://github.com/hamcrest/JavaHamcrest/commit/59d34c8b26560275d830a987008e03f9e451725a) Restore deprecated classes IsArrayContainingXXX.
- [`fafb992`](https://github.com/hamcrest/JavaHamcrest/commit/fafb992780ff9ede51814067236bd41523eca65b) Restore deprecated class IsCollectionContaining
- Additional commits viewable in [compare view](https://github.com/hamcrest/JavaHamcrest/compare/hamcrest-java-1.3...v2.1)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps hamcrest-library from 1.3 to 2.1.
Release notes
*Sourced from [hamcrest-library's releases](https://github.com/hamcrest/JavaHamcrest/releases).* > ## 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](http://hamcrest.org/JavaHamcrest/distributables.html) > documentation for more information, and in particular the section on > [Upgrading from Hamcrest 1.x](http://hamcrest.org/JavaHamcrest/distributables#upgrading-from-hamcrest-1x) > * The `org.hamcrest.Factory` annotation 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 > * 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 > * Upgraded to Java 7 > * Build with Gradle > * Publish a single jar java-hamcrest-2.0.0.0.jar > * Deprecate `IsCollectionContaining` and `IsArrayContainingXXX` > * 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](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/75) - address doclint errors reported in JDK 1.8 > * Fix GH issue [#69](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/69) - Iterable contains in order is null-safe > * Fix GH issue [#59](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/59) - added equalToObject() (i.e. unchecked) method > * Fix GH issue [#25](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/25) - arrayContaining(null, null) cause NullPointerException > * Fix GH issue [#36](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/36) - string matching on regular expressions > * Fix GH issue [#8](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/8) - isCloseTo() shows wrong delta in mismatch description > * Fix GH issue [#59](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/59) - add untyped version of equalTo, named equalToObject > * Fix GC issue [#131](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/131) - Implement IsEmptyMap, IsMapWithSize > * Fix GC issue [#187](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/187) - IsArray.describeMismatchSafely() should use Matcher.describeMismatch > * Fix GC issue [#155](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/155) - Add Matcher implementation for files > * Fix GC issue [#69](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/69) - fix NPE in IsIterableContainingInOrder > > ## hamcrest-java-2.1-rc4 > Restore deleted classes to keep backwards compatibility with version 1.3, and mark them as deprecated. > ... (truncated)Changelog
*Sourced from [hamcrest-library's changelog](https://github.com/hamcrest/JavaHamcrest/blob/master/CHANGES.md).* > ## Version 2.1 (Unreleased) > > ### Overview for 2.1 > > After a long hiatus without releases, this version simplifies the packaging of > Hamcrest into a single jar: `hamcrest-Commits
- [`8cf0846`](https://github.com/hamcrest/JavaHamcrest/commit/8cf0846f96b2090ef2cf6972f4890c82f427cb19) Add JavaDoc for version 2.1 - [`ddb0a18`](https://github.com/hamcrest/JavaHamcrest/commit/ddb0a18c2e60e692c92cf883dbaaec8e07ca7d1f) Version 2.1 - [`6519416`](https://github.com/hamcrest/JavaHamcrest/commit/6519416cc467ebbdd901708a7450f632bf235a5d) Documentation updates for 2.1 ([#237](https://github-redirect.dependabot.com/hamcrest/JavaHamcrest/issues/237)) - [`7ffc219`](https://github.com/hamcrest/JavaHamcrest/commit/7ffc219d0253a7b1fdc69d6166f4333558210a3b) Version 2.1-SNAPSHOT - [`cf6796e`](https://github.com/hamcrest/JavaHamcrest/commit/cf6796e1b3745a188cf4548cb585482543ad1de6) Version 2.1-rc4 - [`b76e174`](https://github.com/hamcrest/JavaHamcrest/commit/b76e174c6dce53d814f91946163434a3384bf9fb) Fix javadoc error when using Oracle. - [`bf8b3e2`](https://github.com/hamcrest/JavaHamcrest/commit/bf8b3e23477953e79b3af1cecafcb37276b41fa5) Bring back test for IsCollectionContaining. - [`faac95a`](https://github.com/hamcrest/JavaHamcrest/commit/faac95ae402b1819ce6bca5c9c0b8afd78d65f4f) Fix failing tests. - [`59d34c8`](https://github.com/hamcrest/JavaHamcrest/commit/59d34c8b26560275d830a987008e03f9e451725a) Restore deprecated classes IsArrayContainingXXX. - [`fafb992`](https://github.com/hamcrest/JavaHamcrest/commit/fafb992780ff9ede51814067236bd41523eca65b) Restore deprecated class IsCollectionContaining - Additional commits viewable in [compare view](https://github.com/hamcrest/JavaHamcrest/compare/hamcrest-java-1.3...v2.1)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.