Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2025

Bumps github.com/go-task/task/v3 from 3.41.0 to 3.43.3.

Release notes

Sourced from github.com/go-task/task/v3's releases.

v3.43.3

Reverted the changes made in #2113 and #2186 that affected the USER_WORKING_DIR and built-in variables. This fixes #2206, #2195, #2207 and #2208.

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. fsnotify uses 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 generates keyword. 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 --expiry flag 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.
  • .taskrc files 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 --init flag) 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 --version flag 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 in sources only 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_DIR special 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!

v3.42.1

  • Fixed a bug where some special variables caused a type error when used in global variables (#2106, #2107 by @​pd93).

v3.42.0

  • Made --init less verbose by default and respect --silent and --verbose flags (#2009, #2011 by @​HeCorr).
  • --init now accepts a file name or directory as an argument (#2008, #2018 by @​HeCorr).
  • Fix a bug where an HTTP node's location was being mutated incorrectly (#2007 by @​jeongukjae).
  • Fixed a bug where allowed values didn't work with dynamic var (#2032, #2033 by @​vmaerten).
  • Use only the relevant checker (timestamp or checksum) to improve performance (#2029, #2031 by @​vmaerten).
  • Print warnings when attempting to enable an inactive experiment or an active experiment with an invalid value (#1979, #2049 by @​pd93).
  • Refactored the experiments package and added tests (#2049 by @​pd93).
  • Show allowed values when a variable with an enum is missing (#2027, #2052 by @​vmaerten).
  • Refactored how snippets in error work and added tests (#2068 by @​pd93).
  • Fixed a bug where errors decoding commands were sometimes unhelpful (#2068 by @​pd93).
  • Fixed a bug in the Taskfile schema where defer statements in the shorthand cmds syntax were not considered valid (#2068 by @​pd93).
  • Refactored how task sorting functions work (#1798 by @​pd93).
  • Added a new .taskrc.yml (or .taskrc.yaml) file to let users enable experiments (similar to .env) (#1982 by @​vmaerten).
  • Added new Getting Started docs (#2086 by @​pd93).
  • Allow matrix to use references to other variables (#2065, #2069 by @​pd93).

... (truncated)

Changelog

Sourced from github.com/go-task/task/v3's changelog.

v3.43.3 - 2025-04-27

Reverted the changes made in #2113 and #2186 that affected the USER_WORKING_DIR and built-in variables. This fixes #2206, #2195, #2207 and #2208.

v3.43.2 - 2025-04-21

v3.43.1 - 2025-04-21

  • 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. fsnotify uses 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 generates keyword. 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 --expiry flag 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.
  • .taskrc files 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 --init flag) 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 --version flag 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 in sources only resolved the

... (truncated)

Commits
  • 1c35358 v3.43.3
  • 13daa6d feat: formatting with golangci-lint and gci
  • 20c1ffe docs: update variables example so that it doesn't error
  • bd8ccb8 chore: changelogs for reverts
  • 8162b05 Revert "feat: process variables in include vars (#2113)"
  • 68d5095 Revert "fix: .USER_WORKING_DIR should contain the value of --dir if given...
  • 6cb0a5a v3.43.2
  • 0805692 chore: add changelog entry for #2191
  • 3970610 fix: CLI_ARGS is a string and not an array (#2191)
  • bf4e796 chore: show right version on changelog
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [github.com/go-task/task/v3](https://github.com/go-task/task) from 3.41.0 to 3.43.3.
- [Release notes](https://github.com/go-task/task/releases)
- [Changelog](https://github.com/go-task/task/blob/main/CHANGELOG.md)
- [Commits](go-task/task@v3.41.0...v3.43.3)

---
updated-dependencies:
- dependency-name: github.com/go-task/task/v3
  dependency-version: 3.43.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the topic: infrastructure Related to project infrastructure label Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: infrastructure Related to project infrastructure

1 participant