Releases: go-task/task
Releases · go-task/task
v3.29.1
- Update to Go 1.21 (bump minimum version to 1.20) (#1302 by @pd93)
- Fix a missing a line break on log when using
--watch
mode (#1285, #1297 by @FilipSolich). - Fix
defer
on JSON Schema (#1288 by @calvinmclean and @andreynering). - Fix bug in usage of special variables like
{{.USER_WORKING_DIR}}
in combination withincludes
(#1046, #1205, #1250, #1293, #1312, #1274 by @andarto, #1309 by @andreynering). - Fix bug on
--status
flag. Running this flag should not have side-effects: it should not update the checksum on.task
, only report its status (#1305, #1307 by @visciang, #1313 by @andreynering).
NOTE: v3.29.0 was skipped because of an issue on the release process.
v3.28.0
- Added the ability to loop over commands and tasks using
for
(#82, #1220 by @pd93). - Fixed variable propagation in multi-level includes (#778, #996, #1256 by @hudclark).
- Fixed a bug where the
--exit-code
code flag was not returning the correct exit code when calling commands indirectly (#1266, #1270 by @pd93). - Fixed a
nil
panic when a dependency was commented out or left empty (#1263 by @neomantra).
v3.27.1
v3.27.0
- Allow Taskfiles starting with lowercase characters (#947, #1221 by @pd93).
- e.g.
taskfile.yml
,taskfile.yaml
,taskfile.dist.yml
&taskfile.dist.yaml
- e.g.
- Bug fixes were made to the npm installation method. (#1190, by @sounisi5011).
- Added the gentle force experiment as a draft (#1200, #1216 by @pd93).
- Added an
--experiments
flag to allow you to see which experiments are enabled (#1242 by @pd93). - Added ability to specify which variables are required in a task (#1203, #1204 by @benc-uk).
v3.26.0
- Only rewrite checksum files in
.task
if the checksum has changed (#1185, #1194 by @deviantintegral). - Added experiments documentation to the website (#1198 by @pd93).
- Deprecated
version: 2
schema. This will be removed in the next major release (#1197, #1198, #1199 by @pd93). - Added a new
prompt:
prop to set a warning prompt to be shown before running a potential dangurous task (#100, #1163 by @MaxCheetham, Documentation). - Added support for single command task syntax. With this change, it's now possible to declare just
cmd:
in a task, avoiding the more complexcmds: []
when you have only a single command for that task (#1130, #1131 by @timdp).
v3.25.0
- Support
silent:
when calling another tasks (#680, #1142 by @danquah). - Improve PowerShell completion script (#1168 by @trim21).
- Add more languages to the website menu and show translation progress percentage (#1173 by @misitebao).
- Starting on this release, official binaries for FreeBSD will be available to download (#1068 by @andreynering).
- Fix some errors being unintendedly supressed (#1134 by @clintmod).
- Fix a nil pointer error when
version
is omitted from a Taskfile (#1148, #1149 by @pd93). - Fix duplicate error message when a task does not exists (#1141, #1144 by @pd93).
v3.24.0
- Fix Fish shell completion for tasks with aliases (#1113 by @patricksjackson).
- The default branch was renamed from
master
tomain
(#1049, #1048 by @pd93). - Fix bug where "up-to-date" logs were not being omitted for silent tasks (#546, #1107 by @danquah).
- Add
.hg
(Mercurial) to the list of ignored directories when using--watch
(#1098 by @misery). - More improvements to the release tool (#1096 by @pd93).
- Enforce gofumpt linter (#1099 by @pd93)
- Add
--sort
flag for use with--list
and--list-all
(#946, #1105 by @pd93). - Task now has custom exit codes depending on the error (#1114 by @pd93).
v3.23.0
Task now has an official extension for Visual Studio Code contributed by @pd93! 🎉 The extension is maintained in a new repository under the go-task
organization. We're looking to gather feedback from the community so please give it a go and let us know what you think via a discussion, issue or on our Discord!
NOTE:
The extension requires v3.23.0 to be installed in order to work.
- The website was integrated with Crowdin to allow the community to contribute with translations! Chinese is the first language available (#1057, #1058 by @misitebao).
- Added task location data to the
--json
flag output (#1056 by @pd93) - Change the name of the file generated by
task --init
fromTaskfile.yaml
toTaskfile.yml
(#1062 by @misitebao). - Added new
splitArgs
template function ({{splitArgs "foo bar 'foo bar baz'"}}
) to ensure string is split as arguments (#1040, #1059 by @dhanusaputra). - Fix the value of
{{.CHECKSUM}}
variable in status (#1076, #1080 by @pd93). - Fixed deep copy implementation (#1072 by @pd93)
- Created a tool to assist with releases (#1086 by @pd93).
v3.22.0
- Add a brand new
--global
(-g
) flag that will run a Taskfile from your$HOME
directory. This is useful to have automation that you can run from anywhere in your system! (Documentation, #1029 by @andreynering). - Add ability to set
error_only: true
on thegroup
output mode. This will instruct Task to only print a command output if it returned with a non-zero exit code (#664, #1022 by @jaedle). - Fixed bug where
.task/checksum
file was sometimes not being created when task also declares astatus:
(#840, #1035 by @harelwa, #1037 by @pd93). - Refactored and decoupled fingerprinting from the main Task executor (#1039 by @pd93).
- Fixed deadlock issue when using
run: once
(#715, #1025 by @theunrepentantgeek).
If Task is useful to you or your company, consider becoming a sponsor.
v3.21.0
- Added new
TASK_VERSION
special variable (#990, #1014 by @ja1code). - Fixed a bug where tasks were sometimes incorrectly marked as internal (#1007 by @pd93).
- Update to Go 1.20 (bump minimum version to 1.19) (#1010 by @pd93)
- Added environment variable
FORCE_COLOR
support to force color output. Usefull for environments without TTY (#1003 by @automation-stack)