dbt-core v1.7.0b1
Pre-release
Pre-release
dbt-core 1.7.0-b1 - August 17, 2023
Breaking Changes
- Removed the FirstRunResultError and AfterFirstRunResultError event types, using the existing RunResultError in their place. (#7963)
Features
- Enable re-population of metadata vars post-environment change during programmatic invocation (#8010)
- Added support to configure a delimiter for a seed file, defaults to comma (#3990)
- Allow specification of
create_metric: true
on measures (#8125)
Fixes
- Copy dir during
dbt deps
if symlink fails (#7428, #8223) - Fixed double-underline (#5301)
- Copy target_schema from config into snapshot node (#6745)
- Enable converting deprecation warnings to errors (#8130)
- Add status to Parse Inline Error (#8173)
- Ensure
warn_error_options
get serialized ininvocation_args_dict
(#7694) - Stop detecting materialization macros based on macro name (#6231)
- Update
dbt deps
download retry logic to handleEOFError
exceptions (#6653) - Improve handling of CTE injection with ephemeral models (#8213)
- Fix unbound local variable error in
checked_agg_time_dimension_for_measure
(#8230) - Ensure runtime errors are raised for graph runnable tasks (compile, show, run, etc) (#8166)
- Fix retry not working with log-file-max-bytes (#8297)
- Detect changes to model access, version, or latest_version in state:modified (#8189)
- Add connection status into list of statuses for dbt debug (#8350)
- fix fqn-selection for external versioned models (#8374)
- Fix: DbtInternalError after model that previously ref'd external model is deleted (#8375)
- Fix using list command with path selector and project-dir (#8385)
- Remedy performance regression by only writing run_results.json once. (#8360)
Docs
- Corrected spelling of "Partiton" (dbt-docs/#8100)
- Remove static SQL codeblock for metrics (dbt-docs/#436)
- fixed comment util.py (dbt-docs/#None)
- Display contract and column constraints on the model page (dbt-docs/#433)
- Display semantic model details in docs (dbt-docs/#431)
Under the Hood
- Refactor flaky test pp_versioned_models (#7781)
- format exception from dbtPlugin.initialize (#8152)
- A way to control maxBytes for a single dbt.log file (#8199)
- Ref expressions with version can now be processed by the latest version of the high-performance dbt-extractor library. (#7688)
- Bump manifest schema version to v11, freeze manifest v10 (#8333)
- add tracking for plugin.get_nodes calls (#8344)
- add internal flag: --no-partial-parse-file-diff to inform whether to compute a file diff during partial parsing (#8363)
- Add return values to a number of functions for mypy (#8389)
- Fix mypy warnings for ManifestLoader.load() (#8401)
- Use python version 3.10.7 in Docker image. (#8444)
Dependencies
- Bump mypy from 1.3.0 to 1.4.0 (#7912)
- Bump mypy from 1.4.0 to 1.4.1 (#8219)
- Update pin for click<9 (#8232)
- Add upper bound to sqlparse pin of <0.5 (#8236)
- Support dbt-semantic-interfaces 0.2.0 (#8250)