Skip to content

6.0.0: Custom sorting, improve default sort order and handling of invalid dates

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Jan 23:02

What's Changed

🌟 Most Notable

Please quit and restart Obsidian after updating the plugin. Thank you.


⚠️ Important This release is number 6.0.0 because of significant improvements to:

  • the default sort order
  • how invalid dates are handled
  • styling of the Pencil and Postpone buttons (thank you @Cito)

See Breaking Changes for full details of these changes.


Here are the most notable user-visible changes.

🌟 Features

Examples:

sort by function task.tags.filter( (tag) => tag.includes("#context/")).sort().join(",")
  • Sort by tags that contain #context/.
  • Any tasks without that tag are sorted first.
sort by function reverse task.tags.length
  • Sort by the number of tags on the task.
  • The reverse option puts tasks with the most tags first.
sort by function task.file.path === query.file.path
  • Tasks in the same file as the query will be sorted before all other tasks.
sort by function task.description.length
  • Sort by length of description, shortest first.

Commits:

πŸ’ͺ Fixes

⚠️ Important The following are all improvements to existing behaviour that may change the sorting and grouping of search results. See Breaking Changes for full details.

  • Use similar styling for Edit and Postpone buttons by @Cito in #2562
  • Make default sort order sort first by status type by @claremacrae in #2599

Better handling of invalid dates:

πŸ› οΈ Behind the scenes

Full Changelog (including changes too small to note above, and that do not affect the behaviour of the plugin itself):

πŸ™ Support Tasks development