Release 3.1.0 (#3574)

This commit is contained in:
Dustin J. Mitchell 2024-08-04 12:51:11 -04:00 committed by GitHub
parent 160be69852
commit 5c6cc3e522
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 57 additions and 15 deletions

View file

@ -4,7 +4,7 @@ enable_testing()
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
project (task
VERSION 3.0.2
VERSION 3.1.0
DESCRIPTION "Taskwarrior - a command-line TODO list manager"
HOMEPAGE_URL https://taskwarrior.org/)

View file

@ -1,13 +1,47 @@
------ current release ---------------------------
3.1.0 -
- Support for `task purge` has been restored, and new support added for automatically
expiring old tasks. (#3540, #3546, #3556)
- `task news` is now better behaved, and can be completely disabled.
- Multiple imports of the same UUID will now generate a warning. (#3560)
- The `sync.server.url` config replaces `sync.server.origin` and allows a URL
containing a path. (#3423)
- The new `bubblegum-256.theme` has improved legibility and contrast over
others. (#3505)
- Warnings regarding `.data` files are only show for reports. (#3473)
- Inherited urgency is correctly calculated to make parents more urgent than
children (#2941)
- Task completion commands no longer trigger hooks (#3133)
Thanks to the following people for contributions to this release:
- Adrian Galilea
- Adrian Sadłocha
- Andonome
- Christian Clauss
- Dominik Rehák
- Dustin J. Mitchell
- Felix Schurk
- Hector Dearman
- Joseph Coffa
- koleesch
- Maarten Aertsen
- mattsmida
- Philipp Oberdiek
- Sebastian Carlos
- sleepy_nols
- Steve Dondley
- Will R S Hansen
------ old releases ------------------------------
3.0.2 -
- Fix an accidentally-included debug print which polluted output of
reports with the Taskwarrior version (#3389)
------ old releases ------------------------------
3.0.1 -
- Fix an error in creation of the 3.0.0 tarball which caused builds to fail (#3302)

View file

@ -470,25 +470,34 @@ void NewsItem::version3_0_0(std::vector<NewsItem>& items) {
void NewsItem::version3_1_0(std::vector<NewsItem>& items) {
Version version("3.1.0");
NewsItem sync{
NewsItem purge{
version,
/*title=*/"Purging Tasks, Manually or Automatically",
/*bg_title=*/"",
/*background=*/"",
/*punchline=*/
"Support for `task purge` has been restored, and new support added for automatically "
"expiring\n"
"old tasks.\n\n"
"Support for `task purge` has been restored, and new support added for automatically\n"
"expiring old tasks.\n\n",
/*update=*/
"The `task purge` command removes tasks entirely, in contrast to `task delete` which merely "
"sets\n"
"the task status to 'Deleted'. This functionality existed in versions 2.x but was "
"temporarily\n"
"removed in 3.0.\n\n"
"The `task purge` command removes tasks entirely, in contrast to `task delete` which merely\n"
"sets the task status to 'Deleted'. This functionality existed in versions 2.x but was\n"
"temporarily removed in 3.0.\n\n"
"The new `purge.on-sync` configuration parameter controls automatic purging of old tasks.\n"
"An old task is one with status 'Deleted' that has not been modified in 180 days. This\n"
"functionality is optional and not enabled by default."};
items.push_back(sync);
items.push_back(purge);
NewsItem news{
version,
/*title=*/"Improved 'task news'",
/*bg_title=*/"",
/*background=*/"",
/*punchline=*/
"The news you are reading now is improved.\n\n",
/*update=*/
"The `task news` command now always shows all new information, not just 'major' news,\n"
"and will only show that news once. New installs will assume all news has been read.\n"
"Finally, news can be completely hidden by removing 'news' from the 'verbose' config."};
items.push_back(news);
}
////////////////////////////////////////////////////////////////////////////////
@ -555,7 +564,6 @@ int CmdNews::execute(std::string& output) {
// Set a mark in the config to remember which version's release notes were displayed
if (news_version != current_version) {
std::cout << "UPDATING\n";
CmdConfig::setConfigVariable("news.version", std::string(current_version), false);
// Revert back to default signal handling after displaying the outro