Skip to content

Releases: go-task/task

v3.46.4

24 Dec 22:03
v3.46.4
179bde1

Choose a tag to compare

v3.47.0-nightly

25 Dec 00:17
179bde1

Choose a tag to compare

v3.47.0-nightly Pre-release
Pre-release

Changelog

v3.46.3

19 Dec 18:54
v3.46.3
8dfafe5

Choose a tag to compare

v3.46.2

18 Dec 21:08
v3.46.2
fc378cf

Choose a tag to compare

  • Fixed a regression on previous release that affected variables passed via command line (#2588, #2589 by @vmaerten).

v3.46.1

18 Dec 16:52
28fee2c

Choose a tag to compare

✨ Features

  • A small behavior change was made to dependencies. Task will now wait for all dependencies to finish running before continuing, even if any of them fail. To opt for the previous behavior, set failfast: true either on your .taskrc.yml or per task, or use the --failfast flag, which will also work for --parallel (#1246, #2525 by @andreynering).
  • The --summary flag now displays vars: (both global and task-level), env:, and requires: sections. Dynamic variables show their shell command (e.g., sh: echo "hello") instead of the evaluated value (#2486 ,#2524 by @vmaerten).
  • Improved performance of fuzzy task name matching by implementing lazy initialization. Added --disable-fuzzy flag and disable-fuzzy taskrc option to allow disabling fuzzy matching entirely (#2521, #2523 by @vmaerten).
  • Added LLM-optimized documentation via VitePress plugin, generating llms.txt and llms-full.txt for AI-powered development tools (#2513 by @vmaerten).
  • Added --trusted-hosts CLI flag and remote.trusted-hosts config option to skip confirmation prompts for specified hosts when using Remote Taskfiles (#2491, #2473 by @maciejlech).
  • When running in GitHub Actions, Task now automatically emits error annotations on failure, improving visibility in workflow summaries (#2568 by @vmaerten).
  • The --yes flag is now accessible in templates via the new CLI_ASSUME_YES variable (#2577, #2479 by @semihbkgr).
  • Improved shell completion scripts (Zsh, Fish, PowerShell) by adding missing flags and dynamic experimental feature detection (#2532 by @vmaerten).
  • Remote Taskfiles now accept application/octet-stream Content-Type (#2536, #1944 by @vmaerten).
  • Shell completion now works when Task is installed or aliased under a different binary name via TASK_EXE environment variable (#2495, #2468 by @vmaerten).
  • Some small fixes and improvements were made to task --init and to the default Taskfile it generates (#2433 by @andreynering).
  • Added --remote-cache-dir flag and remote.cache-dir taskrc option to customize the cache directory for Remote Taskfiles (#2572 by @vmaerten).
  • Zsh completion now supports zstyle verbose option to show or hide task descriptions (#2571 by @vmaerten).
  • Task now automatically enables colored output in CI environments (GitHub Actions, GitLab CI, etc.) without requiring FORCE_COLOR=1 (#2569 by @vmaerten).
  • Added color taskrc option to explicitly enable or disable colored output globally (#2569 by @vmaerten).
  • Improved Git Remote Taskfiles by switching to go-getter: SSH authentication now works out of the box and applyOf is properly supported (#2512 by @vmaerten).

🐛 Fixes

  • Fix RPM upload to Cloudsmith by including the version in the filename to ensure unique filenames (#2507 by @vmaerten).
  • Fix run: when_changed to work properly for Taskfiles included multiple times (#2508, #2511 by @trulede).
  • Fixed Zsh and Fish completions to stop suggesting task names after -- separator, allowing proper CLI_ARGS completion (#1843, #1844 by @boiledfroginthewell).
  • Watch mode (--watch) now always runs the task, regardless of run: once or run: when_changed settings (#2566, #1388 by @trulede).
  • Fixed global variables (CLI_ARGS, CLI_FORCE, etc.) not being accessible in root-level vars section (#2403, #2397 by @trulede, @vmaerten).
  • Fixed a bug where ignore_error was ignored when using task: to call another task (#2552, #363 by @trulede).
  • Fixed Zsh completion not suggesting global tasks when using -g/--global flag (#1574, #2574 by @vmaerten).
  • Fixed Fish completion failing to parse task descriptions containing colons (e.g., URLs or namespaced functions) (#2101, #2573 by @vmaerten).
  • Fixed false positive "property 'for' is not allowed" warnings in IntelliJ when using for loops in Taskfiles (#2576 by @vmaerten).

v3.45.5

11 Nov 20:22

Choose a tag to compare

  • Fixed bug that made a generic message, instead of an useful one, appear when a Taskfile could not be found (#2431 by @andreynering).
  • Fixed a bug that caused an error when including a Remote Git Taskfile (#2438 by @twelvelabs).
  • Fixed issue where .taskrc.yml was not returned if reading it failed, and corrected handling of remote entrypoint Taskfiles (#2460, #2461 by @vmaerten).
  • Improved performance of --list and --list-all by introducing a faster compilation method that skips source globbing and checksum updates (#1322, #2053 by @vmaerten).
  • Fixed a concurrency bug with output: group. This ensures that begin/end parts won't be mixed up from different tasks (#1208, #2349, #2350 by @trulede).
  • Do not re-evaluate variables for defer: (#2244, #2418 by @trulede).
  • Improve error message when a Taskfile is not found (#2441, #2494 by @vmaerten).
  • Fixed generic error message exit status 1 when a dependency task failed (#2286 by @GrahamDennis).
  • Fixed YAML library from the unmaintained gopkg.in/yaml.v3 to the new fork maintained by the official YAML org (#2171, #2434 by @andreynering).
  • On Windows, the built-in version of the rm core utils contains a fix related to the -f flag (#2426, u-root/u-root#3464, mvdan/sh#1199, #2506 by @andreynering).

v3.45.4

17 Sep 15:08
048d927

Choose a tag to compare

  • Fixed a bug where cache-expiry could not be defined in .taskrc.yml (#2423 by @vmaerten).
  • Fixed a bug where .taskrc.yml files in parent folders were not read correctly (#2424 by @vmaerten).
  • Fixed a bug where autocomplete in subfolders did not work with zsh (#2425 by @vmaerten).

v3.45.3

15 Sep 13:24
17db402

Choose a tag to compare

  • Task now includes built-in core utilities to greatly improve compatibility on Windows. This means that your commands that uses cp, mv, mkdir or any other common core utility will now work by default on Windows, without extra setup. This is something we wanted to address for many many years, and it's finally being shipped! Read our blog post about this topic. (#197, #2360 by @andreynering).
  • ✨ Built and deployed a brand new website using VitePress (#2359, #2369, #2371, #2375, #2378 by @vmaerten, @andreynering, @pd93).
  • Began releasing nightly builds. This will allow people to test our changes before they are fully released and without having to install Go to build them (#2358 by @vmaerten).
  • Added support for global config files in $XDG_CONFIG_HOME/task/taskrc.yml or $HOME/.taskrc.yml. Check out our new configuration guide for more details (#2247, #2380, #2390, #2391 by @vmaerten, @pd93).
  • Added experiments to the taskrc schema to clarify the expected keys and values (#2235 by @vmaerten).
  • Added support for new properties in .taskrc.yml: insecure, verbose, concurrency, remote offline, remote timeout, and remote expiry. ⚠️ Note: setting offline via environment variable is no longer supported. (#2389 by @vmaerten)
  • Added a --nested flag when outputting tasks using --list --json. This will output tasks in a nested structure when tasks are namespaced (#2415 by @pd93).
  • Enhanced support for tasks with wildcards: they are now logged correctly, and wildcard parameters are fully considered during fingerprinting (#1808, #1795 by @vmaerten).
  • Fixed panic when a variable was declared as an empty hash ({}) (#2416, #2417 by @trulede).

Package API

Other news

We recently released our official GitHub Action. This is based on the fantastic work by the Arduino team who created and maintained the community version. Now that this is officially adopted, fixes/updates should be more timely. We have already merged a couple of longstanding PRs in our first release (by @pd93, @shrink, @trim21 and all the previous contributors to arduino/setup-task).


NOTE: v3.45.0-v3.45.2 were skipped due to issues with our release process.

Want to support Task development? Consider becoming a sponsor.

v3.44.1

23 Jul 21:06
72991d4

Choose a tag to compare

  • Internal tasks will no longer be shown as suggestions since they cannot be called (#2309, #2323 by @maxmzkrcensys)
  • Fixed install script for some ARM platforms (#1516, #2291 by @trulede).
  • Fixed a regression where fingerprinting was not working correctly if the path to you Taskfile contained a space (#2321, #2322 by @pd93).
  • Reverted a breaking change to randInt (#2312, #2316 by @pd93).
  • Made new variables TEST_NAME and TEST_DIR available in fixture tests (#2265 by @pd93).

v3.44.0

09 Jun 00:41

Choose a tag to compare

  • Added uuid, randInt and randIntN template functions (#1346, #2225 by @pd93).
  • Added new CLI_ARGS_LIST array variable which contains the arguments passed to Task after the -- (the same as CLI_ARGS, but an array instead of a string). (#2138, #2139, #2140 by @pd93).
  • Added toYaml and fromYaml templating functions (#2217, #2219 by @pd93).
  • Added task field the --list --json output (#2256 by @aleksandersh).
  • Added the ability to pin included taskfiles by specifying a checksum. This works with both local and remote Taskfiles (#2222, #2223 by @pd93).
  • When using the Remote Taskfiles experiment, any credentials used in the URL will now be redacted in Task's output (#2100, #2220 by @pd93).
  • Fixed fuzzy suggestions not working when misspelling a task name (#2192, #2200 by @vmaerten).
  • Fixed a bug where taskfiles in directories containing spaces created directories in the wrong location (#2208, #2216 by @pd93).
  • Added support for dual JSON schema files, allowing changes without affecting the current schema. The current schemas will only be updated during releases. (#2211 by @vmaerten).
  • Improved fingerprint documentation by specifying that the method can be set at the root level to apply to all tasks (#2233 by @vmaerten).
  • Fixed some watcher regressions after #2048 (#2199, #2202, #2241, #2196 by @wazazaby, #2271 by @andreynering).