Skip to content

chore(deps): bump httpx2 from 2.10.0 to 2.12.0 - #349

Merged
lelia merged 1 commit into
mainfrom
dependabot/uv/httpx2-2.12.0
Sep 9, 2026
Merged

chore(deps): bump httpx2 from 2.10.0 to 2.12.0#349
lelia merged 1 commit into
mainfrom
dependabot/uv/httpx2-2.12.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps httpx2 from 2.10.0 to 2.12.0.

Release notes

Sourced from httpx2's releases.

v2.12.0

Highlights

🛡️ Bounded response decompression

httpx2 now decodes gzip, deflate, Brotli, and Zstandard responses incrementally. Each decode step emits at most 1 MiB, so streaming a highly compressed response no longer requires materializing an entire inflated network chunk in memory (pydantic/httpx2#1126).

📦 Shared Zstandard API

Python 3.13 and earlier now use backports.zstd, which provides the same bounded incremental decompression API as compression.zstd on Python 3.14 and later (pydantic/httpx2#1146).

httpx2

Changed

Fixed

httpcore2

No changes since 2.11.0. Version bumped to stay in lockstep with httpx2.

Full Changelog: pydantic/httpx2@v2.11.0...v2.12.0

v2.11.0

Highlights

🌐 Public origin API

httpx2 now includes an immutable and hashable Origin value object, available through URL.origin. It provides normalized scheme, host, and effective port comparisons without including URL paths, queries, fragments, or credentials (pydantic/httpx2#1134).

🛠️ Request compatibility and validation

httpx2

Added

Changed

... (truncated)

Changelog

Sourced from httpx2's changelog.

2.12.0 (August 18th, 2026)

Changed

  • Use backports.zstd for Zstandard decoding on Python 3.13 and earlier. (#1146)

Fixed

  • Bound peak memory while streaming compressed responses and close response streams when decoding fails. (#1126)

2.11.0 (August 18th, 2026)

Added

  • Add the public Origin value object and URL.origin property for normalized, hashable origin comparisons. (#1134)

Changed

  • Require Brotli 1.2.0 or later for the brotli extra. (#1141)

Fixed

  • Restore deprecated status code aliases. (#1135)
  • Extract HTTP/2 release notes from changelog headings correctly. (#1136)
  • Respect explicit Transfer-Encoding headers and expose buffered request body lengths to WSGI applications. (#1137)
  • Validate multipart part header names and values before serialization. (#1142)
Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Sep 8, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner September 8, 2026 21:20
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Sep 8, 2026
@lelia

lelia commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Dependabot (@dependabot) rebase

Bumps [httpx2](https://github.com/pydantic/httpx2) from 2.10.0 to 2.12.0.
- [Release notes](https://github.com/pydantic/httpx2/releases)
- [Changelog](https://github.com/pydantic/httpx2/blob/main/src/httpx2/CHANGELOG.md)
- [Commits](pydantic/httpx2@v2.10.0...v2.12.0)

---
updated-dependencies:
- dependency-name: httpx2
  dependency-version: 2.12.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump httpx2 from 2.9.1 to 2.12.0 chore(deps): bump httpx2 from 2.10.0 to 2.12.0 Sep 9, 2026
@dependabot
dependabot Bot force-pushed the dependabot/uv/httpx2-2.12.0 branch from 9738d98 to 671b0e2 Compare September 9, 2026 17:23
@lelia
lelia merged commit e50b3aa into main Sep 9, 2026
28 checks passed
@dependabot
dependabot Bot deleted the dependabot/uv/httpx2-2.12.0 branch September 9, 2026 17:54
lelia added a commit that referenced this pull request Sep 9, 2026
…ch pins

Brings in #348 and #349, which move httpx2 and httpcore2 to 2.12.0 and
close five Dependabot advisories (GHSA-8xx6-hgc6-gc2m and
GHSA-7mj9-2mp8-4m2p high, three medium).

No CLI code change is needed for these, and the reason is worth recording:
httpx2 is not a runtime dependency. It arrives transitively through
`hatch` in the dev extra, so it is absent from the published wheel's
Requires-Dist and never reaches anyone installing socketsecurity from
PyPI. Nothing under socketsecurity/ imports httpx or httpcore, and the
only hatch commands this repository runs are `hatch version` and
`hatch build`, neither of which performs HTTP. The advisories describe
build-tooling exposure on developer machines and CI runners, not shipped
surface.

Verified against the release path rather than assumed: hatch version,
hatch build, twine check, and a no-deps wheel install with a bytecode
compile all pass on 2.12.0, as do the 568 unit and core tests.

Separately, the same investigation turned up three different pins for the
same build tooling: build-system.requires wanted hatchling 1.32.0, the dev
extra pulled 1.28.0 via hatch 1.18.0, and .github/actions/setup-hatch
installed hatchling 1.27.0 with hatch 1.14.0 -- so CI ran an older hatch
than local development. The artifact was never affected, because
`hatch build` resolves the backend in an isolated environment from
build-system.requires and the wheel records `Generator: hatchling 1.32.0`.
The composite action now matches the other two, verified by building in a
clean virtualenv with the new pins.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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 python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant