mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-07 21:07:20 +02:00
Release v3.2.0 (#3679)
This commit is contained in:
parent
54a94bd18c
commit
7a092bea03
4 changed files with 42 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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& = "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue