Release v3.2.0 (#3679)

This commit is contained in:
Dustin J. Mitchell 2024-11-12 14:52:22 -05:00 committed by GitHub
parent 54a94bd18c
commit 7a092bea03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 42 additions and 3 deletions

View file

@ -158,6 +158,7 @@ std::vector<NewsItem> NewsItem::all() {
version2_6_0(items);
version3_0_0(items);
version3_1_0(items);
version3_2_0(items);
return items;
}
@ -500,6 +501,20 @@ void NewsItem::version3_1_0(std::vector<NewsItem>& items) {
items.push_back(news);
}
void NewsItem::version3_2_0(std::vector<NewsItem>& items) {
Version version("3.2.0");
NewsItem info{
version,
/*title=*/"`task info` Journal Restored",
/*bg_title=*/"",
/*background=*/"",
/*punchline=*/"",
/*update=*/
"Support for the \"journal\" output in `task info` has been restored. The command now\n"
"displays a list of changes made to the task, with timestamps.\n\n"};
items.push_back(info);
}
////////////////////////////////////////////////////////////////////////////////
int CmdNews::execute(std::string& output) {
auto words = Context::getContext().cli2.getWords();

View file

@ -51,6 +51,7 @@ class NewsItem {
static void version2_6_0(std::vector<NewsItem>&);
static void version3_0_0(std::vector<NewsItem>&);
static void version3_1_0(std::vector<NewsItem>&);
static void version3_2_0(std::vector<NewsItem>&);
private:
NewsItem(Version, const std::string&, const std::string& = "", const std::string& = "",