Skip to content

0.1.1

Choose a tag to compare

@github-actions github-actions released this 25 Jul 12:17

Compliance and correctness pass against the community directory scorecard. No behaviour changes.

Important: minAppVersion is corrected to 1.7.2. The plugin awaits Workspace.revealLeaf, which is asynchronous only from 1.7.2, so the previous declaration of 1.4.0 was inaccurate.

  • Await revealLeaf rather than leaving the promise floating, which is also what guarantees the panel is loaded rather than deferred
  • Replace the untyped reach into app.setting with a narrow declared interface
  • Style the reset button with Obsidian's destructive class instead of the deprecated setWarning(), whose replacement would have required 1.13.0
  • Drop the vault.process fallback, unreachable since process() is available from 1.1.0
  • Remove the builtin-modules dependency in favour of Node's module.builtinModules
  • Fix a needless regex escape, four redundant type assertions, an unused import, and an async callback passed where a void return was expected
  • Add ESLint with eslint-plugin-obsidianmd, run in npm run build and in CI

See the changelog.