Skip to content

Commit 54c5b10

Browse files
author
GitHub
committed
chore: prepare release 0.19.1
1 parent eb7c708 commit 54c5b10

4 files changed

+26
-26
lines changed

.changeset/add_aliases_to_client_for_pyright.md

-9
This file was deleted.

.changeset/add_config_option_to_override_content_types.md

-16
This file was deleted.

CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,31 @@ 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.19.1 (2024-03-27)
17+
18+
### Features
19+
20+
#### Add config option to override content types
21+
22+
You can now define a `content_type_overrides` field in your `config.yml`:
23+
24+
```yaml
25+
content_type_overrides:
26+
application/zip: application/octet-stream
27+
```
28+
29+
This allows `openapi-python-client` to generate code for content types it doesn't recognize.
30+
31+
PR #1010 closes #810. Thanks @gaarutyunov!
32+
33+
### Fixes
34+
35+
#### Add aliases to `Client` for pyright
36+
37+
This should resolve incompatibilities between the generated `Client` class and the pyright type checker.
38+
39+
PR #1009 closes #909. Thanks @patrick91!
40+
1641
## 0.19.0 (2024-03-06)
1742

1843
### Breaking Changes

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

0 commit comments

Comments
 (0)