All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.9.1 (2024-10-30)
- Switch
isMobileApp
checks toisMobile
and dynamically require node core packages to prevent plugin failure when emulating mobile on desktop (3f8f764)
2.9.0 (2024-10-22)
2.8.3 (2024-10-18)
- Import
moment
from obsidian instead of usingwindow.moment
(8d446c9) - Remove all references to global
app
instance (5580544) - Use new quotes repo for daily quotes to fix errors with getting daily quotes (fac9009), closes #1407
- Use sentence case in plugin settings (922f111)
2.8.2 (2024-10-11)
2.8.1 (2024-10-10)
- Hotkeys being unset from 2.8.0 release, you will need to set them up again if you set them up again while having 2.8.0 installed (39fd26d), closes #1480
2.8.0 (2024-10-08)
- remove unused internal parameter
mode
, breaking change from previous commit where hotkey command IDs are now prefixed withinsert-
(281aaf7), closes #1361
2.7.3 (2024-10-01)
- Fix UX conflicts between changes for better folder templates UX and file regex templates (cc95dea), closes #1428 #975 #471
- Streamline folder template UX (78d9484), closes #1468
2.7.2 (2024-09-25)
- 1446: updates docs to match actual behaviour of tp.file.folder() (8d4f402)
- Fix first letter of suggest modal being cut off (0f07a0d), closes #1454 #1436
- Prompt Autofocus Input (a4eca81), closes #1457 #1120
- Use requestUrl instead of fetch to fix CORS errors when using
tp.web.request
(bfbb474), closes #1455
2.7.1 (2024-09-04)
2.7.0 (2024-09-04)
- new web function to make http requests (56a6478)
2.6.0 (2024-09-02)
2.5.0 (2024-09-02)
2.4.2 (2024-08-21)
2.4.1 (2024-07-24)
2.4.0 (2024-07-24)
2.3.3 (2024-05-26)
2.3.2 (2024-05-21)
- limit results for file/folder suggesters in Templater settings to 1000 for better performance (1bc91c3), closes #1319
- revert change that broke template content being overridden (2639196), closes #1309
2.3.1 (2024-05-09)
2.3.0 (2024-05-08)
- Support string for folder argument for
tp.file.create_new()
(df3709b)
- Mitigate edge cases where a blank string is appending during transition between active editors (b6dd0b1), closes #1369
- simplify fix for template content being overridden when using
app.fileManager.processFrontMatter
on blank files (7378d7b), closes #1309
2.2.4 (2024-05-05)
- template content being overridden when using
app.fileManager.processFrontMatter
on blank files (cdc8815), closes #1309
2.2.3 (2024-03-05)
- fallback to "Untitled" as filename if empty string is passed as filename to
tp.file.create_new
(efa2920), closes #1332
2.2.2 (2024-03-02)
- add 1ms delay to make it less likely to require a setTimeout when using
tp.hooks.on_all_templates_executed()
(506e32d), closes #1309 - re-add support for creating missing folders when using
tp.file.create_new()
(cc85471), closes #1327
2.2.1 (2024-02-13)
- creating file from template not auto-incrementing file name if file already exists (368e511)
2.2.0 (2024-02-13)
- Templater resetting active document position when folder template is triggered in background (4d766d8), closes #1310
2.1.4 (2024-02-10)
2.1.3 (2024-02-02)
- modifying current file immediately after inserting template causing file content conflicts (b9112fa), closes #1309
2.1.2 (2024-01-23)
- syntax errors in user scripts not showing error message mentioning relevant user script (6709df4), closes #1212 #1286
- unable to add newline in multiline inputs on mobile (5d3b2fc), closes #1303
- uncaught exception when cancelling prompt when creating note from template and throw_on_cancel is true (8a27b33), closes #1294
2.1.1 (2024-01-18)
2.1.0 (2024-01-06)
- add icon for hotkey commands for mobile toolbar (8806dab)
- add icons for commands for mobile toolbar (9391ba9)
- incorrect function name in popup for tp.file.move() (b53e713), closes #1136
- multiple prompts being filled out with Korean inputs (9fc284e), closes #1284
2.0.0 (2023-12-08)
- Syntax highlighting will no longer work on older versions of Obsidian.
- Fix syntax highlighting in Obsidian 1.5.x (aaa2cc1)
1.18.4 (2024-01-20)
- uncaught exception when cancelling prompt when creating note from template and
throw_on_cancel
is true (41e19ef), closes #1294
1.18.3 (2023-12-02)
- do not stack trace using Error.captureStackTrace in environments that don't support it (iOS) (de54d0c)
1.18.2 (2023-12-01)
- plugin not unloading properly when disabled (3cd000a)
- properties from template not showing in note until editor change (b349aff), closes #1253
1.18.1 (2023-11-17)
- frontmatter updates not persisting when using app.vault.processFrontMatter outside of a tp.hooks module (21aa13e), closes #1245
1.18.0 (2023-11-13)
- add hooks module (e5d1aa8)
1.17.0 (2023-11-08)
- jump to next cursor will only expand folds if cursor jump position is within fold bounds (b1729e3), closes #1222
- support tp.system.clipboard on mobile (5c6744d), closes #589
1.16.5 (2023-11-07)
1.16.4 (2023-10-11)
- add missing
=
in docs example fortp.system.suggester
(ea6d2c4), closes #995 - define app.dom (7557939)
- re-add delay on triggering templates on file creation to account for note extractor core plugin (59603e5), closes #1219
1.16.3 (2023-10-03)
- clearer error message when user scripts are preventing templates from executing (0cb0202), closes #1212
1.16.2 (2023-10-02)
1.16.1 (2023-09-29)
- fixing merge conflict (1e2fdda)
1.16.0 (2022-11-08)
- cleaning package, preparing for release (79e2925)
- moving from eta.js to rusty_engine (a69ac22)
- updating README (8689da4)
- updating settings (34330d2)
1.15.3 (2022-11-01)
1.15.2 (2022-10-30)
1.15.1 (2022-10-29)
1.15.0 (2022-10-29)
1.14.4 (2022-10-29)
- hard coded file size limit for parsing (#874) (fcba602)
- tp.file.exists in Obsidian v1.0.0 always returns false for files; (#879) (fc08873), closes #878 #878
1.14.3 (2022-09-19)
1.14.2 (2022-09-17)
- change to new unsplash api (#827) (c5ccd7a)
- don't trigger on creation unless new file is opened in a pane (#816) (10d5de7), closes #716 #554
- errors after merging PRs (#832) (e44a485)
- make tp.file.path(...) work on mobile (#829) (5273570)
- post merge errors (#833) (dd315d2)
- use app.fileSystemAdapter.exists for tp.file.exists (#820) (e57cc6c)
1.14.1 (2022-09-08)
- move on mobile using obsidian api (not path) (#814) (6fbe143)
- PromptModal default value needs to be set to this.value on load (#813) (42e0816)
1.14.0 (2022-09-07)
- add optional argument to include size in tp.web.random_image (#810) (97a4adf)
- additional argument for tp.file.move for passing down specific files. (#444) (e46f1fb)
1.13.0 (2022-09-02)
- Add new optional parameter for multiline input (4802287)
- Add option to show/hide Templater ribbon icon (7cb450d)
- Update sizing of image (dbc3df5)
- add try/catch logic to web commands (#785) (e03ffec)
- change
activeLeaf
togetLeaf
(#787) (c85de3e), closes #691 - change activeLead to getLeaf (752a6a2)
- comment out
reject
throwing a new TemplaterError to avoid freezing app (5b95d7e) - fixing broken documentation (0a24f7e)
- user scripts: removed check that only allowed use of user scripts on desktop (3e4b1ea), closes #586
1.12.0 (2022-03-19)
- suggester: Add limit to suggester (#578) (f7ca9a1)
- trigger events on template overwrite, new file creation (#588) (3c6238e)
1.11.3 (2022-03-06)
1.11.2 (2022-03-06)
- cursorjumper: fix issues with jump cursor stealing focus away from the 'rename file' text field (410c3a8)
1.11.1 (2022-03-05)
- rename args for new
templater:template-appended
event to be plural (fecccad)
1.11.0 (2022-03-05)
1.10.0 (2022-01-24)
- adding mobile support for user script templates (06fef36)
1.9.11 (2022-01-14)
- adding autocomplete and documentation for tp.file module 35f8bee
- adding docs for all modules 94452db
- adding tp.web docs 8abb219
- working autocompletion 8431c80
- fixing docs SUMMARY mistake eaa6859
1.9.10 (2022-01-13)
1.9.9 (2021-10-03)
- cursorjumper: adding a setting to enable automatic cursor jumping after template insertion (6bf2de1), closes #359 #393
1.9.8 (2021-09-30)
- fixing typo bug (2cf1486)
1.9.7 (2021-09-30)
- fixing invalid const declaration, causing errors in user system commands (2ca59f0), closes #391 #392
1.9.6 (2021-09-30)
1.9.5 (2021-09-29)
1.9.4 (2021-09-28)
1.9.3 (2021-09-28)
- fixing "User Scripts folder doesn't exist", replacing string checks with proper truthy checks (4a4fc45)
- tests: reverting to a previous version of rollup, chai wasn't working otherwise (e295d51)
1.9.2 (2021-09-26)
- fixing startup templates bug, forgot to wait for files to be created before executing them (3a0a21d)
1.9.1 (2021-09-26)
- fixing startup templates bug, forgot to check for empty strings (7304f3f)
1.9.0 (2021-09-26)
- adding active_file config option and fixing folder newFileLocation (bb3fa5a)
- adding better colors for light themes when syntax highlighting, was a bit unreadable until now (b4f23e4), closes #268 #303
- fuzzysuggester: adding a new placeholder for fuzzysuggester (2d734b6), closes #352
- settings: adding a way to add hotkeys for templates in settings (34bae3f)
- settings: adding startup templates (920b707)
- settings: adding suggesters in settings for template folder, empty file, user scripts folders (3b59e74)
- fixing small naming errors (e250bd2)
- fixing the "edit this page" button for documentation (e6a8f94), closes #300
- tp.file.include: fixing tp.file.include incorrect depth_limit (7a202a4)
1.8.1 (2021-06-17)
- fixing edge case with code blocks and syntax highlighting (c42b56d)
1.8.0 (2021-06-17)
- adding 3 new tp.file internal functions (c26e4c1)
- adding placeholder argument for tp.system.suggester (e0b288c), closes #264
- adding syntax highlighting for Templater commands (2628197), closes #222
- disabling template replacement on new files in the specified templates folder (26eafb0), closes #244
- updating tp.file internal functions (7a00bf8)
1.7.1 (2021-05-23)
- fixing broken command with comments (c407fc7), closes #235
- fixing multiple dynamic commands bug (d6e2d86), closes #195
1.7.0 (2021-05-22)
- adding multiple cursor at the same with tp.file.cursor (9a54e90), closes #99
- Allow users to provide a default template for empty new files (#203) (4903f15), closes #200
- fixing documentation broken links (3213bfa), closes #194
- fixing dynamic commands format break (7e06048), closes #190 #204
- fixing dynamic commands match when inserting template (dcefbc7), closes #188
- fixing invalid null comparison getting triggered on empty strings (1df50cf)
1.6.0 (2021-05-03)
- adding better error handling, more user-friendly too (51e9411)
- adding dynamic templates, rendering in preview mode (0e2442c), closes #181 #131 #63
- adding new tp.config module (39c224a)
- adding new tp.file.move to move a file across the vault (3877dde), closes #103
- adding script user functions (4a3404c), closes #123 #85
- adding tp.file.exists function (e4273b7), closes #150
1.5.5 (2021-04-22)
- internaltemplates: adding new tp.system.suggester (91cd04e)
- adding the tp.obsidian object to access obsidian functions if needed (eab1178)
- settings: adding a setting to specify a custom shell to run command with(powershell, zsh, ...) (d7e6894), closes #129 #128
- fixing tp.dynamic (7f16c94)
- fixing tp.file.include on block when the block is the last block of the file (f886b1c), closes #124
- fixing tp.system.prompt, now handles cancellation (6afad93), closes #125
1.5.4 (2021-04-17)
- settings: adding toggles for security relevant Templater features (5f1432b)
1.5.3 (2021-04-17)
- internaltemplates: upgrading tp.file.include to accept obsidian links (77f167c)
1.5.2 (2021-04-16)
- internaltemplates: adding new tp.system module with the tp.system.prompt internal function (e3ea6ae), closes #111
1.5.1 (2021-04-14)
- fixing frontmatter potential bug (8be0d41)
- fixing modal opening on "create new from template" when only 1 file exists (7cf6215), closes #73
- internaltemplates: fixing tp.web.random_picture randomness issue (5f69f92)
- user templates: removing right trailing newlines from user commands (387d274), closes #108 #92
- fixing documentation bug with pipe "|" in array (0c2d55d)
1.5.0 (2021-04-13)
- internaltemplates: adding ISO 8601 offset format support for tp.date.now (7054cab), closes #100
- internaltemplates: adding tp.date.weekday internal template (337ad24)
1.4.0 (2021-04-12)
- internaltemplates: fixing bug using old frontmatter data when it doesn't exist (1734347)
1.3.0 (2021-04-10)
- internaltemplates: new tp.file.cursor abilities: cursor jump order (31abe49)
1.2.2 (2021-04-10)
1.2.1 (2021-04-08)
1.2.0 (2021-04-08)
1.1.0 (2021-04-06)
1.0.0 (2021-04-05)
- package: adding cz conventional commit (f688a7f)
- parsers: adding dynamic templates (7a08fd8), closes #63
- templateparser: adding ability to tab from tp.cursor to tp.cursor (8565349), closes #50
- usertemplates: adding arguments for user templates (58ff185), closes #34 #65
- internaltemplates: fixing tp.file.rename not working correctly (26a8f62)
- mobile: fixing mobile error with promisify (b207f54)
- moduleweb: fixing web module to work on both app and mobile (e0956d7)
- settings: fixing broken linkk (e472de4)
- templateparser: fixing file recovery popup when jumping to next cursor (06c60df)
- usertemplates: fixing user arguments (dc46b15)
- package: adding cz conventional commit (f688a7f)