Repository navigation
Releases: blueloop46/secret-spans
Releases · blueloop46/secret-spans
Release list
1.0.2
Code quality improvements addressing remaining Obsidian plugin review warnings.
Changes
- Replaced all document.createElement calls with Obsidian createEl helpers (livePreview.ts, readingView.ts)
- Fixed unsafe assignments in readingView.ts
- Removed selectionSet from decoration rebuild trigger (performance)
- Extracted activeFile() and assertPasswordMatchesNote() helpers to remove duplicated logic
- Fixed insert/encrypt cursor position lost when note was unlocked
- Fixed edit secret leaving mixed locked/unlocked display
1.0.1
Bug fixes and code quality improvements addressing Obsidian plugin review findings.
Changes
- Removed all direct style assignments; replaced with CSS classes (fixes review Error)
- Removed unnecessary type assertions in crypto.ts
- Replaced document.createElement with Obsidian createEl helpers throughout
- Typed editor.cm properly instead of any cast
- Fixed insert/encrypt cursor position lost when note was unlocked
- Fixed edit secret leaving mixed locked/unlocked display
- Removed selectionSet from decoration rebuild trigger (performance)
- Various code quality and consistency improvements
1.0.0
Initial release.
Features
- Inline secret encryption with AES-256-GCM + PBKDF2-SHA-256 (210,000 iterations)
- Insert secrets securely via modal — plaintext never touches the document
- Encrypt selected text into a secret token
- Unlock a note once to decrypt all secrets into memory
- Mixed-selection copy: select text + secrets, one Ctrl/Cmd+C → full plaintext on clipboard
- Lock/unlock from right-click context menu or command palette
- Edit secrets in-place without exposing plaintext in the editor
- Works in Live Preview and Reading View
- Block-and-warn policy: locked secrets can never be copied to clipboard