Releases: go-task/task
Releases · go-task/task
v3.34.1
v3.34.0
- Removed support for
version: 2
schemas. See the deprecation notice on our website (#1197, #1447 by @pd93). - Fixed a couple of issues in the JSON Schema + added a CI step to ensure it's correct (#1471, #1474, #1476 by @sirosen).
- Added Any Variables experiment proposal 2 (#1415, #1444 by @pd93).
- Updated the experiments and deprecations documentation format (#1445 by @pd93).
- Added new template function:
spew
, which can be used to print variables for debugging purposes (#1452 by @pd93). - Added new template function:
merge
, which can be used to merge any number of map variables (#1438, #1464 by @pd93). - Small change on the API when using as a library:
call.Direct
becamecall.Indirect
(#1459 by @pd93). - Refactored the public
read
andtaskfile
packages and introducedtaskfile/ast
(#1450 by @pd93). ast.IncludedTaskfiles
renamed toast.Includes
andorderedmap
package renamed toomap
plus some internal refactor work (#1456 by @pd93).- Fix zsh completion script to allow lowercase
taskfile
file names (#1482 by @xontab). - Improvements on how we check the Taskfile version (#1465 by @pd93).
- Added a new
ROOT_TASKFILE
special variable (#1468, #1469 by @pd93). - Fix experiment flags in
.env
when the--dir
or--taskfile
flags were used (#1478 by @pd93).
v3.33.1
v3.33.0
- Added Any Variables experiment (#1415, #1421 by @pd93).
- Updated Docusaurus to v3 (#1432 by @pd93).
- Added
aliases
to--json
flag output (#1430, #1431 by @pd93). - Added new
CLI_FORCE
special variable containing whether the--force
or--force-all
flags were set (#1412, #1434 by @pd93).
Merry Christmas! 🎄 🎁 🎅 🤶
v3.32.0
- Added ability to exclude some files from
sources:
by usingexclude:
(#225, #1324 by @pd93 and @andreynering). - The Remote Taskfiles experiment now prefers remote files over cached ones by default (#1317, #1345 by @pd93).
- Added
--timeout
flag to the Remote Taskfiles experiment (#1317, #1345 by @pd93). - Fix bug where dynamic
vars:
andenv:
were being executed when they should actually be skipped byplatforms:
(#1273, #1377 by @andreynering). - Fix
schema.json
to makesilent
valid incmds
that usefor
(#1385, #1386 by @iainvm). - Add new
--no-status
flag to skip expensive status checks when runningtask --list --json
(#1348, #1368 by @amancevice).
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).