Releases: dbt-labs/dbt-core
Releases · dbt-labs/dbt-core
dbt-core v1.5.4
dbt-core v1.5.4rc1
dbt-core v1.6.0rc1
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 aSemanticModel.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
- Fix broken links in
CONTRIBUTING.md
. (dbt-docs/#8018)
Under the Hood
Dependencies
Contributors
dbt-core v1.5.3
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
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
- add note before running integration tests (dbt-docs/#nothing)
Under the Hood
- Populate metric input measures (#7884)
Contributors
dbt-core v1.6.0b7
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
Contributors
dbt-core v1.6.0b6
dbt-core v1.6.0b5
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
dbt-core 1.5.2 - June 22, 2023
Features
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
dbt-core 1.5.2-rc2 - June 16, 2023
Features
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)