pypi dbt-core 0.21.0rc1
dbt 0.21.0rc1

latest releases: 1.8.7, 1.8.6, 1.6.18...
3 years ago

An initial release candidate for v0.21.0.

Features

  • Experimental parser now detects macro overrides of ref, source, and config builtins. (#3581, #3582)
  • Add connect_timeout profile configuration for Postgres and Redshift adapters. (#3581, #3582)
  • Enhance BigQuery copy materialization (#3570, #3606):
    • to simplify config (default usage of copy_materialization='table' if is is not found in global or local config)
    • to let copy several source tables into single target table at a time. (Google doc reference)
  • Customize ls task JSON output by adding new flag --output-keys (#3778, #3395)
  • Add support for execution project on BigQuery through profile configuration (#3707, #3708)
  • Skip downstream nodes during the build task when a test fails. (#3597, #3792)
  • Added default field in the selectors.yml to allow user to define default selector (#3448, #3875, #3892)
  • Added timing and thread information to sources.json artifact (#3804, #3894)
  • Update cli and rpc flags for the build task to align with other commands (--resource-type, --store-failures) (#3596, #3884)

Fixes

  • Support BigQuery-specific aliases target_dataset and target_project in snapshot configs (#3694, #3834)
  • dbt debug shows a summary of whether all checks passed or not (#3831, #3832)
  • Fix issue when running the deps task after the list task in the RPC server (#3846, #3848, #3850)
  • Fix bug with initializing a dataclass that inherits from typing.Protocol, specifically for dbt.config.profile.Profile (#3843, #3855)
  • Introduce a macro, get_where_subquery, for tests that use where config. Alias filtering subquery as dbt_subquery instead of resource identifier (#3857, #3859)
  • Use group by column_name in accepted_values test for compatibility with most database engines (#3905, #3906)
  • Separated table vs view configuration for BigQuery since some configuration is not possible to set for tables vs views. (#3682, #3691)

Under the hood

  • Use GitHub Actions for CI (#3688, #3669)
  • Better dbt hub registry packages version logging that prompts the user for upgrades to relevant packages (#3560, #3763, #3759)
  • Allow the default seed macro's SQL parameter, %s, to be replaced by dispatching a new macro, get_binding_char(). This enables adapters with parameter marker characters such as ? to not have to override basic_load_csv_rows. (#3622, #3623)
  • Alert users on package rename (hub.getdbt.com#180, #3825)
  • Add adapter_unique_id to invocation context in anonymous usage tracking, to better understand dbt adoption (#3713, #3796)
  • Specify macro_namespace = 'dbt' for all dispatched macros in the global project, making it possible to dispatch to macro implementations defined in packages. Dispatch generate_schema_name and generate_alias_name (#3456, #3851)
  • Retry transient GitHub failures during download (#3729)

Contributors:

Don't miss a new dbt-core release

NewReleases is sending notifications on new releases.