github obsidian-tasks-group/obsidian-tasks 6.0.0
6.0.0: Custom sorting, improve default sort order and handling of invalid dates

latest releases: 7.14.0, 7.13.0, 7.12.3...
10 months ago

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

Don't miss a new obsidian-tasks release

NewReleases is sending notifications on new releases.