Repository navigation
Releases
Releases · sth-fun/SwiftPane
SwiftPane v0.1.0 (build 60)
Added
- Native Windows 10 & 11 dual-pane and multi-tab file explorer built with Rust, Tauri 2, React 19, TypeScript, and Tailwind CSS v4.
- Single-pass Win32
FindFirstFileExWdirectory scanning (Name,Date Created,Date Modified,Date Accessed,Extension,Type,Size,Attributes,Sync Status), virtualized file list (@tanstack/react-virtual), marquee selection, inlineF2rename, andReadDirectoryChangesWlive auto-refresh. - Non-blocking sidebar with expandable folder trees for Home, Pinned folders, Recycle Bin (native
$Recycle.Bin\$I*metadata browsing, restore, and empty), Drives (with drive eject/disconnect), Network, and WSL distributions. - Zero-I/O
SHGetFileInfoWattribute icon cache and STAIShellItemImageFactorythumbnail cache streamed viaswifticon://,swiftthumb://, andswiftfile://. - Crash-isolated context menu: instant self-drawn menu on right-click plus opt-in STA Windows Shell
IContextMenu2/3(Shift + Right-clickor Show more options). - Quick Preview (
Space) for images, JSON, Markdown, code, and text withUTF-8,UTF-16, and legacyGB18030decoding. - Native
IFileOperationfile operations,CF_HDROP+ OLE virtual file clipboard interoperability (Ctrl+C/X/V), internal/OS drag-and-drop, configurable terminal launcher (pwsh, PowerShell, CMD, WSL), customizable toolbar/columns/theme/shortcuts, About settings with version/build metadata, full i18n copy coverage, system tray minimize-to-tray, and globalAlt+Etoggle. - Rust unit test suites (
cargo test), frontend test suite (Vitest+React Testing Library+@testing-library/user-event), and GitHub Actions CI & automated portableamd64+arm64GitHub Release workflows.
Fixed
- Handled empty drive roots cleanly, truncated
GB18030preview decoding, STA-isolated native context menus, and per-user$Recycle.BinSID scoping. - Resolved directory watcher registration/cleanup issues, filter selection pruning, keyboard shortcut conflict handling, viewport-clamped popups, and dialog/ARIA accessibility gaps.
Security
- Sanitized Quick Preview Markdown output via DOMPurify-equivalent allowlist (
sanitizeHtml) with raw HTML and unsafe URL schemes stripped, plusX-Content-Type-Options: nosniffand single-handle bounded streaming onswiftfile://. - Hardened entry name validation (
validate_entry_name), atomic file creation (OpenOptions::create_new), clipboard path/virtual-filename traversal guards, WSL argument separation (--) and distro validation, environment-variable working directory handoff (SWIFTPANE_CD) for terminal launchers, bitmap dimension/overflow bounds (MAX_BITMAP_DIM), clipboardHGLOBAL/tymed/GlobalSizevalidation, bounded$I*recycle metadata reads, cloud-placeholder skip in Quick Preview, and strict persistedlocalStorageschema validation.
Performance & Reliability
- Parallelized network probing under shared timeouts, filtered internal Docker Desktop WSL distros, eliminated idle
ReadDirectoryChangesWwatcher wakeups, reduced unnecessary React re-renders andlocalStoragewrites, optimized icon/drive probing pipelines, deduplicated sidebar/watcher/drive state updates, stabilized virtualizedFileListRowmemoization, and avoided async navigation races via monotonic sequence counters (paneScanSeq,loadSeqRef). - Eliminated startup maximize flicker (
visible: falseuntil first paint via zero-delay timer), wrapped Win32/COM/OLE/GDI handles in RAIIDropguards, moved clipboard IPC calls totokio::task::spawn_blocking, skipped hydrating cloud placeholders during text preview, and rolled back global shortcut state on registration failures.
Build: #60
Downloads & Checksums (SHA-256)
5fe812c55e90a563d6827fd3f66c23f8582bf79026d01d0d97c40c2570fa108b swift-pane-v0.1.0-build60-windows-amd64.exe
e48b765910189546af65b3ded341f3fb26a05eed4c21482135a3ea44a9ac77ba swift-pane-v0.1.0-build60-windows-arm64.exe