diff --git a/.changeset/fix_invalid_type_check_for_nested_unions.md b/.changeset/fix_invalid_type_check_for_nested_unions.md deleted file mode 100644 index 6d3c512a2..000000000 --- a/.changeset/fix_invalid_type_check_for_nested_unions.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -default: patch ---- - -# Fix invalid type check for nested unions - -Nested union types (unions of unions) were generating `isinstance()` checks that were not valid (at least for Python 3.9). - -Thanks to @codebutler for PR #959 which fixes #958 and #967. diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d2049163..16b5a2bf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,18 @@ 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.17.3 (2024-02-20) + +### Fixes + +#### Remove spurious field_dict.update({}) for types without properties (#969) + +#### Fix invalid type check for nested unions + +Nested union types (unions of unions) were generating `isinstance()` checks that were not valid (at least for Python 3.9). + +Thanks to @codebutler for PR #959 which fixes #958 and #967. + ## 0.17.2 (2024-01-15) ### Features diff --git a/pyproject.toml b/pyproject.toml index 2939d310c..ce36e2d09 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.17.2" +version = "0.17.3" description = "Generate modern Python clients from OpenAPI" keywords = [ "OpenAPI",