Skip to content

Commit b4bed61

Browse files
author
GitHub
committed
chore: prepare release 0.17.2
1 parent 89dc670 commit b4bed61

4 files changed

+19
-21
lines changed

.changeset/add_metapdm_option_for_generating_pep621_pdm_metadata.md

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

.changeset/add_original_openapi_data_attribute_to_response_object.md

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

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,24 @@ 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.17.2 (2024-01-13)
17+
18+
### Features
19+
20+
#### Add `--meta=pdm` option for generating PEP621 + PDM metadata
21+
22+
The default metadata is still `--meta=poetry`, which generates a `pyproject.toml` file with Poetry-specific metadata.
23+
This change adds the `--meta=pdm` option which includes [PDM](https://pdm-project.org/latest/)-specific metadata, but also
24+
standard [PEP621](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#writing-pyproject-toml)
25+
metadata. This may be useful as a starting point for other dependency managers & build tools (like Hatch).
26+
27+
#### Add original OpenAPI `data` attribute to `Response` object
28+
29+
PR #767
30+
31+
In custom templates, you can now access a `response.data` attribute that contains the original OpenAPI definition of the
32+
response (Response Object or Reference Object).
33+
1634
## 0.17.1 (2024-01-04)
1735

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

0 commit comments

Comments
 (0)