Commit Graph

2843 Commits

Author SHA1 Message Date
Valentin Maerten
fc8fd0f62e docs(templating): document the move from slim-sprig to sprout
Add a migration section listing the renamed functions, the ten argument
order changes and the behaviour differences, extend the template function
deprecation page with the new aliases, and point the sprig links at the
sprout documentation.
2026-08-10 21:17:33 +02:00
Valentin Maerten
b0c792f09e feat(templater): report template deprecations through the verbose logger
sprout logs its deprecation notices to stdout by default, which would
corrupt the JSON and group output styles. Route them to the Executor's
logger at verbose level instead, deduplicated so that a single deprecated
call is not reported once per compilation pass.
2026-08-10 21:11:49 +02:00
Valentin Maerten
3d2fb43227 feat(templater): migrate the template engine from slim-sprig to sprout
slim-sprig is a fork of the unmaintained Masterminds/sprig that Task keeps
alive itself. sprout is its maintained successor, and its registry system
gives the same trimmed function set without a fork to maintain.

Task's own functions move into a sprout registry. Ten functions changed
argument order between the two libraries, and dig lost its default-value
argument; wrappers accept both forms so existing Taskfiles keep working.
merge and fromYaml/toYaml are re-applied after the handler is built,
because sprout's namesakes have different semantics.

Closes #1638.
2026-08-10 21:09:22 +02:00
Valentin Maerten
1750f4560b test(templater): snapshot the template function surface and behaviour
Golden tests capturing the sorted list of template function names and the
rendered output of a representative expression per function. Generated
against the current slim-sprig implementation so that any change of
templating library produces an auditable diff.
2026-08-10 21:03:56 +02:00
Valentin Maerten
8e89cf879c chore: changelog for #2967 2026-08-10 20:30:33 +02:00
Valentin Maerten
2ea5d7dee2 chore: changelog for #2044 2026-08-10 20:30:32 +02:00
Valentin Maerten
65471a2ef8 fix: align command schema definitions with the parser (#2967) 2026-08-10 20:25:05 +02:00
Gerard O'Keefe
49eea5352c fix: schema does not allow ignore_error in a for loop (#2044)
Co-authored-by: O'Keefe, Gerard (Gerry) <gokeefe@atb.com>
2026-08-10 18:22:25 +00:00
Valentin Maerten
2cdadb4c99 chore: changelog for #2956 2026-08-10 19:50:50 +02:00
shaurya
85aca587b1 fix: accept []string and []int in matrix refs (#2956)
Co-authored-by: no-hup <shauryaj.finance@gmail.com>
2026-08-10 19:47:58 +02:00
Nithwin
d4fd591dd3 docs: fix incorrect godoc comments on WithVersionCheck and WithFailfast (#2963) 2026-08-10 17:45:37 +00:00
renovate[bot]
a80bee87cb chore(deps): update all non-major dependencies (#2943) 2026-08-10 16:39:06 +02:00
Valentin Maerten
678bd6ba62 chore: changelog for #2959 2026-08-10 16:27:19 +02:00
星尘
2888867c94 feat: support excluding task namespaces (#2959) 2026-08-10 16:23:51 +02:00
Valentin Maerten
fc49c72647 refactor: centralize fingerprint method resolution in a Fingerprinter (#2924) 2026-08-10 16:12:18 +02:00
cui fliter
d2b02e3c69 fix: preserve stdin taskfile bytes (#2950)
Signed-off-by: cuishuang <imcusg@gmail.com>
2026-08-09 18:55:17 +00:00
shaurya
f174912975 docs: document use_gitignore in schema reference and guide (#2957)
Co-authored-by: no-hup <shauryaj.finance@gmail.com>
2026-08-05 10:48:23 +02:00
shaurya
886d1ea650 docs: close two unterminated code fences and fix --trust flag name (#2955) 2026-08-04 14:24:23 +00:00
Valentin Maerten
d04748f0a4 test: fix flaky TestDeps by using group output (#2926) 2026-08-03 20:44:03 +00:00
Valentin Maerten
651aa44f50 perf: reuse buffer when hashing source files for checksums (#2925) 2026-08-03 20:30:20 +00:00
Valentin Maerten
5ecb94796d ci(renovate): fix the invalid go constraint and skip indirect digest updates (#2952) 2026-08-03 22:30:13 +02:00
Valentin Maerten
2e5106bf24 feat: support enum.ref in interactive prompts (#2927) 2026-08-03 22:20:10 +02:00
Valentin Maerten
c5b977ccc1 ci(renovate): stop dependency updates from bumping the go directive (#2951) 2026-08-03 20:05:23 +00:00
renovate[bot]
c05bdcddf5 chore(deps): update dependency netlify-cli to v27 (#2939) 2026-07-25 19:10:54 +02:00
renovate[bot]
1426db91e4 chore(deps): update all non-major dependencies (#2935)
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com>
2026-07-25 19:01:00 +02:00
renovate[bot]
547af56489 chore(deps): update actions/setup-node action to v7 (#2937) 2026-07-25 10:12:52 +00:00
renovate[bot]
ab234c83f9 chore(deps): update go-task/setup-task action to v2 (#2940) 2026-07-25 10:03:56 +00:00
renovate[bot]
c50f0de5bb chore(deps): update actions/setup-python action to v7 (#2938) 2026-07-25 10:01:40 +00:00
renovate[bot]
bf696ce45d chore(deps): update actions/setup-go action to v7 (#2936) 2026-07-25 09:59:40 +00:00
Valentin Maerten
4e869d2c30 ci(github): consolidate test and lint into single workflow (#2558) 2026-07-20 18:02:38 +02:00
baaki
81a49a40c3 test: support checkout paths containing spaces in fixtures (#2923) 2026-07-19 22:13:18 +02:00
Valentin Maerten
81c4291803 chore: changelog for #2915 2026-07-14 22:40:12 +02:00
vsaraikin
f6f458fe1d fix: joinUrl no longer collapses the URL scheme (#2915) 2026-07-14 20:25:44 +00:00
Toby Griffiths
aac8c00e99 docs: add missing tasks.{task}.vars to schema reference (#2912) 2026-07-14 20:06:42 +00:00
Valentin Maerten
26baea3dcd Merge commit from fork 2026-07-14 22:06:38 +02:00
renovate[bot]
6833ee5c0c chore(deps): update all non-major dependencies (#2909)
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com>
2026-07-14 22:02:35 +02:00
Andrey Nering
75b227ee13 docs(changelog): add entries for #2853, #2883 and #2884 2026-07-13 18:03:48 -03:00
Maxime Boucher
ed24adbc99 perf: avoid eager fingerprint variable evaluation (#2883) 2026-07-13 17:58:27 -03:00
Maxime Boucher
9200d42282 perf: add fast path for simple recursive globs (#2884) 2026-07-13 17:58:01 -03:00
Nick Gluschenko
dc4ce212e3 docs: add zed extension to community integrations (#2914)
Co-authored-by: Nick Gluschenko <nick.a.lie@gmail.com>
2026-07-13 17:53:22 -03:00
Valentin Maerten
6e795f084a test: self-manage .git in gitignore fixture tests (#2908) 2026-07-13 12:11:16 +02:00
Maxime Boucher
5ebb0d19d9 test: add benchmarks for glob cache performance (#2881)
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>
Co-authored-by: Timothy Rule <34501912+trulede@users.noreply.github.com>
2026-07-11 14:25:47 +00:00
Pete Davison
1f34895185 feat: update experiments workflow to reflect use of issue field instead of labels 2026-07-03 13:31:52 +00:00
Pete Davison
b4710d29b4 chore: changelog for #2184 2026-07-03 13:19:03 +00:00
Jurgen Braam
3354090f21 docs: Mention version checks introduced in v3.34.0 (#2184) 2026-07-03 14:16:57 +01:00
Andrey Nering
015eb3f0fe docs(adopters): update charm copy 2026-07-02 17:49:17 -03:00
Valentin Maerten
536f490187 v3.52.0 v3.52.0 2026-07-02 20:37:51 +02:00
Valentin Maerten
2b387c125e chore: changelog for #2892 2026-07-02 20:34:26 +02:00
qingyingliu
b5861b1e27 fix: reject include without taskfile or dir (#2892)
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com>
2026-07-01 19:48:47 +00:00
Pete Davison
b5f671e098 feat: changelog for #2905 2026-07-01 14:46:48 +00:00