diff --git a/.changeset/add_aliases_to_client_for_pyright.md b/.changeset/add_aliases_to_client_for_pyright.md deleted file mode 100644 index c2d1aa0f8..000000000 --- a/.changeset/add_aliases_to_client_for_pyright.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -default: patch ---- - -# Add aliases to `Client` for pyright - -This should resolve incompatibilities between the generated `Client` class and the pyright type checker. - -PR #1009 closes #909. Thanks @patrick91! diff --git a/.changeset/add_config_option_to_override_content_types.md b/.changeset/add_config_option_to_override_content_types.md deleted file mode 100644 index 2c9bec8a6..000000000 --- a/.changeset/add_config_option_to_override_content_types.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -default: minor ---- - -# Add config option to override content types - -You can now define a `content_type_overrides` field in your `config.yml`: - -```yaml -content_type_overrides: - application/zip: application/octet-stream -``` - -This allows `openapi-python-client` to generate code for content types it doesn't recognize. - -PR #1010 closes #810. Thanks @gaarutyunov! diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b87c180a..18722b79d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,31 @@ 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.19.1 (2024-03-27) + +### Features + +#### Add config option to override content types + +You can now define a `content_type_overrides` field in your `config.yml`: + +```yaml +content_type_overrides: + application/zip: application/octet-stream +``` + +This allows `openapi-python-client` to generate code for content types it doesn't recognize. + +PR #1010 closes #810. Thanks @gaarutyunov! + +### Fixes + +#### Add aliases to `Client` for pyright + +This should resolve incompatibilities between the generated `Client` class and the pyright type checker. + +PR #1009 closes #909. Thanks @patrick91! + ## 0.19.0 (2024-03-06) ### Breaking Changes diff --git a/pyproject.toml b/pyproject.toml index b367f6745..2bab36092 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.19.0" +version = "0.19.1" description = "Generate modern Python clients from OpenAPI" keywords = [ "OpenAPI",