Skip to content

Releases: go-task/task

v3.52.0-nightly

22 May 00:53
48dd62c

Choose a tag to compare

v3.52.0-nightly Pre-release
Pre-release

Changelog

  • 48dd62c chore(deps): update go-task/setup-task digest to 01a4adf (#2848)
  • b27a665 chore(deps): update all non-major dependencies (#2816)
  • 76269b0 chore(deps): update pnpm to v11 (#2844)
  • ed492ac chore(deps): update pnpm/action-setup digest to 0e279bb (#2843)
  • 1d385ad chore(deps): bump vite from 5.4.19 to 5.4.21 in /website (#2841)
  • 2eff354 ci(goreleaser): add missing env to workflow

v3.51.1

16 May 21:06
v3.51.1
bd79c29

Choose a tag to compare

  • A significant performance boost was achieved for large Taskfiles (monorepos) by skipping templating altogether when the string is static (#2820 by @romnn).
  • Added absPath template function that resolves a path to its absolute form, cleaning .. and . components (#2681, #2788 by @Mateenanjum).
  • Added joinEnv function to join paths based on your oprating system: ; for Windows and : elsewhere, and joinUrl to join URL paths. Also, added two new special variables: FILE_PATH_SEPARATOR which returns \ on Windows and / elsewhere, and PATH_LIST_SEPARATOR which returns ; on Windows and : elsewhere (#2406, #2408 by @solvingj).
  • Update the shell interpreter with a regression fix (#2812, #2832 by @andreynering).
  • Fix potential panic with the shell interpreter (#2810 by @trulede).

v3.50.0

13 Apr 21:45
v3.50.0
d61d92d

Choose a tag to compare

  • Added enum.ref support in requires: enum constraints can now reference variables or template pipelines (e.g., ref: .ALLOWED_ENVS) instead of duplicating static lists. Combined with sh: variables, this enables fully dynamic enum validation (#2678 by @vmaerten).
  • Fixed Fish completion using hardcoded task binary name instead of $GO_TASK_PROGNAME for experiments cache (#2730, #2727 by @SergioChan).
  • Fixed watch mode ignoring SIGHUP signal, causing the watcher to exit instead of restarting (#2764, #2642).
  • Fixed a long time bug where the task wouldn't re-run as it should when using method: timestamp and the files listed on generates: were deleted. This makes method: timestamp behaves the same as method: checksum (#1230, #2716 by @drichardson).

v3.49.1

08 Mar 20:08
v3.49.1
aa83651

Choose a tag to compare

  • Reverted #2632 for now, which caused some regressions. That change will be reworked. (#2720, #2722, #2723).

v3.49.0

07 Mar 22:26
v3.49.0
a1b8985

Choose a tag to compare

  • Fixed included Taskfiles with watch: true not triggering watch mode when called from the root Taskfile (#2686, #1763 by @trulede).
  • Fixed Remote Git Taskfiles failing on Windows due to backslashes in URL paths (#2656 by @trim21).
  • Fixed Remote Git Taskfiles timing out when resolving includes after accepting the trust prompt (#2669, #2668 by @vmaerten).
  • Fixed unclear error message when Taskfile search stops at a directory ownership boundary (#2682, #1683 by @trulede).
  • Fixed global variables from imported Taskfiles not resolving ref: values correctly (#2632 by @trulede).
  • Every .taskrc.yml option can now be overridden with a TASK_-prefixed environment variable, making CI and container configuration easier (#2607, #1066 by @vmaerten).

v3.48.0

26 Jan 12:30
v3.48.0
09e7247

Choose a tag to compare

  • Fixed if: conditions when using to check dynamic variables. Also, skip variable prompt if task would be skipped by if: (#2658, #2660 by @vmaerten).
  • Fixed ROOT_TASKFILE variable pointing to directory instead of the actual Taskfile path when no explicit -t flag is provided (#2635, #1706 by @trulede).
  • Included Taskfiles with silent: true now properly propagate silence to their tasks, while still allowing individual tasks to override with silent: false (#2640, #1319 by @trulede).
  • Added TLS certificate options for Remote Taskfiles: use --cacert for self-signed certificates and --cert/--cert-key for mTLS authentication (#2537, #2242 by @vmaerten).

v3.47.0

25 Jan 00:04
v3.47.0
12a26fa

Choose a tag to compare

This release includes two highly requested features: if: condition and runtime prompt for required variables. Check out our blog post about them: https://taskfile.dev/blog/if-and-variable-prompt

  • Fixed remote git Taskfiles: cloning now works without explicit ref, and directory includes are properly resolved (#2602 by @vmaerten).
  • For output: prefixed, print prefix: if set instead of task name (#1566, #2633 by @trulede).
  • Ensure no ANSI sequences are printed for --color=false (#2560, #2584 by @trulede).
  • Task aliases can now contain wildcards and will match accordingly (e.g., s-* as alias for start-*) (#1900, #2234 by @vmaerten).
  • Added conditional execution with the if field: skip tasks, commands, or task calls based on shell exit codes or template expressions like {{ eq .ENV "prod" }} (#2564, #608 by @vmaerten).
  • Task can now interactively prompt for missing required variables when running in a TTY, with support for enum selection menus. Enable with --interactive flag or interactive: true in .taskrc.yml (#2579, #2079 by @vmaerten).

v3.46.4

24 Dec 22:03
v3.46.4
179bde1

Choose a tag to compare

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).