github obsidian-nvim/obsidian.nvim v3.16.4

4 hours ago

What's new

Added πŸŽ‰

  • Update link in buffer when creating a new note via follow_link.
  • Minimal .base support, definition, references and quick_switch will work.
  • Proper resolve .base file only with explicit suffix.
  • :Obsidian bookmarks to view existing bookmarks.
  • use vim.g.obsidian_default_keymap to disable the default keymaps.
  • attachment.add(src, opts) and actions.add_attachment(src, opts) for adding:
  • Note class can carry a template field.
  • LSP completion replaces completion plugin based completion.
  • Frontmatter tag completion.
  • Unicode/CJK tag support across parsing, completion, and UI highlighting (e.g. #cafΓ©, #δΈ­ζ–‡).
  • Sync supports End-to-end encryption password.

Changed ⚠️

  • Always call async version of search functions internally, blocking version are just for scripting.

Removed πŸ‘‹

  • should_write option on Note.create is removed. Call note:write {} explicitly instead.

Fixed βœ…

  • Note.save no longer raises E94: No matching buffer when the save path contains Vim regex-special characters (e.g. [, ], *). The :checktime call now passes a bufnr instead of the path string.
  • Preserve anchors and blocks when creating notes from unresolved links.
  • WIP: proper async jobs and no block_on calls which performs bad on windows.
  • snacks picker now honors picker.note_mappings.new (and any other query mappings) for find_files, grep and pick, so creating a new note from the typed query (e.g. <C-x>) works on par with the telescope/fzf integrations.
  • Respect frontmatter.sort for notes that already have frontmatter (the parsed key order was silently overwriting the configured sort). Closes #818.
  • Skip empty list items in tags/aliases frontmatter validators so template placeholders no longer surface as vim.NIL validation errors. Refs #801.
  • Preserve template frontmatter when frontmatter.enabled = false (the strip+merge round-trip previously dropped it because update_frontmatter short-circuits). Closes #801.
  • Sync by default syncs core plugin settings and data for bookmarks and future compatibility support.

Commits

2a8af7b chore(release): bump version to v3.16.4 for release
9d8536c chore(docs): auto generate docs
4ad8f7d fix(sync): sync for core plugin setting and data (#863)
5c49692 feat(sync): supports end-to-end encryption password (#860)
d2349fd test: use --clean flag to run tests
7583139 docs: add snapwich as a contributor for code (#858)
129c1fc fix(note): E94 from :checktime in save (#857)
f2d39f6 chore(docs): auto generate docs
4f6e772 fix: no blocking search (#855)
84f2947 test: proper async test and clean log in outputs (#856)
8820505 feat(tags): proper unicode tags (#853)
cd8ff5b feat: LSP completion (#757)
c40f81a fix(frontmatter): skip empty list items in tags/aliases validators (#801) (#825)
08c2b8c chore(docs): auto generate docs
4e633c3 refactor(note): note carry template field, decouple note operations (#851)
afd3b2b fix(path): better path.mkdir error message
632428b docs: add Booyaka101 as a contributor for code (#850)
d9a73bf fix(note): respect frontmatter.sort over parsed key order (closes #818) (#848)
47e6496 fix(picker/snacks): honor query_mappings so note_mappings.new works (#847)
896d451 refactor: simplify job impl (#846)
8872f14 feat: add_attachment (#844)
de754fd feat: vim.g.obsidian_default_keymap to control the default keymaps (#843)
c9c2bcb feat: :Obsidian bookmarks to view obsidian bookmarks (#541)
0d587e7 feat: proper .base resolve (#842)
eb834ed fix: preserve anchors and blocks when creating notes from unresolved links (#836)
894ffad docs: add gsmith-alvarez as a contributor for code (#840)
9292f31 Update picker enum values and add picker documentation (#832)
709af8e docs: add tdashelby-cmyk as a contributor for doc (#839)
319473d Fix dailies command typo in README (#838)
917780e feat: basic base support (#834)
76df75e docs: add beekeepeer as a contributor for code (#835)
3d594d8 feat: update buffer links when creating notes from unresolved links (#829)
ff39972 docs: add tp6gw94 as a contributor for doc (#833)
9190ddd docs: fix note_id_func example in preset guide (#831)

Don't miss a new obsidian.nvim release

NewReleases is sending notifications on new releases.