mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Deprecated Feature
- Deprecated '_query' alias.
This commit is contained in:
parent
38c460d713
commit
2036ebf03e
4 changed files with 7 additions and 2 deletions
|
@ -10,6 +10,7 @@ Features
|
||||||
token..
|
token..
|
||||||
+ Includes utility 'calc' for quick command line calculations using the new
|
+ Includes utility 'calc' for quick command line calculations using the new
|
||||||
expression evaluator.
|
expression evaluator.
|
||||||
|
+ Deprecated '_query' alias.
|
||||||
+ Removed deprecated 'push', 'pull' and 'merge' commands.
|
+ Removed deprecated 'push', 'pull' and 'merge' commands.
|
||||||
|
|
||||||
Bugs
|
Bugs
|
||||||
|
|
2
NEWS
2
NEWS
|
@ -14,7 +14,7 @@ New configuration options in taskwarrior 2.4.0
|
||||||
|
|
||||||
Newly deprecated features in taskwarrior 2.4.0
|
Newly deprecated features in taskwarrior 2.4.0
|
||||||
|
|
||||||
-
|
- The alias '_query' is deprecated.
|
||||||
|
|
||||||
Known Issues
|
Known Issues
|
||||||
|
|
||||||
|
|
|
@ -307,7 +307,7 @@ std::string Config::_defaults =
|
||||||
"alias.rm=delete # Alias for the delete command\n"
|
"alias.rm=delete # Alias for the delete command\n"
|
||||||
"alias.history=history.monthly # Prefer monthly over annual history reports\n"
|
"alias.history=history.monthly # Prefer monthly over annual history reports\n"
|
||||||
"alias.ghistory=ghistory.monthly # Prefer monthly graphical over annual history reports\n"
|
"alias.ghistory=ghistory.monthly # Prefer monthly graphical over annual history reports\n"
|
||||||
"alias._query=export # _query is now export\n"
|
"alias._query=export # _query is now export\n" // DEPRECATED in 2.4.0
|
||||||
"alias.burndown=burndown.weekly # Prefer the weekly burndown chart\n"
|
"alias.burndown=burndown.weekly # Prefer the weekly burndown chart\n"
|
||||||
"alias.shell=exec tasksh # Alias old shell command to new shell\n"
|
"alias.shell=exec tasksh # Alias old shell command to new shell\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
|
@ -153,6 +153,10 @@ std::string legacyCheckForDeprecatedVariables ()
|
||||||
it->first == "annotations" ||
|
it->first == "annotations" ||
|
||||||
it->first == "export.ical.class")
|
it->first == "export.ical.class")
|
||||||
deprecated.push_back (it->first);
|
deprecated.push_back (it->first);
|
||||||
|
|
||||||
|
// Deprecated іn 2.4.0.
|
||||||
|
if (it->first == "alias._query")
|
||||||
|
deprecated.push_back (it->first);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::stringstream out;
|
std::stringstream out;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue