Skip to content

Releases: czottmann/obsidian-actions-uri

1.2.2

13 Jul 14:09
Compare
Choose a tag to compare

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

12 Jul 13:21
Compare
Choose a tag to compare

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 not file 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.

1.1.2

10 May 10:10
Compare
Choose a tag to compare

This is a minor release aimed at fixing an issue with opening notes after creation that came up during the Actions for Obsidian iOS TestFlight.

  • [FIX] Cleans up opening/focussing notes
  • [DEL] Removes outdated API references

1.1.0

04 May 17:01
Compare
Choose a tag to compare

Version 1.1.0

The plugin is stable enough and used in production as the companion plugin to my macOS/iOS app Actions for Obsidian. So the version number took a big leap to bring it mostly in line with the app. Nothing else will change, Actions URI will remain FOSS under a MIT License.

New stuff

No longer broken

  • Adds code for preventing a race condition in vaults w/ Templater enabled (#61)

0.18.0

14 Apr 16:07
Compare
Choose a tag to compare

Version 0.18.0

New stuff

The /note/create route has a new optional if-exists parameter to specify a strategy for dealing with an existing note. It overrides the default behavior (creating a new note by appending a numeric suffix to the base name) and can be set to skip or overwrite. if-exists=skip will not create another note and instead return the named note as-is. if-exists=overwrite will replace the existing note with a new one.

The/daily-note/create route has a new optional if-exists parameter to specify a strategy for dealing with an existing current daily note. It overrides the default behavior (returning an error) and can be set to skip or overwrite. if-exists=skip will pretend the existing note was just created and return it. if-exists=overwrite will trash the existing note and create a new daily note from scratch.

Changes

  • /note/create: the overwrite parameter is deprecated and will be removed in a future release. Use if-exists=overwrite instead.
  • /daily-note/create: the overwrite parameter is deprecated and will be removed in a future release. Use if-exists=overwrite instead.

0.17.0

12 Apr 14:30
Compare
Choose a tag to compare

Version 0.17.0

This release fixes a problem where operations would silently fail when the
queried file path contained a path segment with a leading or trailing space.

Please note that route /open/search is deprecated as of this version, use
/search/open instead.

0.16.4

15 Feb 16:11
Compare
Choose a tag to compare

Hot Fix

  • [CHG] Increases time waiting for search results in /search/all-notes to 2s [#50]

Version 0.16.0

This release brings new routes for dealing with folders and some additional endpoints to /note. It also deprecates the old route /vault/list-folders in favor of the new /folder/list.

New

Deprecations

0.16.3

06 Feb 11:29
Compare
Choose a tag to compare

Hot Fix

  • [FIX] Fixes handling of backslashes and colon characters in file names [#43]

Version 0.16.0

This release brings new routes for dealing with folders and some additional endpoints to /note. It also deprecates the old route /vault/list-folders in favor of the new /folder/list.

New

Deprecations

0.16.2

30 Jan 16:38
Compare
Choose a tag to compare

Minor Fix

  • [CHG] Shortens */rename error messages

Version 0.16.0

This release brings new routes for dealing with folders and some additional endpoints to /note. It also deprecates the old route /vault/list-folders in favor of the new /folder/list.

New

Deprecations

0.16.1

28 Jan 14:10
Compare
Choose a tag to compare

Hot Fix

  • Adds graceful handling of the default "Default location for new notes" configuration setting [#41]

Version 0.16.0

This release brings new routes for dealing with folders and some additional endpoints to /note. It also deprecates the old route /vault/list-folders in favor of the new /folder/list.

New

Deprecations