Skip to content

Releases: dbt-labs/dbt-core

dbt 0.20.0rc1

04 Jun 19:23
Compare
Choose a tag to compare
dbt 0.20.0rc1 Pre-release
Pre-release

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. The packages argument to dispatch 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 the macro_namespace argument. (#3362, #3363, #3383, #3403)

Features

  • Support optional updated_at config parameter with check 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 from build_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 and original_file_path as keys to json responses from the list task (#3356, #3384)
  • Use shutil.which so Windows can pick up git.bat as a git executable (#3035, #3134)
  • Add ssh-client and update git version (using buster backports) in Docker image (#3337, #3338)
  • Add tags and meta 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 with adapter.dispatch (#3419, #3420)

dbt 0.19.2rc2

03 Jun 17:24
Compare
Choose a tag to compare
dbt 0.19.2rc2 Pre-release
Pre-release

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. The packages argument to dispatch 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 the macro_namespace argument. (#3362, #3363, #3383, #3403)

Fixes

  • Fix references to macros with package names when rendering schema tests (#3324, #3345)

dbt 0.20.0b1

03 May 11:50
Compare
Choose a tag to compare
dbt 0.20.0b1 Pre-release
Pre-release

An initial beta release for v0.20.0.

dbt 0.19.2rc1

28 Apr 21:55
Compare
Choose a tag to compare
dbt 0.19.2rc1 Pre-release
Pre-release

An initial release candidate for v0.19.2.

Fixes

  • Ensure that schema test macros are properly processed (#3229, #3272)
  • Fix regression for default project/database for BigQuery connections (#3218, #3305)

dbt 0.19.1

31 Mar 18:19
Compare
Choose a tag to compare

Fixes

  • On BigQuery, fix regressions for insert_overwrite incremental strategy with int64 and timestamp 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 dependency PyICU (#3160, #3161)
  • Add an event to track resource counts (#3050, #3157)

Contributors:

dbt 0.19.1rc2

25 Mar 13:51
Compare
Choose a tag to compare
dbt 0.19.1rc2 Pre-release
Pre-release

A second release candidate for v0.19.1.

Fixes

  • Pass service-account scopes to gcloud-based oauth (#3040, #3041)

Contributors:

dbt 0.18.2

22 Mar 15:39
Compare
Choose a tag to compare

Under the hood

  • Pin agate<1.6.2 to avoid installation errors relating to its new dependency PyICU (#3160, #3161)

dbt 0.19.1rc1

15 Mar 19:32
Compare
Choose a tag to compare
dbt 0.19.1rc1 Pre-release
Pre-release

An initial release candiate for v0.19.1.

dbt 0.18.2rc1

12 Mar 20:03
Compare
Choose a tag to compare
dbt 0.18.2rc1 Pre-release
Pre-release

An initial release candidate of v0.18.2.

dbt 0.19.1b2

15 Feb 17:07
Compare
Choose a tag to compare
dbt 0.19.1b2 Pre-release
Pre-release

A second beta release of v0.19.1.