-
Notifications
You must be signed in to change notification settings - Fork 0
Update dependency go-task/task to v3.46.4 #1239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
v2
Choose a base branch
from
renovate/go-task-task-3.x
base: v2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6b64cc4 to
212a872
Compare
212a872 to
e4e0815
Compare
e4e0815 to
687778c
Compare
687778c to
4cb1490
Compare
4cb1490 to
1cb6cb3
Compare
1cb6cb3 to
bcf133b
Compare
bcf133b to
be11652
Compare
be11652 to
201d7cf
Compare
201d7cf to
33655fa
Compare
33655fa to
6fa28c7
Compare
6fa28c7 to
5c01a0f
Compare
5c01a0f to
4181b43
Compare
4181b43 to
8db9f9e
Compare
8db9f9e to
bf64105
Compare
bf64105 to
95404d8
Compare
95404d8 to
63f7068
Compare
63f7068 to
dfe9cf8
Compare
dfe9cf8 to
b7fbce8
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v3.38.0→v3.46.4Release Notes
go-task/task (go-task/task)
v3.46.4Compare Source
@WinkelCode).
v3.46.3Compare Source
v3.46.2Compare Source
command line (#2588, #2589 by @vmaerten).
v3.46.1Compare Source
✨ Features
dependencies to finish running before continuing, even if any of them fail. To
opt for the previous behavior, set
failfast: trueeither on your.taskrc.ymlor per task, or use the--failfastflag, which will also workfor
--parallel(#1246, #2525 by @andreynering).--summaryflag now displaysvars:(both global and task-level),env:, andrequires:sections. Dynamic variables show their shell command(e.g.,
sh: echo "hello") instead of the evaluated value (#2486 ,#2524 by@vmaerten).
initialization. Added
--disable-fuzzyflag anddisable-fuzzytaskrc optionto allow disabling fuzzy matching entirely (#2521, #2523 by @vmaerten).
llms.txtand
llms-full.txtfor AI-powered development tools (#2513 by @vmaerten).--trusted-hostsCLI flag andremote.trusted-hostsconfig option toskip confirmation prompts for specified hosts when using Remote Taskfiles
(#2491, #2473 by @maciejlech).
on failure, improving visibility in workflow summaries (#2568 by @vmaerten).
--yesflag is now accessible in templates via the newCLI_ASSUME_YESvariable (#2577, #2479 by @semihbkgr).
flags and dynamic experimental feature detection (#2532 by @vmaerten).
application/octet-streamContent-Type (#2536,#1944 by @vmaerten).
binary name via TASK_EXE environment variable (#2495, #2468 by @vmaerten).
task --initand to thedefault Taskfile it generates (#2433 by @andreynering).
--remote-cache-dirflag andremote.cache-dirtaskrc option tocustomize the cache directory for Remote Taskfiles (#2572 by @vmaerten).
descriptions (#2571 by @vmaerten).
Actions, GitLab CI, etc.) without requiring FORCE_COLOR=1 (#2569 by
@vmaerten).
globally (#2569 by @vmaerten).
now works out of the box and
applyOfis properly supported (#2512 by@vmaerten).
🐛 Fixes
ensure unique filenames (#2507 by @vmaerten).
run: when_changedto work properly for Taskfiles included multiple times(#2508, #2511 by @trulede).
--separator, allowing proper CLI_ARGS completion (#1843, #1844 by
@boiledfroginthewell).
--watch) now always runs the task, regardless ofrun: onceorrun: when_changedsettings (#2566, #1388 by @trulede).root-level vars section (#2403, #2397 by @trulede, @vmaerten).
ignore_errorwas ignored when usingtask:to callanother task (#2552, #363 by @trulede).
-g/--globalflag (#1574, #2574 by @vmaerten).
(e.g., URLs or namespaced functions) (#2101, #2573 by @vmaerten).
using
forloops in Taskfiles (#2576 by @vmaerten).v3.45.5Compare Source
Taskfile could not be found (#2431 by @andreynering).
by @twelvelabs).
.taskrc.ymlwas not returned if reading it failed, andcorrected handling of remote entrypoint Taskfiles (#2460, #2461 by @vmaerten).
--listand--list-allby introducing a fastercompilation method that skips source globbing and checksum updates (#1322,
#2053 by @vmaerten).
output: group. This ensures that begin/endparts won't be mixed up from different tasks (#1208, #2349, #2350 by
@trulede).
defer:(#2244, #2418 by @trulede).@vmaerten).
exit status 1when a dependency task failed(#2286 by @GrahamDennis).
gopkg.in/yaml.v3to the new forkmaintained by the official YAML org (#2171, #2434 by @andreynering).
rmcore utils contains a fix relatedto the
-fflag (#2426,u-root/u-root#3464,
mvdan/sh#1199, #2506 by
@andreynering).
v3.45.4Compare Source
cache-expirycould not be defined in.taskrc.yml(#2423by @vmaerten).
.taskrc.ymlfiles in parent folders were not readcorrectly (#2424 by @vmaerten).
@vmaerten).
v3.45.3Compare Source
Windows. This means that your commands that uses
cp,mv,mkdiror anyother 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 this the topic.
(#197, #2360 by @andreynering).
using VitePress (#2359, #2369, #2371, #2375, #2378 by
@vmaerten, @andreynering, @pd93).
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).
$XDG_CONFIG_HOME/task/taskrc.ymlor$HOME/.taskrc.yml. Check out our newconfiguration guide for more
details (#2247, #2380, #2390, #2391 by @vmaerten, @pd93).
(#2235 by @vmaerten).
.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)
--nestedflag when outputting tasks using--list --json. This willoutput tasks in a nested structure when tasks are namespaced (#2415 by @pd93).
wildcard parameters are fully considered during fingerprinting (#1808, #1795
by @vmaerten).
{}) (#2416, #2417by @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).
v3.44.1Compare Source
called (#2309, #2323 by @maxmzkrcensys)
to you Taskfile contained a space (#2321, #2322 by @pd93).
randInt(#2312, #2316 by @pd93).TEST_NAMEandTEST_DIRavailable in fixture tests(#2265 by @pd93).
v3.44.0Compare Source
uuid,randIntandrandIntNtemplate functions (#1346, #2225 by@pd93).
CLI_ARGS_LISTarray variable which contains the arguments passedto Task after the
--(the same asCLI_ARGS, but an array instead of astring). (#2138, #2139, #2140 by @pd93).
toYamlandfromYamltemplating functions (#2217, #2219 by @pd93).taskfield the--list --jsonoutput (#2256 by @aleksandersh).pin included taskfiles
by specifying a checksum. This works with both local and remote Taskfiles
(#2222, #2223 by @pd93).
Remote Taskfiles experiment,
any credentials used in the URL will now be redacted in Task's output (#2100,
#2220 by @pd93).
by @vmaerten).
directories in the wrong location (#2208, #2216 by @pd93).
the current schema. The current schemas will only be updated during releases.
(#2211 by @vmaerten).
the root level to apply to all tasks (#2233 by @vmaerten).
@wazazaby, #2271 by @andreynering).
v3.43.3Compare Source
Reverted the changes made in #2113 and #2186 that affected the
USER_WORKING_DIRand built-in variables. This fixes #2206, #2195, #2207 and#2208.
v3.43.2Compare Source
CLI_ARGSbeing exposed as the wrong type (#2190, #2191 by@vmaerten).
v3.43.1Compare Source
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).
was made generally available so you can now
define map variables in your Taskfiles!
(#1585, #1547, #2081 by @pd93).
match multiple tasks (#2072,
#2121 by @pd93).
loop over the files specified by the
generateskeyword.This works the same way as looping over sources (#2151 by @sedyh).
(#2108, #2113 by @pd93).
Remote Taskfiles experiment
(#1402, #2176 by @pd93):
--expiryflag which sets the TTL for a remote file cache. Bydefault 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 forrecursively up the file tree in the same way that Taskfiles are (#2159, #2166
by @pd93).
--initflag) is now an embeddedfile in the binary instead of being stored in the code (#2112 by @pd93).
--versionflag or{{.TASK_VERSION}}variable. This should now be more consistent and easierfor package maintainers to use (#2131 by @pd93).
**) matching insourcesonly resolved thefirst result (#2073, #2075 by @pd93).
instead of leaving tasks in the order they were defined (#2124, #2125 by
@trulede).
of
nil(#1911, #2144 by @pd93).USER_WORKING_DIRspecial now will now properly account for the--dir(
-d) flag, if given (#2102, #2103 by @jaynis, #2186 by @andreynering).--global(-g) is given (#2134 by @atusy).defer:(#1909, #2173 by @vmaerten).Package API
Executornowuses the functional options pattern (#2085, #2147, #2148 by @pd93).
taskfile.Readerand
taskfile.Snippettypes no longer have the
Reader/Snippetrespective prefixes (#2148 by@pd93).
taskfile.Readerno longer accepts a
taskfile.Node.Instead nodes are passed directly into the
Reader.Readmethod (#2169 by @pd93).
Reader.Readalso now accepts a
context.Context(#2176 by @pd93).
v3.42.1Compare Source
variables (#2106, #2107 by @pd93).
v3.42.0Compare Source
--initless verbose by default and respect--silentand--verboseflags (#2009, #2011 by @HeCorr).
--initnow accepts a file name or directory as an argument (#2008, #2018 by@HeCorr).
by @jeongukjae).
@vmaerten).
(#2029, #2031 by @vmaerten).
experiment with an invalid value (#1979, #2049 by @pd93).
@vmaerten).
@pd93).
deferstatements in the shorthandcmdssyntax were not considered valid (#2068 by @pd93)..taskrc.yml(or.taskrc.yaml) file to let users enableexperiments (similar to
.env) (#1982 by @vmaerten).by @pd93).
matrixto use references to other variables (#2065, #2069 by @pd93).used, all other variables become unavailable in the templating system within
the include (#2092 by @vmaerten).
Package API
Unlike our CLI tool,
Task's package API is not currently stable.
In an effort to ease the pain of breaking changes for our users, we will be
providing changelogs for our package API going forwards. The hope is that these
changes will provide a better long-term experience for our users and allow to
stabilize the API in the future. #121 now tracks this piece of work.
task.InitTaskfile(#2011,
ff8c913by @HeCorr and @pd93)io.Writer(output is now the caller'sresponsibility).
TaskfileDecodeError.WithFileInfonow accepts a string instead of the arguments required to generate a snippet
(#2068 by @pd93).
TaskfileSnippetand related code moved from the
errorspackage to thetaskfilepackage(#2068 by @pd93).
TaskMissingRequiredVarstoTaskMissingRequiredVarsError(#2052 by @vmaerten).
TaskNotAllowedVarstoTaskNotAllowedVarsError(#2052 by @vmaerten).
taskfile.Readeris now constructed using the functional options pattern (#2082 by @pd93).
logger.Loggerfrom the entiretaskfilepackage (#2082by @pd93).
taskfile.Readerif they want this functionality by using the new
WithDebugFuncand
WithPromptFuncfunctional options.
Rangefunctions in thetaskfile/astpackage in favour of newiterator functions (#1798 by @pd93).
ast.Callwas moved from thetaskfile/astpackage to the maintaskpackage (#2084 by @pd93).
ast.Tasks.FindMatchingTaskswas moved from thetaskfile/astpackage to thetask.Executor.FindMatchingTasksin the maintaskpackage (#2084 by @pd93).Compilerand itsGetVariablesandFastGetVariablesmethods weremoved from the
internal/compilerpackage to the maintaskpackage (#2084by @pd93).
v3.41.0Compare Source
mode (#1920, #1921 by @mgbowman).
silentfor defer statements (#1877, #1879 by @danilobuerger).@vmaerten).
function (#1950, #1962 by @vmaerten).
TASK_DIRspecial variable, which will contain the absolute pathof task directory. (#1959, #1961 by @vmaerten).
@pd93, @GrahamDennis and @trim21).
github.com/elliotchance/orderedmap
(#1797 by @pd93).
the
requiressection. (#1960, #1955, #1768 by @vmaerten and @mokeko)CHECKSUMandTIMESTAMPvariables are now accessible withincmds(#1872 by @niklasr22).
installation method (#935, #1989 by @pd93).
(#630, #1869 by @rohm1 and @pd93).
v3.40.1Compare Source
git-urlsby switching to the maintained forkchainguard-dev/git-urls(#1917 by @AlekSi).platformsproperty tocmdsthat usefor(#1915 by@dkarter).
@christiandins).
v3.40.0Compare Source
splitArgs/splitLines) not working infor loops (#1822, #1823 by @stawii).
TASK_OFFLINEenvironment variable to configure the--offlineflag and expose it as a special variable in the templating system (#1470,
#1716 by @vmaerten and @pd93).
without waiting for user input (#1832, #1833 by @vmaerten and @pd93).
"Remote Taskfiles".
experiment, you can now include Taskfiles from Git repositories (#1652 by
@vmaerten).
@pbitty).
file (#1232, #1810 by @vmaerten).
@pbitty).
@vmaerten).
numCPU, which returns the number of logicalCPUs usable (#1890, #1887 by @Amoghrd).
interface (#1903, #1904 by @pd93).
v3.39.2Compare Source
#1818 by @vmaerten).
v3.39.1Compare Source
up to date (#1783 by @vmaerten).
recommended method. (#1813, #1809 by @vmaerten and @shirayu)
defer:statement (#1803, #1814 by@vmaerten and @andreynering).
v3.39.0Compare Source
Env Precedence Experiment
(#1038, #1633 by @vmaerten).
@vmaerten).
EXIT_CODEspecial variable ondefer:when a command finisheswith a non-zero exit code (#1484, #1762 by @dorimon-1 and @andreynering).
ALIASspecial variable, which will contain the alias used tocall the current task. Falls back to the task name. (#1764 by @DanStory).
TASK_REMOTE_DIRenvironment variable not working when the path wasabsolute. (#1715 by @vmaerten).
@vmaerten).
--completionflag tooutput completion scripts for various shells (#293, #1157 by @pd93).
completiondirectoryare now deprecated.
loop over a matrix of values
(#1766, #1767, #1784 by @pd93).
by @vmaerten).
defaulttask (#1777, #1778 by @vmaerten).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.