Breaking Changes
dagit key is no longer part of the instance configuration schema and must be removed from dagster.yaml files before they can be used.-d can no longer be used as a command-line argument to specify a mode. Use --mode instead.--preset instead of --preset-name to specify a preset to the pipeline launch command.config argument to the ConfigMapping, @composite_solid, @solid, SolidDefinition, @executor, ExecutorDefinition, @logger, LoggerDefinition, @resource, and ResourceDefinition APIs, which we deprecated in 0.8.0. Use config_schema instead.New
-d or --working-directory can be used to specify a working directory in any command that
takes in a -f or --python_file argument.create_dagster_pandas_dataframe_type. This is the currently
supported API for custom pandas data frame type creation.configured API for predefining configuration for various definitions: https://legacy-docs.dagster.io/overview/configuration/#configuredBreaking Changes
AssetMaterializations no longer accepts a dagster_type argument. This reverts the change
billed as "AssetMaterializations can now have type information attached as metadata." in the
previous release.New
AssetMaterializations can now have type information attached as metadata. See the materializations tutorial for moreBugfixes
context['ts'] was not passed properlytask_acks_late: true that resulted in a 409 Conflict error from Kubernetes. The creation of a Kubernetes Job will now be aborted if another Job with the same name existsDocs
New
CeleryK8sRunLauncher supports termination of pipeline runs. This can be accessed via the
“Terminate” button in Dagit’s Pipeline Run view or via “Cancel” in Dagit’s All Runs page. This
will terminate the run master K8s Job along with all running step job K8s Jobs; steps that are
still in the Celery queue will not create K8s Jobs. The pipeline and all impacted steps will
be marked as failed. We recommend implementing resources as context managers and we will execute
the finally block upon termination.K8sRunLauncher supports termination of pipeline runs.AssetMaterialization events display the asset key in the Runs view.Bugfixes
DagsterInstance was leaving database connections open due to not being
garbage collected.Enum in resource config schemas resulted in an error.New
configured API makes it easy to create configured versions of resources.Materialization event type in favor of the new AssetMaterialization event type,
which requires the asset_key parameter. Solids yielding Materialization events will continue
to work as before, though the Materialization event will be removed in a future release.intermediate_storage_defs argument to ModeDefinition, which accepts a
list of IntermediateStorageDefinitions, e.g. s3_plus_default_intermediate_storage_defs.
As before, the default includes an in-memory intermediate and a local filesystem intermediate
storage.system_storage_defs argument to ModeDefinition in favor of
intermediate_storage_defs. system_storage_defs will be removed in 0.10.0 at the earliest.@intermediate_storage decorator, which makes it easy to define intermediate
storages.s3_file_manager and local_file_manager resources to replace the file managers
that previously lived inside system storages. The airline demo has been updated to include
an example of how to do this:
https://github.com/dagster-io/dagster/blob/0.8.8/examples/airline_demo/airline_demo/solids.py#L171.Bugfixes
default_value config on a field now works as expected. #2725