Releases: go-task/task
Releases · go-task/task
v3.31.0
- Enabled the
--yes
flag for the Remote Taskfiles experiment (#1344 by @pd93). - Add ability to set
watch: true
in a task to automatically run it in watch mode (#231, #1361 by @andreynering). - Fixed a bug on the watch mode where paths that contained
.git
(like.github
), for example, were also being ignored (#1356 by @butuzov). - Fixed a nil pointer error when running a Taskfile with no contents (#1341, #1342 by @pd93).
- Added a new exit code (107) for when a Taskfile does not contain a schema version (#1342 by @pd93).
- Increased limit of maximum task calls from 100 to 1000 for now, as some people have been reaching this limit organically now that we have loops. This check exists to detect recursive calls, but will be removed in favor of a better algorithm soon (#1321, #1332).
- Fixed templating on descriptions on
task --list
(#1343 by @blackjid). - Fixed a bug where precondition errors were incorrectly being printed when task execution was aborted (#1337, #1338 by @sylv-io).
v3.30.1
v3.30.0
- Prep work for Remote Taskfiles (#1316 by @pd93).
- Added the Remote Taskfiles experiment as a draft (#1152, #1317 by @pd93).
- Improve performance of content checksuming on
sources:
by replacing md5 with XXH3 which is much faster. This is a soft breaking change because checksums will be invalidated when upgrading to this release (#1325 by @ReillyBrogan).
We're looking for feedback on Remote Taskfile on #1317. Don't hesitate to add your opinion.
If you want to say "thank you" for the work done on this tool, consider sponsoring @andreynering and @pd93 via GitHub Sponsors.
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).