Skip to content

Releases: dbt-labs/dbt-core

dbt-core v1.5.4

28 Jul 14:59
Compare
Choose a tag to compare

dbt-core 1.5.4 - July 28, 2023

Fixes

  • Ensure warn_error_options get serialized in invocation_args_dict (#7694)
  • Improve handling of CTE injection with ephemeral models (#8213)

Under the Hood

  • Refactor flaky test pp_versioned_models (#7781)

dbt-core v1.5.4rc1

27 Jul 17:47
Compare
Choose a tag to compare
dbt-core v1.5.4rc1 Pre-release
Pre-release

dbt-core 1.5.4-rc1 - July 27, 2023

Fixes

  • Ensure warn_error_options get serialized in invocation_args_dict (#7694)
  • Improve handling of CTE injection with ephemeral models (#8213)

Under the Hood

  • Refactor flaky test pp_versioned_models (#7781)

dbt-core v1.6.0rc1

17 Jul 21:06
Compare
Choose a tag to compare
dbt-core v1.6.0rc1 Pre-release
Pre-release

dbt-core 1.6.0-rc1 - July 17, 2023

Features

  • Add validate_sql method to BaseAdapter with implementation for SQLAdapter (#7839)
  • Support validation of metrics and semantic models. (#7969)
  • Begin populating depends_on of metric nodes (#7854)
  • Enumerate supported materialized view features for dbt-postgres (#6911)

Fixes

  • add negative part_number arg for split part macro (#7915)
  • Fix accidental propagation of log messages to root logger. (#7872)
  • Fixed an issue which blocked debug logging to stdout with --log-level debug, unless --debug was also used. (#7872)
  • Fix query comment tests (#7845)
  • Inline query emit proper error message (#7940)
  • Nicer error message if model with enforced contract is missing 'columns' specification (#7943)
  • include 'v' in ModelNodeArgs.unique_id (#8039)
  • Fix fail-fast behavior (including retry) (#7785)
  • Remove create_metric as a SemanticModel.Measure property because it currently doesn't do anything (#8064)
  • Remove VOLUME declaration within Dockerfile (#4784)
  • Fix Dockerfile.test (#7352)
  • Detect breaking contract changes to versioned models (#8030)
  • Update DryRunMethod test classes ValidateSqlMethod naming (#7839)
  • Fix typo in NonAdditiveDimension implementation (#8088)

Docs

Under the Hood

  • Add option to specify partial parse file (#7911)
  • Add semantic_models to resource counts (#8077)

Dependencies

  • Pin click>=8.1.1,<8.1.4 (#8050)
  • Bump dbt-semantic-interfaces to ~=0.1.0rc1 (#8082)

Contributors

dbt-core v1.5.3

17 Jul 18:02
Compare
Choose a tag to compare

dbt-core 1.5.3 - July 17, 2023

Fixes

  • Add --target-path to more CLI subcommands (#7646)
  • Remove limitation on use of sqlparse 0.4.4 (#7515)
  • Move project_root contextvar into events.contextvars (#7937)
  • Inline query emit proper error message (#7940)
  • Allow on_schema_change = fail for contracted incremental models (#7975)
  • Nicer error message if model with enforced contract is missing 'columns' specification (#7943)
  • Detect breaking contract changes to versioned models (#8030)

Dependencies

  • Pin click>=7.0,<8.1.4 (#8050)

Contributors

dbt-core v1.6.0b8

30 Jun 19:23
Compare
Choose a tag to compare
dbt-core v1.6.0b8 Pre-release
Pre-release

dbt-core 1.6.0-b8 - June 30, 2023

Features

  • This change adds new selector methods to the state selector. Namely, state:unmodified and state:old. (#7564)
  • dbt clone (#7258)
  • Support '_'-delimited fqn matching for versioned models and matching on Path.stem for path selection (#7639)
  • Store time_spline table configuration in semantic manifest (#7938)

Fixes

  • Fix CTE insertion position when the model uses WITH RECURSIVE (#7350)
  • Unified to UTC (#7664)
  • Remove limitation on use of sqlparse 0.4.4 (#7515)
  • Move project_root contextvar into events.contextvars (#7937)
  • Fix typo in ModelNodeArgs (#7991)
  • Allow on_schema_change = fail for contracted incremental models (#7975)

Docs

Under the Hood

  • Populate metric input measures (#7884)

Contributors

dbt-core v1.6.0b7

28 Jun 16:08
Compare
Choose a tag to compare
dbt-core v1.6.0b7 Pre-release
Pre-release

dbt-core 1.6.0-b7 - June 28, 2023

Features

  • Add merge as valid incremental strategy for postgres (#1880)
  • Handle external model nodes in state:modified (#7563)
  • Add invocation_command to flags (#6051)
  • Add thread_id context var (#7941)
  • Add partial parsing support for semantic models (#7897)
  • Add restrict-access to dbt_project.yml (#7713)
  • allow setting enabled and depends_on_nodes from ModelNodeArgs (#7506)

Fixes

  • Raise better error message when dispatching a package that is not installed (#5801)
  • add access to ModelNodeArgs for external node building (#7890)

Under the Hood

  • Update mashumaro to 3.8.1 (#7950)
  • Refactor: entry point for cross-project ref (#7954)

Contributors

dbt-core v1.6.0b6

23 Jun 21:16
Compare
Choose a tag to compare
dbt-core v1.6.0b6 Pre-release
Pre-release

dbt-core 1.6.0-b6 - June 23, 2023

Fixes

  • Allow semantic model measure exprs to be defined with ints and bools in yaml (#7865)
  • Update use_discrete_percentile and use_approximate_percentile to be non optional and default to False (#7866)

dbt-core v1.6.0b5

22 Jun 20:13
Compare
Choose a tag to compare
dbt-core v1.6.0b5 Pre-release
Pre-release

dbt-core 1.6.0-b5 - June 22, 2023

Features

  • Enable setting packages in dependencies.yml (#7372, #7736)
  • Add AdapterRegistered event log message (#7038)
  • Further integrate semantic models into the DAG and partial parsing module (#7800)

Fixes

  • Fix regression in run-operation to not require the name of the package to run (#7753)
  • Allow dbt show --inline preview of private models (#7837)
  • Skip jinja parsing of metric filters (#7864)
  • Fix a bad implicit string conversion regression in debug --config-dir code. (#7774)
  • Fix UninstalledPackagesFoundError error message to use correct packages specified path (#7921)
  • Fix: safe remove of external nodes from nodes.depends_on (#7924)

Under the Hood

  • Upgrade to dbt-semantic-interfaces v0.1.0dev5 (#7853)
  • Refactoring: consolidating public_nodes and nodes (#7890)
  • Resolve SemanticModel ref is the same way as other refs (#7822)
  • Move from dbt-semantic-intefaces 0.1.0dev5 to 0.1.0dev7 (#7898)
  • Don't jinja render packages from dependencies.yml (#7905)

Dependencies

  • Bump mypy from 0.981 to 1.0.1 (#7027)

dbt-core v1.5.2

22 Jun 16:49
Compare
Choose a tag to compare

dbt-core 1.5.2 - June 22, 2023

Features

  • add access selection syntax (#7738)
  • Add AdapterRegistered event log message (#7038)

Fixes

  • Add --target-path to dbt snapshot command. (#7418)
  • Constraint rendering fixes: wrap check expression in parentheses, foreign key 'references', support expression in all constraint types (#7417, #7480, #7416)
  • Fix warning messages for deprecated dbt_project.yml configs (#7424)
  • Respect column 'quote' config in model contracts (#7370)
  • Improve warnings for constraints and materialization types (#7335)
  • Incorrect paths used for "target" and "state" directories (#7465)
  • Using version 0 works when resolving single model (#7372)
  • Fix empty --warn-error-options error message (#7730)
  • send sql header on contract enforcement (#7714)
  • Fix path selector when using project-dir (#7819)
  • Allow dbt show --inline preview of private models (#7837)
  • Updating this error message to point to the correct URL (#7789)

Contributors

dbt-core v1.5.2rc2

16 Jun 16:10
Compare
Choose a tag to compare
dbt-core v1.5.2rc2 Pre-release
Pre-release

dbt-core 1.5.2-rc2 - June 16, 2023

Features

  • add access selection syntax (#7738)
  • Add AdapterRegistered event log message (#7038)

Fixes

  • Constraint rendering fixes: wrap check expression in parentheses, foreign key 'references', support expression in all constraint types (#7417, #7480, #7416)
  • Fix warning messages for deprecated dbt_project.yml configs (#7424)
  • Respect column 'quote' config in model contracts (#7370)
  • Fix path selector when using project-dir (#7819)
  • Allow dbt show --inline preview of private models (#7837)
  • Updating this error message to point to the correct URL (#7789)

Contributors