diff --git a/ChangeLog b/ChangeLog index 64029f949..d169b3149 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ Features token.. + Includes utility 'calc' for quick command line calculations using the new expression evaluator. + + Deprecated '_query' alias. + Removed deprecated 'push', 'pull' and 'merge' commands. Bugs diff --git a/NEWS b/NEWS index a2e310ba9..a15d20a22 100644 --- a/NEWS +++ b/NEWS @@ -14,7 +14,7 @@ New configuration options in taskwarrior 2.4.0 Newly deprecated features in taskwarrior 2.4.0 - - + - The alias '_query' is deprecated. Known Issues diff --git a/src/Config.cpp b/src/Config.cpp index df2d9eaa7..2391df4b8 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -307,7 +307,7 @@ std::string Config::_defaults = "alias.rm=delete # Alias for the delete command\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._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.shell=exec tasksh # Alias old shell command to new shell\n" "\n" diff --git a/src/legacy.cpp b/src/legacy.cpp index da2a3ff0f..e54e28e57 100644 --- a/src/legacy.cpp +++ b/src/legacy.cpp @@ -153,6 +153,10 @@ std::string legacyCheckForDeprecatedVariables () it->first == "annotations" || it->first == "export.ical.class") deprecated.push_back (it->first); + + // Deprecated іn 2.4.0. + if (it->first == "alias._query") + deprecated.push_back (it->first); } std::stringstream out;