Skip to content

fix(deps): bump vulnerable dependency versions in Go and Java templates - #1309

Merged
Franca Winter (francawinter) merged 1 commit into
mainfrom
claude/fix-dependabot-security-alerts
Oct 5, 2026
Merged

Franca Winter (francawinter) merged 1 commit into
mainfrom
claude/fix-dependabot-security-alerts

Conversation

@francawinter

@francawinter Franca Winter (francawinter) commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Bump okhttp from 3.14.7 → 4.12.0 in Java okhttp-gson template
  • Bump commons-lang3 from 3.10 → 3.18.0 in Java template
  • Bump golang.org/x/oauth2 from v0.0.0-20220411 → v0.27.0 in Go template
  • Update Go minimum version from 1.14 → 1.23
  • Regenerate go.sum — oauth2 v0.27.0 no longer depends on golang.org/x/net, which closes all open x/net alerts transitively

https://github.com/phrase/phrase-java/security/dependabot/4
https://github.com/phrase/phrase-go/security/dependabot?q=is%3Aopen+severity%3Acritical%2Chigh

Fixes Dependabot alerts in phrase-java and phrase-go. Code in those repos is generated — this is the correct place to patch.

Steps to verify

  • Regenerate the Java and Go clients and confirm pom.xml shows okhttp-version=4.12.0, commons-lang3-version=3.18.0
  • Confirm generated go.mod shows golang.org/x/oauth2 v0.27.0 and no golang.org/x/net direct dep
  • Push the generated clients; Dependabot alerts should auto-close

🤖 Generated with Claude Code

Fixes open Dependabot alerts in phrase-go and phrase-java.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@francawinter
Franca Winter (francawinter) force-pushed the claude/fix-dependabot-security-alerts branch from 661f239 to d38d202 Compare October 5, 2026 07:53
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

API changelog (oasdiff)

Doc-only edits (descriptions, examples) do not appear here.

No changes detected

@francawinter
Franca Winter (francawinter) marked this pull request as ready for review October 5, 2026 08:06
@francawinter
Franca Winter (francawinter) merged commit 262fd3d into main Oct 5, 2026
12 checks passed
@francawinter
Franca Winter (francawinter) deleted the claude/fix-dependabot-security-alerts branch October 5, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants