dbt-core 1.8.0-rc1 - May 02, 2024
Breaking Changes
- Update the default behaviour of require_explicit_package_overrides_for_builtin_materializations to True. (#10062)
Features
- Package selector syntax for the current package (#6891)
- Add require_explicit_package_overrides_for_builtin_materializations to dbt_project.yml flags, which can be used to opt-out of overriding built-in materializations from packages (#10007)
- add --empty flag to dbt build command (#10026)
- Ability to
silence
warnings viawarn_error_options
(#9644) - Allow aliases
error
forinclude
andwarn
forexclude
inwarn_error_options
(#9644)
Fixes
- Add NodeRelation to SavedQuery Export (#9534)
- Use consistent secret scrubbing with the log function. (#9987)
- Validate against empty strings in package definitions (#9985)
- Fix default value for indirect selection in selector cannot overwritten by CLI flag and env var (#9976, #7673)
- Simplify error message if test severity isn't 'warn' or 'error' (#9715)
- Support overriding source level loaded_at_field with a null table level definition (#9320)
Docs
- Enable display of unit tests (dbt-docs/#501)
- Unit tests not rendering (dbt-docs/#506)
Under the Hood
- Split up deferral across parsing (adding 'defer_relation' from state manifest) and runtime ref resolution" (#9199)
- Raise deprecation warning if installed package overrides built-in materialization (#9971)
- Use the SECRET_ENV_PREFIX from dbt_common instead of duplicating it in dbt-core (#10018)
- Enable use of record mode via environment variable (#10045)
- Consistent naming + deprecation warnings for "legacy behavior" flags (#10062)
Dependencies
- Update the agate pin to "agate>=1.7.0,<1.10" (#9934)
Contributors
- @barton996 (#6891)
- @mjkanji (#9934)