What's Changed
🌟 Most Notable
Please restart Obsidian after updating the plugin. Thank you.
Sorting Tasks: Features and Fixes
The majority of effort in this release went on overhauling the code for sorting tasks. In adding tests, I found and fixed a number of issues with the current sorting code. See the Fixes list below.
- Added
sort by happens
- this sorts by the earliest of scheduled, start and due dates. - Added
sort by filename
- Added
sort by heading
Also, group by filename
now links to the note, for quick navigation. Thanks @ilandikov!
Full List
🌟 Features
- feat: Add
sort by happens
by @claremacrae in #1419 - feat: Add
sort by filename
by @claremacrae in #1422 - feat: Add
sort by heading
by @claremacrae in #1423 - feat:
group by filename
now links to the note by @ilandikov in #1426
💪 Fixes
Fixes to sorting of tasks:
- fix: Multiple
sort by tag
lines ignored all but last one by @claremacrae in #1408 - fix: Make
sort by path
sort ignoring capitalisation by @claremacrae in #1437 - fix: Make
sort by tag
sort ignoring capitalisation by @claremacrae in #1439 - fix: Improve stripping of format chars in
sort by description
by @claremacrae in #1440 - fix: Sorting by text fields now sorts numbers correctly by @claremacrae in #1441
Other fixes:
- fix: Feature Request template link Ideas in Discussions was broken by @Sheikh-JamirAlam in #1412
📖 Documentation
- docs: Group sorting options by area by @claremacrae in #1420
- docs: Tables in docs now easier to read, as aligned by @claremacrae in #1425
🛠️ Dependencies
- build(deps): bump commonmarker from 0.23.5 to 0.23.6 in /docs by @dependabot in #1171
- chore(deps): Bump nokogiri from 1.13.8 to 1.13.10 in /docs by @dependabot in #1383
- chore(deps-dev): Bump svelte-check from 2.9.0 to 2.10.3 by @dependabot in #1414
🛠️ Behind the scenes
- chore: Enable manual running of codeql-analysis.yml CI by @claremacrae in #1416
- chore: Faster PRs by running CodeQL on release by @claremacrae in #1417
- refactor: Convert Sorting from alias to class, to store comparator by @claremacrae in #1398
- refactor: StatusField now implements 'sort by status' by @claremacrae in #1399
- refactor: DueDateField now implements 'sort by due' by @claremacrae in #1400
- refactor: Reduce repetition in new sorting code by @claremacrae in #1401
- refactor: Break some cyclic dependencies in Sorting code by @claremacrae in #1403
- refactor: Field classes do all 'sort by' options except 'tag' by @claremacrae in #1406
- refactor: TagsField now implements 'sort by tag' by @claremacrae in #1411
- refactor: Rename Sorting to Sorter - and minor tidying by @claremacrae in #1435
- refactor: Remove cyclic dependency between Query and Sort by @claremacrae in #1436
- refactor: Improve design of task rendering code & add tests by @esm7 in #1409
- test: Add Jest support for easier testing of sorting by @claremacrae in #1404
- test: Finish adding tests for existing sort algorithms by @claremacrae in #1405
New Contributors
- @Sheikh-JamirAlam made their first contribution in #1412
- @ilandikov made their first contribution in #1426
Full Changelog: 1.20.0...1.21.0