Skip to content

Commit f39505f

Browse files
Release 0.23.0
1 parent 7225f0e commit f39505f

5 files changed

+37
-34
lines changed

.changeset/delete_fewer_files_with_overwrite.md

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

.changeset/fix_minimum_attrs_version.md

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

.changeset/properly_rebuild_pydantic_models_if_necessary.md

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

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,42 @@ 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.23.0 (2024-12-24)
17+
18+
### Breaking Changes
19+
20+
#### Delete fewer files with `--overwrite`
21+
22+
`--overwrite` will no longer delete the entire output directory before regenerating. Instead, it will only delete
23+
specific, known directories within that directory. Right now, that is only the generated `models` and `api` directories.
24+
25+
Other generated files, like `README.md`, will be overwritten. Extra files and directories outside of those listed above
26+
will be left untouched, so you can any extra modules or files around while still updating `pyproject.toml` automatically.
27+
28+
Closes #1105.
29+
30+
### Features
31+
32+
- Support httpx 0.28 (#1172)
33+
34+
### Fixes
35+
36+
- Support Typer 0.14 and 0.15 (#1173)
37+
38+
#### Fix minimum `attrs` version
39+
40+
The minimum `attrs` dependency version was incorrectly set to 21.3.0. This has been corrected to 22.2.0, the minimum
41+
supported version since `openapi-python-client` 0.19.1.
42+
43+
Closes #1084, thanks @astralblue!
44+
45+
#### Fix compatibility with Pydantic 2.10+
46+
47+
##1176 by @Viicos
48+
49+
Set `defer_build` to models that we know will fail to build, and call `model_rebuild`
50+
in the `__init__.py` file.
51+
1652
## 0.22.0 (2024-11-23)
1753

1854
### Breaking Changes

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies = [
1818
"typing-extensions>=4.8.0,<5.0.0",
1919
]
2020
name = "openapi-python-client"
21-
version = "0.22.0"
21+
version = "0.23.0"
2222
description = "Generate modern Python clients from OpenAPI"
2323
keywords = [
2424
"OpenAPI",

0 commit comments

Comments
 (0)