Skip to content

v3.16.7

Choose a tag to compare

@github-actions github-actions released this 01 Sep 12:16
· 124 commits to main since this release

What's new

Added πŸŽ‰

  • Obsidian-style vault-wide heading completion with [[##query, using cached heading metadata when available and filesystem search otherwise (#320, #505, #749).
  • Setup-time configuration validation with aggregated errors and :checkhealth reporting (#79).
  • Runtime enum tables for configuration values and type check, exported through require("obsidian.types").
  • daily_notes.start_of_week for configuring Moment-style week formats.
  • Obsidian-style block completion with previews and automatic IDs for unlabeled blocks, using [[^query, [[note^query, [[note#^query, or [[^^query (#505, #749).
  • Added separate icons module to support obsidian related filetypes and usecases.
  • Fallback libuv-based fs walker that makes ripgrep optional in file finding.
  • Fallback interactive UI for picker.select.
  • require"obsidian.picker.PICKER_NAME".setup() to add obsidian_files and obsidian_grep sources for pickers.
  • Experimental Inlay Hints support when cache is enabled, suggesting potential links, use smart_action to accept.
  • Multi-workspace aware note resolution: api.find_workspace now matches the most specific workspace for any path (including non-note and non-existent paths).
  • Optional source_path for note creation, resolving workspace-specific config (note_id_func, note_path_func, notes_subdir, new_notes_location) and the current_dir strategy.
  • Optional dir argument on daily_note_path, new_unique_id, and new_unique_note to resolve against a specific workspace/folder.
  • Optional bufnr and position arguments on api.cursor_link / api.cursor_tag.
  • Note.rename for scripting note renames.
  • Invalid filenames are checked on Note.create and Note.rename.
  • Bookmark management support for adding the current note, heading, block, or URL, bookmarking note picker selections, removing bookmarks, and moving bookmarks into groups.
  • :Obsidian rebuild_cache command to force cache rebuild.

Fixed βœ…

  • Footer backlink counts now refresh on watched-file changes instead of running a vault-wide search every 10 seconds per buffer (#939).
  • Named-note heading completion now preserves the heading's original case and spelling in wiki links.
  • No Note.create interrupt calls in completion.
  • :Obsidian sync log opens real obsidian-headless cli logs.
  • YAML frontmatter dumping now quotes ambiguous string values and safely handles backslashes and single quotes.
  • Link-suggestion inlay hints exclude templates and refresh immediately after acceptance.
  • Absolute templates.folder paths resolve outside the vault without creating nested directories inside it (#761).
  • ripgrep tag search will work for fileformat=dos.
  • Fzf-lua builtin previews work with the fzf-tmux profile.
  • Fzf-lua picker selections now honor multi-select consistently across files, grep, and list pickers.
  • Picker will apply format_item consistently.
  • Cache will be triggered by buffer writes.
  • Fixed attempt to index local 'pos' (a nil value) error in :Obsidian toc by dropping redundant pos passing to vim.lsp.buf.document_symbol.
  • api.path_is_note now checks proper path containment instead of substring matching.
  • api.templates_dir resolves against the given workspace root.
  • Search and backlink lookup now resolve the workspace from the searched/note path, and find_async applies that workspace's file.ignore_filters.
  • Workspace.set keeps the single-vault cache aligned when switching workspaces.
  • LSP note rename updates only link destinations, preserving aliases like [[index|index]].
  • LSP folder rename updates vault-relative links without changing stem-only links.
  • Note rename duplicate-name warning only blocks same-folder filename collisions.

Changed ⚠️

  • Breaking: find_files, find_notes, grep, and grep_notes callbacks now receive a list of selected results. Multiple results use the quickfix list by default.
  • Deprecate old picker.pick, internally use picker.select with better multi-select and preview_item support.

Commits

7a2b7ca chore(release): bump version to v3.16.7 for release
020d63a chore(docs): auto generate docs
b5170fc fix(footer): refresh backlinks on file changes (#947)
708838c fix(completion): preserve anchor case (#926)
b8a2589 chore(docs): auto generate docs
43fc5f8 fix(note): no side effect note creation (#946)
2cd1717 feat(cache): :Obsidian rebuild_cache (#945)
7b167ab chore(docs): auto generate docs
fdf6c6e fix(lsp): rename refinements (#944)
b71d0e8 chore(docs): auto generate docs
8d2c5c6 feat(sync): open real cli sync log (#943)
4794873 fix(yaml): improve string quoting rules (#942)
340d919 fix(lsp): refresh and filter link hints (#941)
6c34920 feat(bookmark): add, del and picker actions (#940)
e49af4d feat(lsp): vaultwide heading completion with [[## (#938)
8f77aad chore(docs): auto generate docs
96d4806 feat(config): startup config validation (#936)
dfc032c fix(templates): support absolute folder paths (#935)
ce8be59 feat(daily): configure start of week (#934)
6099dab fix(search): tag search work for dos format (#933)
118235a fix(picker): support fzf-tmux previews (#875)
29c248f chore(docs): auto generate docs
88dcdd8 feat(note): check invalid filenames for sync (#869)
07f94ef chore(docs): auto generate docs
099c1cb feat(completion): add Obsidian-style block reference search (#924)
5715803 chore(docs): auto generate docs
35c40d9 refactor: better workspace resolution (#925)
64e9ef5 chore(docs): auto generate docs
8c18f6e feat: initial inlay hint support for link suggestion (#923)
c9f3ed2 refactor: picker extensions (#922)
befafd2 feat(ui): builtin picker UI (#921)
5c240b1 docs: add FosRexx as a contributor for code (#920)
ead02ee fix(commands/toc): error attempt to index local 'pos' (a nil value) (#919)
5acd67b refactor: fallback file walker and making rg optional in finding files (#916)
dfd0a59 fix(cache): trigger cache on buffer write (#915)
70e68a3 fix(picker): apply format_item consistently (#914)
ab59625 refactor: general picker multi select and preview_item support (#913)
b7bd374 refactor: icon provider module (#912)