python-multipart breaking changes
Every breaking API change we have recorded in python-multipart on PyPI: 45 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated November 24, 2026
On this page
Latest version 0.0.34, released November 16, 2026. Source repository
Its 0.0.33 release drops Python 3.10. Python end of life dates.
python-multipart 0.0.34 breaking changes
- Behavior changed
Spaces and tabs after delimiters between parts are now treated as transport padding. Malformed padding raises MultipartParseError instead of being returned as part data, so code that relied on the old behavior must handle this exception. github.com - Behavior changed
FormParser
FormParser now strips whitespace around part header values, so headers such as Content-Transfer-Encoding with trailing spaces are recognized and decoded. Low-level MultipartParser callbacks still receive the raw header bytes. github.com - Behavior changed
parse_options_header
parse_options_header no longer trims all Unicode whitespace from parameter values, only spaces and tabs, so some parsed values can differ from before. github.com - Behavior changed
set_callback
Parsers constructed without callbacks now get separate dictionaries, so calling set_callback() on one parser no longer changes another parser's handlers. Code that depended on the shared registrations must register callbacks on each parser. github.com - Signature changed
python_multipart.MultipartParser.__init__
Was def __init__(self, boundary: bytes | str, callbacks: MultipartCallbacks = {}, max_size: float = float('inf'), *, max_header_count: int = DEFAULT_MAX_HEADER_COUNT, max_header_size: int = DEFAULT_MAX_HEADER_SIZE) -> None; now def... pypi.org - Signature changed
python_multipart.OctetStreamParser.__init__
Was def __init__(self, callbacks: OctetStreamCallbacks = {}, max_size: float = float('inf')); now def __init__(self, callbacks: OctetStreamCallbacks | None = None, max_size: float = float('inf')). pypi.org - Signature changed
python_multipart.QuerystringParser.__init__
Was def __init__(self, callbacks: QuerystringCallbacks = {}, strict_parsing: bool = False, max_size: float = float('inf')) -> None; now def __init__(self, callbacks: QuerystringCallbacks | None = None, strict_parsing: bool = False... pypi.org
python-multipart 0.0.33 breaking changes
- Removed
Python 3.10 is no longer supported and Python 3.11 is now the minimum. Users on Python 3.10 must upgrade Python before installing this release. github.com - Behavior changed
MultipartState
Parser states are now module-level enum members, so their repr prints as multipart.END instead of the old MultipartState form. Code that parses or compares these repr strings must be updated. github.com - Behavior changed
parse_options_header
Content types that include parameters are now returned in lowercase, matching headers without parameters. Code that compares the returned value case-sensitively must be updated. github.com
python-multipart 0.0.31 breaking changes
- Behavior changed
Header field names longer than the new bound are now rejected, so code that relied on very long header names may need to shorten them. github.com - Behavior changed
parse_form
parse_form validates that Content-Length is non-negative, so requests with a negative Content-Length are now rejected. github.com
python-multipart 0.0.30 breaking changes
- Removed
python_multipart.multipart.SEMICOLON
python_multipart.multipart.SEMICOLON was removed in python-multipart 0.0.30 pypi.org - Behavior changed
Parsing of urlencoded form data now splits fields only on '&', so semicolons no longer act as field separators. Code relying on ';' separators must change its input or split fields itself. github.com - Behavior changed
parse_options_header
parse_options_header no longer parses RFC 2231 extended parameters, so code that read those parameters from its output will see them missing. github.com
python-multipart 0.0.28 breaking changes
- Behavior changed
The package now limits multipart boundary length to 256 bytes, so requests with longer boundaries that were previously accepted may now be rejected. github.com
python-multipart 0.0.27 breaking changes
- Signature changed
python_multipart.multipart.MultipartParser.__init__
Was def __init__(self, boundary: bytes | str, callbacks: MultipartCallbacks = {}, max_size: float = float('inf')) -> None; now def __init__(self, boundary: bytes | str, callbacks: MultipartCallbacks = {}, max_size: float = float('inf'), *... pypi.org - Signature changed
python_multipart.MultipartParser.__init__
Was def __init__(self, boundary: bytes | str, callbacks: MultipartCallbacks = {}, max_size: float = float('inf')) -> None; now def __init__(self, boundary: bytes | str, callbacks: MultipartCallbacks = {}, max_size: float = float('inf'), *... pypi.org
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
python-multipart 0.0.25 breaking changes
- Removed
The release removes the custom FormParser classes; the document does not name them, so check your code for any imports or subclasses of them. github.com - Removed
python_multipart.FormParser.FieldClass
python_multipart.FormParser.FieldClass was removed in python-multipart 0.0.25 pypi.org
And 18 more in this version.
python-multipart 0.0.24 breaking changes
- Behavior changed
parse_form
parse_form() now checks chunk_size and rejects invalid values. Code that passes an invalid chunk_size must now pass a valid one. github.com
python-multipart 0.0.23 breaking changes
- Removed
Metadata dunder attributes were cleaned up from __init__.py, so code reading them from the package may no longer find them. github.com - Removed
trust_x_headers
The trust_x_headers parameter is removed and the X-File-Name header is no longer used as a filename fallback. Code passing trust_x_headers must stop passing it. github.com
And 2 more in this version.
python-multipart 0.0.22 breaking changes
- Behavior changed
File
The File object now drops any directory path from the uploaded filename, so code that expects the full path must use only the base name instead. github.com
python-multipart 0.0.21 breaking changes
- Removed
The release drops support for end-of-life Python 3.8 and 3.9. Users on those Python versions must upgrade Python before installing this release. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.