Skip to content

chore: bump org.slf4j:slf4j-api from 1.7.30 to 2.0.18 - #41

Merged
jamesnrokt merged 1 commit into
mainfrom
dependabot/gradle/org.slf4j-slf4j-api-2.0.18
Sep 3, 2026
Merged

chore: bump org.slf4j:slf4j-api from 1.7.30 to 2.0.18#41
jamesnrokt merged 1 commit into
mainfrom
dependabot/gradle/org.slf4j-slf4j-api-2.0.18

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor

Bumps org.slf4j:slf4j-api from 1.7.30 to 2.0.18.

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.slf4j:slf4j-api from 1.7.30 to 2.0.18.

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
  dependency-version: 2.0.18
  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 Sep 3, 2026
@cursor

cursor Bot commented Sep 3, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
This is a major SLF4J API bump on the test classpath while Logback remains pinned at 1.2.3, which may cause test compile or runtime issues until logging bindings are aligned with SLF4J 2.x.

Overview
Updates the shared slf4j_version property in build.gradle from 1.7.30 to 2.0.18, which drives the test-only org.slf4j:slf4j-api dependency. Main library sources do not reference SLF4J directly; tests use it via DefaultLogHandler.

Reviewed by Cursor Bugbot for commit 4340707. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor 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.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4340707. Configure here.

Comment thread build.gradle
slf4j_core_version = "1.2.3"
slf4j_classic_version = "1.2.3"
slf4j_version = "1.7.30"
slf4j_version = "2.0.18"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

SLF4J 2.0 breaks Logback binding

Low Severity

Bumping slf4j-api to 2.0.18 while logback-classic stays at 1.2.3 leaves tests without a working logging provider. SLF4J 2.0 only loads SLF4JServiceProvider bindings, which Logback 1.2 does not ship, so DefaultLogHandler silently uses a NOP logger.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4340707. Configure here.

@jamesnrokt
jamesnrokt merged commit c763f61 into main Sep 3, 2026
6 checks passed
@jamesnrokt
jamesnrokt deleted the dependabot/gradle/org.slf4j-slf4j-api-2.0.18 branch September 3, 2026 18:47
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