Skip to content

1.3.0

Choose a tag to compare

@github-actions github-actions released this 25 Jul 00:47
· 1 commit to main since this release
fix: prevent recursive attachment folder nesting (v1.3.0)

Organizing an attachment with no linking note fell back to the file's
own folder as the base, then re-appended the configured pattern on every
run — nesting date/pattern folders forever (e.g. 2026/05/2026/05/...).

- Add getOrganizedSuffixRegexSource() / stripOrganizedSuffix() to remove
  already-applied pattern segments before re-applying, making organize
  idempotent and self-healing for existing over-nested paths.
- Strip in same-location and relative obsidian-settings fallbacks, and in
  getOcrOutputFolder().
- Guard against moving a file deeper into its own organized folder when
  the resolved linking note lives inside that folder (e.g. OCR notes).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>