Files
github-actions[bot] 2393188dea publish new versions (#3591)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-19 22:23:23 -03:00

20 KiB

Changelog

[2.7.0]

  • 1198a524 Security: Added the scopeRedirects plugin configuration option, which checks the URL scope on every hop of a redirect chain instead of only on the URL requested by the frontend. Without it, a server on an allowed origin can redirect the request to any other origin - including localhost services, internal hosts and cloud metadata endpoints - and the plugin follows it, returning the response to the webview.

    {
      "plugins": {
        "http": {
          "scopeRedirects": true
        }
      }
    }
    

    It is opt-in because a redirect to a URL that is not allowed by the scope now fails with url not allowed on the configured scope instead of being followed, so applications that rely on being redirected outside of their scope must add the redirect target to the scope. This will become the default in v3.

    Note that tauri_plugin_http::init() now returns TauriPlugin<R, Option<Config>> instead of TauriPlugin<R>.

[2.6.1]

  • a21555dd (#3566 by @followdarko) Fix unhandled promise rejections on every fetch teardown: the request/body cleanup commands were fired as floating promises, and releasing an already-released resource rejects with The resource id N is invalid.. dropBody is now idempotent and both cleanup calls handle their own rejection.

[2.6.0]

Dependencies

  • Upgraded to fs-js@2.5.2

[2.5.9]

Dependencies

  • Upgraded to fs-js@2.5.1

[2.5.8]

  • 29712892 (#3252 by @NVolcz) Correct Response header initialization to support cloning and ensure Set-Cookie visibility.

Dependencies

  • Upgraded to fs-js@2.5.0

[2.5.7]

  • 61e9b0ab (#3228) Cleanup resource when the returned ReadableStream.cancel is called to avoid memory leaks

[2.5.6]

  • b1dbee2c (#3210 by @FabianLars) Fixed an issue that caused the Origin header to always be null on macOS, iOS and Linux.

[2.5.5]

Dependencies

  • Upgraded to fs-js@2.4.5

[2.5.4]

  • 93426f85 Fixed an issue that caused docs.rs builds to fail. No user facing changes.

Dependencies

  • Upgraded to fs-js@2.4.4

[2.5.3]

Dependencies

  • Upgraded to fs-js@2.4.3

[2.5.2]

Dependencies

  • Upgraded to fs-js@2.4.2

[2.5.1]

Dependencies

  • Upgraded to fs-js@2.4.1

[2.5.0]

Dependencies

  • Upgraded to fs-js@2.4.0

[2.4.4]

Dependencies

  • Upgraded to fs-js@2.3.0

[2.4.3]

  • 37c0477a (#2561) Add zstd cargo feature flag to enable reqwest/zstd flag.
  • 9ebbfb2e (#1978) Persist cookies to disk and load it on next app start.

Dependencies

  • Upgraded to fs-js@2.2.1

[2.4.2]

  • a15eedf3 (#2535 by @amrbashir) Fix fetch occasionally throwing an error due to trying to close the underline stream twice.

[2.4.1]

  • d3183aa9 (#2522 by @adrieljss) Fix fetch blocking until the whole response is read even if it was a streaming response.

[2.4.0]

[2.3.0]

  • 10513649 (#2204 by @RickeyWard) Add dangerous-settings feature flag and new JS danger option to disable tls hostname/certificate validation.

[2.2.0]

  • 3a79266b (#2173 by @FabianLars) Bumped all plugins to v2.2.0. From now, the versions for the Rust and JavaScript packages of each plugin will be in sync with each other.

Dependencies

  • Upgraded to fs@2.2.0

[2.0.2]

Dependencies

  • Upgraded to fs-js@2.0.4

[2.0.4]

Dependencies

  • Upgraded to fs@2.1.0

[2.0.3]

Dependencies

  • Upgraded to fs@2.0.3

[2.0.1]

[2.0.1]

Dependencies

  • Upgraded to fs@2.0.1

[2.0.0]

  • e2c4dfb6 Update to tauri v2 stable release.

Dependencies

  • Upgraded to fs@2.0.0

[2.0.0-rc.6]

Dependencies

  • Upgraded to fs@2.0.0-rc.6

[2.0.0-rc.5]

Dependencies

  • Upgraded to fs@2.0.0-rc.5

[2.0.0-rc.4]

Dependencies

  • Upgraded to fs@2.0.0-rc.4

[2.0.0-rc.3]

Dependencies

  • Upgraded to fs@2.0.0-rc.3

[2.0.0-rc.2]

Dependencies

  • Upgraded to fs@2.0.0-rc.2

[2.0.0-rc.2]

[2.0.0-rc.1]

[2.0.0-rc.0]

Dependencies

  • Upgraded to fs@2.0.0-rc.0

[2.0.0-beta.9]

[2.0.0-beta.8]

[2.0.0-beta.7]

[2.0.0-beta.6]

[2.0.0-beta.5]

[2.0.0-beta.4]

  • 9d7ae45b(#1354) Include headers created by browser if not declared by user, which fixes missing headers like Content-Type when using FormData.
  • 430bd6f4(#1363) Update to tauri beta.20.

[2.0.0-beta.3]

[2.0.0-beta.6]

Dependencies

  • Upgraded to fs@2.0.0-beta.6

[2.0.0-beta.5]

  • 500ff10(#1166) Breaking change: Removed the default-tls feature flag. The rustls-tls, http2, macos-system-configuration, and charset feature flags are now enabled by default.
  • e3d41f4(#1191) Internally use the webview scoped resources table instead of the app one, so other webviews can't access other webviews resources.
  • 7e2fcc5(#1146) Update dependencies to align with tauri 2.0.0-beta.14.
  • e3d41f4(#1191) Update for tauri 2.0.0-beta.15.

Dependencies

  • Upgraded to fs@2.0.0-beta.5

[2.0.0-beta.4]

Dependencies

  • Upgraded to fs@2.0.0-beta.4

[2.0.0-beta.3]

  • c873e4d(#1059) Fixes scope not allowing subpaths, query parameters and hash when those values are empty.
  • a04ea2f(#1071) The global API script is now only added to the binary when the withGlobalTauri config is true.
  • 753c7be(#1050) Add unsafe-headers cargo feature flag to allow using forbidden headers.

Dependencies

  • Upgraded to fs@2.0.0-beta.3

[2.0.0-beta.2]

[2.0.0-beta.1]

[2.0.0-beta.0]

  • d198c01(#862) Update to tauri beta.
  • 1a34720(#858) Fix http fetch client option init with parameter connectTimeout

[2.0.0-alpha.9]

Dependencies

  • Upgraded to fs@2.0.0-alpha.7

[2.0.0-alpha.6]

  • bfa87da(#824) Add proxy field to fetch options to configure proxy.

[2.0.0-alpha.5]

  • 387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.13.

[2.0.0-alpha.4]

  • 387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.12.

[2.0.0-alpha.3]

  • e438e0a(#676) Update to @tauri-apps/api v2.0.0-alpha.11.

[2.0.0-alpha.2]

  • 5c13736(#673) Update to @tauri-apps/api v2.0.0-alpha.9.

[2.0.0-alpha.3]

Dependencies

  • Upgraded to fs@2.0.0-alpha.2

[2.0.0-alpha.2]

  • aec17a9(#558) Improve response performance by using the new IPC streaming data.

[2.0.0-alpha.1]

  • 7d9df72(#428) Multipart requests are now handled in JavaScript by the Request JavaScript class so you just need to use a FormData body and not set the content-type header to multipart/form-data. application/x-www-form-urlencoded requests must be done manually.
  • 7d9df72(#428) The http plugin has been rewritten from scratch and now only exposes a fetch function in Javascript and Re-exports reqwest crate in Rust. The new fetch method tries to be as close and compliant to the fetch Web API as possible.
  • d74fc0a(#555) Update to alpha.11.

[2.0.0-alpha.0]