Back to Explore

Kludex/python-multipart

GitHub
10 updates · last 90 days2 watchersOpen source

Last release: 2026-06-04

python-multipart is a Python package hosted on GitHub. It’s useful for working with multipart/form-data requests, commonly needed when handling file uploads in web applications.

Project status

  • Actively maintained. The GitHub upstream push is very recent (2026-06-04), and the project has delivered multiple updates in June 2026 (0.0.31 and 0.0.32) plus regular follow-ons earlier in May 2026.
  • Update cadence looks fast and steady. From the recent updates (2026-05-10 through 2026-06-04), changes land roughly every 1 to 3 weeks, with at least two closely spaced updates in early June.

AI summary generated 2026-06-11

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 0.0.32

    2026-06-04

    Release 0.0.32 updates python-multipart to speed up partial-boundary detection during multipart parsing. The public API version is bumped, and the change is validated by adding a new CRLF-dense fixture and including it in the test suite.

  • 0.0.31

    2026-06-04

    Version 0.0.31 focuses on speeding up multipart parsing, especially header parsing and callback dispatch. It also adds stricter validation by bounding header field name sizes during header parsing and rejecting negative Content-Length values in parse_form.

    Breaking
  • 0.0.30

    2026-05-31

    Version 0.0.30 changes how python-multipart parses URL-encoded field separators and how it interprets Content-Type parameters. It updates multipart/form-data option parsing to ignore RFC 2231/5987 extended parameters and adjusts the urlencoded parsing behavior to only treat '&' as a field separator.

    Breaking
  • 0.0.29

    2026-05-17

    Release 0.0.29 updates `parse_options_header` to better tolerate malformed RFC 2231 continuations by preventing failures during parameter parsing. The change is accompanied by new tests covering oversized RFC 2231 indices and mixed continuation styles, plus some CI/dev tooling updates.

  • 0.0.28

    2026-05-10

    Release 0.0.28 focuses on multipart parser hardening and a small hot-path optimization. It speeds up the partial-boundary tail scan and rejects multipart boundaries longer than 256 bytes, which changes behavior for oversized inputs.

    Breaking
  • 0.0.27

    2026-04-27

    This release hardens multipart and querystring parsing. It adds multipart header limits, passes parse offsets through exception constructors, and expands fuzz coverage and test infrastructure around parser edge cases.

    Features
  • 0.0.26

    2026-04-10

    Version 0.0.26 focuses on multipart parsing behavior, making the parser skip preamble before the first boundary more efficiently and silently ignore epilogue data after the closing boundary. The release also updates the package version, changelog, and tests to reflect the new parser semantics.

  • 0.0.25

    2026-04-10

    Version 0.0.25 focuses on multipart parsing robustness and metadata exposure. It adds MIME content type metadata to uploaded files, handles multipart headers and CTE values case-insensitively, and fixes finalization for trailing bare field names. The release also removes custom FormParser classes, adds a temp-file deletion option, and updates licensing and CI tooling.

    BreakingFeatures
  • 0.0.24

    2026-04-05

    Version 0.0.24 is a small maintenance release centered on input validation in `parse_form()`. The runtime change is limited to rejecting non-positive `chunk_size` values with a `ValueError`, plus test coverage and release engineering updates.

    Breaking
  • 0.0.23

    2026-04-05

    Version 0.0.23 is a cleanup-focused release that removes the deprecated X-File-Name trust path, changes QuerystringParser._internal_write to report the processed byte count, and strips package metadata dunder exports. It also refreshes the docs, tests, CI workflow actions, and the dev dependency stack.

    Breaking
  • 0.0.22

    2026-01-25

    Version 0.0.22 focuses on filename normalization in File, stripping directory components before deriving the stored name and extension. The release also bumps the package version, updates the changelog, and refreshes a few GitHub Actions versions used by CI.

    Breaking
  • 0.0.21

    2025-12-17

    This release adds Python 3.14 support and raises the minimum supported Python version to 3.10, dropping Python 3.8 and 3.9. Most other changes are maintenance updates to CI, packaging metadata, and the development toolchain.

    BreakingFeatures
  • 0.0.20

    2024-12-16

    Version 0.0.20 is a focused parser fix release. It now accepts multipart messages that contain only the terminal boundary, and the project also refreshes its docs and CI tooling.

  • 0.0.19

    2024-12-01

    Release 0.0.19 updates python-multipart behavior related to multipart parsing warnings. It stops emitting warnings when CRLF is detected after the last boundary, reducing noisy/incorrect warning output.