Breaking Changes
- [dagster-ssh]
SSHResourceandssh_resourcenow verify host keys by default:no_host_key_checkdefaults toFalse. Hosts must be listed in/etc/ssh/ssh_known_hosts,~/.ssh/known_hostsor the newknown_hosts_file, or the connection fails. Setno_host_key_check=Trueto accept hosts that are not in known_hosts, as before.get_tunnelalso verifies host keys, anddagster-sshnow requires paramiko 2.12 or later.
New
- The DuckDB, Snowflake and BigQuery I/O managers, the BigQuery and Snowflake
fetch_last_updated_timestampshelpers, and the Snowflake dbt project component now validate the schema, table, database and column names they write into SQL, and raise aDagsterInvariantViolationErrorbefore running any statement when a name is not a plain or dialect-quoted identifier.columnsentries that are aliases (a AS b), expressions (count(*)), Snowflake semi-structured paths (v:path) or dotted names on Snowflake are no longer accepted, and an output whose definition metadata has acolumnskey is now checked before the write. - [ui] The run timeline popover now shows an icon when a run is a retry.
- [ui] Reduced background re-rendering in the asset catalog and asset pages when polling returns unchanged data.
- [ui] Reduced the size of workspace responses for code locations whose sensors have large cursors.
- [ui] Reduced the number of requests made by the asset overview page for assets with many upstream or downstream assets.
- [dagster-dbt] Support for the dbt Fusion engine (dbt v2) has moved from preview to beta.
- [dagster-dbt]
dagster-dbtnow supports Python 3.14. On Python 3.14, it requires dbt-core 1.12 or dbt v2 (Fusion). (Thanks, @kang8!) - [dagster-dbt]
DbtProjectComponentandDbtProjectnow accept adbt_executablesetting that selects the dbt binary used for both project preparation and execution. - [dagster-dbt] Added an opt-in
enable_materialization_kindstranslator setting that surfaces dbt'sconfig.materializedas a Dagster asset kind. - [dagster-dbt] Asset check results from dbt tests run with dbt Fusion now include
dagster_dbt/failed_row_countmetadata. - [dagster-dbt] Column lineage is now emitted for models that select from ephemeral models, tracing through the ephemeral model to its upstream assets.
- [dagster-dbt] Column lineage is now faster to compute for wide dbt models. (Thanks, @DobsX!)
- [dagster-dbt]
@dbt_assetsnow raises aDagsterInvalidDefinitionErrorat definition time when distinct dbt tests map to the same asset check. Previously, one of the checks was silently dropped and the run failed later. Give each colliding test a uniquenamein your dbt YAML to resolve it. (Thanks, @RealBhupesh!) - [dagster-dbt]
@dbt_assetsandDbtProjectComponentnow raise aDagsterInvalidDefinitionErrorat definition time when the translator returns more than one distinct partitions definition, instead of failing at run time with an unclear partition key parsing error. (Thanks, @TheGlitching!) - [dagster-dbt] With dbt Fusion,
@dbt_assetsnow raises an error whenselectoris combined withselectorexclude, matching dbt-core. - [dagster-dbt] With dbt Fusion, a
dbt listthat fails while evaluating an@dbt_assetsselection now raises dbt's error instead of loading the definition with no assets. (Thanks, @hoangchunghien!) - [dagster-dbt]
DbtCliResourcenow honors theDBT_PROFILEandDBT_TARGETenvironment variables when building the dbt adapter used for metadata fetches, matching the dbt subprocess. Explicitprofileandtargetconfiguration still takes precedence. (Thanks, @Vamsi-klu!) - [dagster-dbt]
dagster-dbtno longer depends on GitPython, and importing it no longer requires git. Remote dbt projects are now shallow-cloned with thegitCLI, which must be onPATH. SetDAGSTER_DBT_GIT_CLONE_TIMEOUT_SECONDSto change the default 30-minute clone timeout. (Thanks, @Vamsi-klu!) - [dagster-dbt]
dagster-dbtnow depends onsqlglot[c]>=29instead of the deprecatedsqlglot[rs], which drops the unmaintainedsqlglotrspackage and its import-timeDeprecationWarning. (Thanks, @vibhanshu-s!) - [dagster-fivetran]
FivetranWorkspaceandFivetranResourcenow emit a deprecation warning whendisable_schedule_on_triggeris left unset. The default will change fromTruetoFalsein a future release, so set it explicitly to keep the current behavior. - [dagster-sling]
fetch_row_count()now skips the row count, with a warning, when the table name is not a plain or backtick-quoted identifier. - [helm] User code deployments now apply
grpc,httpGetandtcpSockethandlers set onreadinessProbe,livenessProbeandstartupProbe. Previously, the chart replaced a readiness or liveness handler with the defaultexecprobe, and added a second handler to a startup probe, which Kubernetes rejected. (Thanks, @benritchie!) - [helm] The chart's default PostgreSQL image is now
postgres:14.25and its default busybox image is nowbusybox:1.37.0, and the chart no longer usesbitnami/minideb. An existing bundled PostgreSQL database may report a collation version mismatch after the upgrade; reindex text indexes on persisted databases.
Bugfixes
- Fixed an issue where a job backfill could move to
FAILINGand cancel its already-submitted runs when the daemon restarted while the backfill was still submitting runs. (Thanks, @HynekBlaha!) - Fixed an issue where an
AutomationConditionSensorDefinitionwithuse_user_code_server=Truecould lose its cursor after a tick was interrupted while submitting runs, which made conditions such ason_cronskip a cycle. - [dg]
dg apischedule and sensor commands now report the next tick time instead of leaving it empty. - [dagster-dbt] Fixed an issue where running
dbt buildthroughDbtCliResourceon dbt Fusion failed with aKeyErrorwhen the build included unit tests. (Thanks, @theonedom!) - [dagster-dbt] Fixed a
KeyErrorwhen streaming events fromdbt source freshnesswith dbt Fusion. - [dagster-dbt] Fixed a
KeyErrorwhen streaming events from a dbt Fusiondbt buildthat runs dbt functions. - [dagster-dbt] Fixed column lineage being dropped, and the event stream failing on tests, for dbt models and tests that call a dbt function (UDF). A singular test that refs one model and calls a function is now loaded as an asset check on that model.
- [dagster-dbt] With dbt Fusion, evaluating an
@dbt_assetsselection withdbt listno longer leaves atarget/<invocation-id>/directory behind on every definitions load. (Thanks, @hoangchunghien!) - [dagster-dbt] Materializing a large subset of dbt assets (over 200 dbt resources) no longer leaves a full copy of the dbt project, including
target/, behind in the temp directory. - [dagster-dbt] The
excludeset on@dbt_assetsorDbtProjectComponentnow also applies when only some of the dbt assets are materialized, so resources it excludes, such as dbt unit tests (resource_type:unit_test), no longer run in subsetted runs. (Thanks, @avison9!) - [dagster-dbt] Fixed a race in
DbtProject.prepare_if_dev()where concurrent processes could rundbt depswhile another process was runningdbt parse, which caused failures in parallel backfills. (Thanks, @Sakshamm-Goyal!) - [dagster-dbt] Fixed an issue where a
DbtProjectComponenttranslationthat setskeyorkey_prefixoverrode an explicitmeta.dagster.asset_keyon a dbt node, which broke downstream dependencies. An explicitmeta.dagster.asset_keynow takes precedence. (Thanks, @SHANNWD!) - [dagster-dbt] Fixed an issue where
build_freshness_checks_from_dbt_assetscould target last-update freshness checks at the wrong asset key when given multiple@dbt_assetsdefinitions with different translators. (Thanks, @Vivek1898!) - [dagster-dbt] Fixed YAML selectors that reference other selectors (
method: selector) failing with dbt-core 1.12. (Thanks, @Gout999!) - [dagster-dbt] Fixed a
TypeErrorwhen a YAML selector usedindirect_selection: cautiousorbuildable. (Thanks, @drakeo338!) - [dagster-dbt] Fixed a
Conflicting metadata found on AssetDepserror when multipleDbtProjectComponents built from the same dbt project depend on the same source. (Thanks, @zhaowj000!) - [dagster-dlt] Fixed the row count query for tables whose names need quoting.
- [dagster-fivetran] Fixed custom
DagsterFivetranTranslatorsubclasses that readdatabase,serviceor scheduling fields producing mismatched asset keys, or failing, when materializing withsync_and_pollor the polling sensor. Run-timestorage_kindmetadata is now the destination service, matching load time. - [dagster-ssh]
SSHResourcewithout ausernamenow connects as the current OS user, andSSHResourcewithout apassword,key_fileorkey_stringnow uses the host'sIdentityFilefrom~/.ssh/config. Both previously raised aDagsterInvalidInvocationError.
Dagster Plus
- Organization admins can now view and revoke every user token in their organization from the Tokens settings page, by selecting "All users".
- The Dagster+ MCP server adds tools to launch, check and cancel backfills, manage custom metrics, redeploy a code location, and get an asset's column lineage.
- [ui] The Jobs item in the navigation now appears without waiting for every code location to load.