0.5.0
·
25 commits
to main
since this release
[0.5.0]
Changed
- Comprehensive compliance pass addressing every finding from Obsidian's plugin review scan: async/promise handling correctness, popout-window (
activeDocument/activeWindow) compatibility, removal of all!importantCSS declarations, minor DOM API and type-safety cleanup, and switching the committed lockfile topnpm-lock.yamlto match the project's package manager. See the entries below for full detail on each change.
Fixed
- Fix an intermittent "Cannot read properties of null" error in hover preview, and a low-contrast hover state on the folder exclusion delete button in themes with translucent error colours, both found and verified while testing this pass.
[0.4.11]
Changed
- Switch the committed lockfile from
package-lock.json(npm) topnpm-lock.yaml, matching the project's actual package manager - Ignore
session-exports/in git; moveOBSIDIAN-PLUGIN-REVIEW.mdintoplans/and track it alongside the cleanup plan it drove
[0.4.10]
Changed
- Minor DOM API cleanup flagged by Obsidian's plugin review scan: use
createDiv()instead ofcreateEl('div', ...)in the dropdown menu item and tag group header, and drop two type assertions (as HTMLInputElement,as RelatedNotesView) that were already redundant since the value was narrowed by an earlierinstanceofguard - Fix README support link pointing at
chrishoward/related-notes-by-tag; the actual repository is underchrishoward-projects/related-notes-by-tag
[0.4.9]
Fixed
- Fix low-contrast hover on the folder exclusion delete button, where the red icon became hard to read against the red hover background in some themes. The hover now uses Obsidian's neutral
--background-modifier-hoverinstead of--background-modifier-error-hover, which is defined as a translucent overlay in several themes rather than a solid fill
Changed
- Remove all
!importantdeclarations from styles.css, per Obsidian's plugin review guidelines. The dropdown menu's show/hide toggle now relies on the.is-visiblecompound selector's natural specificity, and the folder exclusion delete button is scoped to its settings container so it outranks Obsidian's default button styling on specificity alone. This stops the plugin's styles from overriding themes and user CSS snippets
[0.4.8]
Fixed
- Fix intermittent "Cannot read properties of null (reading 'appendChild')" error in hover preview: the preview popup could be dismissed (via releasing the modifier key, moving the mouse away, or clicking elsewhere) while its content was still being read from disk, leaving a stale render call to run against a popup that no longer existed; now re-checks the popup is still current before rendering
- Resolve popout-window compatibility issues flagged by Obsidian's plugin review scan: replaced bare
document/setTimeout/clearTimeoutwithactiveDocument/activeWindow.setTimeout()/activeWindow.clearTimeout()throughout, so hover preview, dropdown outside-click handling, and folder autocomplete keep working correctly in popped-out tabs; persistent preview listeners now use Obsidian'sregisterDomEventfor automatic cleanup
[0.4.7]
Fixed
- Resolve async/promise-handling issues flagged by Obsidian's plugin review scan: unawaited promises in view updates, settings saves, and file-opening now properly
awaited or explicitly marked withvoidwhere fire-and-forget is intentional; DOM event listener callback no longer mismatched with an async return type