Skip to content

Commit

Permalink
MINOR: [Java] Bump org.hamcrest:hamcrest from 2.2 to 3.0 in /java (#4…
Browse files Browse the repository at this point in the history
…3561)

Bumps [org.hamcrest:hamcrest](https://github.com/hamcrest/JavaHamcrest) from 2.2 to 3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/hamcrest/JavaHamcrest/releases">org.hamcrest:hamcrest's releases</a>.</em></p>
<blockquote>
<h2>Hamcrest v3.0</h2>
<h3>Breaking Changes</h3>
<ul>
<li>From version 3.0, the jar distributed to Maven Central is now compiled to Java 1.8 bytecode,
and is not compatible with previous versions of Java. See [Issue <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/331">#331</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/331">hamcrest/JavaHamcrest#331</a>) and
[PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/411">#411</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/411">hamcrest/JavaHamcrest#411</a>) for details. Developers who use Java 1.7 earlier can still depend upon <code>hamcrest-2.2.jar</code>.</li>
</ul>
<h3>Improvements</h3>
<ul>
<li>FileMatchersTest simplification ([PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/389">#389</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/389">hamcrest/JavaHamcrest#389</a>))</li>
<li>License cleanup ([PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/414">#414</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/414">hamcrest/JavaHamcrest#414</a>),  [PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/415">#415</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/415">hamcrest/JavaHamcrest#415</a>), see also  <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/264">#264</a>,  <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/355">#355</a>,  <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/396">#396</a>, and  <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/399">#399</a>)</li>
</ul>
<h2>Hamcrest v3.0-rc1</h2>
<h3>Breaking Changes</h3>
<ul>
<li>From version 3.0, the jar distributed to Maven Central is now compiled to Java 1.8 bytecode, and is not compatible with previous versions of Java. See [Issue <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/331">#331</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/331">hamcrest/JavaHamcrest#331</a>) and [PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/411">#411</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/411">hamcrest/JavaHamcrest#411</a>) for details. Developers who use Java 1.7 earlier can still depend upon <code>hamcrest-2.2.jar</code>.</li>
</ul>
<h3>Improvements</h3>
<ul>
<li>FileMatchersTest simplification ([PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/389">#389</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/389">hamcrest/JavaHamcrest#389</a>))</li>
<li>License cleanup ([PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/414">#414</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/414">hamcrest/JavaHamcrest#414</a>), [PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/415">#415</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/415">hamcrest/JavaHamcrest#415</a>), see also <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/264">#264</a>,  <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/355">#355</a>, <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/396">#396</a>, and <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/399">#399</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/hamcrest/JavaHamcrest/blob/master/CHANGES.md">org.hamcrest:hamcrest's changelog</a>.</em></p>
<blockquote>
<h2>Version 3.0 (1st August 2024)</h2>
<h3>Breaking Changes</h3>
<ul>
<li>From version 3.0, the jar distributed to Maven Central is now compiled to Java 1.8 bytecode,
and is not compatible with previous versions of Java. See
[Issue <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/331">#331</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/331">hamcrest/JavaHamcrest#331</a>) and
[PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/411">#411</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/411">hamcrest/JavaHamcrest#411</a>) for details. Developers who use Java 1.7 earlier can still
depend upon <code>hamcrest-2.2.jar</code>.</li>
</ul>
<h3>Improvements</h3>
<ul>
<li>FileMatchersTest simplification ([PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/389">#389</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/389">hamcrest/JavaHamcrest#389</a>))</li>
<li>License cleanup ([PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/414">#414</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/414">hamcrest/JavaHamcrest#414</a>),
[PR <a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/415">#415</a>](<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/415">hamcrest/JavaHamcrest#415</a>), see also
<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/264">#264</a>,
<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/355">#355</a>,
<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/396">#396</a>,and
<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/399">#399</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/hamcrest/JavaHamcrest/commit/68984b85e869df6a888fffcad87e4b676a8fc0ac"><code>68984b8</code></a> Version 3.0</li>
<li><a href="https://github.com/hamcrest/JavaHamcrest/commit/1adc3517d51b8a4691a69412778bde125ec04365"><code>1adc351</code></a> Fix javadoc title</li>
<li><a href="https://github.com/hamcrest/JavaHamcrest/commit/4e2b71c59c0df5d6e21c7fed5ff78a07c11676b1"><code>4e2b71c</code></a> Add instructions for releasing to Maven Central</li>
<li><a href="https://github.com/hamcrest/JavaHamcrest/commit/3fa841d91fb61beec6565c5deff3a1854c46301c"><code>3fa841d</code></a> Revert version to 3.0-SNAPSHOT</li>
<li><a href="https://github.com/hamcrest/JavaHamcrest/commit/750dc3627d322eed26ecee54c04412ad4da9ccbf"><code>750dc36</code></a> Prepare for version 3.0-rc1</li>
<li><a href="https://github.com/hamcrest/JavaHamcrest/commit/1703e95c3ed5f18b10b0dfc687161fc059f391f7"><code>1703e95</code></a> Fix broken tutorial link in README</li>
<li><a href="https://github.com/hamcrest/JavaHamcrest/commit/c4578effe5972987ce1429fe6b892ba10c2a428d"><code>c4578ef</code></a> Upgrade Gradle 8.8 -&gt; 8.9</li>
<li><a href="https://github.com/hamcrest/JavaHamcrest/commit/a9923af0ff4681c6219de24e3c34856a85c4ce29"><code>a9923af</code></a> Remove old, unused build definitions</li>
<li><a href="https://github.com/hamcrest/JavaHamcrest/commit/cf25e14f6ab2bbd7153afd51aed21e74475615c4"><code>cf25e14</code></a> Cleanup README, fix broken links</li>
<li><a href="https://github.com/hamcrest/JavaHamcrest/commit/bc4769e856d14bc951ccd31529feab2871a8e28e"><code>bc4769e</code></a> Upgrade to GitHub-native Dependabot (<a href="https://redirect.github.com/hamcrest/JavaHamcrest/issues/342">#342</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/hamcrest/JavaHamcrest/compare/v2.2...v3.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.hamcrest:hamcrest&package-manager=maven&previous-version=2.2&new-version=3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 squash and merge` will squash and merge this PR after your CI passes on it
- `@ dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@ dependabot reopen` will reopen this PR if it is closed
- `@ dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@ dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@ dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@ dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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)

</details>

Authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Dane Pitkin <[email protected]>
  • Loading branch information
dependabot[bot] authored Aug 6, 2024
1 parent 139dadb commit 299f64b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion java/flight/flight-sql-jdbc-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ under the License.
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>2.2</version>
<version>3.0</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ under the License.
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>2.2</version>
<version>3.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
Expand Down

0 comments on commit 299f64b

Please sign in to comment.