Skip to content

0.1.1

Choose a tag to compare

@github-actions github-actions released this 23 Sep 11:30
· 5 commits to main since this release

A maintenance release. The plugin behaves exactly as 0.1.0 does; what changed is how the code type-checks.

The automated review of the community directory reported 49 warnings about values of an error or any type. None of them was in the plugin: the review runs on TypeScript 6, where the project's tsconfig.json did not load at all, so the rules saw an error type in place of every type.

  • tsconfig.json drops baseUrl, which TypeScript 6 refuses. The imports are relative and never needed it.
  • The moment a day is kept in is typed by the plugin itself. Obsidian exports moment as a namespace import, and a namespace is not callable while esModuleInterop is on — the default of TypeScript 6. One cast in the daily notes adapter keeps everything past it typed.
  • A test holds the case of a shift unit in a daily note template: {{date+1M}} is a month ahead, {{date+1m}} a minute.

Checked under both TypeScript 5.7 and 6: the type check passes and the linter of the community directory reports nothing.