Releases: go-task/task
Releases · go-task/task
v3.46.0-nightly
Changelog
- 655e834 fix(completion): handle colons in task descriptions for fish (#2573)
- 3ad4604 fix(completion): support --global flag in zsh completion (#2574)
- 5a27d04 chore: changelog for #2552
- ea933bc fix: support error_ignore for a task call (#2552)
- e0d6b71 chore: changelog for #2568
- d7ee855 feat: emit error annotations in GitHub Actions (#2568)
- 511f35a chore: changelog for #2403
- 5889ff6 fix: globals vars are available in vars at root level (#2403)
- 85a98b5 chore: changelog for #2566
- 89b6140 fix: always run a watch task regardless of run setting (#2566)
- 8cd51af chore(deps): update all non-major dependencies (#2540)
- a40ddd4 refactor: optimize fuzzy matching with lazy initialization (#2523)
- b181427 docs(changelog): fix typo
- 500ab8b docs(changelog): add entry for #2433
- 745633d fix: a couple of fixes and improvements on
task --init(#2433) - 9b99866 feat: add
--failfastandfailtest: trueto control dependencies (#2525) - 54e4905 ci(renovate): track golangci-lint version in workflows (#2557)
- c95805e build(deps): update crypto dependencies (#2555)
- 4560589 ci(lint): update golangci-lint-action to v2.7.1 (#2556)
- 084d644 chore(deps): update actions/setup-node action to v6 (#2553)
- 3fb7919 build(deps): upgrade xsync from v3 to v4 (#2554)
- 69b345e chore: changelog for #2495
- 4af5278 fix: autocomplete works with other binary than 'task' (#2495)
- 12fbdd3 chore: changelog for #2491
- 72a349b feat: add --trusted-hosts CLI and remote.trusted-hosts config for remote tasks (#2491)
- 896d65b ci(release): switch to npm trusted publishers with OIDC (#2550)
- 2161f33 chore: changelog for #2536
- b93638b fix: allow application/octet-stream for a Remote taskfile (#2536)
- 47b78ca chore: changelog for #1844
- f0b15d3 fix: CLI_ARGS completion for fish and zsh (#1844)
- eb285fa chore: changelog for #2513
- 02b13a6 feat(website): add llms.txt for AI agents (#2513)
- a085d62 feat(completion): add missing flags and dynamic experimental feature detection (#2532)
- 4ab1958 feat(summary): add vars, env, and requires display (#2524)
- 54ca217 fix(release): wrap changelog with v-pre directive (#2526)
- a6c0c1d chore(deps): update all non-major dependencies (#2515)
- 9cc1c7b chore(deps): update actions/checkout action to v6 (#2527)
- 7901cce chore: run
gofumpt - c7b4f26 chore: run
modernize - 3ed403b chore(changelog): add entry for #2511
- 386dcbc fix: adjust
run: when_changedto work correctly with imported tasks (#2511) - 799bc85 docs(readme): update links
- 0d9e8dd docs: corrected
substrtemplating example (#2519) - a927ffb docs: add tasks.task.dir (#2489)
- 42ad618 chore(deps): update golangci/golangci-lint-action action to v9 (#2502)
- 2b713f5 chore(goreleaser): remove
/from branch name - cb8e94a ci(goreleaser): add /cc to maintainers on winget pr
- 6bc339d chore: go mod tidy
- 5712c46 chore: changelog for #2507
- 78cc6e5 fix: RPM upload for Cloudsmith (#2507)
- 38e07ea fix: changelog for website
v3.45.5
- 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.ymlwas not returned if reading it failed, and corrected handling of remote entrypoint Taskfiles (#2460, #2461 by @vmaerten). - Improved performance of
--listand--list-allby 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 1when a dependency task failed (#2286 by @GrahamDennis). - Fixed YAML library from the unmaintained
gopkg.in/yaml.v3to the new fork maintained by the official YAML org (#2171, #2434 by @andreynering). - On Windows, the built-in version of the
rmcore utils contains a fix related to the-fflag (#2426, u-root/u-root#3464, mvdan/sh#1199, #2506 by @andreynering).
v3.45.4
v3.45.3
- Task now includes built-in core utilities to greatly improve compatibility on Windows. This means that your commands that uses
cp,mv,mkdiror 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.ymlor$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
--nestedflag 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
- 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_NAMEandTEST_DIRavailable in fixture tests (#2265 by @pd93).
v3.44.0
- Added
uuid,randIntandrandIntNtemplate functions (#1346, #2225 by @pd93). - Added new
CLI_ARGS_LISTarray variable which contains the arguments passed to Task after the--(the same asCLI_ARGS, but an array instead of a string). (#2138, #2139, #2140 by @pd93). - Added
toYamlandfromYamltemplating functions (#2217, #2219 by @pd93). - Added
taskfield the--list --jsonoutput (#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).
v3.43.3
v3.43.2
v3.43.1
- Significant improvements were made to the watcher. We migrated from watcher to fsnotify. The former library used polling, which means Task had a high CPU usage when watching too many files.
fsnotifyuses proper the APIs from each operating system to watch files, which means a much better performance. The default interval changed from 5 seconds to 100 milliseconds, because now it configures the wait time for duplicated events, instead of the polling time (#2048 by @andreynering, #1508, #985, #1179). - The Map Variables experiment was made generally available so you can now define map variables in your Taskfiles! (#1585, #1547, #2081 by @pd93).
- Wildcards can now match multiple tasks (#2072, #2121 by @pd93).
- Added the ability to loop over the files specified by the
generateskeyword. This works the same way as looping over sources (#2151 by @sedyh). - Added the ability to resolve variables when defining an include variable (#2108, #2113 by @pd93).
- A few changes have been made to the Remote Taskfiles experiment (#1402, #2176 by @pd93):
- Cached files are now prioritized over remote ones.
- Added an
--expiryflag which sets the TTL for a remote file cache. By default the value will be 0 (caching disabled). If Task is running in offline mode or fails to make a connection, it will fallback on the cache.
.taskrcfiles can now be used from subdirectories and will be searched for recursively up the file tree in the same way that Taskfiles are (#2159, #2166 by @pd93).- The default taskfile (output when using the
--initflag) is now an embedded file in the binary instead of being stored in the code (#2112 by @pd93). - Improved the way we report the Task version when using the
--versionflag or{{.TASK_VERSION}}variable. This should now be more consistent and easier for package maintainers to use (#2131 by @pd93). - Fixed a bug where globstar (
**) matching insourcesonly resolved the first result (#2073, #2075 by @pd93). - Fixed a bug where sorting tasks by "none" would use the default sorting instead of leaving tasks in the order they were defined (#2124, #2125 by @trulede).
- Fixed Fish completion on newer Fish versions (#2130 by @atusy).
- Fixed a bug where undefined/null variables resolved to an empty string instead of
nil(#1911, #2144 by @pd93). - The
USER_WORKING_DIRspecial now will now properly account for the--dir(-d) flag, if given (#2102, #2103 by @jaynis, #2186 by @andreynering). - Fix Fish completions when
--global(-g) is given (#2134 by @atusy). - Fixed variables not available when using
defer:(#1909, #2173 by @vmaerten).
Contribute
Love Task? If you or your company benefit from our work, consider becoming a sponsor!