Skip to content

Commit ed9dbff

Browse files
committed
Release version 0.6.1 - Change default sort order
Changed default sort order from priority→due to due→priority. Tasks now sorted by deadline first, then by priority. This ensures urgent deadlines appear at the top of the task list.
1 parent 0168c46 commit ed9dbff

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to TaskRepo will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.6.1] - 2025-10-22
9+
10+
### Changed
11+
- **Default sort order**: Changed from priority→due to due→priority
12+
- Tasks now sorted by due date first (urgent deadlines at top)
13+
- Then by priority within the same due date
14+
- Existing users can keep old behavior by updating `~/.TaskRepo/config`
15+
16+
### Technical Details
17+
- Updated `DEFAULT_CONFIG` in `config.py`: `sort_by: ["due", "priority"]`
18+
- Documentation updated in CLAUDE.md to reflect new default
19+
820
## [0.6.0] - 2025-10-22
921

1022
### Added
@@ -232,6 +244,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
232244
- python-dateutil >= 2.8.0
233245
- dateparser >= 1.0.0
234246

247+
[0.6.1]: https://github.com/henriqueslab/TaskRepo/releases/tag/v0.6.1
235248
[0.6.0]: https://github.com/henriqueslab/TaskRepo/releases/tag/v0.6.0
236249
[0.5.0]: https://github.com/henriqueslab/TaskRepo/releases/tag/v0.5.0
237250
[0.4.0]: https://github.com/henriqueslab/TaskRepo/releases/tag/v0.4.0

src/taskrepo/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.6.0"
1+
__version__ = "0.6.1"

src/taskrepo/core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Config:
2222
"default_assignee": None,
2323
"default_github_org": None,
2424
"default_editor": None,
25-
"sort_by": ["priority", "due"],
25+
"sort_by": ["due", "priority"],
2626
}
2727

2828
def __init__(self, config_path: Optional[Path] = None):

0 commit comments

Comments
 (0)