kraken-build / kraken

The Kraken build system.
https://kraken-build.github.io/kraken/
28 stars 12 forks source link

Update dependency mitmproxy to v10 - autoclosed #186

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mitmproxy ^9.0.1 -> ^10.0.0 age adoption passing confidence

Release Notes

mitmproxy/mitmproxy (mitmproxy) ### [`v10.2.2`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#21-January-2024-mitmproxy-1022) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/10.2.1...10.2.2) - Fix a regression where clientplayback would break due to eager task execution. ([#​6605](https://togithub.com/mitmproxy/mitmproxy/pull/6605), [@​mhils](https://togithub.com/mhils)) - Fix a regression where WebSocket connections would break due to eager task execution. ([#​6609](https://togithub.com/mitmproxy/mitmproxy/pull/6609), [@​mhils](https://togithub.com/mhils)) - Fix bug where insecure HTTP requests are saved incorrectly when exporting to HAR files. ([#​6578](https://togithub.com/mitmproxy/mitmproxy/pull/6578), [@​DaniElectra](https://togithub.com/DaniElectra)) - `allow_hosts`/`ignore_hosts` option now matches against the full `host:port` string. ([#​6594](https://togithub.com/mitmproxy/mitmproxy/pull/6594), [@​LouisAsanaka](https://togithub.com/LouisAsanaka)) ### [`v10.2.1`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#06-January-2024-mitmproxy-1021) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/10.2.0...10.2.1) - Fix a regression introduced in mitmproxy 10.2.0: WireGuard servers now bind to all interfaces again. ([#​6587](https://togithub.com/mitmproxy/mitmproxy/pull/6587), [@​mhils](https://togithub.com/mhils)) - Remove stale reference to `ctx.log` in addon documentation. ([#​6552](https://togithub.com/mitmproxy/mitmproxy/pull/6552), [@​brojonat](https://togithub.com/brojonat)) - Fix a bug where a traceback is shown during shutdown. ([#​6581](https://togithub.com/mitmproxy/mitmproxy/pull/6581), [@​mhils](https://togithub.com/mhils)) ### [`v10.2.0`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#04-January-2024-mitmproxy-1020) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/10.1.6...10.2.0) - *Local Redirect Mode* is now officially available on [macOS](https://mitmproxy.org/posts/local-redirect/macos/) and [Windows](https://mitmproxy.org/posts/local-redirect/windows/). See the linked blog posts for details. ([@​emanuele-em](https://togithub.com/emanuele-em), [@​mhils](https://togithub.com/mhils)) - UDP streams are now backed by a new implementation in `mitmproxy_rs`. This represents a major API change as UDP traffic is now exposed as streams instead of a callback for each packet. ([@​mhils](https://togithub.com/mhils)) - Fix a regression from mitmproxy 10.1.6 where `ignore_hosts` would terminate requests instead of forwarding them. ([#​6559](https://togithub.com/mitmproxy/mitmproxy/pull/6559), [@​mhils](https://togithub.com/mhils)) - `ignore_hosts` now waits for the entire HTTP headers if it suspects the connection to be HTTP. ([#​6559](https://togithub.com/mitmproxy/mitmproxy/pull/6559), [@​mhils](https://togithub.com/mhils)) ### [`v10.1.6`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#14-December-2023-mitmproxy-1016) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/10.1.5...10.1.6) - Fix compatibility with Windows Schannel clients, which previously got confused by CA and leaf certificate sharing the same Subject Key Identifier. ([#​6549](https://togithub.com/mitmproxy/mitmproxy/pull/6549), [@​driuba](https://togithub.com/driuba) and [@​mhils](https://togithub.com/mhils)) - Change keybinding for exporting flow from "e" to "x" to avoid conflict with "edit" keybinding. ([#​6225](https://togithub.com/mitmproxy/mitmproxy/issues/6225), [@​Llama1412](https://togithub.com/Llama1412)) - Fix bug where response flows from HAR files had incorrect `content-length` headers ([#​6548](https://togithub.com/mitmproxy/mitmproxy/pull/6548), [@​zanieb](https://togithub.com/zanieb)) - Improved handling for `allow_hosts`/`ignore_hosts` options in WireGuard mode ([#​5930](https://togithub.com/mitmproxy/mitmproxy/issues/5930)). ([#​6513](https://togithub.com/mitmproxy/mitmproxy/pull/6513), [@​dsphper](https://togithub.com/dsphper)) - Fix a bug where TCP connections were not closed properly. ([#​6543](https://togithub.com/mitmproxy/mitmproxy/pull/6543), [@​mhils](https://togithub.com/mhils)) - DNS resolution is now exempted from `ignore_hosts` in WireGuard Mode. ([#​6513](https://togithub.com/mitmproxy/mitmproxy/pull/6513), [@​dsphper](https://togithub.com/dsphper)) - Fix case sensitivity of URL added to blocklist ([#​6493](https://togithub.com/mitmproxy/mitmproxy/pull/6493), [@​emanuele-em](https://togithub.com/emanuele-em)) - Fix a bug where logging was stopped prematurely during shutdown. ([#​6541](https://togithub.com/mitmproxy/mitmproxy/pull/6541), [@​mhils](https://togithub.com/mhils)) - For plaintext traffic, `ignore_hosts` now also takes HTTP/1 host headers into account. ([#​6513](https://togithub.com/mitmproxy/mitmproxy/pull/6513), [@​dsphper](https://togithub.com/dsphper)) - Fix empty cookie attributes being set to `Key=` instead of `Key` ([#​5084](https://togithub.com/mitmproxy/mitmproxy/pull/5084), [@​Speedlulu](https://togithub.com/Speedlulu)) - Scripts with relative paths are now loaded relative to the config file and not where the command is ran ([#​4860](https://togithub.com/mitmproxy/mitmproxy/pull/4860), [@​Speedlulu](https://togithub.com/Speedlulu)) - Fix `mitmweb` splitter becoming drag and drop. ([#​6492](https://togithub.com/mitmproxy/mitmproxy/pull/6492), [@​xBZZZZ](https://togithub.com/xBZZZZ)) - Enhance documentation and add alert log messages when stream_large_bodies and modify_body are set ([#​6514](https://togithub.com/mitmproxy/mitmproxy/pull/6514), [@​rosydawn6](https://togithub.com/rosydawn6)) - Subject Alternative Names are now represented as `cryptography.x509.GeneralNames` instead of `list[str]` across the codebase. This fixes a regression introduced in mitmproxy 10.1.1 related to punycode domain encoding. ([#​6537](https://togithub.com/mitmproxy/mitmproxy/pull/6537), [@​mhils](https://togithub.com/mhils)) ### [`v10.1.5`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#14-November-2023-mitmproxy-1015) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/10.1.4...10.1.5) - Remove stray `replay-extra` from CLI status bar. ([37d62ce](https://togithub.com/mitmproxy/mitmproxy/commit/37d62ce73ebd57780cff5ecf8b2ee57ec7d8ab30), [@​mhils](https://togithub.com/mhils)) ### [`v10.1.4`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#13-November-2023-mitmproxy-1014) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/10.1.3...10.1.4) - Fix a hang/freeze in the macOS distributions when doing TLS negotiation. ([#​6480](https://togithub.com/mitmproxy/mitmproxy/pull/6480), [@​mhils](https://togithub.com/mhils)) - Update savehar addon to fix creating corrupt har files caused by empty response content ([#​6459](https://togithub.com/mitmproxy/mitmproxy/pull/6459), [@​lain3d](https://togithub.com/lain3d)) - Update savehar addon to handle scenarios where "path" key in cookie attrs dict is missing. ([#​6458](https://togithub.com/mitmproxy/mitmproxy/pull/6458), [@​pogzyb](https://togithub.com/pogzyb)) - Add `server_replay_extra` option to serverplayback to define behaviour when replayable response is missing. ([#​6465](https://togithub.com/mitmproxy/mitmproxy/pull/6465), [@​dkarandikar](https://togithub.com/dkarandikar)) ### [`v10.1.3`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#04-November-2023-mitmproxy-1013) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/10.1.2...10.1.3) - Fix a bug introduced in mitmproxy 10.1.2 where mitmweb would fail to establish a WebSocket connection. Affected users may need to clear their browser cache or hard-reload mitmweb (Ctrl+Shift+R). ([#​6454](https://togithub.com/mitmproxy/mitmproxy/pull/6454), [@​mhils](https://togithub.com/mhils)) ### [`v10.1.2`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#03-November-2023-mitmproxy-1012) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/10.1.1...10.1.2) - Add a raw hex stream contentview. ([#​6389](https://togithub.com/mitmproxy/mitmproxy/pull/6389), [@​mhils](https://togithub.com/mhils)) - Add a contentview for DNS-over-HTTPS. ([#​6389](https://togithub.com/mitmproxy/mitmproxy/pull/6389), [@​mhils](https://togithub.com/mhils)) - Replaced standalone mitmproxy binaries on macOS with an app bundle that contains the mitmproxy/mitmweb/mitmdump CLI tools. This change was necessary to support macOS code signing requirements. Homebrew remains the recommended installation method. ([#​6447](https://togithub.com/mitmproxy/mitmproxy/pull/6447), [@​mhils](https://togithub.com/mhils)) - Fix certificate generation to work with strict mode OpenSSL 3.x clients ([#​6410](https://togithub.com/mitmproxy/mitmproxy/pull/6410), [@​mmaxim](https://togithub.com/mmaxim)) - Fix path() documentation that the return value might include the query string ([#​6412](https://togithub.com/mitmproxy/mitmproxy/pull/6412), [@​tddschn](https://togithub.com/tddschn)) - mitmproxy now officially supports Python 3.12. ([#​6434](https://togithub.com/mitmproxy/mitmproxy/pull/6434), [@​mhils](https://togithub.com/mhils)) - Fix root-relative URLs so that mitmweb can run in subdirectories. ([#​6411](https://togithub.com/mitmproxy/mitmproxy/pull/6411), [@​davet2001](https://togithub.com/davet2001)) - Add an optional parameter(ldap search filter key) to ProxyAuth-LDAP. ([#​6428](https://togithub.com/mitmproxy/mitmproxy/pull/6428), [@​outlaws-bai](https://togithub.com/outlaws-bai)) - Fix a regression when using the proxyauth addon with clients that (rightfully) reuse connections. ([#​6432](https://togithub.com/mitmproxy/mitmproxy/pull/6432), [@​mhils](https://togithub.com/mhils)) ### [`v10.1.1`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#27-September-2023-mitmproxy-1011) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/10.1.0...10.1.1) - Fix certificate generation for punycode domains. ([#​6382](https://togithub.com/mitmproxy/mitmproxy/pull/6382), [@​mhils](https://togithub.com/mhils)) - Fix a bug that would crash mitmweb when opening options. ([#​6386](https://togithub.com/mitmproxy/mitmproxy/pull/6386), [@​mhils](https://togithub.com/mhils)) ### [`v10.1.0`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#24-September-2023-mitmproxy-1010) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/10.0.0...10.1.0) - Add support for reading HAR files using the existing flow loading APIs, e.g. `mitmproxy -r example.har`. ([#​6335](https://togithub.com/mitmproxy/mitmproxy/pull/6335), [@​stanleygvi](https://togithub.com/stanleygvi)) - Add support for writing HAR files using the `save.har` command and the `hardump` option for mitmdump. ([#​6368](https://togithub.com/mitmproxy/mitmproxy/pull/6368), [@​stanleygvi](https://togithub.com/stanleygvi)) - Packaging changes: - `mitmproxy-rs` does not depend on a protobuf compiler being available anymore, we're now also providing a working source distribution for all platforms. - On macOS, `mitmproxy-rs` now depends on `mitmproxy-macos`. We only provide binary wheels for this package because it contains a code-signed system extension. Building from source requires a valid Apple Developer Id, see CI for details. - On Windows, `mitmproxy-rs` now depends on `mitmproxy-windows`. We only provide binary wheels for this package to simplify our deployment process, see CI for how to build from source. ([#​6303](https://togithub.com/mitmproxy/mitmproxy/issues/6303), [@​mhils](https://togithub.com/mhils)) - Increase maximum dump file size accepted by mitmweb ([#​6373](https://togithub.com/mitmproxy/mitmproxy/pull/6373), [@​t-wy](https://togithub.com/t-wy)) ### [`v10.0.0`](https://togithub.com/mitmproxy/mitmproxy/blob/HEAD/CHANGELOG.md#04-August-2023-mitmproxy-1000) [Compare Source](https://togithub.com/mitmproxy/mitmproxy/compare/9.0.1...10.0.0) - Add experimental support for HTTP/3 and QUIC. ([#​5435](https://togithub.com/mitmproxy/mitmproxy/issues/5435), [@​meitinger](https://togithub.com/meitinger)) - ASGI/WSGI apps can now listen on all ports for a specific hostname. This makes it simpler to accept both HTTP and HTTPS. ([#​5725](https://togithub.com/mitmproxy/mitmproxy/pull/5725), [@​mhils](https://togithub.com/mhils)) - Add `replay.server.add` command for adding flows to server replay buffer ([#​5851](https://togithub.com/mitmproxy/mitmproxy/pull/5851), [@​italankin](https://togithub.com/italankin)) - Remove string escaping in raw view. ([#​5470](https://togithub.com/mitmproxy/mitmproxy/issues/5470), [@​stephenspol](https://togithub.com/stephenspol)) - Updating `Request.port` now also updates the Host header if present. This aligns with `Request.host`, which already does this. ([#​5908](https://togithub.com/mitmproxy/mitmproxy/pull/5908), [@​sujaldev](https://togithub.com/sujaldev)) - Fix editing of multipart HTTP requests from the CLI. ([#​5148](https://togithub.com/mitmproxy/mitmproxy/issues/5148), [@​mhils](https://togithub.com/mhils)) - Add documentation on using Magisk module for intercepting traffic in Android production builds. ([#​5924](https://togithub.com/mitmproxy/mitmproxy/pull/5924), [@​Jurrie](https://togithub.com/Jurrie)) - Fix a bug where the direction indicator in the message stream view would be in the wrong direction. ([#​5921](https://togithub.com/mitmproxy/mitmproxy/issues/5921), [@​konradh](https://togithub.com/konradh)) - Fix a bug where peername would be None in tls_passthrough script, which would make it not working. ([#​5904](https://togithub.com/mitmproxy/mitmproxy/pull/5904), [@​truebit](https://togithub.com/truebit)) - the `esc` key can now be used to exit the current view ([#​6087](https://togithub.com/mitmproxy/mitmproxy/pull/6087), [@​sujaldev](https://togithub.com/sujaldev)) - focus-follow shortcut will now work in flow view context too. ([#​6088](https://togithub.com/mitmproxy/mitmproxy/pull/6088), [@​sujaldev](https://togithub.com/sujaldev)) - Fix a bug where a server connection timeout would cause requests to be issued with a wrong SNI in reverse proxy mode. ([#​6148](https://togithub.com/mitmproxy/mitmproxy/pull/6148), [@​mhils](https://togithub.com/mhils)) - The `server_replay_nopop` option has been renamed to `server_replay_reuse` to avoid confusing double-negation. ([#​6084](https://togithub.com/mitmproxy/mitmproxy/issues/6084), [@​prady0t](https://togithub.com/prady0t), [@​Semnodime](https://togithub.com/Semnodime)) - Add zstd to valid gRPC encoding schemes. ([#​6188](https://togithub.com/mitmproxy/mitmproxy/pull/6188), [@​tsaaristo](https://togithub.com/tsaaristo)) - For reverse proxy directly accessed via IP address, the IP address is now included as a subject in the generated certificate. ([#​6202](https://togithub.com/mitmproxy/mitmproxy/pull/6202), [@​mhils](https://togithub.com/mhils)) - Enable legacy SSL connect when connecting to server if the `ssl_insecure` flag is set. ([#​6281](https://togithub.com/mitmproxy/mitmproxy/pull/6281), [@​DurandA](https://togithub.com/DurandA)) - Change wording in the [http-reply-from-proxy.py example](https://togithub.com/mitmproxy/mitmproxy/blob/main/examples/addons/http-reply-from-proxy.py). ([#​6117](https://togithub.com/mitmproxy/mitmproxy/pull/6117), [@​Semnodime](https://togithub.com/Semnodime)) - Added option to specify an elliptic curve for key exchange between mitmproxy <-> server ([#​6170](https://togithub.com/mitmproxy/mitmproxy/pull/6170), [@​Mike-Ki-ASD](https://togithub.com/Mike-Ki-ASD)) - Add "Prettier" code linting tool to mitmweb. ([#​5985](https://togithub.com/mitmproxy/mitmproxy/pull/5985), [@​alexgershberg](https://togithub.com/alexgershberg)) - When logging exceptions, provide the entire exception object to log handlers ([#​6295](https://togithub.com/mitmproxy/mitmproxy/pull/6295), [@​mhils](https://togithub.com/mhils)) - mitmproxy now requires Python 3.10 or above. ([#​5954](https://togithub.com/mitmproxy/mitmproxy/pull/5954), [@​mhils](https://togithub.com/mhils)) ##### Breaking Changes - The `onboarding_port` option has been removed. The onboarding app now responds to all requests for the hostname specified in `onboarding_host`. - `connection.Client` and `connection.Server` now accept keyword arguments only. This is a breaking change for custom addons that use these classes directly.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.