Skip to content

bump(deps-dev): bump openapi-python-client from 0.24.3 to 0.25.0#29

Merged
Nicola Franco (franconicola) merged 1 commit into
mainfrom
dependabot/pip/main/openapi-python-client-0.25.0
Jun 18, 2025
Merged

bump(deps-dev): bump openapi-python-client from 0.24.3 to 0.25.0#29
Nicola Franco (franconicola) merged 1 commit into
mainfrom
dependabot/pip/main/openapi-python-client-0.25.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 6, 2025

Bumps openapi-python-client from 0.24.3 to 0.25.0.

Release notes

Sourced from openapi-python-client's releases.

0.25.0 (2025-06-06)

Breaking Changes

  • Raise minimum httpx version to 0.23

Removed ability to set an array as a multipart body

Previously, when defining a request's body as multipart/form-data, the generator would attempt to generate code for both object schemas and array schemas. However, most arrays could not generate valid multipart bodies, as there would be no field names (required to set the Content-Disposition headers).

The code to generate any body for multipart/form-data where the schema is array has been removed, and any such bodies will be skipped. This is not expected to be a breaking change in practice, since the code generated would probably never work.

If you have a use-case for multipart/form-data with an array schema, please open a new discussion with an example schema and the desired functional Python code.

Change default multipart array serialization

Previously, any arrays of values in a multipart/form-data body would be serialized as an application/json part. This matches the default behavior specified by OpenAPI and supports arrays of files (binary format strings). However, because this generator doesn't yet support specifying encoding per property, this may result in now-incorrect code when the encoding was explicitly set to application/json for arrays of scalar values.

PR #938 fixes #692. Thanks @​micha91 for the fix, @​ratgen and @​FabianSchurig for testing, and @​davidlizeng for the original report... many years ago 😅.

Changelog

Sourced from openapi-python-client's changelog.

0.25.0 (2025-06-06)

Breaking Changes

  • Raise minimum httpx version to 0.23

Removed ability to set an array as a multipart body

Previously, when defining a request's body as multipart/form-data, the generator would attempt to generate code for both object schemas and array schemas. However, most arrays could not generate valid multipart bodies, as there would be no field names (required to set the Content-Disposition headers).

The code to generate any body for multipart/form-data where the schema is array has been removed, and any such bodies will be skipped. This is not expected to be a breaking change in practice, since the code generated would probably never work.

If you have a use-case for multipart/form-data with an array schema, please open a new discussion with an example schema and the desired functional Python code.

Change default multipart array serialization

Previously, any arrays of values in a multipart/form-data body would be serialized as an application/json part. This matches the default behavior specified by OpenAPI and supports arrays of files (binary format strings). However, because this generator doesn't yet support specifying encoding per property, this may result in now-incorrect code when the encoding was explicitly set to application/json for arrays of scalar values.

PR #938 fixes #692. Thanks @​micha91 for the fix, @​ratgen and @​FabianSchurig for testing, and @​davidlizeng for the original report... many years ago 😅.

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 dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 6, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@dependabot dependabot Bot force-pushed the dependabot/pip/main/openapi-python-client-0.25.0 branch from 0afe778 to 56a4fb0 Compare June 18, 2025 13:19
Bumps [openapi-python-client](https://github.com/openapi-generators/openapi-python-client) from 0.24.3 to 0.25.0.
- [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.24.3...v0.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/main/openapi-python-client-0.25.0 branch from 56a4fb0 to 6551596 Compare June 18, 2025 14:12
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@franconicola Nicola Franco (franconicola) merged commit 26b8cdb into main Jun 18, 2025
5 checks passed
@dependabot dependabot Bot deleted the dependabot/pip/main/openapi-python-client-0.25.0 branch June 18, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant