github dbt-labs/dbt-core v1.1.0rc1
dbt-core v1.1.0rc1

latest releases: v1.9.0b3, v1.8.8, v1.9.0b2...
pre-release2 years ago

dbt-core 1.1.0-rc1 - April 12, 2022

Breaking Changes

  • For adapter plugin maintainers only: Internal adapter methods set_relations_cache + _relations_cache_for_schemas each take an additional argument, for use with experimental CACHE_SELECTED_ONLY config (#4688, #4860)

Features

  • Add --cache_selected_only flag to cache schema object of selected models only. (#4688, #4860)
  • Support custom names for generic tests (#3348, #4898)
  • Enable dbt jobs to run downstream models based on fresher sources. Compare the source freshness results between previous and current state. If any source is fresher and/or new in current vs. previous state, dbt will run and test the downstream models in scope. Example command: dbt build --select source_status:fresher+ (#4050, #4256)
  • converting unique key as list tests to new pytest format (#4882, #4958)
  • Add a variable called selected_resources in the Jinja context containing a list of all the resources matching the nodes for the --select, --exclude and/or --selector parameters. (#3471, #5001)
  • Support the DO_NOT_TRACK environment variable from the consoledonottrack.com initiative (#3540, #5000)
  • Add --no-print global flag (#4710, #4854)
  • add enabled as a source config (#3662, #5008)

Fixes

  • Inconsistent timestamps between inserted/updated and deleted rows in snapshots (#4347, #4513)
  • Catch more cases to retry package retrieval for deps pointing to the hub. Also start to cache the package requests. (#4849, #4982)
  • Make the warning message for a full event deque more descriptive (#4962, #5011)
  • Fix hard delete snapshot test (#4916, #5020)

Docs

  • Fixed capitalization in UI for exposures of type: ml (#4984, #4995)
  • List packages and tags in alphabetical order (#4984, #4995)
  • Bump jekyll from 3.8.7 to 3.9.0 (#4984, #4995)
  • Updated docker README to reflect necessity of using BuildKit (#4990, #5018)

Under the Hood

  • add performance regression testing runner without orchestration (#4021, #4602)
  • Add Graph Compilation and Adapter Cache tracking (#4625, #4912)
  • Create a dbt.tests.adapter release when releasing dbt and postgres (#4812, #4948)
  • update docker image to use python 3.10.3 (#4904, #4963)
  • updates black to 22.3.0 which fixes dependency incompatibility when running with precommit. (#4904, #4972)
  • Adds config util for ad-hoc creation of project objs or dicts (#4808, #4981)
  • Remove TableComparison and convert existing calls to use dbt.tests.util (#4778, #4986)
  • Remove unneeded create_schema in snapshot materialization (#4742, #4993)
  • Added .git-blame-ignore-revs file to mask re-formmating commits from git blame (#5004, #5019)
  • Convert version tests to pytest (#5024, #5026)
  • Updating tests and docs to show that we now support Python 3.10 (#4974, #5025)
  • Update --version output and logic (#4724, #5029)
  • (#5033, #5032)

Contributors

Don't miss a new dbt-core release

NewReleases is sending notifications on new releases.