.changes/v0.18.11.md
namespace argument from CacheVolume by @sipsma in https://github.com/dagger/dagger/pull/10586 sweep engine option name to sweepSize by @jedevc in https://github.com/dagger/dagger/pull/10560
This option was previously incorrectly named - the docs were correct, but the
code was not properly updated.New top-level cloud API for getting information about the dagger cloud session by @marcosnils in https://github.com/dagger/dagger/pull/10580
This includes the cloud.traceURL field for getting the current trace URL.
Allow --no-mod/-M flag in more places to disable automatic module loading by @jedevc in https://github.com/dagger/dagger/pull/10595
Propagate exit codes properly in shell by @helderco in https://github.com/dagger/dagger/pull/10438
The .exit builtin was added.
The .wait builtin now accepts a list of job ids to wait for. For example:
container | from alpine | with-exec false | stdout &
job1=$!
container | from alpine | with-exec echo ok | stdout &
job2=$!
.echo ".wait $job1 $job2"
.wait $job1 $job2
The above example should exit with status code 1 because .wait returns
the 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 httpAuthUsername parameter to git to allow basic auth with usernames by @grouville in https://github.com/dagger/dagger/pull/10605
Additionally this field is populated from the client's git credential helper,
similarly to passwords.
You can now set $DAGGER_PROGRESS to configure your preferred progress format globally, instead of passing the --progress flag every time by @vito in https://github.com/dagger/dagger/pull/10617
Added a new dots progress format, which is a much quieter alternative to plain suitable for use in CI by @vito in https://github.com/dagger/dagger/pull/10617
This 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
.help <module> by @helderco in https://github.com/dagger/dagger/pull/10487ExecError so you can see the stdout/stderr and exit code programmatically by @vito in https://github.com/dagger/dagger/pull/10585plain progress format being way more verbose than intended by @vito in https://github.com/dagger/dagger/pull/10636Directory.withSymlink accidentally escaping from the selected sub-directory by @alexcb in https://github.com/dagger/dagger/pull/10563