diff --git a/.changes/http-remove-macos-system-configuration.md b/.changes/http-remove-macos-system-configuration.md new file mode 100644 index 000000000..80b65cf24 --- /dev/null +++ b/.changes/http-remove-macos-system-configuration.md @@ -0,0 +1,5 @@ +--- +"http": major +--- + +**Breaking:** Removed the deprecated `macos-system-configuration` Cargo feature. Use `system-proxy` (enabled by default) instead. diff --git a/.changes/upload-system-proxy.md b/.changes/upload-system-proxy.md new file mode 100644 index 000000000..9928f049b --- /dev/null +++ b/.changes/upload-system-proxy.md @@ -0,0 +1,5 @@ +--- +"upload": patch +--- + +Enable reqwest's `system-proxy` feature instead of the deprecated `macos-system-configuration` alias. diff --git a/plugins/http/Cargo.toml b/plugins/http/Cargo.toml index 821bc90d2..2c2922f40 100644 --- a/plugins/http/Cargo.toml +++ b/plugins/http/Cargo.toml @@ -71,8 +71,6 @@ trust-dns = ["reqwest/trust-dns"] socks = ["reqwest/socks"] http2 = ["reqwest/http2"] charset = ["reqwest/charset"] -# Deprecated, switch to system-proxy -macos-system-configuration = ["reqwest/macos-system-configuration"] system-proxy = ["reqwest/system-proxy"] unsafe-headers = [] diff --git a/plugins/http/src/lib.rs b/plugins/http/src/lib.rs index 4d19b0048..818493e4b 100644 --- a/plugins/http/src/lib.rs +++ b/plugins/http/src/lib.rs @@ -35,7 +35,6 @@ //! - **socks**: Provides SOCKS5 proxy support. //! - **trust-dns**: Enables a trust-dns/Hickory DNS async resolver instead of the default threadpool using //! getaddrinfo. -//! - **macos-system-configuration** *(deprecated, use `system-proxy` instead)*: Use Windows and macOS system proxy settings automatically. //! - **system-proxy** *(enabled by default)*: Use Windows and macOS system proxy settings automatically. //! //! ### tauri-plugin-http features diff --git a/plugins/upload/Cargo.toml b/plugins/upload/Cargo.toml index 8ec35cc5d..dcb265ce2 100644 --- a/plugins/upload/Cargo.toml +++ b/plugins/upload/Cargo.toml @@ -36,7 +36,7 @@ thiserror = { workspace = true } tokio = { version = "1", features = ["fs"] } tokio-util = { version = "0.7", features = ["codec"] } reqwest = { version = "0.12", default-features = false, features = [ - "macos-system-configuration", + "system-proxy", "json", "stream", ] }