Skip to content

Releases: epwalsh/obsidian.nvim

v1.15.0

20 Oct 23:44
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • The overwrite_mappings option, which sets the mappings in the config even if they already exist
  • Added support for multiple vaults (#128)
  • Added command to switch between vaults (#60)
  • Added configuration option yaml_parser (a string value of either "native" or "yq") to change the YAML parser.

Fixed βœ…

  • Eliminated silent runtime errors on validation errors in note.from_lines.
  • Fixed parsing YAML boolean values in frontmatter.
  • Fixed parsing implicit null values in YAML frontmatter.

Commits

3369669 chore: auto generate docs
93bc7cd Make the YAML parser configurable (#210)
96ac0d9 Fix some YAML parser issues
1387498 chore: auto generate docs
1194d4c feat: support workspaces config option (#155)
25f57d5 fix silent validation errors in note.from_lines (#206)
52c06a0 chore: auto generate docs
f0b3044 Add overwrite_mappings option to config (#204)

v1.14.2

25 Sep 15:25
Compare
Choose a tag to compare

What's new

Fixed βœ…

  • Updated recommendation for how to configure mappings.

Commits

f9a8f26 fix README
2be2759 chore: auto generate docs
7a7942f update recommendation for configuring mappings (#205)

v1.14.1

23 Sep 01:35
Compare
Choose a tag to compare

What's new

Fixed βœ…

  • Added back missing util.find() function.

Commits

6407cdc hot fix for missing find cmd

v1.14.0

22 Sep 17:52
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added config option sort_by to allow setting search result order by "path", "modified", "accessed", or "created".
  • Added config option sort_reversed to allow setting search result sort reversed order. The default is true.
  • Added an extra option for daily notes to allow changing the default title from "%B %-d, %Y" to other strings.
  • Added a configuration option daily_notes.template for automatically using a specific template when creating a new daily note.
  • Adding a configuration option templates.substitutions for defining custom template substitutions.

Changed ⚠️

  • Minor change to the behavior of :ObsidianNew. The argument to this command can be in one of 3 different forms which determine the behavior of the command:
    1. A raw title without any path components, e.g. :ObsidianNew Foo. In this case the command will pass the title to the note_id_func and put the note in the default location.
    2. A title prefixed by a path component, e.g. :ObsidianNew notes/Foo. In this case the command will pass the title "Foo" to the note_id_func and put the note in the directory of the path prefix "notes/".
    3. An exact path, e.g. :ObsidianNew notes/foo.md. In this case the command will put the new note at the path given and the title will be inferred from the filename ("foo").

Fixed βœ…

  • A bug when following links when headers have a space.
  • Fixed ObsidianFollowLink when the note path contains a block link (e.g. [[foo#^Bar]]).
  • Fixed :ObsidianOpen doesn't work in WSL2
  • Improved completion start pattern to trigger anytime [[ is typed.
  • Fixed issue with parsing inline lists in YAML frontmatter when the items aren't wrapped in quotes.

Commits

9a45ebc Add note about LuaLS to CONTRIBUTING guide
3df8a3b Fix templates config bug (#202)
5059e18 chore: auto generate docs
ff98c63 update README
e7c3743 fix config for templates
1c6a28b chore: auto generate docs
ea6a89e Automatic template insertion in daily notes, custom template substitutions (#195)
9c0cf56 Fix YAML parsing on inline lists without quotes (#199)
1bd00a4 chore: auto generate docs
5d3d8d3 Add sort_by and sort_reversed config option (#200)
edc85df Improve completion trigger pattern (#198)
256ca78 chore: auto generate docs
6cb5591 Update README
41d7672 Add daily_notes.alias_format config option (#191)
d7c3b83 chore: auto generate docs
3725b89 If using wsl, use wsl-open (#187)
41bb0ca Minor change to behavior of :ObsidianNew command (#188)
b681a5c ignore '^' in link following, use %s instead to match spaces (#183)
5bda19a chore: auto generate docs
c56c4f2 update lazy.nvim example
9ac240d Allow spaces in header portion of links (#181)
e33f077 chore: auto generate docs
60f8da4 fix setup event for lazy.nvim

v1.13.0

24 Aug 17:55
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added option prepend_note_id to allow disabling id generation for new notes.
  • Added mappings configuration field.
  • Added open_notes_in configuration field
  • Added backlinks options to the config. The default is
    backlinks = {
      -- The default height of the backlinks pane.
      height = 10,
      -- Whether or not to wrap lines.
      wrap = true,
    },

Changed ⚠️

  • (internal) Refactored daily note creation.
  • obsidian.nvim will now automatically enable the 'gf' passthrough keybinding within your vault unless the 'gf' keybinding has already been overridden by you or another plugin or you override the 'mappings' configuration field.

Fixed βœ…

  • Fixed template_pattern not escaping special characters.
  • Fixed new notes not getting passed args correctly
  • Fixed :ObsidianOpen when note is in a subdirectory with the same name as the root vault directory.
  • Fixed issue where note_frontmatter_func option was not used when creating new notes.

Commits

f19afa6 Apply note_frontmatter_func when for new notes (#178)
7645f5f chore: auto generate docs
564f648 add backlinks config opts (#175)
8f1c896 Fix :ObsidianOpen
f3f3479 fix: new note args (#169)
0158b45 chore: auto generate docs
c396640 Add config option for opening notes in vertical/horizontal split (#166)
f534ad0 fix bug in template check if there's magic chars in path (#164)
f81ddfa make error message more informative
b71d146 chore: auto generate docs
96d20ed clarify custom gf mapping docs
ed7ace4 chore: auto generate docs
6e2af3d Clean up README (#158)
2d16c31 chore: auto generate docs
00b8950 Automatically configure 'gf' passthrough, add 'mappings' config (#161)
1534187 chore: auto generate docs
9e0a7cc update README
9f34463 chore: auto generate docs
2c2a368 Separate plugin dependencies in documentation
a5fc3aa chore: auto generate docs
a728371 Remove leading | if note_id_func returns '' or nil (#160)
c76e197 chore: auto generate docs
f0c32f4 small documentation changes (#156)
8fcc8d8 Refactor client.today and client.yesterday (#154)

v1.12.0

16 Jul 00:29
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Allow user to supply an argument to ObsidianTemplate to select a template.

Changed ⚠️

  • Renamed Lua function command.insert_template() to command.template() and split the template insert script into a separate function util.insert_template().
  • Added log_level configuration option to suspend notifications.
  • Added completion.new_notes_location configuration option to specify where newly created notes are placed in completion.

Fixed βœ…

  • Fixed creating new notes when the title of the note contains a path. Now that path will always be treated as relative to the vault, not the notes_subdir.
  • Fixed ObsidianFollowLink when the note path contains a header link (e.g. [[foo#Bar]]).

Commits

677c7ba Update CHANGELOG and CONTRIBUTING guide
e2f37f0 Fix ObsidianFollowLink with header links (#152)
cb8a140 chore: auto generate docs
2fdb1e9 add link to contributing guide
912eb9b fix luacheck config
ad34e61 Add contributing guide
79bbc90 chore: auto generate docs
9ed82f4 chore(deps): bump kdheepak/panvimdoc from 3.0.5 to 3.0.6 (#135)
59a9266 chore(deps): bump JohnnyMorganz/stylua-action from 1 to 3 (#131)
f562c97 chore: auto generate docs
47fba3f update docs
3263a33 chore: auto generate docs
a6a4c0c add TOC to README
bfc46b2 chore: auto generate docs
2999a42 add alt text to demo
a83cc49 Always treat paths relative to vault root, other fixes (#151)
9a9be56 chore: auto generate docs
1e7d023 reorganize readme
ab361f4 chore: auto generate docs
757fb70 docs(readme): adding packer.nvim setup (#150)
0077ae7 Fix creating new notes when the title is a path (#148)
4d2e1d0 chore: auto generate docs
1cc81e8 check for bad option value
833bd36 chore: auto generate docs
c852dce document new options in README
3e9e127 Add log level option to silent notifications and make new note location configurable (#146)
e2fe028 fix(is_template check): swap out call to viml string match function for builtin lua function. (#145)
389e526 Fix setup when templates settings are not provided (#144)
bb6af80 Allow ObsidianTemplate to take template as arg (#143)

v1.11.0

09 Jun 16:53
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added configuration option daily_notes.date_format (a string) to customize the date format of daily notes.

Fixed βœ…

  • Disabled managed frontmatter for files in the templates subdirectory.
  • A bug when disable_frontmatter is ignored for ObsidianToday and ObsidianYesterday.
  • A bug with ObsidianTemplate when using Telescope

Commits

996ef8c fix: disable managed frontmatter for templates (#142)
40e0a5f Fix running tests locally (#140)
f509468 chore: auto generate docs
c2f3bbb Dailynotes custom format date (#138)
0f96267 minor cleanup
31b303d Fix bug in ObsidianTemplate with telescope (#137)
93adf4f Respect disable_frontmatter when for daily notes (#136)
be57d5f chore: auto generate docs
385ae48 Update demo link

v1.10.0

11 May 23:13
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Report errors finding vault from :ObsidianCheckHealth.
  • Added finder option for choosing a preferred finder backend.

Fixed βœ…

  • Removed annoying "skipped updating frontmatter" message on file write.

Commits

95f5813 chore: auto generate docs
f827cd8 clean up README
79f6d7a clean up changelog
1a9ec65 feat: add finder option for choosing a preferred finder backend (#129) (#130)
47d1be9 fix lint
2a36e39 report errors finding vault from health check
0418505 remove annoying message

v1.9.0

22 Apr 23:40
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added open_app_foreground option to open Obsidian.app in foreground on macOS.
  • Added :ObsidianTemplate to insert a template, configurable using a templates table passed to setup().
  • Added support for following links in markdown format
  • Added follow_url_func option to customize behaviour of following URLs

Changed ⚠️

  • Use vim.notify to echo log messages now.

Fixed βœ…

  • Gracefully handle invalid aliases / tags in frontmatter (i.e. values that aren't strings). We'll warn about them and ignore the invalid values.
  • Fixed nvim-cmp completion for notes that have no aliases specified.
  • nvim-cmp completion will search based on file names now too, not just contents.
  • Fixed bug when nvim-cmp is not installed.
  • Workaround error which prevented users from using ObsidianOpen when vault path was configured behind a link
  • Detect URLs when following links and ignore them by default.

Commits

bf81c8a remove call to echo.setup
66651b5 use vim.notify
c2ae4a6 add checkhealth command
e857184 chore: auto generate docs
968083a update README, include complete configuration
1a29569 chore: auto generate docs
8c23830 feat: detect and handle urls in :ObsidianFollowLink (#123)
a07e3fa Update bug_report.yml
951f15f Update bug_report.yml
9dd1930 feat: add support to follow links in markdown format (#122)
d2433fb chore: auto generate docs
d3c98eb feat: add option open_app_foreground (#121)
e1c4658 chore: auto generate docs
09a0a36 Fix for ObsidianOpen not working with links (#113)
0823e60 clean up
234f42b revert name change of docs
65412ea chore: auto generate docs
818377e pin panvimdoc
4bc10b8 fix bug when nvim-cmp not installed (#111)
3750b91 chore: auto generate docs
2d0e923 Add short demo for new users (#108)
26af698 chore: auto generate docs
5f48a8b add note about only calling setup once
d6e9300 More completion fixes/improvements (#104)
dbdcc30 Fix nvim-cmp completion for notes with aliases (#103)
96b2e76 Warn about and ignore invalid aliases and tags (#101)
4f13b1c chore: auto generate docs
247e00d Added support for templates (#98)
5ecf680 change wording in release commit

v1.8.0

16 Feb 19:20
Compare
Choose a tag to compare

What's new

Changed ⚠️

  • lua-yaml no-longer bundled as a git submodule. Code from that project has been copied and modified into it's own Lua submodule of obsidian.
  • (BREAKING) 'nvim-lua/plenary.nvim' is no-longer bundled, so must be explicitly installed (e.g. Plug 'nvim-lua/plenary.nvim' in your init.nvim).

Fixed βœ…

  • Fixed a bug where creating a new note with nvim-cmp completion
    would cause nvim-cmp to stop working.
  • Fixed bug where disable_frontmatter setting would be ignored for :ObsidianNew command.

Commits

0f556fd chore: auto generate docs
e2fca73 Un-bundle plenary (#97)
43009f0 Remove lua-yaml git submodule (#96)
cf3c97b Fix relative module name with idiomatic name; see #93 for explanation. (#94)
3d45970 Fix bug with disable_frontmatter setting
59ade59 Fix: cmp stopped working when the cmp_obsidian_new was executed. (#90)