---
title: "python-multipart 0.0.34 Breaking Changes on PyPI | Since.dev"
description: "What each python-multipart release removed, renamed or changed: 45 breaking changes in 11 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/python-multipart
last_updated: 2026-11-24
---

# 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

Latest version `0.0.34`, released November 16, 2026. [Source repository](https://github.com/Kludex/python-multipart)

Its 0.0.33 release drops [Python 3.10](https://since.dev/calendar/python/3.10.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.0.21](#v-0-0-21) to [0.0.34](#v-0-0-34): 44 breaking changes in 10 versions.

## python-multipart 0.0.34 breaking changes

python-multipart 0.0.34, released November 16, 2026: 7 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](https://github.com/Kludex/python-multipart/releases/tag/0.0.34)
- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.34)
- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.34)
- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.34)
- **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](https://pypi.org/project/python-multipart/0.0.34/)
- **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](https://pypi.org/project/python-multipart/0.0.34/)
- **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](https://pypi.org/project/python-multipart/0.0.34/)

## python-multipart 0.0.33 breaking changes

python-multipart 0.0.33, released October 31, 2026: 3 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](https://github.com/Kludex/python-multipart/releases/tag/0.0.33)
- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.33)
- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.33)

## python-multipart 0.0.31 breaking changes

python-multipart 0.0.31, released June 4, 2026: 2 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](https://github.com/Kludex/python-multipart/releases/tag/0.0.31)
- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.31)

## python-multipart 0.0.30 breaking changes

python-multipart 0.0.30, released May 31, 2026: 3 breaking changes.

- **Removed** `python_multipart.multipart.SEMICOLON`  

python_multipart.multipart.SEMICOLON was removed in python-multipart 0.0.30 [pypi.org](https://pypi.org/project/python-multipart/0.0.30/)
- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.30)
- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.30)

## python-multipart 0.0.28 breaking changes

python-multipart 0.0.28, released May 10, 2026: 1 breaking change.

- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.28)

## python-multipart 0.0.27 breaking changes

python-multipart 0.0.27, released April 27, 2026: 2 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](https://pypi.org/project/python-multipart/0.0.27/)
- **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](https://pypi.org/project/python-multipart/0.0.27/)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### python-multipart 0.0.25 breaking changes

python-multipart 0.0.25, released April 10, 2026: 20 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](https://github.com/Kludex/python-multipart/releases/tag/0.0.25)
- **Removed** `python_multipart.FormParser.FieldClass`  

python_multipart.FormParser.FieldClass was removed in python-multipart 0.0.25 [pypi.org](https://pypi.org/project/python-multipart/0.0.25/)

And 18 more in this version.

### python-multipart 0.0.24 breaking changes

python-multipart 0.0.24, released April 5, 2026: 1 breaking change.

- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.24)

### python-multipart 0.0.23 breaking changes

python-multipart 0.0.23, released April 5, 2026: 4 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](https://github.com/Kludex/python-multipart/releases/tag/0.0.23)
- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.23)

And 2 more in this version.

### python-multipart 0.0.22 breaking changes

python-multipart 0.0.22, released January 25, 2026: 1 breaking change.

- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.22)

### python-multipart 0.0.21 breaking changes

python-multipart 0.0.21, released December 17, 2025: 1 breaking change.

- **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](https://github.com/Kludex/python-multipart/releases/tag/0.0.21)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
