New
- When Dagster loads an event from the event log of a type that it doesn’t recognize (for example, because it was created by a newer version of Dagster) it will now return a placeholder event rather than raising an exception.
AssetsDefinition.from_graph()
now accepts agroup_name
parameter. All assets created by from_graph are assigned to this group.- You can define an asset from an op via a new utility method
AssetsDefinition.from_op
. Dagster will infer asset inputs and outputs from the ins/outs defined on the@op
in the same way as@graphs
. - A default executor definition can be defined on a repository using the
default_executor_def
argument. The default executor definition will be used for all op/asset jobs that don’t explicitly define their own executor. JobDefinition.run_request_for_partition
now accepts atags
argument (Thanks @jburnich!)- In Dagit, the graph canvas now has a dotted background to help it stand out from the rest of the UI.
@multi_asset
now accepts a resource_defs argument. The provided resources can be either used on the context, or satisfy the io manager requirements of the outs on the asset.- In Dagit, show execution timezone on cron strings, and use 12-hour or 24-hour time format depending on the user’s locale.
- In Dagit, when viewing a run and selecting a specific step in the Gantt chart, the compute log selection state will now update to that step as well.
define_asset_job
andto_job
now can now accept apartitions_def
argument and aconfig
argument at the same time, as long as the value for theconfig
argument is a hardcoded config dictionary (not aPartitionedConfig
orConfigMapping
)
Bugfixes
- Fixed an issue where entering a string in the launchpad that is valid YAML but invalid JSON would render incorrectly in Dagit.
- Fixed an issue where steps using the
k8s_job_executor
anddocker_executor
would sometimes return the same event lines twice in the command-line output for the step. - Fixed type annotations on the
@op
decorator (Thanks Milos Tomic!) - Fixed an issue where job backfills were not displayed correctly on the Partition view in Dagit.
UnresolvedAssetJobDefinition
now supports therun_request_for_partition
method.- Fixed an issue in Dagit where the Instance Overview page would briefly flash a loading state while loading fresh data.
Breaking Changes
- Runs that were executed in newer versions of Dagster may produce errors when their event logs are loaded in older versions of Dagit, due to new event types that were recently added. Going forward, Dagit has been made more resilient to handling new events.
Deprecations
- Updated deprecation warnings to clarify that the deprecated metadata APIs will be removed in 0.16.0, not 0.15.0.
Experimental
- If two assets are in the same group and the upstream asset has a multi-segment asset key, the downstream asset doesn’t need to specify the full asset key when declaring its dependency on the upstream asset - just the last segment.
Documentation
- Added dedicated sections for op, graph, and job Concept docs in the sidenav
- Moved graph documentation from the jobs docs into its own page
- Added documentation for assigning asset groups and viewing them in Dagit
- Added apidoc for
AssetOut
andAssetIn
- Fixed a typo on the Run Configuration concept page (Thanks Wenshuai Hou!)
- Updated screenshots in the software-defined assets tutorial to match the new Dagit UI
- Fixed a typo in the Defining an asset section of the software-defined assets tutorial (Thanks Daniel Kim!)
All Contributors
0.15.0...0.15.1
See All Contributors
[docs] - Asset grouping [CON-295] (#8375)
by @erinkcochran87
Run retries docs (#8367)
by @johannkm
[dagit] Update the linking between asset groups + jobs (#8377)
by @bengotow
[docs] - New Jobs & Graphs structure [CON-289] (#8035)
by @erinkcochran87
remove old asset lineage from docs (#8382)
by @sryza
fix docs lint (#8387)
by @gibsondan
Patch op definition resolution for assets in GQL (#8384)
by @smackesey
Remove broken/unused examples from dbt guide (#8383)
by @erinkcochran87
chore(graphql): remove description linter (#8376)
by @rexledesma
Make asset invocation error if resources conflict (#8390)
by @dpeng817
materialize_in_process -> materialize_to_memory (#8391)
by @dpeng817
apidoc for AssetOut and AssetIn (#8388)
by @sryza
Fix problems from "remove old asset lineage from docs (#8382)" (#8389)
by @sryza
Changelog 0.15.0 (#8395)
by @clairelin135
[docs] - Update config docs with assets (#8370)
by @smackesey
[dagit] Fix launch parameters when an asset is partitioned and a graph (#8393)
by @bengotow
Automation: versioned docs for 0.15.0
by @elementl-devtools
Migration guide 0.15.0 (#8392)
by @smackesey
fix type error (#8379)
by @salazarm
add tags in run_request_for_partition (#8344)
by @jburnich
Add example asset groups (#8371)
by @clairelin135
[docs] - Update types to contain assets (#8341)
by @clairelin135
[dagit] Change compute log op when selecting in Gantt (#8397)
by @hellendag
docs: default to master version when vercel env is not prod (#8396)
by @yuhan
docs: when gh discussion dont use Link and open in a new tab (#8402)
by @yuhan
Add redirect (#8412)
by @erinkcochran87
[ui] Add optional joined prop for buttons (#7491)
by @benpankow
Fix deserialization of RunsFilter (#8415)
by @johannkm
docs: fix slack hooks example (#8403)
by @rexledesma
Handle errors with an empty stack trace in dagit error viewer (#8427)
by @gibsondan
[dagster-io/ui] Move ConfigEditor to ui (#8413)
by @hellendag
[dagster-io/ui] Release v1.0.5 (#8433)
by @hellendag
[ui] Ensure JoinedButtons works with nested Buttons (#8419)
by @benpankow
bump target deprecation versions (#8386)
by @sryza
[docs] - Add SDA upgrade guide to sidenav (#8437)
by @erinkcochran87
swap string run config parser from JSON to YAML (#8436)
by @gibsondan
[dagit] Send YAML insead of parsed JSON (#8443)
by @hellendag
fix some grammar (#8435)
by @prha
add types-proto pin (#8447)
by @gibsondan
[docs] - Clarify the relationship between ops and assets on op concept page (#8409)
by @sryza
[dagit] Repair loading state on Instance Overview (#8450)
by @hellendag
fix typo (#8451)
by @clairelin135
Update runtime type checks in resource definition invocation (#8432)
by @gibsondan
remove dagster io repo mention (#8459)
by @yuhan
Update docs/content/concepts/configuration/configured.mdx (#8464)
by @wenhoujx
fix(dagster/decorators): op_decorator documentation update (#8179)
by @mict0
[dagit] “Canvas” dots on the DAGs 🎨 (#8455)
by @bengotow
[dbt-python-assets] demo repository (#8460)
by @OwenKephart
[dagit] Fix UI issues around graph backed assets (#8458)
by @bengotow
[dagit] Repair empty config case in Launchpad (#8483)
by @hellendag
[dagster-io/ui] MaybeTooltip (#8445)
by @hellendag
add backfills for jobs (#8496)
by @prha
fix lint error in types concepts page (#8495)
by @sryza
post-0.15.0 docs fixups (#8470)
by @sryza
[hopefully easy] annotations of resource_defs become mapping (#8501)
by @dpeng817
remove unsupported python version for python dbt example (#8503)
by @sryza
Accept a group_name in AssetsDefinition.from_graph() (#8406)
by @shalabhc
Clarify points in direct operation section (#8497)
by @erinkcochran87
[dagit] Remove code for a disabled layout feature (#8478)
by @bengotow
[dagit] Loosen the state machine expectations around run steps (#8480)
by @bengotow
Add constant for default io manager key (#8506)
by @dpeng817
annotations of logger_defs become mapping (#8502)
by @dpeng817
[dagit] Add timezone and 24h format to humanCronString (#8520)
by @hellendag
Fix module structure on deploying docs examples (#8511)
by @dpeng817
Make default_executor_def on repo work on jobs (#8490)
by @dpeng817
refactor stephandler API to support the same yield+write pattern as other executors (#8357)
by @gibsondan
graphql test case for a memoization job (#8442)
by @gibsondan
[dagit] Collapse assets in Run header if many of them (#8533)
by @hellendag
Fallback to a placeholder event on a new event type that we don't recognize instead of raising an exception (#8542)
by @gibsondan
solid to op in graph error (#8539)
by @sryza
new typed events for step process start/end and resource init/teardown (#8368)
by @gibsondan
Use status column for reading runs from sql storage (#8528)
by @johannkm
[ui] Add ability to supply TokenizingField with raw tokens (#8444)
by @benpankow
resources_init mypy (#8536)
by @dpeng817
fix executor test (#8566)
by @gibsondan
AssetsDefinition.from_op (#8508)
by @clairelin135
Add resource_defs arg to multi_assets (#8529)
by @dpeng817
Add run_request_for_partition to UnresolvedAssetJobDefinition (#8441)
by @smackesey
[docs] - Update screenshots in tutorials (#8494)
by @erinkcochran87
group-based asset dependency resolution (#8517)
by @sryza
enable setting partitions_def and config at the same time (#8581)
by @sryza
changelog for 0.15.1 (#8582)
by @sryza
0.15.1
by @elementl-devtools