v3.39.0
- Added Env Precedence Experiment (#1038, #1633 by @vmaerten).
- Added a CI lint job to ensure that the docs are updated correctly (#1719 by @vmaerten).
- Updated minimum required Go version to 1.22 (#1758 by @pd93).
- Expose a new
EXIT_CODE
special variable ondefer:
when a command finishes with a non-zero exit code (#1484, #1762 by @dorimon-1 and @andreynering). - Expose a new
ALIAS
special variable, which will contain the alias used to call the current task. Falls back to the task name. (#1764 by @DanStory). - Fixed
TASK_REMOTE_DIR
environment variable not working when the path was absolute. (#1715 by @vmaerten). - Added an option to declare an included Taskfile as flattened (#1704 by @vmaerten).
- Added a new
--completion
flag to output completion scripts for various shells (#293, #1157 by @pd93).- This is now the preferred way to install completions.
- The completion scripts in the
completion
directory are now deprecated.
- Added the ability to loop over a matrix of values (#1766, #1767, #1784 by @pd93).
- Fixed a bug in fish completion where aliases were not displayed (#1781, #1782 by @vmaerten).
- Fixed panic when having a flattened included Taskfile that contains a
default
task (#1777, #1778 by @vmaerten). - Optimized file existence checks for remote Taskfiles (#1713 by @vmaerten).