An engine to run your pipelines in containers
APACHE-2.0 License
Published by marcosnils over 1 year ago
This SDK is compatible with CLI+Runner version v0.3.12
🐹 https://pkg.go.dev/dagger.io/[email protected]
Full Changelog: https://github.com/dagger/dagger/compare/sdk/go/v0.4.4...sdk/go/v0.4.5
Published by dagger-ci over 1 year ago
Full Changelog: https://github.com/dagger/dagger/compare/v0.3.10...v0.3.12
Published by sipsma over 1 year ago
This SDK is compatible with CLI+Runner version v0.3.10
⬡ https://www.npmjs.com/package/@dagger.io/dagger
Published by sipsma over 1 year ago
This SDK is compatible with CLI+Runner version v0.3.10
🐍 https://pypi.org/project/dagger-io/0.3.1/
📖 https://dagger-io.readthedocs.io/en/sdk-python-v0.3.1/
Published by sipsma over 1 year ago
This SDK is compatible with CLI+Runner version v0.3.10
🐹 https://pkg.go.dev/dagger.io/[email protected]
Published by dagger-ci over 1 year ago
Published by sipsma almost 2 years ago
This SDK is compatible with CLI+Runner version v0.3.9
Check out a demo of the latest changes here.
⬡ https://www.npmjs.com/package/@dagger.io/dagger
withTimestamps
for normalizing file/dir timestamps by @vito in https://github.com/dagger/dagger/pull/4106
Published by sipsma almost 2 years ago
This SDK is compatible with CLI+Runner version v0.3.9.
🐍 https://pypi.org/project/dagger-io/0.3.0/
📖 https://dagger-io.readthedocs.io/en/sdk-python-v0.3.0/
Python has a static typing system, not meant to be run at runtime. We depend on the IDE to complain or running a static type checker manually like mypy, but some users reported no issues from their environment only to later fail with an obscure AST conversion or API error, which is hard to debug especially if the problem is in a nested query.
Now you get a fail fast error, as soon as a type mismatch is encountered, which enables the SDK to pinpoint exactly which method and parameter has an unexpected type.
Warning
This is a breaking change if you relied on implicit conversion from a compatible type. For example, passing aDirectoryID
when aDirectory
is required no longer works (it used to work by accident of implementation detail). Or passing anint
when astr
is required. Previously this was converted implicitly but now it’s validated.
In version 0.2.0 we removed the need to pass ID
instances to steps in the pipeline, but there were some inconsistencies left. Now you should only need to pass around objects. The only fields that accept an ID
are there in case you do have one and need it’s corresponding object (e.g., def file(id: FileID) -> File
).
In general, you shouldn’t need to worry about ID
s.
Warning
Breaking changes:
Container.with_rootfs(id)
no longer accepts aDirectoryID
. Only aDirectory
object.- Top level
Client
fields that have anid
argument, no longer accept an object, only anID
.
There were quite a few changes in the way the engine is provisioned. It should mostly be hidden unless you’re customizing it to some extent.
This is part of a larger effort to Simplify and clarify how to open a GraphQL session.
Warning
Breaking changes:
dagger.Config
no longer hashost
andsecret_token
. Those can only be configured viaDAGGER_SESSION_PORT
andDAGGER_SESSION_TOKEN
environment variables. Usually managed by the SDK for you unless you’ve done some customizations.- The catch-all
dagger.Error
was renameddagger.DaggerError
.dagger.ProvisionError
was also added in order to target provision specific failures.- All exceptions were moved to
dagger.exceptions
, although if it’s not importable fromdagger
directly it should be considered subject to change.
The default timeout for executing a query was 5 min. That was too short for most workloads and there was no good default other than just remove it.
If you had to set a bigger timeout in dagger.Config(execution_timeout: int)
, then you can remove that setting unless you want to specifically enforce a limit.
withTimestamps
for normalizing file/dir timestamps by @vito in https://github.com/dagger/dagger/pull/4106
Published by sipsma almost 2 years ago
This SDK is compatible with CLI+Runner version v0.3.9
🐹 https://pkg.go.dev/dagger.io/[email protected]
withTimestamps
for normalizing file/dir timestamps by @vito in https://github.com/dagger/dagger/pull/4106
Published by dagger-ci almost 2 years ago
Published by dagger-ci almost 2 years ago
NOTE: this release had a bug in the CLI (fixed here) and should not be used. Use the v0.3.9 release or later instead.
Published by slumbering almost 2 years ago
⬡ https://www.npmjs.com/package/@dagger.io/dagger
Published by sipsma almost 2 years ago
⬡ https://www.npmjs.com/package/@dagger.io/dagger/v/0.2.1
Published by sipsma almost 2 years ago
🐍 https://pypi.org/project/dagger-io/0.2.1/
📖 https://dagger-io.readthedocs.io/en/sdk-python-v0.2.1/
Published by sipsma almost 2 years ago
🐹 https://pkg.go.dev/dagger.io/[email protected]
Published by dagger-ci almost 2 years ago
Published by slumbering almost 2 years ago
⬡ https://www.npmjs.com/package/@dagger.io/dagger
Published by dagger-ci almost 2 years ago
Published by gerhard almost 2 years ago
🐹 https://pkg.go.dev/dagger.io/[email protected]
contents
mandatory by @aluzzardi in https://github.com/dagger/dagger/pull/3911
sdk:all:*
target by @aluzzardi in https://github.com/dagger/dagger/pull/3881
Published by gerhard almost 2 years ago
⬡ https://www.npmjs.com/package/@dagger.io/dagger
contents
mandatory by @aluzzardi in https://github.com/dagger/dagger/pull/3911