Skip to content

Release 0.30.0 - #1510

Merged
dbanty merged 1 commit into
mainfrom
knope/release
Nov 7, 2026
Merged

dbanty merged 1 commit into
mainfrom
knope/release

Conversation

@knope-bot

@knope-bot knope-bot Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Important

Merging this pull request will create this release

❗️Breaking ❗

Switch from httpx to httpx2 in generated clients

httpx2 is largely compatible with httpx and should only be a breaking change for users who customize the internal Client.

Thanks to @s-sajid-ali and @johnthagen for making this one happen in PR #1461 and discussion #1455!

🚀 Features

🐛 Fixes

Let httpx2 choose the boundary for multipart/form-data requests

Since 0.29.0, generated endpoints sent every multipart/form-data body with the fixed boundary +++, so an uploaded file containing \r\n--+++ was cut short at that point (#1509). These bodies no longer set Content-Type, so httpx2 sets it with a random boundary for each request, as single-body endpoints did before 0.29.0. Endpoints with several body types still get a boundary (#947).

@knope-bot
knope-bot Bot force-pushed the knope/release branch 5 times, most recently from 547660e to 6617c33 Compare November 7, 2026 20:54
@dbanty
dbanty enabled auto-merge November 7, 2026 21:14
@dbanty
dbanty added this pull request to the merge queue Nov 7, 2026
Merged via the queue into main with commit 46a4340 Nov 7, 2026
22 checks passed
@dbanty
dbanty deleted the knope/release branch November 7, 2026 21: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.

1 participant