dbt Core 1.0.0b1
Pre-release
Pre-release
An initial beta release for v1.0.0.
Breaking changes
- The two type of test definitions are now "singular" and "generic" (instead of "data" and "schema", respectively). The
test_type:
selection method acceptstest_type:singular
andtest_type:generic
. (It will also accepttest_type:schema
andtest_type:data
for backwards compatibility) (#3234, #3880). Not backwards compatible: The--data
and--schema
flags todbt test
are no longer supported, and tests no longer have the tags'data'
and'schema'
automatically applied. - Deprecated the use of the
packages
argadapter.dispatch
in favor of themacro_namespace
arg. (#3895)
Features
- Normalize global CLI arguments/flags (#2990, #3839)
- Turns on the static parser by default and adds the flag
--no-static-parser
to disable it. (#3377, #3939) - Generic test FQNs have changed to include the relative path, resource, and column (if applicable) where they are defined. This makes it easier to configure them from the
tests
block indbt_project.yml
(#3259, #3880 - Turn on partial parsing by default (#3867, #3989)
Fixes
- Add generic tests defined on sources to the manifest once, not twice (#3347, #3880)
- Skip partial parsing if certain macros have changed (#3810, #3982)
- Enable cataloging of unlogged Postgres tables (3961, #3993)
- Fix multiple disabled nodes (#4013, #4018)
- Fix multiple partial parsing errors (#3996, #4020)
- Return an error instead of a warning when runing with
--warn-error
and no models are selected (#4006, #4019)
Under the hood
- Enact deprecation for
materialization-return
and replace deprecation warning with an exception. (#3896) - Build catalog for only relational, non-ephemeral nodes in the graph (#3920)
- Enact deprecation to remove the
release
arg from theexecute_macro
method. (#3900) - Enact deprecation for default quoting to be True. Override for the
dbt-snowflake
adapter so it staysFalse
. (#3898) - Enact deprecation for object used as dictionaries when they should be dataclasses. Replace deprecation warning with an exception for the dunder methods of
__iter__
and__len__
for all superclasses of FakeAPIObject. (#3897) - Enact deprecation for
adapter-macro
and replace deprecation warning with an exception. (#3901) - Add warning when trying to put a node under the wrong key. ie. A seed under models in a
schema.yml
file. (#3899) - Plugins for
redshift
,snowflake
, andbigquery
have moved to separate repos:dbt-redshift
,dbt-snowflake
,dbt-bigquery
- Change the default dbt packages installation directory to
dbt_packages
fromdbt_modules
. Also renamemodule-path
topackages-install-path
to allow default overrides of package install directory. Deprecation warning added for projects using the olddbt_modules
name without specifying apackages-install-path
. (#3523) - Update the default project paths to be
analysis-paths = ['analyses']
andtest-paths = ['tests]
. Also have starter project setanalysis-paths: ['analyses']
from now on. (#2659) - Define the data type of
sources
as an array of arrays of string in the manifest artifacts. (#3966, #3967)
Contributors: