Skip to content

Commit 72f3f5a

Browse files
authoredDec 9, 2024··
Release 0.22.0 (#1170)
> [!IMPORTANT] > Merging this pull request will create this release ## Breaking Changes ### Drop support for Python 3.8 Python 3.8 is no longer supported. "New" 3.9 syntax, like generics on builtin collections, is used both in the generator and the generated code. ### `type` is now a reserved field name Because `type` is used in type annotations now, it is no longer a valid field name. Fields which were previously named `type` will be renamed to `type_`. ## Features - Support Ruff 0.8 (#1169) Co-authored-by: knope-bot[bot] <152252888+knope-bot[bot]@users.noreply.github.com>
1 parent 861ef56 commit 72f3f5a

4 files changed

+19
-17
lines changed
 

‎.changeset/drop_support_for_python_38.md

-8
This file was deleted.

‎.changeset/type_is_now_a_reserved_field_name.md

-8
This file was deleted.

‎CHANGELOG.md

+18
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.22.0 (2024-11-23)
17+
18+
### Breaking Changes
19+
20+
#### Drop support for Python 3.8
21+
22+
Python 3.8 is no longer supported. "New" 3.9 syntax, like generics on builtin collections, is used both in the generator
23+
and the generated code.
24+
25+
#### `type` is now a reserved field name
26+
27+
Because `type` is used in type annotations now, it is no longer a valid field name. Fields which were previously named
28+
`type` will be renamed to `type_`.
29+
30+
### Features
31+
32+
- Support Ruff 0.8 (#1169)
33+
1634
## 0.21.7 (2024-10-28)
1735

1836
### Fixes

‎pyproject.toml

+1-1
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.21.7"
21+
version = "0.22.0"
2222
description = "Generate modern Python clients from OpenAPI"
2323
keywords = [
2424
"OpenAPI",

0 commit comments

Comments
 (0)
Please sign in to comment.