Skip to content

build(deps-dev): bump python-multipart from 0.0.33 to 0.0.34 - #150

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python-multipart-0.0.34
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python-multipart-0.0.34

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026

Copy link
Copy Markdown
Contributor

Bumps python-multipart from 0.0.33 to 0.0.34.

Release notes

Sourced from python-multipart's releases.

Version 0.0.34

⚡ Faster form parsing

This release reduces parser overhead for forms with many fields and corrects multipart boundary and header handling. Parsers created without callbacks also no longer share callback registrations.

pip install python-multipart==0.0.34
  • Faster query-string parsing (#372). The parser reuses separator positions and starts the next field directly when its data is already available.
  • Less overhead for multipart forms (#370, #373). Complete CRLF sequences are consumed without stepping through each intermediate parser state, and mark-helper functions are no longer created on each write.

🧩 More predictable multipart handling

  • Padded boundaries no longer merge adjacent parts (#363). Spaces and tabs after delimiters between parts are recognized as transport padding. Malformed padding now raises MultipartParseError instead of being returned as part data. Padded opening boundaries remain unsupported.
  • Non-ASCII parameter bytes are preserved (#364). parse_options_header trims only spaces and tabs, rather than all Unicode whitespace. This avoids changing parameter values such as names ending in the UTF-8 bytes for à.
  • Whitespace around part header values is ignored by FormParser (#366). For example, Content-Transfer-Encoding: base64 is recognized and decoded despite the trailing space. Low-level MultipartParser callbacks still receive the raw header value bytes.

🛡️ Isolated callbacks and clearer security scope

  • Callback registrations stay with their parser (#362). Parsers constructed without callbacks now get separate dictionaries, so calling set_callback() on one no longer changes another parser's handlers.
  • A documented threat model (#358, #359, #367). The threat model defines trust boundaries, application responsibilities, and vulnerability scope. Bugs in deprecated Content-Transfer-Encoding decoding are handled as public bug reports rather than security reports.

💜 Thank you

Thanks to @​deadstrobe5 and @​g4lb for the parser performance proposals that informed this release.

Full changelog: 0.0.33...0.0.34

Changelog

Sourced from python-multipart's changelog.

0.0.34 (2026-11-16)

  • Reduce multipart parser overhead by removing mark-helper closures and consuming buffered line endings #370, #373.
  • Speed up query-string parsing by reusing separators and starting fields directly #372.
  • Keep default callback dictionaries separate between parser instances #362.
  • Recognize transport padding after between-part boundaries and reject malformed padding #363.
  • Only trim spaces and tabs in parse_options_header, preserving other whitespace in media types and parameters #364.
  • Strip spaces and tabs around part header values in FormParser #366.
  • Add a threat model and clarify vulnerability scope #358, #359.
Commits
  • c511ff0 Exclude Content-Transfer-Encoding decoding from the threat model (#367)
  • 783f37a Bump version to 0.0.34 (#374)
  • 8ee1f50 Skip buffered multipart line endings (#373)
  • 55ba6f4 Reuse query-string separators and start fields directly (#372)
  • 89a8013 Inline multipart mark operations (#370)
  • 9bd038e Strip whitespace around part header values in FormParser (#366)
  • 6cebfd8 Only trim spaces and tabs around header parameters (#364)
  • 70297b7 Bump the python-packages group with 9 updates (#361)
  • 17334ce Handle transport padding after multipart boundaries (#363)
  • 66e4fa4 Create a new default callbacks dict for each parser (#362)
  • Additional commits viewable in compare view

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 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)

Bumps [python-multipart](https://github.com/Kludex/python-multipart) from 0.0.33 to 0.0.34.
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/main/CHANGELOG.md)
- [Commits](Kludex/python-multipart@0.0.33...0.0.34)

---
updated-dependencies:
- dependency-name: python-multipart
  dependency-version: 0.0.34
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 20, 2026

This branch has not been deployed

No deployments
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants