github obsidian-nvim/obsidian.nvim v3.16.0

7 hours ago

What's new

Added 🎉

  • New link module options: link.style, link.format.
  • link.format is fully obsidian app compatible, controlling how path is formatted
    • shortest: shortest file path when possible.
    • relative: relative path from the current note file.
    • absolute: vault-relative absolute path.
  • New unique_note module compatible with obsidian app's unique note creator
    • :Obsidian unique_note
    • actions.unique_link
  • Multiline strings in frontmatter with | syntax is properly preserved.
  • :Obsidian template will merge frontmatter.
  • opts.checkbox.order accept an "" to change checkbox to list item.
  • obsidian-ls acts more properly like LSP
    • handle libuv scheduled callbacks
    • send progress messages

Changed ⚠️

  • Deprecated preferred_link_style, wiki_link_func, and markdown_link_func in favor of link.style.
  • Returning nil or empty table in opts.frontmatter.func means no inserting frontmatter.

Fixed ✅

  • note.title is now correctly transferred when creating a note from a template, so custom frontmatter.func functions receive the user-entered title.
  • :Obsidian tags now respects search.sort_by and search.sort_reversed config options.
  • Wiki links in frontmatter will be properly quoted.
  • Numbers in tags and aliases will be preserved.
  • insert_tag action will check for non-existing tag.

Commits

5392f49 chore(release): bump version to v3.16.0 for release
18a6b16 chore(docs): auto generate docs
5b6d8c5 ci: fix doc gen workflow
d5d8047 refactor: update readme (#756)
0a3fcd4 fix: nil or empty in frontmatter.func means no inserting frontmatter. (#752)
2a698c3 refactor(lsp): proper handling callbacks, send progress messages (#748)
ffb5882 fix: insert_tag action will check for non-existing tag. (#746)
d0bbbbd feat: opts.checkbox.order accept an "" to change checkbox to list item. (#744)
350586c feat: Note:merge(other_note) and :Obsidian template merge frontmatter (#740)
bb26f0a fix(yaml): numbers in tags and aliases will be preserved. (#738)
cb0b974 feat: support multi-line strings in frontmatter (#737)
de78b59 fix: Wiki links in frontmatter will be properly quoted. (#736)
861e47e fix: respect search.sort_by config in tags command (#735)
9b1caf2 chore: type fixes from emmylua (#734)
5cf9365 feat: unique_note module and :Obsidian unique_note (#733)
3709702 docs: add Enceradeira as a contributor for code (#732)
a9cb88f fix: transfer title field in clone_template (#731)
052235c feat: link module (#507)

Don't miss a new obsidian.nvim release

NewReleases is sending notifications on new releases.