-
Notifications
You must be signed in to change notification settings - Fork 0
Update dependency dagger/dagger to v0.19.9 #1184
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/dagger-dagger-0.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
dda7222 to
c84af5b
Compare
c84af5b to
46da94d
Compare
46da94d to
2d2454b
Compare
2d2454b to
8f8eb0b
Compare
8f8eb0b to
0fd0c03
Compare
0fd0c03 to
f6aa0b6
Compare
f6aa0b6 to
d1b000d
Compare
d1b000d to
89c9d45
Compare
89c9d45 to
f23b8d8
Compare
f23b8d8 to
97b943f
Compare
97b943f to
8bb4c45
Compare
8bb4c45 to
a93226d
Compare
2c7148c to
3298d83
Compare
3298d83 to
dd68756
Compare
829fcec to
deee288
Compare
deee288 to
afbdddd
Compare
afbdddd to
3351643
Compare
3351643 to
3336c05
Compare
3336c05 to
ecefbbe
Compare
ecefbbe to
cd3613b
Compare
cd3613b to
42c99fa
Compare
42c99fa to
b77983c
Compare
b77983c to
64bb30e
Compare
64bb30e to
4a02ca8
Compare
4a02ca8 to
5debe0a
Compare
5debe0a to
cee065c
Compare
cee065c to
8813f21
Compare
8813f21 to
1a6bc4c
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:
v0.11.9→v0.19.9Release Notes
dagger/dagger (dagger/dagger)
v0.19.9Compare Source
Added
Fixed
Contributors
Special thanks to our external contributors this release!
What to do next?
v0.19.8Compare Source
Added
WithDirectoryandWithFileto avoid copying file data on disk in more cases by @sipsma in #11497These APIs now avoid copying data on disk in all cases except when an owner, permission or timestamp is modified as part of the operation.
.envfiles by @alexcb in #11442@otr/mocha-testlib by @TomChv in #11508File.AsJSON()to simplify handling JSON file contents by @suprjinx in #11408Changed
Fixed
Contributors
Special thanks to our external contributors this release!
What to do next?
v0.19.7Compare Source
Added
--eager-runtimeflag todagger functionsby @TomChv in #11413Fixed
Contributors
Special thanks to our external contributors this release!
What to do next?
v0.19.6Compare Source
Fixed
Contributors
Special thanks to our external contributors this release!
What to do next?
v0.19.5Compare Source
Fixed
Contributors
Special thanks to our external contributors this release!
What to do next?
v0.19.4Compare Source
Added
Function calls now have configurable caching behavior, including TTLs. Function calls with cached results can skip execution, which often significantly speeds up your workflows. Instructions and more details on the configuration options can be found in the docs.
🚨 Modules initialized before v0.19.4 will need to explicitly opt-in to the new caching behavior.
GitRepository.uncommitedAPI to get changeset of dirty changes in the working directory by @jedevc in #11241engine clientsAPI by @matipan in #11308Fixed
Dependencies
Contributors
Special thanks to our external contributors this release!
What to do next?
v0.19.3Compare Source
Added
This is for instance really useful from inside self-chainable blocks (using with) where an error can't be returned.
Changeset.isEmptyAPI by @jedevc in #11237Fixed
Directory.diffon identical directories by @jedevc in #11268Dependencies
What to do next?
v0.19.2Compare Source
Fixed
What to do next?
v0.19.1Compare Source
Added
User defaults: persist any dagger function argument to .env by @shykes in #11034
This feature allows user to save arguments to their dagger functions to a local file, instead of re-typing them at every call. This way, the sandboxing of functions is preserved without sacrificing end-user convenience.
To use this feature, simply add variables to a local
.envfile reachable from your working directory. The format of the variables should be as follows:v0.19.0Compare Source
🔥 Breaking Changes
GitRepository.branch/GitRepository.tag/GitRepository.commitnow only accept valid branches/tags/commits by @jedevc in #11038GitRepository'swithAuthTokenandwithAuthHeaderare now no-ops by @jedevc in #11032Instead authentication should only be provided at the top-level
gitquery, since it's now queried immediately.Host.setSecretFilemethod by @jedevc in #11115Use the
file://secret provider instead.LocalCache.keepBytesfield by @jedevc in #11115Instead use the more specific
LocalCache.reservedSpace, which it was an alias for.Container.buildAPI by @jedevc in #11118Use
Directory.dockerBuildinstead.Added
engine.jsonby @matipan in #11040Fixed
What to do next?
v0.18.19Compare Source
Added
addressAPI: a unified address to load containers, directories, secrets, etc by @shykes in #10770Changeset.exportfunction to allow exporting changesets from the API by @jedevc in #11064Fixed
Directory.withFileswhich set the wrong path by @jedevc in #11087What to do next?
v0.18.18Compare Source
Added
EnvFiletype by @shykes in #10949~/.config/dagger/ca-certificatesto engine by @jedevc and @matipan in #11019Changesettype by @vito in #10946Directory.findUpperforms a find-up search in a directory snapshotHost.findUp(): performs a find-up search in the host filesystemFixed
originon git checkouts by @jedevc in #11031defaultPathvalues to contain/by @jedevc in #11048What to do next?
v0.18.17Compare Source
🔥 Breaking Changes
Automatically apply
.gitignorepatterns on directory loading for module call by @TomChv and @jedevc in #10883 \Add
NoGitAutoIgnoreargument toHost.Directoryto disable this behavior.Added
Host.containerImageAPI to load images from the host container image store by @jedevc in #10810Container.combinedAPI to get both standard output and standard error afterwithExecby @eunomie #10924GitRepository.urlAPI to get the fully resolved URL of a git repository by @jedevc in #10959Containers,Directorys and runningServicesby @jedevc in #10867.netrcfile by @jedevc in #10957Fixed
gitnow automatically determines the protocol when using a scheme-less URL (instead of defaulting tohttps://) by @jedevc in #10960What to do next?
v0.18.16Compare Source
What to do next?
v0.18.15Compare Source
Added
container.Existsanddirectory.ExistsAPI for testing if a file exists, and optionally type (e.g. file or directory) by @alexcb in #10449containerpodmannerdctlfinchgitRef.commonAncestorAPI to find the common ancestor between two references by @jedevc in #10849Fixed
httpandgitstdlib commands by @helderco in #10845includeDeprecatedarg by @jedevc in #10889Contributors
Special thanks to our external contributors this release!
What to do next?
v0.18.14Compare Source
Fixed a regression causing the LLM to see malformed non-string scalar responses.
What to do next?
v0.18.13Compare Source
Added
GitRepository.latestVersionfield to get a git ref of the latest semver tag by @jedevc in #10679Fixed
~), commonly used in Bitbucket Server for user-scoped repositories (e.g.,extranet.example.com/bitbucket/scm/~user/repo.git) by @grouville in #10692What to do next?
v0.18.12Compare Source
Changed
OrbStack users were by default ending up with a custom CA in their engine and automatically installed in each container, adding overhead. We now ignore that CA cert by default to improve performance in the default case.
Fixed
What to do next?
v0.18.11Compare Source
🔥 Breaking Changes
value) for SDKs that support enum members (see SDK-specific release notes).
This may break loading modules (including in compat mode) that were
previously setting enum default values in function signatures, if those values
weren't valid - these would only trigger an error on calling that function,
while now it's triggered during module initialization.
namespaceargument fromCacheVolumeby @sipsma in #10586This arg was only ever meant for internal usage within the API's
implementation, but previously couldn't be hidden from the public API. Now it
is properly internal-only and thus not accessible to external clients. Any use
of the arg should just be removed.
sweepengine option name tosweepSizeby @jedevc in #10560This option was previously incorrectly named - the docs were correct, but the
code was not properly updated.
Added
New top-level
cloudAPI for getting information about the dagger cloud session by @marcosnils in #10580This includes the
cloud.traceURLfield for getting the current trace URL.Allow
--no-mod/-Mflag in more places to disable automatic module loading by @jedevc in #10595Propagate exit codes properly in shell by @helderco in #10438
The
.exitbuiltin was added.The
.waitbuiltin now accepts a list of job ids to wait for. For example:The above example should exit with status code 1 because
.waitreturnsthe exit of the first command that failed. This is different from Bash
which returns the exit status of the last command in the list, even if
it succeeded when others have failed.
Add
httpAuthUsernameparameter togitto allow basic auth with usernames by @grouville in #10605Additionally this field is populated from the client's git credential helper,
similarly to passwords.
You can now set
$DAGGER_PROGRESSto configure your preferred progress format globally, instead of passing the--progressflag every time by @vito in #10617Added a new
dotsprogress format, which is a much quieter alternative toplainsuitable for use in CI by @vito in #10617This format focuses on printing logs and reduces everything else to just
green dots and red Xes for success/failure, similar to test runners like RSpec.
Demo
Changed
.help <module>by @helderco in #10487ExecErrorso you can see the stdout/stderr and exit code programmatically by @vito in #10585Fixed
In one scenario this reduced heap usage from 14GB to 7GB.
In the same scenario as the high log volume fix, this further reduced heap usage from 7GB to 1.4GB.
plainprogress format being way more verbose than intended by @vito in #10636Directory.withSymlinkaccidentally escaping from the selected sub-directory by @alexcb in #10563What to do next?
v0.18.10Compare Source
Added
Improved TUI progress visualizer by @vito in #10468
Added
Ehotkey in TUI for-E/--no-exitat runtime by @vito in #10511Add support for using engine-wide default GC policy when triggering manual local cache prunes by @sipsma in #10505
The manual prune API now supports an optional arg to enable honoring the engine-wide default automatic GC configuration. e.g.
New
container.WithSymlinkanddirectory.WithSymlinkAPI for creating symbolic links by @alexcb in #10435Unbundle the SDK interface to support partial implementation by @TomChv in #10525
When you implement a custom SDK, you can now choose to just implement part of the
SDKinterface depending on your needs.That means:
dagger developno longer fails if your SDK just implement theRuntimeinterface, it will simply not callCodegenif not defined.dagger callanddagger functionsgive a clear error message if it's not supported by the SDK.See #7707 for more information.
Fixed
Dependencies
What to do next?
v0.18.9Compare Source
Added
gc.sweepSizesetting forengine.jsonby @jedevc in #10420This setting allows controlling how much data to clear in a single GC sweep.
Changed
noCachearg toHost.directoryto auto reload contextual directories in persistent shell/prompt sessions by @cwlbraa in #10342Fixed
_prefix not being reserved for interpreter builtins by @helderco in #10452What to do next?
v0.18.8Compare Source
Fixed
What to do next?
v0.18.7Compare Source
Fixed
gitAPI calls consistently respect proxy settings by @jedevc in #10352Added
Query.httpby @jedevc in #10317nameallows overriding the filename to downloadpermissionsallows setting the permissions on the resulting fileauthHeaderallows passing a secret in theAuthorizationHTTP headerWhat to do next?
v0.18.6Compare Source
🔥 Breaking Changes
Cache URI-based secrets based on their plaintext value rather than the URI by @sipsma in #10311
Previously, the "cache key" for URI-based secrets (e.g.
env://FOO,file:///some/path, etc.) was the URI string. This meant that operations including the secret (e.g. as an environment variable in a Container) would be cached based on the URI value. If two secrets from different clients had the same URI but different plaintext values, cache for operations that include them would be shared.In many cases, even when URIs were the same, the plaintext of secrets could be meaningfully different, which made this behavior surprising and lead to unexpected results.
Now, URI-based secrets are cached based on secure hashes of their plaintext value. Two secrets that have the same URI but different plaintext values will be cached separately, and operations that include them will not share cache.
However, there are cases where users do want secrets with different plaintexts to share cache, e.g. secrets that rotate in plaintext value frequently but aren't meaningfully different and thus shouldn't bust the cache of operations that include them.
To continue supporting those use cases, there is a new optional
cacheKeyargument toSecretthat can be used to specify a custom cache key. If provided, the cache key will be used instead of the default plaintext-based cache key, allowing any secrets sharing that cache-key to be cached together.SDKs can provide this as an optional argument to the
Secretconstructor. Other example usages:dagger shell:
dagger shell -c "some-function --secret-arg $(secret env://FOO --cache-key my-cache-key)"dagger call (supports a special syntax that sets the cache key via a query param in the URI):
dagger call some-function --secret-arg env://FOO?cacheKey=my-cache-keyAdded
GitRepository.branchesAPI by @jedevc in #10250Filetop-level field added to allow easier creation ofFileobjects by @jedevc in #10290Fixed
GitRepository.tagspatternsarg is now respected for local git repositories by @jedevc in #10250dagger callby @helderco in #10305Container.buildwith a Dockerfile that isFROM scratchby @sipsma in #10332What to do next?
v0.18.5Compare Source
Added
deptharg toGitRef.treeto control the depth of a clone by @jedevc in #9980GitRef.reffield for resolving the full ref string for a reference by @jedevc in #9980Fixed
Git.treecheckouts by @jedevc in #9980withExecwhen secrets created bySetSecretin function calls are included by @sipsma in #10260What to do next?
v0.18.4Compare Source
Fixed
DirectoryandFileflags by @helderco in #10169CurrentModuleAPI during SDK module initialization by @sipsma in #10213llm.withModelfrom a module function by @sipsma in #10230.plaintexton a URI-based secret from a module w/ cache hit by @sipsma in #10223setSecretprovided empty plaintext value and passed between function calls by @sipsma in #10223Experimental
What to do next?
v0.18.3Compare Source
Added
--recursiveflag fordagger developby @jedevc in #9860Container.buildandDirectory.dockerBuildby @sipsma in #10088ttlfor local secret caching for vault by @rajatjindal in #9997Fixed
Experimental
What to do next?
v0.18.2Compare Source
Changed
with-execpositional arguments by @helderco in #10063Fixed
What to do next?
v0.18.1Compare Source
Added
addressAPI: a unified address to load containers, directories, secrets, etc by @shykes in #10770Changeset.exportfunction to allow exporting changesets from the API by @jedevc in #11064Fixed
Directory.withFileswhich set the wrong path by @jedevc in #11087What to do next?
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.