BPP-325: Bump golang.org/x/net from 0.45.0 to 0.55.0 - #17
Conversation
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.45.0 to 0.55.0. - [Commits](golang/net@v0.45.0...v0.55.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-version: 0.55.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
|
| Filename | Overview |
|---|---|
| go.mod | Bumps golang.org/x/net to v0.55.0 and several companion x/ packages; also promotes the go directive from 1.24.0 to 1.25.0 (required by net v0.55.0), but CI workflows still pin Go 1.21.3, which will break all builds. |
| go.sum | Hash entries updated to match all bumped golang.org/x/* packages; no anomalies in the checksum file. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[dependabot PR: net 0.45 → 0.55] --> B[go.mod: go directive 1.24 → 1.25]
A --> C[golang.org/x/net v0.55.0\nrequires Go 1.25]
B --> D{CI workflows\ngo-version: 1.21.3}
D -->|1.21.3 < 1.25.0| E[❌ Build fails:\ntoolchain version mismatch]
D -->|fix: bump to 1.25| F[✅ Build succeeds]
C --> G[Security fixes:\nCVE-2026-42506, 42502\nCVE-2026-25680, 25681\nCVE-2026-27136, 39821]
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A[dependabot PR: net 0.45 → 0.55] --> B[go.mod: go directive 1.24 → 1.25]
A --> C[golang.org/x/net v0.55.0\nrequires Go 1.25]
B --> D{CI workflows\ngo-version: 1.21.3}
D -->|1.21.3 < 1.25.0| E[❌ Build fails:\ntoolchain version mismatch]
D -->|fix: bump to 1.25| F[✅ Build succeeds]
C --> G[Security fixes:\nCVE-2026-42506, 42502\nCVE-2026-25680, 25681\nCVE-2026-27136, 39821]
Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
go.mod:4
**CI workflows incompatible with new Go 1.25 minimum**
`golang.org/x/net v0.55.0` requires Go 1.25 in its own `go.mod`, so dependabot has promoted this module's `go` directive from `go 1.24.0` to `go 1.25.0`. All three GitHub Actions workflows (`.github/workflows/pre-release.yml`, `tagged-release.yml`, `verify-example.yml`) pin `go-version: 1.21.3`. Since Go 1.21 enforces the `go` directive as a hard minimum, any build on those workflows will immediately fail with a toolchain version mismatch error, blocking every push to `main` and every tagged release until the workflow files are updated to at least `go-version: 1.25`.
Reviews (1): Last reviewed commit: "Bump golang.org/x/net from 0.45.0 to 0.5..." | Re-trigger Greptile
|
|
||
| toolchain go1.24.2 | ||
| go 1.25.0 | ||
|
|
There was a problem hiding this comment.
CI workflows incompatible with new Go 1.25 minimum
golang.org/x/net v0.55.0 requires Go 1.25 in its own go.mod, so dependabot has promoted this module's go directive from go 1.24.0 to go 1.25.0. All three GitHub Actions workflows (.github/workflows/pre-release.yml, tagged-release.yml, verify-example.yml) pin go-version: 1.21.3. Since Go 1.21 enforces the go directive as a hard minimum, any build on those workflows will immediately fail with a toolchain version mismatch error, blocking every push to main and every tagged release until the workflow files are updated to at least go-version: 1.25.
Prompt To Fix With AI
This is a comment left during a code review.
Path: go.mod
Line: 4
Comment:
**CI workflows incompatible with new Go 1.25 minimum**
`golang.org/x/net v0.55.0` requires Go 1.25 in its own `go.mod`, so dependabot has promoted this module's `go` directive from `go 1.24.0` to `go 1.25.0`. All three GitHub Actions workflows (`.github/workflows/pre-release.yml`, `tagged-release.yml`, `verify-example.yml`) pin `go-version: 1.21.3`. Since Go 1.21 enforces the `go` directive as a hard minimum, any build on those workflows will immediately fail with a toolchain version mismatch error, blocking every push to `main` and every tagged release until the workflow files are updated to at least `go-version: 1.25`.
How can I resolve this? If you propose a fix, please make it concise.
Bumps golang.org/x/net from 0.45.0 to 0.55.0.
Commits
7770ec4go.mod: update golang.org/x dependencies4ece7b6html: escape greater-than symbol in doctype identifiers08be507html: improve Noah's Ark clause performancea8fb2fehtml: properly render fostered elements in foreign content0dc5b7ahtml: properly check namespace in "in body" any other end taga452f3chtml: ignore duplicate attributes during tokenizationf865199quic: fix appendMaxDataFrame erroneously accumulating sentLimit210ed3cquic: establish a "happened-before" relationship between stream write and readad8140equic: fix buffer slicing when handling overlapping stream data23ee2efhttp2: avoid API changes when built with go1.27Dependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.