What's Changed
🌟 Filter, sort and group by Obsidian Properties, also known as Frontmatter or YAML
Find tasks in Kanban plugin files:
filter by function task.file.hasProperty('kanban-plugin')
Find tasks in files with value project/project-1
in the tags
property:
filter by function task.file.property('tags').includes('#project/project-1')
For details and more examples, see the Obsidian Properties documentation page.
Other notable changes
📖 Documentation
- docs: Simplify the top level of documentation by @claremacrae with @aubreyz in #2995
- contrib: add documentation on testing code that uses Obsidian API by @ilandikov in #2976
🛠️ Behind the scenes
Improvements made to new features prior to their release:
- refactor: move
TasksFile
object toTaskLocation
by @claremacrae in #2959 - fix: Prevent task.frontmatter.tags being null if no frontmatter by @claremacrae in #2974
- Do not use this value - it is undocumented, and will change or be removed in a future release.
- test: demo property custom searches by @ilandikov with @claremacrae in #2981
- feat: releasable code for accessing properties via
task.file
by @ilandikov with @claremacrae in #2991 - docs: Start documenting access to obsidian properties. by @claremacrae in #2997
- docs: Update snippet in markdown by @github-actions in #2998
- docs: more work on properties documentation by @claremacrae in #3001
- fix: Editing properties/frontmatter now updates Query results by @claremacrae in #3003
- fix: Tasks in renamed files forgot about any properties/frontmatter values in the file by @claremacrae with @ilandikov in #3005
Other changes:
- chore: Add Ilyas Landikov as co-author of Tasks by @claremacrae in #2973
- refactor: remove nesting in
Recurrence.next()
by @ilandikov in #2970 - refactor: extract
nextOccurrence()
method and reuse it by @ilandikov in #2975 - refactor: create
Occurrence
class by @ilandikov in #2978 - refactor: move behaviour from
Recurrence
toOccurrence
methodsisIdenticalTo()
andgetReferenceDate()
by @ilandikov in #2979 - refactor: move
referenceDate
field toOccurrence
class by @ilandikov in #2980 - refactor: create
nextOccurrence
andnextOccurrenceDate
methods inOccurrence
by @ilandikov in #2983 - refactor: move
Occurrence
class separate to a separate file and minor improvements by @ilandikov in #2985 - refactor: simplify
Task.handleNewStatus()
by @ilandikov in #2992
Full Changelog (including changes too small to note above, and that do not affect the behaviour of the plugin itself):
🙏 Support Tasks development