Skip to content

Commit f2385e6

Browse files
committed
v3.46.0
1 parent e929ccc commit f2385e6

3 files changed

Lines changed: 86 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## v3.46.0 - 2025-12-18
44

55
### ✨ Features
66

internal/version/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.45.5
1+
3.46.0

website/src/docs/changelog.md

Lines changed: 84 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,74 @@ outline: deep
77

88
::: v-pre
99

10+
## v3.46.0 - 2025-12-18
11+
12+
### ✨ Features
13+
14+
- A small behavior change was made to dependencies. Task will now wait for all
15+
dependencies to finish running before continuing, even if any of them fail. To
16+
opt for the previous behavior, set `failfast: true` either on your
17+
`.taskrc.yml` or per task, or use the `--failfast` flag, which will also work
18+
for `--parallel` (#1246, #2525 by @andreynering).
19+
- The `--summary` flag now displays `vars:` (both global and task-level),
20+
`env:`, and `requires:` sections. Dynamic variables show their shell command
21+
(e.g., `sh: echo "hello"`) instead of the evaluated value (#2486 ,#2524 by
22+
@vmaerten).
23+
- Improved performance of fuzzy task name matching by implementing lazy
24+
initialization. Added `--disable-fuzzy` flag and `disable-fuzzy` taskrc option
25+
to allow disabling fuzzy matching entirely (#2521, #2523 by @vmaerten).
26+
- Added LLM-optimized documentation via VitePress plugin, generating `llms.txt`
27+
and `llms-full.txt` for AI-powered development tools (#2513 by @vmaerten).
28+
- Added `--trusted-hosts` CLI flag and `remote.trusted-hosts` config option to
29+
skip confirmation prompts for specified hosts when using Remote Taskfiles
30+
(#2491, #2473 by @maciejlech).
31+
- When running in GitHub Actions, Task now automatically emits error annotations
32+
on failure, improving visibility in workflow summaries (#2568 by @vmaerten).
33+
- The `--yes` flag is now accessible in templates via the new `CLI_ASSUME_YES`
34+
variable (#2577, #2479 by @semihbkgr).
35+
- Improved shell completion scripts (Zsh, Fish, PowerShell) by adding missing
36+
flags and dynamic experimental feature detection (#2532 by @vmaerten).
37+
- Remote Taskfiles now accept `application/octet-stream` Content-Type (#2536,
38+
#1944 by @vmaerten).
39+
- Shell completion now works when Task is installed or aliased under a different
40+
binary name via TASK_EXE environment variable (#2495, #2468 by @vmaerten).
41+
- Some small fixes and improvements were made to `task --init` and to the
42+
default Taskfile it generates (#2433 by @andreynering).
43+
- Added `--remote-cache-dir` flag and `remote.cache-dir` taskrc option to
44+
customize the cache directory for Remote Taskfiles (#2572 by @vmaerten).
45+
- Zsh completion now supports zstyle verbose option to show or hide task
46+
descriptions (#2571 by @vmaerten).
47+
- Task now automatically enables colored output in CI environments (GitHub
48+
Actions, GitLab CI, etc.) without requiring FORCE_COLOR=1 (#2569 by
49+
@vmaerten).
50+
- Added color taskrc option to explicitly enable or disable colored output
51+
globally (#2569 by @vmaerten).
52+
- Improved Git Remote Taskfiles by switching to go-getter: SSH authentication
53+
now works out of the box and `applyOf` is properly supported (#2512 by
54+
@vmaerten).
55+
56+
### 🐛 Fixes
57+
58+
- Fix RPM upload to Cloudsmith by including the version in the filename to
59+
ensure unique filenames (#2507 by @vmaerten).
60+
- Fix `run: when_changed` to work properly for Taskfiles included multiple times
61+
(#2508, #2511 by @trulede).
62+
- Fixed Zsh and Fish completions to stop suggesting task names after `--`
63+
separator, allowing proper CLI_ARGS completion (#1843, #1844 by
64+
@boiledfroginthewell).
65+
- Watch mode (`--watch`) now always runs the task, regardless of `run: once` or
66+
`run: when_changed` settings (#2566, #1388 by @trulede).
67+
- Fixed global variables (CLI_ARGS, CLI_FORCE, etc.) not being accessible in
68+
root-level vars section (#2403, #2397 by @trulede, @vmaerten).
69+
- Fixed a bug where `ignore_error` was ignored when using `task:` to call
70+
another task (#2552, #363 by @trulede).
71+
- Fixed Zsh completion not suggesting global tasks when using `-g`/`--global`
72+
flag (#1574, #2574 by @vmaerten).
73+
- Fixed Fish completion failing to parse task descriptions containing colons
74+
(e.g., URLs or namespaced functions) (#2101, #2573 by @vmaerten).
75+
- Fixed false positive "property 'for' is not allowed" warnings in IntelliJ when
76+
using `for` loops in Taskfiles (#2576 by @vmaerten).
77+
1078
## v3.45.5 - 2025-11-11
1179

1280
- Fixed bug that made a generic message, instead of an useful one, appear when a
@@ -22,17 +90,17 @@ outline: deep
2290
parts won't be mixed up from different tasks (#1208, #2349, #2350 by
2391
@trulede).
2492
- Do not re-evaluate variables for `defer:` (#2244, #2418 by @trulede).
25-
- Improve error message when a Taskfile is not found (#2441, #2494 by @vmaerten).
93+
- Improve error message when a Taskfile is not found (#2441, #2494 by
94+
@vmaerten).
2695
- Fixed generic error message `exit status 1` when a dependency task failed
2796
(#2286 by @GrahamDennis).
2897
- Fixed YAML library from the unmaintained `gopkg.in/yaml.v3` to the new fork
2998
maintained by the official YAML org (#2171, #2434 by @andreynering).
3099
- On Windows, the built-in version of the `rm` core utils contains a fix related
31100
to the `-f` flag (#2426,
32101
[u-root/u-root#3464](https://github.com/u-root/u-root/pull/3464),
33-
[mvdan/sh#1199](https://github.com/mvdan/sh/pull/1199),
34-
#2506 by @andreynering).
35-
102+
[mvdan/sh#1199](https://github.com/mvdan/sh/pull/1199), #2506 by
103+
@andreynering).
36104

37105
## v3.45.4 - 2025-09-17
38106

@@ -183,8 +251,8 @@ Reverted the changes made in #2113 and #2186 that affected the
183251
- The default taskfile (output when using the `--init` flag) is now an embedded
184252
file in the binary instead of being stored in the code (#2112 by @pd93).
185253
- Improved the way we report the Task version when using the `--version` flag or
186-
`{{.TASK_VERSION}}` variable. This should now be more
187-
consistent and easier for package maintainers to use (#2131 by @pd93).
254+
`{{.TASK_VERSION}}` variable. This should now be more consistent and easier
255+
for package maintainers to use (#2131 by @pd93).
188256
- Fixed a bug where globstar (`**`) matching in `sources` only resolved the
189257
first result (#2073, #2075 by @pd93).
190258
- Fixed a bug where sorting tasks by "none" would use the default sorting
@@ -198,7 +266,7 @@ Reverted the changes made in #2113 and #2186 that affected the
198266
- Fix Fish completions when `--global` (`-g`) is given (#2134 by @atusy).
199267
- Fixed variables not available when using `defer:` (#1909, #2173 by @vmaerten).
200268

201-
### Package API
269+
#### Package API
202270

203271
- The [`Executor`](https://pkg.go.dev/github.com/go-task/task/v3#Executor) now
204272
uses the functional options pattern (#2085, #2147, #2148 by @pd93).
@@ -255,7 +323,7 @@ Reverted the changes made in #2113 and #2186 that affected the
255323
used, all other variables become unavailable in the templating system within
256324
the include (#2092 by @vmaerten).
257325

258-
### Package API
326+
#### Package API
259327

260328
Unlike our CLI tool,
261329
[Task's package API is not currently stable](https://taskfile.dev/reference/package).
@@ -645,9 +713,8 @@ stabilize the API in the future. #121 now tracks this piece of work.
645713
@FilipSolich).
646714
- Fix `defer` on JSON Schema (#1288 by @calvinmclean and @andreynering).
647715
- Fix bug in usage of special variables like `{{.USER_WORKING_DIR}}` in
648-
combination with `includes`
649-
(#1046, #1205, #1250, #1293, #1312, #1274 by @andarto, #1309 by
650-
@andreynering).
716+
combination with `includes` (#1046, #1205, #1250, #1293, #1312, #1274 by
717+
@andarto, #1309 by @andreynering).
651718
- Fix bug on `--status` flag. Running this flag should not have side-effects: it
652719
should not update the checksum on `.task`, only report its status (#1305,
653720
#1307 by @visciang, #1313 by @andreynering).
@@ -752,9 +819,9 @@ it a go and let us know what you think via a
752819
- Added task location data to the `--json` flag output (#1056 by @pd93)
753820
- Change the name of the file generated by `task --init` from `Taskfile.yaml` to
754821
`Taskfile.yml` (#1062 by @misitebao).
755-
- Added new `splitArgs` template function (`{{splitArgs "foo bar 'foo bar
756-
baz'"}}`) to ensure string is split as arguments (#1040, #1059 by
757-
@dhanusaputra).
822+
- Added new `splitArgs` template function
823+
(`{{splitArgs "foo bar 'foo bar baz'"}}`) to ensure string is split as
824+
arguments (#1040, #1059 by @dhanusaputra).
758825
- Fix the value of `{{.CHECKSUM}}` variable in status (#1076, #1080 by @pd93).
759826
- Fixed deep copy implementation (#1072 by @pd93)
760827
- Created a tool to assist with releases (#1086 by @pd93).
@@ -979,8 +1046,8 @@ it a go and let us know what you think via a
9791046

9801047
## v3.9.0 - 2021-10-02
9811048

982-
- A new `shellQuote` function was added to the template system (`{{shellQuote
983-
"a string"}}`) to ensure a string is safe for use in shell
1049+
- A new `shellQuote` function was added to the template system
1050+
(`{{shellQuote "a string"}}`) to ensure a string is safe for use in shell
9841051
([mvdan/sh#727](https://github.com/mvdan/sh/pull/727),
9851052
[mvdan/sh#737](https://github.com/mvdan/sh/pull/737),
9861053
[Documentation](https://pkg.go.dev/mvdan.cc/sh/v3@v3.4.0/syntax#Quote))
@@ -1367,4 +1434,4 @@ document, since it describes in depth what changed for this version.
13671434

13681435
- Add LICENSE file
13691436

1370-
:::
1437+
:::

0 commit comments

Comments
 (0)