Skip to content

Conversation

dbanty
Copy link
Collaborator

@dbanty dbanty commented Mar 6, 2024

This PR was created by Knope. Merging it will create a new release

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.

@dbanty dbanty changed the title chore: prepare release 0.18.1 chore: prepare release 0.19.0 Mar 6, 2024
@dbanty dbanty merged commit 0399271 into main Mar 6, 2024
@dbanty dbanty deleted the release branch March 6, 2024 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant