Skip to content

Commit 9cc27f3

Browse files
Release 0.24.0
1 parent e922225 commit 9cc27f3

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.changeset/support_ref_in_responses.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ 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.24.0 (2025-03-03)
17+
18+
### Breaking Changes
19+
20+
#### Support `$ref` in responses
21+
22+
Previously, using a `$ref` to define a response was ignored, the code to call the endpoint was still generated, but
23+
the response would not be parsed. Now, responses defined with `$ref` will be used to generate the response model, which
24+
will parse the response at runtime.
25+
26+
If a `$ref` is incorrect or uses a feature that is not supported by the generator, these endpoints will start failing to
27+
generate.
28+
1629
## 0.23.1 (2025-01-13)
1730

1831
### Features

pyproject.toml

Lines changed: 1 addition & 1 deletion
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.23.1"
21+
version = "0.24.0"
2222
description = "Generate modern Python clients from OpenAPI"
2323
keywords = [
2424
"OpenAPI",

0 commit comments

Comments
 (0)