Skip to content

build(deps): bump org.hamcrest:hamcrest from 2.2 to 3.0 - #2830

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/main/org.hamcrest-hamcrest-3.0
Open

build(deps): bump org.hamcrest:hamcrest from 2.2 to 3.0#2830
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/main/org.hamcrest-hamcrest-3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 25, 2026

Copy link
Copy Markdown
Contributor

Bumps org.hamcrest:hamcrest from 2.2 to 3.0.

Release notes

Sourced from org.hamcrest:hamcrest's releases.

Hamcrest v3.0

Breaking Changes

  • 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 #331](hamcrest/JavaHamcrest#331) and [PR #411](hamcrest/JavaHamcrest#411) for details. Developers who use Java 1.7 earlier can still depend upon hamcrest-2.2.jar.

Improvements

Hamcrest v3.0-rc1

Breaking Changes

  • 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 #331](hamcrest/JavaHamcrest#331) and [PR #411](hamcrest/JavaHamcrest#411) for details. Developers who use Java 1.7 earlier can still depend upon hamcrest-2.2.jar.

Improvements

Changelog

Sourced from org.hamcrest:hamcrest's changelog.

Version 3.0 (1st August 2024)

Breaking Changes

  • 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 #331](hamcrest/JavaHamcrest#331) and [PR #411](hamcrest/JavaHamcrest#411) for details. Developers who use Java 1.7 earlier can still depend upon hamcrest-2.2.jar.

Improvements

Commits
  • 68984b8 Version 3.0
  • 1adc351 Fix javadoc title
  • 4e2b71c Add instructions for releasing to Maven Central
  • 3fa841d Revert version to 3.0-SNAPSHOT
  • 750dc36 Prepare for version 3.0-rc1
  • 1703e95 Fix broken tutorial link in README
  • c4578ef Upgrade Gradle 8.8 -> 8.9
  • a9923af Remove old, unused build definitions
  • cf25e14 Cleanup README, fix broken links
  • bc4769e Upgrade to GitHub-native Dependabot (#342)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [org.hamcrest:hamcrest](https://github.com/hamcrest/JavaHamcrest) from 2.2 to 3.0.
- [Release notes](https://github.com/hamcrest/JavaHamcrest/releases)
- [Changelog](https://github.com/hamcrest/JavaHamcrest/blob/master/CHANGES.md)
- [Commits](hamcrest/JavaHamcrest@v2.2...v3.0)

---
updated-dependencies:
- dependency-name: org.hamcrest:hamcrest
  dependency-version: '3.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Aug 25, 2026
@github-actions

Copy link
Copy Markdown

Test Results

  504 files   - 198    504 suites   - 198   6h 7m 25s ⏱️ + 4h 52m 28s
  728 tests  - 204    692 ✅  - 192   34 💤  - 14  0 ❌ ±0  2 🔥 +2 
2 184 runs   - 612  2 076 ✅  - 576  102 💤  - 42  0 ❌ ±0  6 🔥 +6 

For more details on these errors, see this check.

Results for commit 70d0e5e. ± Comparison against base commit 3e2eeec.

This pull request removes 206 and adds 2 tests. Note that renamed tests count towards both.
org.apache.karaf.examples.itests.ExampleITest ‑ listBundleCommand
org.apache.karaf.examples.itests.ExampleWithConfigITest ‑ simpleTest
org.apache.karaf.itests.BundleTest ‑ capabilitiesCommand
org.apache.karaf.itests.BundleTest ‑ classesCommand
org.apache.karaf.itests.BundleTest ‑ diagCommand
org.apache.karaf.itests.BundleTest ‑ findClassCommand
org.apache.karaf.itests.BundleTest ‑ headersCommand
org.apache.karaf.itests.BundleTest ‑ infoCommand
org.apache.karaf.itests.BundleTest ‑ installNonOsgiBundle
org.apache.karaf.itests.BundleTest ‑ installUninstallCommand
…
org.apache.karaf.examples.itests.ExampleITest ‑ Unknown test
org.apache.karaf.examples.itests.ExampleWithConfigITest ‑ Unknown test

@holgerfriedrich

holgerfriedrich commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

this is likely to collide with awaitility, which requires hamcrest <3.0 in the manifest:
`org.hamcrest.core;version="[2.1,3)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant