Releases: dbt-labs/dbt-core
Releases · dbt-labs/dbt-core
dbt 0.20.0rc1
An initial release candidate for v0.20.0.
Breaking changes
- Fix adapter.dispatch macro resolution when statically extracting macros. Introduce new project-level
dispatch
config. Thepackages
argument todispatch
no longer supports macro calls; there is backwards compatibility for existing packages. The argument will no longer be supported in a future release, instead provide themacro_namespace
argument. (#3362, #3363, #3383, #3403)
Features
- Support optional
updated_at
config parameter withcheck
strategy snapshots. If not supplied, will use current timestamp (default). (#1844, #3376) - Add the opt-in
--use-experimental-parser
flag (#3307, #3374) - Store test failures in the database (#517, #903, #2593, #3316)
- Add new test configs:
where
,limit
,warn_if
,error_if
,fail_calc
(#3258, #3321, #3336) - Move partial parsing to end of parsing and implement new partial parsing method. (#3217, #3364)
- Save doc file node references and use in partial parsing. (#3425, #3432)
Fixes
- Fix compiled sql for ephemeral models (#3317, #3318)
- Now generating
run_results.json
even when no nodes are selected (#3313, #3315) - Add missing
packaging
dependency (#3312, #3339) - Fix references to macros with package names when rendering schema tests (#3324, #3345)
- Stop clobbering default keyword arguments for jinja test definitions (#3329, #3340)
- Fix unique_id generation for generic tests so tests with the same FQN but different configuration will run. (#3254, #3335)
- Update the snowflake adapter to only comment on a column if it exists when using the persist_docs config (#3039, #3149)
- Add a better error messages for undefined macros and when there are less packages installed than specified in
packages.yml
. (#2999) - Separate
compiled_path
frombuild_path
, and print the former alongside node error messages (#1985, #3327) - Fix exception caused when running
dbt debug
with BigQuery connections (#3314, #3351) - Raise better error if snapshot is missing required configurations (#3381, #3385)
- Fix
dbt run
errors caused from receiving non-JSON responses from Snowflake with Oauth (#3350
Docs
- Reversed the rendering direction of relationship tests so that the test renders in the model it is defined in (docs#181, docs#183)
- Support dots in model names: display them in the graphs (docs#184, docs#185)
- Render meta tags for sources (docs#192, docs#193)
Under the hood
- Added logic for registry requests to raise a timeout error after a response hangs out for 30 seconds and 5 attempts have been made to reach the endpoint (#3177, #3275)
- Added support for invoking the
list
task via the RPC server (#3311, #3384) - Added
unique_id
andoriginal_file_path
as keys to json responses from thelist
task (#3356, #3384) - Use shutil.which so Windows can pick up git.bat as a git executable (#3035, #3134)
- Add
ssh-client
and updategit
version (using buster backports) in Docker image (#3337, #3338) - Add
tags
andmeta
properties to the exposure resource schema. (#3404, #3405) - Update test sub-query alias (#3398, #3414)
- Bump schema versions for run results and manifest artifacts (#3422, #3421)
- Add deprecation warning for using
packages
argument withadapter.dispatch
(#3419, #3420)
dbt 0.19.2rc2
A second release candidate for v0.19.2.
Breaking changes
- Fix adapter.dispatch macro resolution when statically extracting macros. Introduce new project-level
dispatch
config. Thepackages
argument todispatch
no longer supports macro calls; there is backwards compatibility for existing packages. The argument will no longer be supported in a future release, instead provide themacro_namespace
argument. (#3362, #3363, #3383, #3403)
Fixes
dbt 0.20.0b1
An initial beta release for v0.20.0.
dbt 0.19.2rc1
dbt 0.19.1
Fixes
- On BigQuery, fix regressions for
insert_overwrite
incremental strategy withint64
andtimestamp
partition columns (#3063, #3095, #3098) - Fix compiled sql for ephemeral models (#3139, #3056)
- Pass service-account scopes to gcloud-based oauth (#3040, #3041)
Under the hood
- Bump werkzeug upper bound dependency to
<v2.0
(#3011) - Performance fixes for many different things (#2862, #3034)
- Update code to use Mashumaro 2.0 (#3138)
- Pin
agate<1.6.2
to avoid installation errors relating to its new dependencyPyICU
(#3160, #3161) - Add an event to track resource counts (#3050, #3157)
Contributors:
dbt 0.19.1rc2
dbt 0.18.2
dbt 0.19.1rc1
An initial release candiate for v0.19.1.
dbt 0.18.2rc1
An initial release candidate of v0.18.2.
dbt 0.19.1b2
A second beta release of v0.19.1.