CmdNews: Add preliminary notes for version 2.6.0

This commit is contained in:
Tomas Babej 2021-09-26 21:12:17 -04:00
parent 3ed89393ec
commit 946e489ad6
2 changed files with 26 additions and 0 deletions

View file

@ -93,6 +93,31 @@ void NewsItem::render () {
std::cout << format ("\n{1}\n", _update);
}
////////////////////////////////////////////////////////////////////////////////
// Generate the highlights for the 2.6.0 version.
//
// - XDG directory mode (high)
// - Support for Unicode 11 characters (high)
// - 64 bit values, UDAs, Datetime values until year 9999 (high)
// - Writeable context (high)
// - Config context variables
// - Reports outside of context
// - Environment variables in taskrc (high)
// - Waiting is a virtual concept (high)
// - Improved parser and task display mechanism
// - The .by attribute modifier
// - Exporting a report
// - Multi-day holidays
void CmdNews::version2_6_0 (bool full, std::vector<NewsItem>& items) {
NewsItem writeable_context (
true,
"'Writeable' context",
" The currently active context definition is now applied as default\n"
" modifications with 'task add' and 'task log'."
);
items.push_back(writeable_context);
}
////////////////////////////////////////////////////////////////////////////////
int CmdNews::execute (std::string& output)
{

View file

@ -45,6 +45,7 @@ class CmdNews : public Command
public:
CmdNews ();
int execute (std::string&);
void version2_6_0 (bool, std::vector<NewsItem>&);
};
#endif