Skip to content

Releases: czottmann/obsidian-actions-uri

1.6.5

09 Oct 11:19
Compare
Choose a tag to compare

No longer broken

  • For some users, both /note/append and /note/prepend would create empty periodic notes when the create-if-not-found parameter was used.

Changes

  • Adjusted opening/focussing notes for API changes in Obsidian 1.7.

1.6.4

20 Sep 14:31
Compare
Choose a tag to compare

No longer broken

  • Both /note/append and /note/prepend now correctly work with headlines at the end of a note which don't have a trailing newline.

1.6.3

02 Aug 12:11
Compare
Choose a tag to compare

No longer broken

  • When calling /*-note/create with a template-file parameter, the template wouldn't be found unless the template path contained both folder and file extension. Fixed!

1.6.2

29 Jul 15:46
Compare
Choose a tag to compare

No longer broken

  • When a note couldn't be found, the wrong error code would be returned (500 instead of 404).
  • Appending/prepending below a headline could fail if either the input headline or the headline in the note contained trailing whitespace. This is now fixed by ignoring trailing whitespace when checking, appending, and prepending.

1.6.1

25 Jul 07:44
Compare
Choose a tag to compare

Hotfix release.

No longer broken

  • Under some circumstances, /note/create with apply=content would not create a note. Sorry about that!

1.6.0

23 Jul 15:31
Compare
Choose a tag to compare

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.5.3

18 Jun 13:10
Compare
Choose a tag to compare

No longer broken

  • Fixes the plugin not sending out return calls when the requested vault wasn't loaded yet, e.g. when Obsidian wasn't running or when another vault was active.

1.5.2

11 May 10:44
Compare
Choose a tag to compare

House keeping release, no new features.

Changes

  • Replaces deprecated global.app references
  • Sets minimum Obsidian version to 1.5.0

1.5.1

27 Mar 10:56
Compare
Choose a tag to compare

Changes

  • /note/create/, /periodic-note/create: If the file name passed in template-file can't be found, the plugin will now check the template folder set in Templates or Templater, respectively, before returning an error.
  • Console output will now print the paths contained in the incoming params, instead of their internal file references. This prevents circular references and "max call stack" errors related to files when using Logstravaganza.

1.5.0

19 Feb 12:42
Compare
Choose a tag to compare

New stuff

  • New route path: /file for working with files. The Obsidian API doesn't allow for uploading attachment files, but now you can at least handle them. (#85)
    • /file/list: Returns the paths of all files in the vault.
    • /file/get-active: Return the path of the currently active/ focussed file.
    • /file/open: Opens a file in Obsidian.
    • /file/delete: Deletes a file.
    • /file/trash: Moves a file to the trash.
    • /file/rename: Renames a file.
  • New route: /note/get-active returns the currently active/ focussed note.
  • New route: /note/get-first-named returns the first note found with a given name.
  • New route: /note/touch sets the modification date of a note to the current date and time (side effect: it makes Obsidian reload it in views/ embeddings).

Changes

  • Appending below headline: Now inserts before any trailing new lines in a section instead of after them.
  • Changed route: /command/execute no longer requires the x-success and x-error parameters to be present. If they are, they will be used, but they are optional now. (#84)
  • Removed route: /vault/list-folders was marked as deprecated in 0.16, and is now gone for good. Use /folder/list instead.