A second release candidate for dbt-core v1.0.0. Changes since rc1
:
Breaking changes
- Restrict secret env vars (prefixed
DBT_ENV_SECRET_
) toprofiles.yml
+packages.yml
only. Raise an exception if a secret env var is used elsewhere (#4310, #4311) - Reorder arguments to
config.get()
so thatdefault
is second (#4273, #4297)
Features
- Avoid error when missing column in YAML description (#4151, #4285)
- Allow
--defer
flag todbt snapshot
(#4110, #4296) - Install prerelease packages when
version
explicitly references a prerelease version, regardless ofinstall-prerelease
status (#4243, #4295) - Add data attributes to json log messages (#4301)
- Add event codes to all log events (#4319)
Fixes
- Fix serialization error with missing quotes in metrics model ref (#4252, #4287)
- Correct definition of 'created_at' in ParsedMetric nodes (#4298, #4299)
Under the hood
- Add --indirect-selection parameter to profiles.yml and builtin DBT_ env vars; stringified parameter to enable multi-modal use (#3997, #4270)
- Fix filesystem searcher test failure on Python 3.9 (#3689, #4271)
- Clean up deprecation warnings shown for
dbt_project.yml
config renames (#4276, #4291) - Fix metrics count in compiled project stats (#4290, #4292)
- First pass at supporting more dbt tasks via python lib (#4200)
Contributors
- @kadero (#4285, #4296)
- @joellabes (#4295)