Valentin Maerten
7705f922c1
rename: gitignore -> use_gitignore for clarity
...
Rename the Taskfile/task option from `gitignore` to `use_gitignore`
to avoid ambiguity (could be read as "ignore git" vs "use .gitignore").
Consistent with Biome's `useIgnoreFile` naming convention.
2026-06-07 15:02:56 +02:00
Valentin Maerten
7cea8e3364
refactor: remove rootDir param, auto-detect .git as boundary
...
Walk up from task dir to find .git instead of threading rootDir through
Globs, checkers, and itemsFromFor. Gitignore rules are discarded if no
.git is found, matching ripgrep's require_git behavior. This keeps the
Globs signature clean and makes the future .taskignore integration
straightforward (loaded at setup like .taskrc, separate boundary).
2026-06-07 15:02:55 +02:00
Valentin Maerten
13ef1b2dda
wip
2026-06-07 15:02:55 +02:00
Valentin Maerten
ae3627c596
refactor: replace go-git with sabhiram/go-gitignore for lighter dependency
...
go-git pulled ~30 transitive dependencies and recursively walked the
entire worktree on every Globs() call. Replace with sabhiram/go-gitignore
(zero dependencies) and a simple walk from task dir up to rootDir to
collect .gitignore files. Pass rootDir (Taskfile ROOT_DIR) through the
checker chain to bound the search scope.
2026-06-07 15:02:55 +02:00
Valentin Maerten
fe542d5418
feat: add gitignore option to exclude ignored files from sources/generates
...
When `gitignore: true` is set at the Taskfile or task level, files
matching .gitignore rules are automatically excluded from sources and
generates glob resolution. This prevents rebuilds triggered by changes
to files that are in .gitignore (build artifacts, generated files, etc.).
Uses go-git to load .gitignore patterns including nested .gitignore
files, .git/info/exclude, and global gitignore configuration.
2026-06-07 15:02:39 +02:00
renovate[bot]
b27a6653f6
chore(deps): update all non-major dependencies ( #2816 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com >
2026-05-17 12:40:51 +02:00
Andrey Nering
bd79c29a39
v3.51.1
2026-05-16 17:51:05 -03:00
Andrey Nering
41a2137044
v3.51.0
2026-05-16 17:27:25 -03:00
Timothy Rule
9e3ff27ba1
fix: avoid panic after calling WordsSeq ( #2810 )
2026-05-09 21:42:00 +00:00
Jerry Wiltse
d9e0e04725
feat: add joinEnv and joinUrl string functions and 2 new system vars ( #2408 )
2026-05-09 14:19:33 +00:00
Roman Dahm
46f5db22c8
perf(templater): skip template engine for strings without {{ ( #2820 )
2026-05-01 09:57:16 -03:00
Mateen Anjum
1b06da16f6
feat(templater): add absPath template function ( #2788 )
...
Signed-off-by: Mateen Anjum <mateenali66@gmail.com >
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com >
2026-04-20 21:50:03 +02:00
Andrey Nering
d61d92dfdf
v3.50.0
2026-04-13 17:54:26 -03:00
Andrey Nering
219bf3e5a5
chore: add nolint annotations for gosec linter
...
Add //nolint:gosec annotations for intentional code patterns
that are safe in context (path traversal in release tool,
uintptr conversion for terminals, weak rand in tests,
TLS skip verify for user-configured insecure mode).
Assisted-by: Kimi-K2.5 via Crush <crush@charm.land >
2026-04-13 10:46:19 -03:00
Doug Richardson
f2e32beabd
fix: re-run task when generated files are missing with method: timestamp ( #2716 )
2026-04-11 21:42:50 -03:00
Valentin Maerten
6b436eda48
fix: Windows CI test failures and path normalization ( #2670 )
2026-03-28 10:39:13 +01:00
Valentin Maerten
8b6aca5722
feat(requires): support variable references in enum constraints ( #2678 )
2026-03-21 11:32:02 +01:00
Andrey Nering
aa83651da2
v3.49.1
2026-03-08 17:01:25 -03:00
Andrey Nering
a1b8985df0
v3.49.0
2026-03-07 19:20:58 -03:00
Timothy Rule
90bcbe9ba5
fix: address "taskfile not found" in some environments like docker ( #2709 )
2026-02-27 09:47:59 -03:00
Valentin Maerten
2ed77716be
feat(config): add environment variable support for all taskrc options ( #2607 )
2026-02-18 18:58:13 +01:00
Andrey Nering
56b316a124
ci: fix lint
2026-02-17 15:43:13 -03:00
Andrey Nering
fc5f6fa3aa
fix: pin yaml package to v3 for now ( #2693 )
2026-02-17 15:29:51 -03:00
Timothy Rule
f63a63fa6c
fix: improve error message when searching for Taskfile. ( #2682 )
2026-02-15 14:56:35 +01:00
Andrey Nering
09e7247d05
v3.48.0
2026-01-26 09:26:23 -03:00
Valentin Maerten
026c899d90
feat: support self-signed certificates for remote taskfiles ( #2537 )
2026-01-25 18:51:30 +01:00
Timothy Rule
f6720760b4
fix(includes): propagate silent mode from included Taskfiles to tasks ( #2640 )
2026-01-25 16:33:52 +01:00
Andrey Nering
12a26fa15e
v3.47.0
2026-01-24 20:49:48 -03:00
Valentin Maerten
6dedcafd7d
feat(vars): add interactive prompting for required variables ( #2579 )
2026-01-22 21:20:45 +01:00
Andrey Nering
da7eb0c855
fix(shell): fix deprecation warning
2026-01-21 14:05:52 -03:00
Timothy Rule
b9c1ab8eae
fix: ensure no ansi sequences are printed for --color=false ( #2584 )
2026-01-18 09:18:52 -03:00
Andrey Nering
179bde1f37
v3.46.4
2025-12-24 18:57:17 -03:00
Andrey Nering
8dfafe507f
v3.46.3
2025-12-19 15:50:51 -03:00
Andrey Nering
fc378cfb92
v3.46.2
2025-12-18 17:55:19 -03:00
Valentin Maerten
28fee2c356
v3.46.1
2025-12-18 17:42:03 +01:00
Valentin Maerten
f2385e625d
v3.46.0
2025-12-18 17:29:29 +01:00
Valentin Maerten
6660afc8d2
feat: auto-detect color output in CI environments ( #2569 )
2025-12-18 08:40:37 +01:00
Valentin Maerten
4ec6c453bd
feat: add remote.cache-dir taskrc option ( #2572 )
2025-12-18 08:32:11 +01:00
Valentin Maerten
a40ddd4949
refactor: optimize fuzzy matching with lazy initialization ( #2523 )
2025-12-07 21:43:26 +01:00
Andrey Nering
9b99866224
feat: add --failfast and failtest: true to control dependencies ( #2525 )
2025-12-07 17:23:08 -03:00
Maciej Lech
72a349b0e9
feat: add --trusted-hosts CLI and remote.trusted-hosts config for remote tasks ( #2491 )
...
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com >
2025-12-07 12:17:54 +01:00
Valentin Maerten
4ab1958df1
feat(summary): add vars, env, and requires display ( #2524 )
2025-11-29 11:14:20 +01:00
Andrey Nering
7901cce831
chore: run gofumpt
2025-11-22 18:09:50 -03:00
Timothy Rule
386dcbc1a0
fix: adjust run: when_changed to work correctly with imported tasks ( #2511 )
2025-11-22 17:17:13 -03:00
Andrey Nering
72e25a25fd
v3.45.5
2025-11-11 17:13:39 -03:00
Andrey Nering
ee99849b1d
refactor: migrate to the official yaml package ( #2434 )
...
The old package is long archived, but the YAML org forked it and will
officially maintain it from now on.
* Old: https://github.com/go-yaml/yaml
* New: https://github.com/yaml/go-yaml
2025-11-11 19:49:37 +00:00
Andrey Nering
43074c20f2
refactor: improve code of group output
2025-11-11 14:37:16 -03:00
Timothy Rule
39c86992bd
fix: address concurrent group output causing flaky tests ( #2350 )
2025-11-11 14:36:32 -03:00
Valentin Maerten
048d92709a
v3.45.4
2025-09-17 17:05:20 +02:00
Valentin Maerten
4836d42828
fix: cache expiry in Taskrc was not working ( #2423 )
2025-09-16 19:35:12 +02:00