0.19.0 (2024-03-06)
Breaking Changes
Update PDM metadata syntax
Metadata generated for PDM will now use the new distribution = true
syntax instead of package-type = "library"
.
New packages generated with --meta pdm
will require PDM 2.12.0
or later to build.
Features
Add response content to UnexpectedStatus
exception
The error message for UnexpectedStatus
exceptions will now include the UTF-8 decoded (ignoring errors) body of the response.
PR #989 implements #840. Thanks @harabat!
Fixes
Allow hyphens in path parameters
Before now, path parameters which were invalid Python identifiers were not allowed, and would fail generation with an
"Incorrect path templating" error. In particular, this meant that path parameters with hyphens were not allowed.
This has now been fixed!
PR #986 fixed issue #976. Thanks @harabat!
Warning
This change may break custom templates, see this diff
if you have trouble upgrading.