Skip to content

0.5.0

Choose a tag to compare

@chrishoward-projects chrishoward-projects released this 08 Aug 11:15
· 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 !important CSS declarations, minor DOM API and type-safety cleanup, and switching the committed lockfile to pnpm-lock.yaml to 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) to pnpm-lock.yaml, matching the project's actual package manager
  • Ignore session-exports/ in git; move OBSIDIAN-PLUGIN-REVIEW.md into plans/ 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 of createEl('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 earlier instanceof guard
  • Fix README support link pointing at chrishoward/related-notes-by-tag; the actual repository is under chrishoward-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-hover instead of --background-modifier-error-hover, which is defined as a translucent overlay in several themes rather than a solid fill

Changed

  • Remove all !important declarations from styles.css, per Obsidian's plugin review guidelines. The dropdown menu's show/hide toggle now relies on the .is-visible compound 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/clearTimeout with activeDocument/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's registerDomEvent for 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 with void where fire-and-forget is intentional; DOM event listener callback no longer mismatched with an async return type