github pydantic/httpx2 v2.13.0

4 hours ago

Highlights

๐Ÿ” Reliable TLS verification controls

The CLI --no-verify flag now disables TLS certificate verification as intended, and --verify provides an explicit counterpart (#1140, #1186).

๐Ÿงน Safer async stream cleanup

Stopping a streamed response early no longer risks a nested async generator finalization error (#1204).

httpx2

Changed

  • Require brotlicffi 1.2.0.2 or later for the brotli extra on non-CPython implementations in #1179

Fixed

  • Make the --no-verify CLI flag disable TLS certificate verification and add an explicit --verify counterpart in #1140 and #1186
  • Avoid nested async generator finalization errors when streamed responses are abandoned early in #1204

httpcore2

Changed

  • Require Trio 0.34.0 or later for the trio extra in #1179

Fixed

  • Avoid nested async generator finalization errors when streamed responses are abandoned early in #1204

Full Changelog: v2.12.0...v2.13.0

Don't miss a new httpx2 release

NewReleases is sending notifications on new releases.