window-state - full changelog
v2.4.1
Oct 27, 2025
93426f85Fixed an issue that caused docs.rs builds to fail. No user facing changes.
v2.4.0
Jul 20, 2025
6a8f2558(#2619 by @Legend-Master) Makingflagsoptional in thesaveWindowState,restoreState,restoreStateCurrentJavaScripts APIs, leaving it empty will make it use plugin's default flags
v2.3.0
Jun 25, 2025
v2.2.3
Jun 16, 2025
f634e524This 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.
v2.2.2
Apr 2, 2025
a35fea50(#2583) Fix window size gets bigger/smaller on secondary monitor with a different scaling than the primary one
v2.2.1
Jan 19, 2025
0ec895c3(#2330 by @thewh1teagle) AddBuilder::with_filtercallback to exclude specific windows from saving their state. This allows for more flexibility by enabling dynamic exclusion of windows based on custom logic.
v2.2.0
Dec 9, 2024
3a79266b(#2173 by @FabianLars) Bumped all plugins tov2.2.0. From now, the versions for the Rust and JavaScript packages of each plugin will be in sync with each other.
v2.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.
v2.0.1
Oct 3, 2024
a1a82208(#1873 by @lucasfernog) Downgrade MSRV to 1.77.2 to support Windows 7.
v2.0.0
Oct 2, 2024
e2c4dfb6Update to tauri v2 stable release.
v2.0.0-rc.5
Sep 16, 2024
7a37355e(#1787 by @Legend-Master) Fix deadlock when trying to restore window states on initial load
v2.0.0-rc.4
Sep 15, 2024
breaking
v2.0.0-rc.3
Sep 4, 2024
17e8014b(#1702 by @Legend-Master) Fix saving a minimized window's state changes its position to -32000
v2.0.0-rc.1
Aug 29, 2024
e2e97db5(#1701 by @lucasfernog) Update to tauri 2.0.0-rc.8
v2.0.0-rc.1
Aug 29, 2024
2c00c029(#1630 by @FabianLars) Fixed an issue that caused multi-word IIFE names to not be formatted correctly. For example thebarcode-scannerwas defined aswindow.__TAURI_PLUGIN_CLIPBOARDMANAGER__instead ofwindow.__TAURI_PLUGIN_CLIPBOARD_MANAGER__.
v2.0.0-rc.0
Aug 2, 2024
9887d1Update to tauri RC.
v2.0.0-beta.9
Jul 31, 2024
99d6ac0f(#1606 by @FabianLars) The JS packages now specify the minimum@tauri-apps/apiversion instead of a single exact version.6de87966(#1597 by @Legend-Master) Update to tauri beta.25.
v2.0.0-beta.8
Jul 12, 2024
22a17980(#1537 by @lucasfernog) Update to tauri beta.24.
v2.0.0-beta.7
Jul 2, 2024
v2.0.0-beta.7
Jul 2, 2024
v2.0.0-beta.6
May 30, 2024
v2.0.0-beta.5
May 30, 2024
v2.0.0-beta.4
May 1, 2024
v2.0.0-beta.4
May 1, 2024
c013fa5(#1078) Breaking change: Changed the format of the state file from bincode to json. Also changed the filename to from.window-stateto.window-state.json.
v2.0.0-beta.3
Apr 18, 2024
0e9541f(#1138) AddBuilder::with_filenameto support using a custom filename. Also addAppHandleExt::file_nameand a similar function in JS, to retrieve it later.
v2.0.0-beta.3
Apr 18, 2024
a04ea2f(#1071) The global API script is now only added to the binary when thewithGlobalTauriconfig is true.
v2.0.0-beta.2
Mar 7, 2024
v2.0.0-beta.1
Feb 21, 2024
569defbUpdate to tauri beta.4.
v2.0.0-beta.0
Feb 3, 2024
14f59615Address 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.
v2.0.0-alpha.5
Dec 20, 2023
v2.0.0-alpha.4
Dec 14, 2023
v2.0.0-alpha.3
Oct 29, 2023
v2.0.0-alpha.2
Oct 23, 2023
5c13736(#673) Update to @tauri-apps/api v2.0.0-alpha.9.beb6b13(#675) Fix usage of no longer available__TAURI_METADATA__API.
v2.0.0-alpha.2
Oct 23, 2023
v2.0.0-alpha.1
Aug 14, 2023
d74fc0a(#555) Update to alpha.11.84b3612(#436) Correctly propagate the promise insidesaveWindowState,restoreStateandrestoreStateCurrentso callers can choose toawaitthem.
v2.0.0-alpha.0
May 24, 2023
v0.1.1
Mar 18, 2024
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.