github dagster-io/dagster 1.13.32
1.13.32 (core) / 0.29.32 (libraries)

one hour ago

Breaking Changes

  • [dagster-ssh] SSHResource and ssh_resource now verify host keys by default: no_host_key_check defaults to False. Hosts must be listed in /etc/ssh/ssh_known_hosts, ~/.ssh/known_hosts or the new known_hosts_file, or the connection fails. Set no_host_key_check=True to accept hosts that are not in known_hosts, as before. get_tunnel also verifies host keys, and dagster-ssh now requires paramiko 2.12 or later.

New

  • The DuckDB, Snowflake and BigQuery I/O managers, the BigQuery and Snowflake fetch_last_updated_timestamps helpers, and the Snowflake dbt project component now validate the schema, table, database and column names they write into SQL, and raise a DagsterInvariantViolationError before running any statement when a name is not a plain or dialect-quoted identifier. columns entries 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 a columns key 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-dbt now supports Python 3.14. On Python 3.14, it requires dbt-core 1.12 or dbt v2 (Fusion). (Thanks, @kang8!)
  • [dagster-dbt] DbtProjectComponent and DbtProject now accept a dbt_executable setting that selects the dbt binary used for both project preparation and execution.
  • [dagster-dbt] Added an opt-in enable_materialization_kinds translator setting that surfaces dbt's config.materialized as a Dagster asset kind.
  • [dagster-dbt] Asset check results from dbt tests run with dbt Fusion now include dagster_dbt/failed_row_count metadata.
  • [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_assets now raises a DagsterInvalidDefinitionError at 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 unique name in your dbt YAML to resolve it. (Thanks, @RealBhupesh!)
  • [dagster-dbt] @dbt_assets and DbtProjectComponent now raise a DagsterInvalidDefinitionError at 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_assets now raises an error when selector is combined with select or exclude, matching dbt-core.
  • [dagster-dbt] With dbt Fusion, a dbt list that fails while evaluating an @dbt_assets selection now raises dbt's error instead of loading the definition with no assets. (Thanks, @hoangchunghien!)
  • [dagster-dbt] DbtCliResource now honors the DBT_PROFILE and DBT_TARGET environment variables when building the dbt adapter used for metadata fetches, matching the dbt subprocess. Explicit profile and target configuration still takes precedence. (Thanks, @Vamsi-klu!)
  • [dagster-dbt] dagster-dbt no longer depends on GitPython, and importing it no longer requires git. Remote dbt projects are now shallow-cloned with the git CLI, which must be on PATH. Set DAGSTER_DBT_GIT_CLONE_TIMEOUT_SECONDS to change the default 30-minute clone timeout. (Thanks, @Vamsi-klu!)
  • [dagster-dbt] dagster-dbt now depends on sqlglot[c]>=29 instead of the deprecated sqlglot[rs], which drops the unmaintained sqlglotrs package and its import-time DeprecationWarning. (Thanks, @vibhanshu-s!)
  • [dagster-fivetran] FivetranWorkspace and FivetranResource now emit a deprecation warning when disable_schedule_on_trigger is left unset. The default will change from True to False in 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, httpGet and tcpSocket handlers set on readinessProbe, livenessProbe and startupProbe. Previously, the chart replaced a readiness or liveness handler with the default exec probe, 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.25 and its default busybox image is now busybox:1.37.0, and the chart no longer uses bitnami/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 FAILING and cancel its already-submitted runs when the daemon restarted while the backfill was still submitting runs. (Thanks, @HynekBlaha!)
  • Fixed an issue where an AutomationConditionSensorDefinition with use_user_code_server=True could lose its cursor after a tick was interrupted while submitting runs, which made conditions such as on_cron skip a cycle.
  • [dg] dg api schedule and sensor commands now report the next tick time instead of leaving it empty.
  • [dagster-dbt] Fixed an issue where running dbt build through DbtCliResource on dbt Fusion failed with a KeyError when the build included unit tests. (Thanks, @theonedom!)
  • [dagster-dbt] Fixed a KeyError when streaming events from dbt source freshness with dbt Fusion.
  • [dagster-dbt] Fixed a KeyError when streaming events from a dbt Fusion dbt build that 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_assets selection with dbt list no longer leaves a target/<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 exclude set on @dbt_assets or DbtProjectComponent now 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 run dbt deps while another process was running dbt parse, which caused failures in parallel backfills. (Thanks, @Sakshamm-Goyal!)
  • [dagster-dbt] Fixed an issue where a DbtProjectComponent translation that sets key or key_prefix overrode an explicit meta.dagster.asset_key on a dbt node, which broke downstream dependencies. An explicit meta.dagster.asset_key now takes precedence. (Thanks, @SHANNWD!)
  • [dagster-dbt] Fixed an issue where build_freshness_checks_from_dbt_assets could target last-update freshness checks at the wrong asset key when given multiple @dbt_assets definitions 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 TypeError when a YAML selector used indirect_selection: cautious or buildable. (Thanks, @drakeo338!)
  • [dagster-dbt] Fixed a Conflicting metadata found on AssetDeps error when multiple DbtProjectComponents 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 DagsterFivetranTranslator subclasses that read database, service or scheduling fields producing mismatched asset keys, or failing, when materializing with sync_and_poll or the polling sensor. Run-time storage_kind metadata is now the destination service, matching load time.
  • [dagster-ssh] SSHResource without a username now connects as the current OS user, and SSHResource without a password, key_file or key_string now uses the host's IdentityFile from ~/.ssh/config. Both previously raised a DagsterInvalidInvocationError.

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.

Don't miss a new dagster release

NewReleases is sending notifications on new releases.