From 626e9b51ef0e0061d42bb6056d4d1e2987500a8a Mon Sep 17 00:00:00 2001 From: "knope-bot[bot]" <152252888+knope-bot[bot]@users.noreply.github.com> Date: Sat, 23 Nov 2024 02:12:24 +0000 Subject: [PATCH] Release 0.22.0 --- .changeset/drop_support_for_python_38.md | 8 -------- .../type_is_now_a_reserved_field_name.md | 8 -------- CHANGELOG.md | 18 ++++++++++++++++++ pyproject.toml | 2 +- 4 files changed, 19 insertions(+), 17 deletions(-) delete mode 100644 .changeset/drop_support_for_python_38.md delete mode 100644 .changeset/type_is_now_a_reserved_field_name.md diff --git a/.changeset/drop_support_for_python_38.md b/.changeset/drop_support_for_python_38.md deleted file mode 100644 index ed9060c5c..000000000 --- a/.changeset/drop_support_for_python_38.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -default: major ---- - -# 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. diff --git a/.changeset/type_is_now_a_reserved_field_name.md b/.changeset/type_is_now_a_reserved_field_name.md deleted file mode 100644 index f804f0f51..000000000 --- a/.changeset/type_is_now_a_reserved_field_name.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -default: major ---- - -# `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_`. diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c20dd597..2acc64b1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,24 @@ Programmatic usage of this project (e.g., importing it as a Python module) and t 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). +## 0.22.0 (2024-11-23) + +### 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) + ## 0.21.7 (2024-10-28) ### Fixes diff --git a/pyproject.toml b/pyproject.toml index 417d7a356..12a7e7914 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ dependencies = [ "typing-extensions>=4.8.0,<5.0.0", ] name = "openapi-python-client" -version = "0.21.7" +version = "0.22.0" description = "Generate modern Python clients from OpenAPI" keywords = [ "OpenAPI",