Skip to content

Commit 058047c

Browse files
Release 0.28.0
1 parent b827e3e commit 058047c

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

.changeset/fix_optional_bodies.md

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

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,24 @@ 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.28.0 (2025-12-03)
17+
18+
### Breaking Changes
19+
20+
- URL-encode path parameters in generated endpoints (#1349)
21+
22+
### Fixes
23+
24+
#### Fix optional bodies
25+
26+
If a body is not required (the default), it will now:
27+
28+
1. Have `Unset` as part of its type annotation.
29+
2. Default to a value of `UNSET`
30+
3. Not be included in the request if it is `UNSET`
31+
32+
Thanks @orelmaliach for the report! Fixes #1354
33+
1634
## 0.27.1 (2025-11-03)
1735

1836
### Fixes

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies = [
1717
"ruff>=0.2",
1818
]
1919
name = "openapi-python-client"
20-
version = "0.27.1"
20+
version = "0.28.0"
2121
description = "Generate modern Python clients from OpenAPI"
2222
keywords = [
2323
"OpenAPI",

0 commit comments

Comments
 (0)