Skip to content

Releases: czottmann/obsidian-actions-uri

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.

1.4.2

12 Dec 17:04
Compare
Choose a tag to compare

No longer broken

  • Resolves problems with applying templates of the core plugin Templates.
  • Fixes broken handling of silent parameter in note/*, daily-note/*, weekly-note/*, monthly-note/*, quarterly-note/*, and yearly-note/* routes

1.4.0

22 Nov 09:04
Compare
Choose a tag to compare

New stuff

Support for Note Properties

Properties are a core feature of Obsidian: structured data containing information about a note. Actions URI now supports them in a variety of ways. Please see the new route docs for details:

Existing routes which return note content now also return note properties, if present. Their documentation has been updated accordingly. See Changes, below.

Changes

Actions URI now requires Obsidian 1.4+.

The following routes return an additional result-properties parameter if the note contains properties:

1.3.1

09 Oct 17:13
Compare
Choose a tag to compare

Fixes

  • Append/prepend to a periodic note that had to be created first would create the note but fail to append/prepend the text. This is now fixed.

New stuff in 1.3.0

Support for triggering Obsidian commands (#77)

Please see the new route docs for details:

Support for Weekly, Monthly, Quarterly, and Yearly Notes (#75)

All of Action UR's existing /daily-note functionality is now also available for anything supported by the Periodic Notes community plugin! Please see the new route docs for details:

Important

Known issue: At the time of writing, the Periodic Notes plugin seems to have a bug that (for some people) prevents creating a new weekly note on any day other than Sunday. liamcain/obsidian-periodic-notes · #185 · Open weekly note only works on Sunday. Since Actions URI uses the Periodic Notes plugin's API, this is not something I can fix. Please follow the issue for updates.

Changes in 1.3.0

  • Actions URI now requires Obsidian 1.3+ .

Fixes in 1.3.0

  • Adds missing return calls to /vault/open and /vault/close. (#76)
  • For some Dataview TABLE queries, the results would be wrapped in an extra array, this has been fixed. (#79)

1.3.0

04 Sep 07:53
Compare
Choose a tag to compare

New stuff

Support for triggering Obsidian commands (#77)

Please see the new route docs for details:

Support for Weekly, Monthly, Quarterly, and Yearly Notes (#75)

All of Action UR's existing /daily-note functionality is now also available for anything supported by the Periodic Notes community plugin! Please see the new route docs for details:

Important

Known issue: At the time of writing, the Periodic Notes plugin seems to have a bug that (for some people) prevents creating a new weekly note on any day other than Sunday. liamcain/obsidian-periodic-notes · #185 · Open weekly note only works on Sunday. Since Actions URI uses the Periodic Notes plugin's API, this is not something I can fix. Please follow the issue for updates.

Changes

  • Actions URI now requires Obsidian 1.3+ .

Fixes

  • Adds missing return calls to /vault/open and /vault/close. (#76)
  • For some Dataview TABLE queries, the results would be wrapped in an extra array, this has been fixed. (#79)

1.2.5

29 Aug 17:31
Compare
Choose a tag to compare

Fixes

  • Ensures Dataview TABLE results are correctly nested. (#79)

New stuff in 1.2

/note/create

  • Adds support for applying a Templates (core plugin) template or Templater (community plugin) template after note creation (#69)

/note/append

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for appending text not to the end of a file but to a section below a heading (#68)

/note/prepend

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for prepending text not to the beginning of a file but to a section below a heading (#68)

/daily-note/create

  • Adds support for applying a Templates (core plugin) template or Templater (community plugin) template after note creation (#69)

/daily-note/append

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for appending text not to the end of a file but to a section below a heading (#68)

/daily-note/prepend

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for prepending text not to the beginning of a file but to a section below a heading (#68)

Changes in 1.2

  • Incoming, malformed calls are now answered if possible: if an x-error parameter was passed in, it will be used now, instead of Actions URI just doing nothing. (#72)
  • file & folder parameter validation is now more strict where the parameter is supposed to reference an existing path, and will return a "bad request" error if the referenced file/folder couldn't be found. Examples for clarification: file in /note/rename, folder in /folder/delete; but not file in /note/create (as here the parameter references a file yet to be created). (#72)

Removals in 1.2

  • The deprecations made in 0.18.0 are now feasting with the Gods.

1.2.4

07 Aug 10:17
Compare
Choose a tag to compare

Fixes

  • Appending/prepending below headlines no longer fails if there is no empty line below the headline. (#73)
  • When using a file path ending in .canvas, Actions URI will no longer add .md to it. (#74)

New stuff in 1.2

/note/create

  • Adds support for applying a Templates (core plugin) template or Templater (community plugin) template after note creation (#69)

/note/append

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for appending text not to the end of a file but to a section below a heading (#68)

/note/prepend

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for prepending text not to the beginning of a file but to a section below a heading (#68)

/daily-note/create

  • Adds support for applying a Templates (core plugin) template or Templater (community plugin) template after note creation (#69)

/daily-note/append

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for appending text not to the end of a file but to a section below a heading (#68)

/daily-note/prepend

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for prepending text not to the beginning of a file but to a section below a heading (#68)

Changes in 1.2

  • Incoming, malformed calls are now answered if possible: if an x-error parameter was passed in, it will be used now, instead of Actions URI just doing nothing. (#72)
  • file & folder parameter validation is now more strict where the parameter is supposed to reference an existing path, and will return a "bad request" error if the referenced file/folder couldn't be found. Examples for clarification: file in /note/rename, folder in /folder/delete; but not file in /note/create (as here the parameter references a file yet to be created). (#72)

Removals in 1.2

  • The deprecations made in 0.18.0 are now feasting with the Gods.

1.2.3

25 Jul 17:13
Compare
Choose a tag to compare

Fixes

  • Attempting to use the Templates core plugin on iOS would result in an error. This is now fixed!

New stuff in 1.2

/note/create

  • Adds support for applying a Templates (core plugin) template or Templater (community plugin) template after note creation (#69)

/note/append

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for appending text not to the end of a file but to a section below a heading (#68)

/note/prepend

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for prepending text not to the beginning of a file but to a section below a heading (#68)

/daily-note/create

  • Adds support for applying a Templates (core plugin) template or Templater (community plugin) template after note creation (#69)

/daily-note/append

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for appending text not to the end of a file but to a section below a heading (#68)

/daily-note/prepend

  • Adds an optional create-if-not-found parameter for avoiding errors if the note doesn't exist yet (#67)
  • Adds an optional below-headline parameter for prepending text not to the beginning of a file but to a section below a heading (#68)

Changes in 1.2

  • Incoming, malformed calls are now answered if possible: if an x-error parameter was passed in, it will be used now, instead of Actions URI just doing nothing. (#72)
  • file & folder parameter validation is now more strict where the parameter is supposed to reference an existing path, and will return a "bad request" error if the referenced file/folder couldn't be found. Examples for clarification: file in /note/rename, folder in /folder/delete; but not file in /note/create (as here the parameter references a file yet to be created). (#72)

Removals in 1.2

  • The deprecations made in 0.18.0 are now feasting with the Gods.