Skip to content

Commit 8cc0fd1

Browse files
committed
Remove windows7-compat Cargo feature
Remove the legacy `windows7-compat` feature from src-tauri/Cargo.toml and update docs to reflect Tauri v2's native Windows 7 handling via the embedded WebView2 bootstrapper. CHANGELOG.md and dashboard/index.html were updated to state that the embedded bootstrapper provides Windows 7 support and that Windows XP remains unsupported. This clarifies that the legacy Cargo feature flag is no longer required.
1 parent 8e02106 commit 8cc0fd1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### 🚀 Windows 7 & Legacy OS Compatibility
1313

1414
- **Windows 7 Support**: Configured `webviewInstallMode` to `embedBootstrapper` in `tauri.conf.json`. This embeds the WebView2 bootstrapper directly within the NSIS installer, ensuring seamless installation on Windows 7 machines where TLS 1.2 or dynamic bootstrapper downloads might fail.
15-
- **Windows 7 Cargo Compatibility**: Added the `windows7-compat` feature to the Tauri dependency in `Cargo.toml` to guarantee compatibility with legacy Windows API subsystems.
15+
- **Windows 7 Native Handling**: In Tauri v2, core WebView2 compatibility with Windows 7 operates directly via the embedded bootstrapper without requiring legacy feature flags in `Cargo.toml`.
1616
- **Windows XP Statement**: Note that Windows XP cannot be supported by Tauri v2 / WebView2. WebView2 is built on Microsoft Edge / Chromium, which permanently dropped support for Windows XP in 2016 (Chrome 49). Additionally, modern Rust toolchains require Windows 7 as the absolute minimum baseline.
1717

1818
### 📝 Documentation

dashboard/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ <h2><span>▶</span> Changelog</h2>
196196
<h3>[0.0.8_BETA]</h3>
197197
<ul>
198198
<li>Windows 7 compatibility support: set <code>webviewInstallMode</code> to <code>embedBootstrapper</code> in <code>tauri.conf.json</code></li>
199-
<li>Added <code>windows7-compat</code> Cargo feature flag in <code>Cargo.toml</code></li>
199+
<li>Tauri v2 native Windows 7 support via embedded bootstrapper (legacy feature flag removed)</li>
200200
<li>Clarified Windows XP legacy engine limitations (Chromium/WebView2 minimum requirement is Windows 7)</li>
201201
<li>Updated all version references to <code>0.0.8_BETA</code></li>
202202
</ul>

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ edition = "2021"
1010
tauri-build = { version = "2", features = [] }
1111

1212
[dependencies]
13-
tauri = { version = "2", features = ["windows7-compat"] }
13+
tauri = { version = "2", features = [] }
1414
serde = { version = "1", features = ["derive"] }
1515
serde_json = "1"
1616

0 commit comments

Comments
 (0)