pypi dbt-postgres 0.20.0rc1
dbt 0.20.0rc1

latest releases: 1.6.14, 1.7.14, 1.8.0rc1...
2 years ago

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)

Don't miss a new dbt-postgres release

NewReleases is sending notifications on new releases.