Skip to content

Commit 548f70c

Browse files
author
GitHub
committed
chore: prepare release 0.18.1
1 parent 88ffbd6 commit 548f70c

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

.changeset/allow_hyphens_in_path_parameters.md

-15
This file was deleted.

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,22 @@ 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.18.1 (2024-03-06)
17+
18+
### Fixes
19+
20+
#### Allow hyphens in path parameters
21+
22+
Before now, path parameters which were invalid Python identifiers were not allowed, and would fail generation with an
23+
"Incorrect path templating" error. In particular, this meant that path parameters with hyphens were not allowed.
24+
This has now been fixed!
25+
26+
PR #986 fixed issue #976. Thanks @harabat!
27+
28+
> [!WARNING]
29+
> This change may break custom templates, see [this diff](https://github.com/openapi-generators/openapi-python-client/pull/986/files#diff-0de8437b26075d8fe8454cf47d8d95d4835c7f827fa87328e03f690412be803e)
30+
> if you have trouble upgrading.
31+
1632
## 0.18.0 (2024-02-22)
1733

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

0 commit comments

Comments
 (0)