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 upstream GitHub project shows recent activity (last push on 2026-05-17), and multiple recent versioned updates add fixes, hardening, and test coverage rather than long inactivity.
- Update cadence: After a gap into 2025-12 to 2026-01, updates cluster in early 2026, with a fairly steady rhythm in recent weeks (2026-04-05, 2026-04-10, 2026-04-27, 2026-05-10, 2026-05-17).
AI summary generated 2 weeks ago
Recent updates
0.0.30
2 days agoVersion 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.
Breaking0.0.29
2 weeks agoRelease 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
3 weeks agoRelease 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.
Breaking0.0.27
1 month agoThis 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.
Features0.0.26
1 month agoVersion 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
1 month agoVersion 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.
BreakingFeatures0.0.24
1 month agoVersion 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.
Breaking0.0.23
1 month agoVersion 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.
Breaking0.0.22
4 months agoVersion 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.
Breaking0.0.21
5 months agoThis 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.
BreakingFeatures0.0.20
12/16/2024Version 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
12/1/2024Release 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.