Skip to content

StoneGate v2.0.1

Choose a tag to compare

@xsiphr xsiphr released this 17 Jun 22:22
· 12 commits to main since this release

🚀 What's New in 2.0.1

This patch release focuses heavily on security, performance, and strict compliance with the official Obsidian plugin guidelines to ensure a flawless and secure experience.

🔒 Security & Bug Fixes

  • Crucial Security Fix: Blocked global keyboard shortcuts (e.g., Ctrl+P, Ctrl+O) from bypassing the lock screen. The vault now remains strictly locked and intercepts background hotkeys.
  • XSS Prevention: Eliminated all unsafe innerHTML DOM injections, replacing them with Obsidian's native and secure setIcon() API.

🛠 Under the Hood & UI Improvements

  • Ghost Mode Optimization: Replaced dynamic <style> tag injections with a highly optimized MutationObserver, making folder hiding/revealing instant and lag-free.
  • Native Obsidian UI: Refactored over 150 inline styling assignments to use official Obsidian APIs (setCssStyles, show/hide, setHeading()) for perfect theme compatibility and consistent Settings UI.
  • Popout Window Support: Improved compatibility with Obsidian's multi-window (popout) feature by correctly scoping elements to activeDocument.
  • API Modernization: Bumped minAppVersion to 1.6.6 to safely leverage modern and stable Obsidian APIs for path autocomplete.