This release includes two highly requested features: if: condition and runtime prompt for required variables. Check out our blog post about them: https://taskfile.dev/blog/if-and-variable-prompt
- Fixed remote git Taskfiles: cloning now works without explicit ref, and directory includes are properly resolved (#2602 by @vmaerten).
- For
output: prefixed, printprefix:if set instead of task name (#1566, #2633 by @trulede). - Ensure no ANSI sequences are printed for
--color=false(#2560, #2584 by @trulede). - Task aliases can now contain wildcards and will match accordingly (e.g.,
s-*as alias forstart-*) (#1900, #2234 by @vmaerten). - Added conditional execution with the
iffield: skip tasks, commands, or task calls based on shell exit codes or template expressions like{{ eq .ENV "prod" }}(#2564, #608 by @vmaerten). - Task can now interactively prompt for missing required variables when running in a TTY, with support for enum selection menus. Enable with
--interactiveflag orinteractive: truein.taskrc.yml(#2579, #2079 by @vmaerten).