Require window-state plugin with size fix#131
Conversation
There was a problem hiding this comment.
Pull request overview
This PR tightens the tauri-plugin-window-state dependency constraint to ensure Markpad pulls a plugin version that includes the upstream fix for the Windows window-size drift regression described in issue #98, while keeping compatibility within the Tauri v2 plugin major version range.
Changes:
- Update
tauri-plugin-window-statefrom a broad"2"requirement to an explicit">=2.2.2, <3"semver range. - Remove trailing blank lines at the end of
src-tauri/Cargo.toml.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Hey @alecdotdev, this is a small dependency-bound PR for #98. The existing window-state setup is already centralized in the Tauri plugin wiring, so I kept this scoped to the Cargo requirement instead of touching runtime window code. The upstream Tauri plugin release notes identify Pre-submit checklist:
Happy to adjust the version range or approach if you prefer an exact pin or a different dependency policy. |
|
perfect! |
Summary
tauri-plugin-window-stateversions that include the upstream fix for the Windows window-size drift regression.2.4.1while making the lower bound explicit as>=2.2.2, <3.Fixes #98
Test plan
cargo metadata --locked --format-version 1 --no-deps --manifest-path src-tauri/Cargo.tomlshowstauri-plugin-window-staterequirement>=2.2.2, <3npm run checkcd src-tauri && cargo checkcd src-tauri && cargo testReviewed with Codex and Copilot in wargoblin#6 before submission.