unstale

pypi / mitmproxy

mitmproxy

What changed in mitmproxy 11 to 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

6 breaking1 security13 new APIs and options3 performance14 behavior and defaults41 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

mitmproxy 1260 changes

Breaking changes 5

  • Require Brotli 1.2.1 to include the upstream decoder fix for CVE-2026-111497.

    12.3.1release notes

  • Removes eMudhra CAs from the trust list in precompiled binaries.

    12.3.0release notes

  • Linux binaries now require glibc 2.36 or newer.

    12.3.0release notes

  • Removes bless from hex editors to avoid issues with macOS.

    12.2.1release notes

  • The htpasswd file parser is now custom and supports only bcrypt and SHA-1 hashing, which may affect files using other formats.

    12.2.0release notes

Security 1

New APIs and options 9

  • When enabled, block OCSP and CRL requests to eMudhra and Sectigo revocation hosts.

    12.3.1release notes

  • Can launch an isolated, proxy-configured instance of Microsoft Edge.

    12.3.0release notes

  • Adds an option to sign TLS certificates with a compromised eMudhra intermediate CA key.

    12.3.0release notes

  • The mitmweb Options editor now supports float addon options.

    12.3.0release notes

  • Adds a Browser addon function to launch an isolated, proxy-configured Microsoft Edge instance.

    12.3.0release notes

  • Adds a mitmweb theme option with system, dark, and light values; system follows the operating system's color-scheme preference.

    12.3.0release notes

  • The mitmproxy console supports adding and editing comments on individual flows.

    12.2.2release notes

  • The mitmproxy console Quick Help UI can be hidden with the H key.

    12.2.2release notes

  • Adds a configurable TCP inactivity timeout, defaulting to 600 seconds; previously it was hardcoded to 10 minutes for all TCP connections.

    12.2.1release notes

Performance 1

  • Reduces mitmweb FlowTable Redux subscriptions from O(rows) to O(1).

    12.2.2release notes

Behavior and default changes 10

  • When enabled, block OCSP and CRL requests to eMudhra and Sectigo revocation hosts.

    12.3.1release notes

  • mitmproxy now supports Python 3.15, and binary releases ship with it by default.

    12.3.1release notes

  • mitmweb columns can be resized by dragging header edges or fit to contents by double-clicking; widths persist across reloads, and Appearance options control visible columns and restore default widths.

    12.3.0release notes

  • Raises the allowed upper bound to 4.16.0 on Python 3.12 so mitmproxy can be installed alongside packages requiring newer releases.

    12.3.0release notes

  • Reduces CERT_EXPIRY to 199 days.

    12.2.2release notes

  • Compression algorithms use fastest settings by default, improving addon runtime performance when assigning to message.content.

    12.2.2release notes

  • mitmweb shows the intercept filter tag at the bottom for default options.

    12.2.2release notes

  • mitmweb adds the number of selected flows to the footer.

    12.2.2release notes

  • Falls back to UTF-8 for more content types.

    12.2.1release notes

  • mitmproxy now supports Python 3.14, and binary releases ship with Python 3.14 by default.

    12.2.0release notes

Fixes and other changes 34

  • Fix an error message that contained an unformatted %s placeholder.

    12.3.1release notes

  • Fix an error message for unsupported option types that contained an unformatted %s placeholder.

    12.3.1release notes

  • Refresh cookie expiration dates for empty-valued cookies during server replay.

    12.3.1release notes

  • Preserve caller-provided value lists when replacing query parameters or cookies with set_all().

    12.3.1release notes

  • Fixes AVIF images and image/vnd.microsoft.icon favicons not rendering in the mitmweb response tab.

    12.3.0release notes

  • Basic authentication passwords may now contain colons.

    12.3.0release notes

  • Corrects contentview detection for XML files that start with CRLF.

    12.3.0release notes

  • In upstream mode, IPv6 target literals are bracketed in the CONNECT request and Host header, producing a valid authority.

    12.3.0release notes

  • Treats TLS versions rejected during context setup as unsupported instead of raising an unhandled SSL.Error.

    12.3.0release notes

  • The global option is no longer applied to proxy modes that do not bind a port, avoiding duplicate-server errors when enabling local capture.

    12.3.0release notes

  • Fixes modified reason phrases not being sent by mitmweb.

    12.3.0release notes

  • Correctly reads the SNI hostname from fragmented QUIC client hellos.

    11.0.0, 12.3.0release notesupgrade guide

  • QUIC connections now start when --allow-hosts or --ignore-hosts is set.

    12.3.0release notes

  • Parsing no longer swallows subsequent attributes into Expires for non-date or short values, and correctly parses RFC 850 dates with full weekday names.

    12.3.0release notes

  • mitmweb now honors this option for live flows, placing new flows at the top instead of always appending them at the bottom.

    12.3.0release notes

  • Missing code-page tags now display as UNKNOWN_TAG_XX instead of raising a KeyError.

    12.3.0release notes

  • Generated leaf certificates are valid for 197 days instead of 199, keeping the 2-day notBefore backdate below Chromium's 200-day limit.

    12.2.3release notes

  • Fixed an IndexError when exporting flows to HAR if payloads have a UTF-8 continuation byte at the 100-byte cutoff.

    12.2.3release notes

  • Fixed a bug where mitmweb did not pick up its XSRF cookie.

    12.2.3release notes

  • Fixed authority and subject key identifier mismatch errors with custom CAs whose SubjectKeyIdentifier was not derived as SHA-1 of the public key.

    12.2.3release notes

  • Incoming traffic, such as websocket messages, no longer causes the console command panel to lose focus.

    12.2.2release notes

  • Failed CONNECT requests are now displayed.

    12.2.2release notes

  • Editors now allow content to be cleared to an empty string.

    12.2.2release notes

  • Fixes a bug that caused mitmweb to show a blank page on Windows.

    12.2.2release notes

  • No longer crashes when replacement strings contain backslash sequences.

    12.2.2release notes

  • Includes addon options in its output.

    12.2.2release notes

  • Value parsing exceptions now include the option name.

    12.2.2release notes

  • HTTP requests with uppercase schemes no longer receive a 400 Bad Request.

    12.2.2release notes

  • Correctly uses the provided key parameter instead of a hardcoded key string.

    12.2.2release notes

  • Flow files are flushed after each flow, allowing further processing.

    12.2.1release notes

  • Improves the check to support Chinese characters.

    12.2.1release notes

  • The mitmproxy console shows query parameters for requests with empty bodies.

    12.2.1release notes

  • Gracefully handles decoding raw binary payloads that previously caused “Raw cannot decode” or “failed to parse as JSON” errors.

    12.2.1release notes

  • Fixes the mitmweb URL when --web-host is an IPv6 address.

    12.2.1release notes

mitmproxy 1118 changes

Breaking changes 1

  • For QUIC, Connection.tls_version now reports QUICv1 instead of QUIC.

    11.0.0upgrade guide

New APIs and options 4

  • Adds an addon to update the alt-svc header in reverse mode.

    11.0.0upgrade guide

  • Adds support for full mTLS with client certificates between the client and mitmproxy.

    11.0.0upgrade guide

  • Adds an option to display ignored flows in the UI; it is a temporary workaround that will be removed in the future.

    11.0.0upgrade guide

  • mitmproxy now supports transparent HTTP/3 proxying.

    11.0.0upgrade guide

Performance 2

  • Streaming HTTP/2 no longer sends unnecessary empty data frames.

    11.0.0upgrade guide

  • Fixes slow parsing of very large tnetstrings.

    11.0.0upgrade guide

Behavior and default changes 4

  • HTTP/3 is now supported in HTTPS reverse-proxy mode.

    11.0.0upgrade guide

  • The heuristic is tightened to better support custom TCP-based protocols.

    11.0.0upgrade guide

  • mitmproxy officially supports Python 3.13.

    11.0.0upgrade guide

  • mitmproxy emits a warning when a configured TLS version is unsupported by the current OpenSSL build.

    11.0.0upgrade guide

Fixes and other changes 7

  • Improves the error message when the certs option is specified without a matching private key.

    11.0.0upgrade guide

  • Fixes mitmproxy ignoring Ctrl+C/SIGTERM on OpenBSD.

    11.0.0upgrade guide

  • Adds a getaddrinfo-based fallback when mitmproxy cannot determine the operating system's name servers.

    11.0.0upgrade guide

  • Corrects the HAR import duration measurement unit to milliseconds.

    11.0.0upgrade guide

  • Fixes transmission of intermediate certificates when using QUIC.

    11.0.0upgrade guide

  • Fixes a crash when mitmproxy receives QUIC STOP_SENDING frames.

    11.0.0upgrade guide

  • Fixes an error when unmarking all flows.

    11.0.0upgrade guide