Releases: go-task/task
Releases · go-task/task
v3.4.2
v3.4.1
- Improve error reporting when parsing YAML: in some situations where you would just see an generic error, you'll now see the actual error with more detail: the YAML line the failed to parse, for example (#467).
- A JSON Schema was published here and is automatically being used by some editors like Visual Studio Code (#135).
- Print task name before the command in the log output (#398).
v3.3.0
v3.2.2
- Improve performance of
--listand--summaryby skipping running shell variables for these flags (#332). - Fixed a bug where an environment in a Taskfile was not always overridable by the system environment (#425).
- Fixed environment from .env files not being available as variables (#379).
- The install script is now working for ARM platforms (#428).
v3.2.1
- Fixed some bugs and regressions regarding dynamic variables and directories (#426).
- The slim-sprig package was updated with the upstream sprig.
v3.2.0
- Fix the
.taskdirectory being created in the task directory instead of the Taskfile directory (#247). - Fix a bug where dynamic variables (those declared with
sh:) were not running in the task directory when the task has a custom dir or it was in an included Taskfile (#384). - The watch feature (via the
--watchflag) got a few different bug fixes and should be more stable now (#423, #365).
v3.1.0
- Fix a bug when the checksum up-to-date resolution is used by a task with a custom
label:attribute (#412). - Starting from this release, we're releasing official ARMv6 and ARM64 binaries for Linux (#375, #418).
- Task now respects the order of declaration of included Taskfiles when evaluating variables declaring by them (#393).
set -eis now automatically set on every command. This was done to fix an issue where multiline string commands wouldn't really fail unless the sentence was in the last line (#403).
v3.0.1
v3.0.0
Changelog
- On
v3, all CLI variables will be considered global variables (#336, #341) - Add support to
.envlike files (#324, #356). - Add
label:to task so you can override the task name in the logs (#321, #337). - Refactor how variables work on version 3 (#311).
- Disallow
expansionson v3 since it has no effect. Taskvars.ymlis not automatically included anymore.Taskfile_{{OS}}.ymlis not automatically included anymore.- Allow interpolation on
includes, so you can manually include a Taskfile based on operation system, for example. - Expose
.TASKvariable in templates with the task name (#252). - Implement short task syntax (#194, #240).
- Added option to make included Taskfile run commands on its own directory (#260, #144)
- Taskfiles in version 1 are not supported anymore (#237).
- Added global
method:option. With this option, you can set a default method to all tasks in a Taskfile (#246). - Changed default method from
timestamptochecksum(#246). - New magic variables are now available when using
status::.TIMESTAMPwhich contains the greatest modification date from the files listed insources:, and.CHECKSUM, which contains a checksum of all files listed instatus:. This is useful for manual checking when using external, or even remote, artifacts when usingstatus:(#216). - We're now using slim-sprig instead of sprig, which allowed a file size reduction of about 22% (#219).
- We now use some colors on Task output to better distinguish message types - commands are green, errors are red, etc (#207).
v3.0.0-preview4
This is probably the last v3 preview release before it's released as stable.
Changelog
- Refactor how variables work on version 3 (#311).
- Disallow
expansionson v3 since it has no effect. Taskvars.ymlis not automatically included anymore.Taskfile_{{OS}}.ymlis not automatically included anymore.- Allow interpolation on
includes, so you can manually include a Taskfile based on operation system, for example.