Skip to content

window-state full changelog

Oct 27, 2025
  • 93426f85 Fixed an issue that caused docs.rs builds to fail. No user facing changes.
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
Jun 25, 2025
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.
Apr 2, 2025
  • a35fea50 (#2583) Fix window size gets bigger/smaller on secondary monitor with a different scaling than the primary one
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.
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.
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.
Oct 3, 2024
Oct 2, 2024
  • e2c4dfb6 Update to tauri v2 stable release.
Sep 16, 2024
Sep 15, 2024
  • 204e5aac (#1743) Fix can't restore a minimized window's size and position properly
  • 204e5aac (#1743) Window's size is now stored in physical size instead of logical size
Sep 4, 2024
Aug 29, 2024
Aug 29, 2024
  • 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__.
Aug 2, 2024
Jul 31, 2024
Jul 12, 2024
Jul 2, 2024
Jul 2, 2024
May 30, 2024
May 30, 2024
May 1, 2024
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-state to .window-state.json.
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.
Apr 18, 2024
  • a04ea2f(#1071) The global API script is now only added to the binary when the withGlobalTauri config is true.
Mar 7, 2024
Feb 21, 2024
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.
Dec 20, 2023
  • 387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.13.
Dec 14, 2023
  • 387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.12.
Oct 29, 2023
  • e438e0a(#676) Update to @tauri-apps/api v2.0.0-alpha.11.
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.
Oct 23, 2023
Aug 14, 2023
  • d74fc0a(#555) Update to alpha.11.
  • 84b3612(#436) Correctly propagate the promise inside saveWindowState, restoreState and restoreStateCurrent so callers can choose to await them.
May 24, 2023
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.


© 2026 Tauri Contributors. CC-BY / MIT