Skip to content

Latest commit

 

History

History
734 lines (357 loc) · 44.7 KB

CHANGELOG.md

File metadata and controls

734 lines (357 loc) · 44.7 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.7.3 (2024-10-01)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • Include link to photographer in random image (c81bc7d), closes #1435

2.7.0 (2024-09-04)

Features

  • new web function to make http requests (56a6478)

2.6.0 (2024-09-02)

Features

  • minify production builds to speed up loading time (4f64ff9), closes #1437

2.5.0 (2024-09-02)

Features

  • minify production builds to speed up loading time (4f64ff9), closes #1437

2.4.2 (2024-08-21)

Bug Fixes

  • use new unsplash api to fix random_picture not working (0621def), closes #1435

2.4.1 (2024-07-24)

Bug Fixes

  • Sort files by path instead of by basename (b3c5981), closes #1420

2.4.0 (2024-07-24)

Features

  • Return Relative Paths of Templates in Fuzzy Suggester Prompt (4910143), closes #1418 #1418

Bug Fixes

2.3.3 (2024-05-26)

2.3.2 (2024-05-21)

Bug Fixes

  • 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)

Bug Fixes

  • Folder notes sometimes applying when creating a new note from template (08bcfca), closes #1370

2.3.0 (2024-05-08)

Features

  • Support string for folder argument for tp.file.create_new() (df3709b)

Bug Fixes

  • 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)

Bug Fixes

  • template content being overridden when using app.fileManager.processFrontMatter on blank files (cdc8815), closes #1309

2.2.3 (2024-03-05)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • creating file from template not auto-incrementing file name if file already exists (368e511)

2.2.0 (2024-02-13)

Features

  • add support for templates with non-markdown file extensions (34837f6), closes #1311 #1300

Bug Fixes

  • Templater resetting active document position when folder template is triggered in background (4d766d8), closes #1310

2.1.4 (2024-02-10)

Bug Fixes

  • properties not showing on file creation on template insert (e9abe48), closes #1253 #1309

2.1.3 (2024-02-02)

Bug Fixes

  • modifying current file immediately after inserting template causing file content conflicts (b9112fa), closes #1309

2.1.2 (2024-01-23)

Bug Fixes

  • 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)

Bug Fixes

  • cursor being set to top of current file when folder template was triggered (10ab058), closes #1297

2.1.0 (2024-01-06)

Features

  • add icon for hotkey commands for mobile toolbar (8806dab)
  • add icons for commands for mobile toolbar (9391ba9)

Bug Fixes

  • 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)

⚠ BREAKING CHANGES

  • Syntax highlighting will no longer work on older versions of Obsidian.

Bug Fixes

  • Fix syntax highlighting in Obsidian 1.5.x (aaa2cc1)

1.18.4 (2024-01-20)

Bug Fixes

  • 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)

Bug Fixes

  • do not stack trace using Error.captureStackTrace in environments that don't support it (iOS) (de54d0c)

1.18.2 (2023-12-01)

Bug Fixes

  • 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)

Bug Fixes

  • frontmatter updates not persisting when using app.vault.processFrontMatter outside of a tp.hooks module (21aa13e), closes #1245

1.18.0 (2023-11-13)

Features

1.17.0 (2023-11-08)

Features

  • 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)

Bug Fixes

1.16.4 (2023-10-11)

Bug Fixes

  • add missing = in docs example for tp.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)

Bug Fixes

  • clearer error message when user scripts are preventing templates from executing (0cb0202), closes #1212

1.16.2 (2023-10-02)

Bug Fixes

  • active file is undefined in binary files (27af7a3), closes #1210

1.16.1 (2023-09-29)

Bug Fixes

1.16.0 (2022-11-08)

Features

  • 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)

Bug Fixes

1.15.2 (2022-10-30)

1.15.1 (2022-10-29)

Bug Fixes

  • syntax highlighting breaks live preview on mobile. (#892) (7fd3b33)

1.15.0 (2022-10-29)

Features

1.14.4 (2022-10-29)

Bug Fixes

  • 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)

Bug Fixes

1.14.2 (2022-09-17)

Bug Fixes

1.14.1 (2022-09-08)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • prompt default_value and placeholder order (#802) (fdd1060)

1.13.0 (2022-09-02)

Features

  • Add new optional parameter for multiline input (4802287)
  • Add option to show/hide Templater ribbon icon (7cb450d)
  • Update sizing of image (dbc3df5)

Bug Fixes

  • add try/catch logic to web commands (#785) (e03ffec)
  • change activeLeaf to getLeaf (#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)

Features

  • 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)

Bug Fixes

  • cursorjumper: fix issues with jump cursor stealing focus away from the 'rename file' text field (410c3a8)

1.11.1 (2022-03-05)

Bug Fixes

  • rename args for new templater:template-appended event to be plural (fecccad)

1.11.0 (2022-03-05)

Features

  • Trigger events on template insertion (#573) (6b959d8)

Bug Fixes

  • cursorjumper: Activate cursor jump before renaming file (#576) (3cb9932)

1.10.0 (2022-01-24)

Features

  • adding mobile support for user script templates (06fef36)

1.9.11 (2022-01-14)

Features

  • adding autocomplete and documentation for tp.file module 35f8bee
  • adding docs for all modules 94452db
  • adding tp.web docs 8abb219
  • working autocompletion 8431c80

Bug Fixes

  • fixing docs SUMMARY mistake eaa6859

1.9.10 (2022-01-13)

1.9.9 (2021-10-03)

Features

  • cursorjumper: adding a setting to enable automatic cursor jumping after template insertion (6bf2de1), closes #359 #393

Bug Fixes

1.9.8 (2021-09-30)

Bug Fixes

1.9.7 (2021-09-30)

Bug Fixes

  • fixing invalid const declaration, causing errors in user system commands (2ca59f0), closes #391 #392

1.9.6 (2021-09-30)

Features

  • settings: improving styles of settings, adding a few forgotten save_settings (94140f3), closes #390

1.9.5 (2021-09-29)

Features

1.9.4 (2021-09-28)

1.9.3 (2021-09-28)

Bug Fixes

  • 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)

Bug Fixes

  • fixing startup templates bug, forgot to wait for files to be created before executing them (3a0a21d)

1.9.1 (2021-09-26)

Bug Fixes

  • fixing startup templates bug, forgot to check for empty strings (7304f3f)

1.9.0 (2021-09-26)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • fixing edge case with code blocks and syntax highlighting (c42b56d)

1.8.0 (2021-06-17)

Features

  • 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)

Bug Fixes

  • fixing broken command with comments (c407fc7), closes #235
  • fixing multiple dynamic commands bug (d6e2d86), closes #195

1.7.0 (2021-05-22)

Features

  • 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

Bug Fixes

  • 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)

Features

  • 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

Bug Fixes

1.5.5 (2021-04-22)

Features

  • 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

Bug Fixes

  • 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)

Features

  • settings: adding toggles for security relevant Templater features (5f1432b)

1.5.3 (2021-04-17)

Features

  • internaltemplates: upgrading tp.file.include to accept obsidian links (77f167c)

1.5.2 (2021-04-16)

Features

  • internaltemplates: adding new tp.system module with the tp.system.prompt internal function (e3ea6ae), closes #111

Bug Fixes

  • fixing tp.date documentation error (8a8559f), closes #113

1.5.1 (2021-04-14)

Features

  • internaltemplates: adding multi-cursor to tp.file.cursor (81a5c1d), closes #99

Bug Fixes

  • 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)

Features

  • 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)

Features

  • adding a "create new from template" to file menu. Adding a new icon (4eafb3b), closes #73

Bug Fixes

  • internaltemplates: fixing bug using old frontmatter data when it doesn't exist (1734347)

1.3.0 (2021-04-10)

Features

  • internaltemplates: new tp.file.cursor abilities: cursor jump order (31abe49)

Bug Fixes

  • fixing create new note from template when file "Untitled" already exists (169ca11), closes #73

1.2.2 (2021-04-10)

Bug Fixes

  • fixed tp.file.include bug, added static and dynamic templates for modules (559ffd9), closes #91

1.2.1 (2021-04-08)

Bug Fixes

  • settings: adding a toggle for the update notice (0bf6cb0), closes #90

1.2.0 (2021-04-08)

Features

  • internaltemplates: adding tp.file.clipboard internal function (65d0e08), closes #86

Bug Fixes

  • fuzzysuggest: sorting files alphabetically in modal (35e388c), closes #83

1.1.0 (2021-04-06)

Features

  • adding new hotkey to create new from template (f27d59e), closes #73

1.0.0 (2021-04-05)

Features

  • 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

Bug Fixes

  • 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)

0.5.8 (2021-03-25)

Features

  • package: adding cz conventional commit (f688a7f)