Releases: czottmann/obsidian-actions-uri
1.5.0
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 thex-success
andx-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
No longer broken
- Resolves problems with applying templates of the core plugin Templates.
- Fixes broken handling of
silent
parameter innote/*
,daily-note/*
,weekly-note/*
,monthly-note/*
,quarterly-note/*
, andyearly-note/*
routes
1.4.0
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:
/note/create
/note/get
/daily-note/create
/daily-note/get-current
/daily-note/get-most-recent
/weekly-note/create
/weekly-note/get-current
/weekly-note/get-most-recent
/monthly-note/create
/monthly-note/get-current
/monthly-note/get-most-recent
/quarterly-note/create
/quarterly-note/get-current
/quarterly-note/get-most-recent
/yearly-note/create
/yearly-note/get-current
/yearly-note/get-most-recent
1.3.1
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
1.3.0
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
1.2.5
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 notfile
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
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 notfile
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
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 notfile
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.2
Fixes
Two hotfixes:
- Adjusts
/note/get
back to pre-1.2 code so it no longer breaks Actions for Obsidian's "Check if note exists" action. 😬 - Fixes a bug in note creation where the default behavior regarding content insertion was not respected.
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 notfile
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.0
New stuff
/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
- 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 notfile
in/note/create
(as here the parameter references a file yet to be created). (#72)
Removals
- The deprecations made in 0.18.0 are now feasting with the Gods.