Skip to content

window-state

Save and restore window state.

2.4.x

2.4.1

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

2.4.0

Jul 20, 2025
  • 6a8f2558 (#2619 by @Legend-Master) Making flags optional in the saveWindowState, restoreState, restoreStateCurrent JavaScripts APIs, leaving it empty will make it use plugin's default flags

2.3.x

2.3.0

Jun 25, 2025

2.2.x

2.2.3

Jun 16, 2025
  • f634e524 This is an "empty" release to update the plugins' source files on crates.io and docs.rs. This should fix docs.rs build failures for projects using tauri plugins as dependencies.

2.2.2

Apr 2, 2025
  • a35fea50 (#2583) Fix window size gets bigger/smaller on secondary monitor with a different scaling than the primary one

2.2.1

Jan 19, 2025
  • 0ec895c3 (#2330 by @thewh1teagle) Add Builder::with_filter callback to exclude specific windows from saving their state. This allows for more flexibility by enabling dynamic exclusion of windows based on custom logic.

2.2.0

Dec 9, 2024
  • 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.

2.0.x

2.0.2

Nov 5, 2024
  • cfb3ec0e (#2007 by @FabianLars) On macOS the plugin now (temporarily) ignores the maximized state for undecorated windows on resize events to fix app freezes.

2.0.1

Oct 3, 2024

2.0.0

Oct 2, 2024
  • e2c4dfb6 Update to tauri v2 stable release.

2.0.0-rc.x

2.0.0-rc.5

Sep 16, 2024

2.0.0-rc.4

Sep 15, 2024
  • 204e5aac (#1743) Fix can't restore a minimized window's size and position properly
breaking
  • 204e5aac (#1743) Window's size is now stored in physical size instead of logical size

2.0.0-rc.3

Sep 4, 2024

2.0.0-rc.1

Aug 29, 2024
  • e2e97db5 (#1701 by @lucasfernog) Update to tauri 2.0.0-rc.8

  • 2c00c029 (#1630 by @FabianLars) Fixed an issue that caused multi-word IIFE names to not be formatted correctly. For example the barcode-scanner was defined as window.__TAURI_PLUGIN_CLIPBOARDMANAGER__ instead of window.__TAURI_PLUGIN_CLIPBOARD_MANAGER__.

2.0.0-rc.0

Aug 2, 2024

2.0.0-beta.x

2.0.0-beta.9

Jul 31, 2024

2.0.0-beta.8

Jul 12, 2024

2.0.0-beta.7

Jul 2, 2024

2.0.0-beta.6

May 30, 2024

2.0.0-beta.5

May 30, 2024

2.0.0-beta.4

May 1, 2024
  • bd1ed590(#1237) Update to tauri beta.17.

  • c013fa5(#1078) Breaking change: Changed the format of the state file from bincode to json. Also changed the filename to from .window-state to .window-state.json.

2.0.0-beta.3

Apr 18, 2024
  • 0e9541f(#1138) Add Builder::with_filename to support using a custom filename. Also add AppHandleExt::file_name and a similar function in JS, to retrieve it later.

  • a04ea2f(#1071) The global API script is now only added to the binary when the withGlobalTauri config is true.

2.0.0-beta.2

Mar 7, 2024

2.0.0-beta.1

Feb 21, 2024

2.0.0-beta.0

Feb 3, 2024
  • d198c01(#862) Update to tauri beta.

  • 14f59615 Address a couple of issues with restoring positions:

    • Fix restoring window positions correctly when the top-left corner of the window was outside of the monitor.
    • Fix restore maximization state only maximized on main monitor.

Full Changelog

window-state full changelog

Version List


© 2026 Tauri Contributors. CC-BY / MIT