What's Changed
Please restart Obsidian after updating the plugin. Thank you.
🌟 Use Query file path, folder, root and name in queries directly 🌟
- support placeholders like
{{query.file.path}}
in queries by @claremacrae and @ilandikov in #2254- no more need to use dataview to access query file information
- examples:
folder includes {{query.file.folder}}
- Find tasks in files in the folder that contains the query and any sub-folders.
filter by function task.file.folder.includes( '{{query.file.folder}}' )
- Find tasks in files in the folder that contains the query and any sub-folders.
- Note that the placeholder text is expanded to a raw string, so needs to be inside quotes.
filter by function task.file.folder === '{{query.file.folder}}'
- Find tasks in files in the folder that contains the query only (not tasks in any sub-folders).
- docs:
Other changes
🛠️ Behind the scenes
- refactor: separate concerns in
TaskLayout.ApplyOptions()
by @ilandikov in #2235 - test: enable combination-testing of async code by @claremacrae in #2251
- test: refactoring to simplify EditTask.test.ts by @claremacrae in #2253
Full Changelog (including changes too small to note above, and that do not affect the behaviour of the plugin itself):