Skip to content

Commit 6617c33

Browse files
Release 0.30.0
1 parent dd5250d commit 6617c33

4 files changed

Lines changed: 23 additions & 17 deletions

File tree

‎.changeset/default_to_httpx2.md‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎.changeset/let_httpx2_choose_the_multipart_boundary.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎CHANGELOG.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,28 @@ Programmatic usage of this project (e.g., importing it as a Python module) and t
1313

1414
The 0.x prefix used in versions for this project is to indicate that breaking changes are expected frequently (several times a year). Breaking changes will increment the minor number, all other changes will increment the patch number. You can track the progress toward 1.0 [here](https://github.com/openapi-generators/openapi-python-client/projects/2).
1515

16+
## 0.30.0 (2026-11-07)
17+
18+
### ❗️Breaking ❗
19+
20+
#### Switch from `httpx` to `httpx2` in generated clients
21+
22+
[`httpx2`](https://pydantic.dev/docs/httpx2/get-started/) is largely compatible with `httpx` and should only be a breaking change for users who customize the internal `Client`.
23+
24+
Thanks to @s-sajid-ali and @johnthagen for making this one happen in PR #1461 and discussion #1455!
25+
26+
### 🚀 Features
27+
28+
- Update `uv_build` to 0.13 when using `--meta=uv` (#1507)
29+
30+
### 🐛 Fixes
31+
32+
- Let httpx2 choose the multipart/form-data boundary (#1511)
33+
34+
#### Let httpx2 choose the boundary for `multipart/form-data` requests
35+
36+
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).
37+
1638
## 0.29.1 (2026-08-30)
1739

1840
### 🚨Security

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies = [
1616
"ruff>=0.2",
1717
]
1818
name = "openapi-python-client"
19-
version = "0.29.1"
19+
version = "0.30.0"
2020
description = "Generate modern Python clients from OpenAPI"
2121
keywords = [
2222
"OpenAPI",

0 commit comments

Comments
 (0)