Skip to content

build(deps): bump golang.org/x/net from 0.58.0 to 0.59.0 in the all-go-deps group - #80

Merged
FumingPower3925 merged 2 commits into
mainfrom
dependabot/go_modules/all-go-deps-a958897ca9
Sep 15, 2026
Merged

FumingPower3925 merged 2 commits into
mainfrom
dependabot/go_modules/all-go-deps-a958897ca9

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the all-go-deps group with 1 update: golang.org/x/net.

Updates golang.org/x/net from 0.58.0 to 0.59.0

Commits
  • 540d04c go.mod: update golang.org/x dependencies
  • 20eef7f quic: clear fast-path receive buffer on stream reset
  • c23af1b internal/http3: fix compilation error due to missed symbol name update
  • eda109f internal/http3: send appropriate error codes in STOP_SENDING frames
  • 12e0501 internal/http3: server header size limits
  • d89285e quic: add Stream.StopSending, and rework stream/application errors
  • d34deae quic: ensure Endpoint.Close waits for connection loops to exit
  • 55577aa http2: use IDNA Lookup profile, not raw Punycode translation
  • b22627e internal/http3: handle a nil TLSConfig in newQUICConfig
  • 6e98b0d internal/http3: report endpoint creation errors from initEndpoint
  • 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the all-go-deps group with 1 update: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.58.0 to 0.59.0
- [Commits](golang/net@v0.58.0...v0.59.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.59.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Sep 13, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Sep 13, 2026
x/net 0.59.0 deprecates http2.Server itself and its stream and window
fields in favour of http.Server.HTTP2 and http.HTTP2Config, which turns
eight staticcheck SA1019 findings red in the h2c test scaffold and takes
Lint with them.

The scaffold cannot migrate. Every one of these servers exists to be
passed to h2c.NewHandler, which takes an *http2.Server, and net/http
exposes no replacement for prior-knowledge h2c. The import line already
carries a waiver saying exactly that; these are the same waiver applied
where the deprecation now lands.

The four-field literal is collapsed onto one line because a nolint
directive suppresses only its own line while staticcheck reports one
issue per deprecated field. Its comment moves above the statement so
nothing is lost. Control: re-splitting it puts five SA1019 findings back,
and removing any single waiver reddens exactly its own line.

Lint, vet, build and the full suite are clean on x/net 0.59.0.
@FumingPower3925

Copy link
Copy Markdown
Contributor

Pushed the waiver this bump needs.

x/net 0.59.0 deprecates http2.Server itself and its stream and window fields in favour of http.Server.HTTP2 and http.HTTP2Config. That turns eight staticcheck SA1019 findings red in the h2c test scaffold, which is why Lint failed here.

The scaffold cannot migrate. Every one of these servers exists to be handed to h2c.NewHandler, which takes an *http2.Server, and net/http exposes no replacement for prior-knowledge h2c. The import line already carries a waiver saying precisely that; this applies the same waiver where the deprecation now lands.

The four-field literal is collapsed onto one line, because a nolint directive suppresses only its own line while staticcheck reports one issue per deprecated field. Its explanatory comment moves above the statement so nothing is lost.

Controls, each injection asserted against the real source text before editing:

injected result
remove one waiver Lint reddens on exactly that line, SA1019 on MaxConcurrentStreams
re-split the collapsed literal, nolint on the closing brace five SA1019 findings return, one per field

golangci-lint run ./... reports 0 issues, and go build, go vet and the full go test ./... are clean on 0.59.0.

@FumingPower3925
FumingPower3925 merged commit 047bc18 into main Sep 15, 2026
6 checks passed
@FumingPower3925
FumingPower3925 deleted the dependabot/go_modules/all-go-deps-a958897ca9 branch September 15, 2026 02:01
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant