Releases: go-task/task
Releases · go-task/task
v3.36.0
- Added support for looping over dependencies (#1299, #1541 by @pd93).
- When using the "Remote Taskfiles" experiment, you are now able to use remote Taskfiles as your entrypoint.
includesin remote Taskfiles will now also resolve correctly (#1347 by @pd93).- When using the "Any Variables" experiments, templating is now supported in collection-type variables (#1477, #1511, #1526 by @pd93).
- Fixed a bug where variables being passed to an included Taskfile were not available when defining global variables (#1503, #1533 by @pd93).
- Improved support to customized colors by allowing 8-bit colors and multiple ANSI attributes (#1576 by @pd93).
v3.35.1
v3.35.0
- Added support for wildcards in task names (#836, #1489 by @pd93).
- Added the ability to run Taskfiles via stdin (#655, #1483 by @pd93).
- Bumped minimum Go version to 1.21 (#1500 by @pd93).
- Fixed bug related to the
--listflag (#1509, #1512 by @pd93, #1514, #1520 by @pd93). - Add mention on the documentation to the fact that the variable declaration order is respected (#1510 by @kirkrodrigues).
- Improved style guide docs (#1495 by @iwittkau).
- Removed duplicated entry for
requireson the API docs (#1491 by @teatimeguest).
v3.34.1
v3.34.0
- Removed support for
version: 2schemas. 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.Directbecamecall.Indirect(#1459 by @pd93). - Refactored the public
readandtaskfilepackages and introducedtaskfile/ast(#1450 by @pd93). ast.IncludedTaskfilesrenamed toast.Includesandorderedmappackage renamed toomapplus some internal refactor work (#1456 by @pd93).- Fix zsh completion script to allow lowercase
taskfilefile names (#1482 by @xontab). - Improvements on how we check the Taskfile version (#1465 by @pd93).
- Added a new
ROOT_TASKFILEspecial variable (#1468, #1469 by @pd93). - Fix experiment flags in
.envwhen the--diror--taskfileflags 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
aliasesto--jsonflag output (#1430, #1431 by @pd93). - Added new
CLI_FORCEspecial variable containing whether the--forceor--force-allflags 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
--timeoutflag 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.jsonto makesilentvalid incmdsthat usefor(#1385, #1386 by @iainvm). - Add new
--no-statusflag to skip expensive status checks when runningtask --list --json(#1348, #1368 by @amancevice).
v3.31.0
- Enabled the
--yesflag for the Remote Taskfiles experiment (#1344 by @pd93). - Add ability to set
watch: truein 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).