Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump openapi-python-client from 0.21.5 to 0.21.7 #64

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2024

Bumps openapi-python-client from 0.21.5 to 0.21.7.

Release notes

Sourced from openapi-python-client's releases.

0.21.7 (2024-10-28)

Fixes

  • allow required fields list to be specified as empty (#651) (#1149)
  • import cast for required const properties, since it's used in the template (#1153)

0.21.6 (2024-10-20)

Features

Add literal_enums config setting

Instead of the default Enum classes for enums, you can now generate Literal sets wherever enum appears in the OpenAPI spec by setting literal_enums: true in your config file.

literal_enums: true

Thanks to @​emosenkis for PR #1114 closes #587, #725, #1076, and probably many more. Thanks also to @​eli-bl, @​expobrain, @​theorm, @​chrisguillory, and anyone else who helped getting to this design!

Fixes

  • Typo in docstring (#1128)

Use literal value instead of HTTPStatus enum when checking response statuses

Python 3.13 renamed some of the HTTPStatus enum members, which means clients generated with Python 3.13 may not work with older versions of Python. This change stops using the HTTPStatus enum directly when checking response statuses.

Statuses will still be checked for validity at generation time, and transformed into HTTPStatus after being checked at runtime.

This may cause some linters to complain.

Changelog

Sourced from openapi-python-client's changelog.

0.21.7 (2024-10-28)

Fixes

  • allow required fields list to be specified as empty (#651) (#1149)
  • import cast for required const properties, since it's used in the template (#1153)

0.21.6 (2024-10-20)

Features

Add literal_enums config setting

Instead of the default Enum classes for enums, you can now generate Literal sets wherever enum appears in the OpenAPI spec by setting literal_enums: true in your config file.

literal_enums: true

Thanks to @​emosenkis for PR #1114 closes #587, #725, #1076, and probably many more. Thanks also to @​eli-bl, @​expobrain, @​theorm, @​chrisguillory, and anyone else who helped getting to this design!

Fixes

  • Typo in docstring (#1128)

Use literal value instead of HTTPStatus enum when checking response statuses

Python 3.13 renamed some of the HTTPStatus enum members, which means clients generated with Python 3.13 may not work with older versions of Python. This change stops using the HTTPStatus enum directly when checking response statuses.

Statuses will still be checked for validity at generation time, and transformed into HTTPStatus after being checked at runtime.

This may cause some linters to complain.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependabot Pull requests created by dependabot label Nov 25, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 25, 2024

The following labels could not be found: dependencies.

Bumps [openapi-python-client](https://github.com/openapi-generators/openapi-python-client) from 0.21.5 to 0.21.7.
- [Release notes](https://github.com/openapi-generators/openapi-python-client/releases)
- [Changelog](https://github.com/openapi-generators/openapi-python-client/blob/main/CHANGELOG.md)
- [Commits](openapi-generators/openapi-python-client@v0.21.5...v0.21.7)

---
updated-dependencies:
- dependency-name: openapi-python-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/openapi-python-client-0.21.7 branch from 005bab2 to a476de4 Compare December 3, 2024 06:59
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 10, 2024

Superseded by #66.

@dependabot dependabot bot closed this Dec 10, 2024
@dependabot dependabot bot deleted the dependabot/pip/openapi-python-client-0.21.7 branch December 10, 2024 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependabot Pull requests created by dependabot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants