dbt-core 1.6.0-b3 - June 08, 2023
Breaking Changes
- Dropped support for Python 3.7 (#7082)
- Switch from dbt-metrics to dbt-semantic-interfaces for MetricNode definitions (#7500, #7404)
Features
- Add support for materialized views (#6911)
- Optimize template rendering for common parse scenarios (#7449)
- nodes in packages respect custom generate_alias_name, generate_schema_name, generate_database_name macro overrides defined in packages (#7444)
- Enable state for deferral to be separate from state for selectors (#7300)
- add access selection syntax (#7738)
- add project_name to manifest metadata (#7752)
- dbt retry (#7299)
- Revamp debug, add --connection flag. Prepare for future refactors/interface changes. (#7104)
- Validate public models are not materialized as ephemeral (#7226)
- Added support for parsing and serializaing semantic models (#7499, #7503)
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)
- Add
%
to adapter suite test cases forpersist_docs
(#7698) - Improve warnings for constraints and materialization types (#7335)
- Incorrect paths used for "target" and "state" directories (#7465)
- fix StopIteration error when publication for project not found (#7711)
- Using version 0 works when resolving single model (#7372)
- Fix empty --warn-error-options error message (#7730)
- send sql header on contract enforcement (#7714)
- Fixed doc link in selector.py (#7533)
- Fix null-safe equals comparison via
equals
(#7778) - Log PublicationArtifactAvailable even when partially parsing unchanged public models (#7782)
- fix RuntimeError when removing project dependency from dependencies.yml (#7743)
Under the Hood
- Fix flaky test for --fail-fast (#7744)
- Create
add_from_artifact
to populatestate_relation
field of nodes (#7551)
Contributors
- @dave-connors-3 (#7738)
- @quazi-irfan (#7533)
- @sdebruyn (#7082)
- @stu-k (#7299, #7551)