Skip to content

Bump com.google.inject:guice from 5.1.0 to 7.0.0#254

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/com.google.inject-guice-7.0.0
Open

Bump com.google.inject:guice from 5.1.0 to 7.0.0#254
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/com.google.inject-guice-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Copy link
Copy Markdown
Contributor

Bumps com.google.inject:guice from 5.1.0 to 7.0.0.

Release notes

Sourced from com.google.inject:guice's releases.

Guice 7.0.0

See https://github.com/google/guice/wiki/Guice700 for release notes.

Guice 7.0.0-rc1

See https://github.com/google/guice/wiki/Guice700 for release notes.

Guice 6.0.0

See https://github.com/google/guice/wiki/Guice600 for release notes.

Guice 6.0.0-rc2

See https://github.com/google/guice/wiki/Guice600 for release notes.

Commits
  • b0e1d0f set 7.0.0 release #s.
  • f4a66b7 Make error_prone_annotations dependency optional
  • 654032a Internal change.
  • bee813b Improve MissingImplementationError to lazily calculate suggestions and standa...
  • 2d64067 Use linked bindings for MapBinder/Multibinder/OptionalBinder aliases, instead...
  • be0141c Internal change
  • 40a5bcf Avoid re-initializing factories that are already initialized. This is necessa...
  • 9ac4767 Change the way we reference what 6.0 supports in the README, so it doesn't ge...
  • 24324ca Prepare for the Guice 6.0 & 7.0 releases. This change does the following:
  • 49b1a33 Remove redundant references to javax.{inject,persistence,servlet} and replace...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Summary by CodeRabbit

  • Chores
    • Updated a core dependency to a newer major version for internal improvements.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [com.google.inject:guice](https://github.com/google/guice) from 5.1.0 to 7.0.0.
- [Release notes](https://github.com/google/guice/releases)
- [Commits](google/guice@5.1.0...7.0.0)

---
updated-dependencies:
- dependency-name: com.google.inject:guice
  dependency-version: 7.0.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 Apr 13, 2026
@coderabbitai

coderabbitai Bot commented Apr 13, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The Maven dependency com.google.inject:guice is upgraded from version 5.1.0 to 7.0.0 in the dependencyManagement section of pom.xml. This is a major version update that will affect the managed transitive dependency graph.

Changes

Cohort / File(s) Summary
Dependency Management
pom.xml
Updated com.google.inject:guice (classifier classes) from version 5.1.0 to 7.0.0 in the dependencyManagement section.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A hop, a skip, from five to seven!
Guice gets its wings, a version heaven,
Dependencies flow in harmonious ways,
Our little project brightens its days! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and specifically describes the main change: updating the Guice dependency from version 5.1.0 to 7.0.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/maven/com.google.inject-guice-7.0.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@pom.xml`:
- Around line 258-263: The Guice dependency version 7.0.0 in the pom.xml is
incompatible with Eclipse Sisu 1.0.0 and will break DI wiring used by
SisuBooter.java and SisuLookup.java; fix by either changing the
com.google.inject:guice dependency to a compatible version in pom.xml (e.g.,
6.2.2 or revert to 5.1.0) or by upgrading the Eclipse Sisu dependency to a
release that explicitly supports Guice 7.0.0, then run a full build and
smoke-test SisuBooter and SisuLookup to confirm DI wiring works.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9d80882f-df6f-4fbc-8101-52a5883742c3

📥 Commits

Reviewing files that changed from the base of the PR and between 36fcf1d and 9068cc7.

📒 Files selected for processing (1)
  • pom.xml

Comment thread pom.xml
Comment on lines 258 to 263
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>5.1.0</version>
<version>7.0.0</version>
<classifier>classes</classifier>
</dependency>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

Is Eclipse Sisu 1.0.0 compatible with Google Guice 7.0.0?

💡 Result:

No, Eclipse Sisu 1.0.0 is not compatible with Google Guice 7.0.0. Sisu is compatible with Guice versions in the range [3,7), which excludes 7.0.0. This compatibility statement was made for the preceding stable milestone 0.9.0.M4, and the 1.0.0 release plan confirms it is functionally equivalent to that milestone with some dependency updates (primarily for Java 25 support via ASM), but no changes indicating expanded Guice support. Project dependency management lists Guice 4.2.3, further indicating no upgrade to Guice 7.

Citations:


🏁 Script executed:

#!/bin/bash
# Description: Check Sisu's declared Guice dependency and look for any compatibility notes

# Check if there are any test files that exercise Guice/Sisu integration
echo "=== Test files that may exercise Guice/Sisu integration ==="
fd -e java -i test | xargs rg -l -i "guice|sisu|injector" 2>/dev/null | head -20

# Look for any existing CI configuration that runs tests
echo -e "\n=== CI configuration files ==="
fd -i "\.yml$|\.yaml$" .github 2>/dev/null | head -10

# Check if there's documentation about Guice version requirements
echo -e "\n=== README or docs mentioning Guice ==="
rg -i "guice" README.md 2>/dev/null || echo "No Guice mention in README"

Repository: maveniverse/mima

Length of output: 1145


Guice 7.0.0 is incompatible with Eclipse Sisu 1.0.0 and must be downgraded or Sisu must be upgraded.

Eclipse Sisu 1.0.0 (line 272) explicitly supports Guice versions in the range [3,7), which excludes 7.0.0. The version bump from 5.1.0 to 7.0.0 introduces a breaking incompatibility. Sisu 1.0.0 was released with no changes to expand Guice support beyond this range, only Java 25 updates via ASM.

Either:

  1. Downgrade Guice back to a version within the [3,7) range (e.g., 6.2.2 or 5.1.0), or
  2. Upgrade Eclipse Sisu to a version that explicitly supports Guice 7.0.0

This will cause runtime failures in the DI wiring used by SisuBooter.java, SisuLookup.java, and related components.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pom.xml` around lines 258 - 263, The Guice dependency version 7.0.0 in the
pom.xml is incompatible with Eclipse Sisu 1.0.0 and will break DI wiring used by
SisuBooter.java and SisuLookup.java; fix by either changing the
com.google.inject:guice dependency to a compatible version in pom.xml (e.g.,
6.2.2 or revert to 5.1.0) or by upgrading the Eclipse Sisu dependency to a
release that explicitly supports Guice 7.0.0, then run a full build and
smoke-test SisuBooter and SisuLookup to confirm DI wiring works.

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.

0 participants