Release: Actions URI 1.6.0

Actions URI 1.6.0 was released today.


New stuff

  • All /note routes gained support for working with periodic notes (daily, weekly, etc.).
  • All /note routes gained support for UID-based note references. Notes can now be referenced by their UID instead of their file path, so if you’re storing a UID in your front matter, give it a go. Make sure to check that the correct frontmatter key is configured in the …
  • New settings UI. The plugin now has a settings page in Obsidian’s settings.
  • /note/get-active-note returns the current selection as part of its result. (Plain-text only for now.) Thanks to @FelipeRearden for the suggestion! [#90]
  • /note-properties now supports working with current periodic notes (daily, weekly, etc.)
  • When using /note/append or /note/prepend to insert text below a headline, the route no longer joyfully reports success even when the headline couldn’t be found. Instead, the routes now support a conditional if-headline-missing parameter to specify what to do in that case: report an error (the new default), skip the operation (the old default behavior), or add the headline to the end of the note. Thanks to @vitaly-rudenko for the bug report! [#91]

Deprecation notice

All dedicated periodic note-related routes (/daily-note/*, /weekly-note/*, /monthly-note/*, /quarterly-note/*, /yearly-note/*) are officially deprecated, and will be removed in early 2025. Please update your scripts accordingly.

There will be no further work on these routes going forward.

No longer broken

  • Fixes search/replace in notes, which wouldn’t work if the search term was a string but contained regex-like characters ($, ^, etc.) [ZCO-606]
  • /note-properties/get won’t automatically open the note anymore.
  • Fixes template path handling in /note/create, which was very strict, and didn’t allow for specifying a template file outside the configured template folder.
1 Like

Looking forward to the corresponding update of Actions for Obsidian that reflect these new consolidated actions for all notes. I think this will be significant improvement and simplify using AFO.

It just makes more sense not to duplicate most functions for both notes and periodic notes. In fact, for a long time before you added explicit support for periodic notes, I was always using notes to create my periodic notes; I just had to prepare the file path that matched my Periodic Notes settings, and use the appropriate template, and everything worked just fine.

Then I changed those shortcuts to use the periodic notes actions, and now I can adjust them to use the new versions of the notes actions when they become available in AFO.

Thanks for making these enhancements.

1 Like