diff --git a/.bumpversion.cfg b/.bumpversion.cfg index cac0fc31b65..30adf12abce 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.6.1 +current_version = 1.6.2 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.6.2.md b/.changes/1.6.2.md new file mode 100644 index 00000000000..4503f551f19 --- /dev/null +++ b/.changes/1.6.2.md @@ -0,0 +1,20 @@ +## dbt-core 1.6.2 - September 07, 2023 + +### Breaking Changes + +- Removed the FirstRunResultError and AfterFirstRunResultError event types, using the existing RunResultError in their place. ([#7963](https://github.com/dbt-labs/dbt-core/issues/7963)) + +### Features + +- Accept a `dbt-cloud` config in dbt_project.yml ([#8438](https://github.com/dbt-labs/dbt-core/issues/8438)) + +### Fixes + +- Copy dir during `dbt deps` if symlink fails ([#7428](https://github.com/dbt-labs/dbt-core/issues/7428), [#8223](https://github.com/dbt-labs/dbt-core/issues/8223)) +- fix ambiguous reference error for tests and versions when model name is duplicated across packages ([#8327](https://github.com/dbt-labs/dbt-core/issues/8327), [#8493](https://github.com/dbt-labs/dbt-core/issues/8493)) +- Fix "Internal Error: Expected node not found in manifest" when depends_on set on ModelNodeArgs ([#8506](https://github.com/dbt-labs/dbt-core/issues/8506)) +- Fix snapshot success message ([#7583](https://github.com/dbt-labs/dbt-core/issues/7583)) +- Parse the correct schema version from manifest ([#8544](https://github.com/dbt-labs/dbt-core/issues/8544)) + +### Contributors +- [@anjutiwari](https://github.com/anjutiwari) ([#7428](https://github.com/dbt-labs/dbt-core/issues/7428), [#8223](https://github.com/dbt-labs/dbt-core/issues/8223)) diff --git a/.changes/unreleased/Breaking Changes-20230725-171359.yaml b/.changes/unreleased/Breaking Changes-20230725-171359.yaml deleted file mode 100644 index 92c34117e84..00000000000 --- a/.changes/unreleased/Breaking Changes-20230725-171359.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Breaking Changes -body: Removed the FirstRunResultError and AfterFirstRunResultError event types, using - the existing RunResultError in their place. -time: 2023-07-25T17:13:59.441682-04:00 -custom: - Author: peterallenwebb - Issue: "7963" diff --git a/.changes/unreleased/Features-20230830-212828.yaml b/.changes/unreleased/Features-20230830-212828.yaml deleted file mode 100644 index 935256b9c70..00000000000 --- a/.changes/unreleased/Features-20230830-212828.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Accept a `dbt-cloud` config in dbt_project.yml -time: 2023-08-30T21:28:28.976746-05:00 -custom: - Author: emmyoop - Issue: "8438" diff --git a/.changes/unreleased/Fixes-20230424-210734.yaml b/.changes/unreleased/Fixes-20230424-210734.yaml deleted file mode 100644 index 3f70881eb90..00000000000 --- a/.changes/unreleased/Fixes-20230424-210734.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Copy dir during `dbt deps` if symlink fails -time: 2023-04-24T21:07:34.336797+05:30 -custom: - Author: anjutiwari - Issue: "7428 8223" diff --git a/.changes/unreleased/Fixes-20230824-161024.yaml b/.changes/unreleased/Fixes-20230824-161024.yaml deleted file mode 100644 index d39ee14ce99..00000000000 --- a/.changes/unreleased/Fixes-20230824-161024.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: fix ambiguous reference error for tests and versions when model name is duplicated across - packages -time: 2023-08-24T16:10:24.437362-04:00 -custom: - Author: michelleark - Issue: "8327 8493" diff --git a/.changes/unreleased/Fixes-20230828-125858.yaml b/.changes/unreleased/Fixes-20230828-125858.yaml deleted file mode 100644 index 2346370c485..00000000000 --- a/.changes/unreleased/Fixes-20230828-125858.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: 'Fix "Internal Error: Expected node not found in manifest" when - depends_on set on ModelNodeArgs' -time: 2023-08-28T12:58:58.061228-04:00 -custom: - Author: michelleark - Issue: "8506" diff --git a/.changes/unreleased/Fixes-20230830-150803.yaml b/.changes/unreleased/Fixes-20230830-150803.yaml deleted file mode 100644 index b26e7e446dd..00000000000 --- a/.changes/unreleased/Fixes-20230830-150803.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix snapshot success message -time: 2023-08-30T15:08:03.429373-04:00 -custom: - Author: gshank - Issue: "7583" diff --git a/.changes/unreleased/Fixes-20230906-162427.yaml b/.changes/unreleased/Fixes-20230906-162427.yaml deleted file mode 100644 index 6b45ab72b59..00000000000 --- a/.changes/unreleased/Fixes-20230906-162427.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Parse the correct schema version from manifest -time: 2023-09-06T16:24:27.849069+01:00 -custom: - Author: aranke - Issue: "8544" diff --git a/CHANGELOG.md b/CHANGELOG.md index 6363fb3fced..af4ad399701 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,28 @@ - "Breaking changes" listed under a version may require action from end users or external maintainers when upgrading to that version. - Do not edit this file directly. This file is auto-generated using [changie](https://github.com/miniscruff/changie). For details on how to document a change, see [the contributing guide](https://github.com/dbt-labs/dbt-core/blob/main/CONTRIBUTING.md#adding-changelog-entry) +## dbt-core 1.6.2 - September 07, 2023 + +### Breaking Changes + +- Removed the FirstRunResultError and AfterFirstRunResultError event types, using the existing RunResultError in their place. ([#7963](https://github.com/dbt-labs/dbt-core/issues/7963)) + +### Features + +- Accept a `dbt-cloud` config in dbt_project.yml ([#8438](https://github.com/dbt-labs/dbt-core/issues/8438)) + +### Fixes + +- Copy dir during `dbt deps` if symlink fails ([#7428](https://github.com/dbt-labs/dbt-core/issues/7428), [#8223](https://github.com/dbt-labs/dbt-core/issues/8223)) +- fix ambiguous reference error for tests and versions when model name is duplicated across packages ([#8327](https://github.com/dbt-labs/dbt-core/issues/8327), [#8493](https://github.com/dbt-labs/dbt-core/issues/8493)) +- Fix "Internal Error: Expected node not found in manifest" when depends_on set on ModelNodeArgs ([#8506](https://github.com/dbt-labs/dbt-core/issues/8506)) +- Fix snapshot success message ([#7583](https://github.com/dbt-labs/dbt-core/issues/7583)) +- Parse the correct schema version from manifest ([#8544](https://github.com/dbt-labs/dbt-core/issues/8544)) + +### Contributors +- [@anjutiwari](https://github.com/anjutiwari) ([#7428](https://github.com/dbt-labs/dbt-core/issues/7428), [#8223](https://github.com/dbt-labs/dbt-core/issues/8223)) + + ## dbt-core 1.6.1 - August 23, 2023 ### Fixes @@ -33,8 +55,6 @@ - Use python version 3.10.7 in Docker image. ([#8444](https://github.com/dbt-labs/dbt-core/issues/8444)) - Check for existing_relation immediately prior to renaming ([#7781](https://github.com/dbt-labs/dbt-core/issues/7781)) - - ## dbt-core 1.6.0 - July 31, 2023 ### Breaking Changes diff --git a/core/dbt/version.py b/core/dbt/version.py index e071953d20e..c4d8d55f973 100644 --- a/core/dbt/version.py +++ b/core/dbt/version.py @@ -232,5 +232,5 @@ def _get_adapter_plugin_names() -> Iterator[str]: yield plugin_name -__version__ = "1.6.1" +__version__ = "1.6.2" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index 8a3dda86ebd..1c990a4d346 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.6.1" +package_version = "1.6.2" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index 38b338820f9..22218653ada 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -16,12 +16,12 @@ FROM --platform=$build_for python:3.10.7-slim-bullseye as base # N.B. The refs updated automagically every release via bumpversion # N.B. dbt-postgres is currently found in the core codebase so a value of dbt-core@ is correct -ARG dbt_core_ref=dbt-core@v1.6.1 -ARG dbt_postgres_ref=dbt-core@v1.6.1 -ARG dbt_redshift_ref=dbt-redshift@v1.6.1 -ARG dbt_bigquery_ref=dbt-bigquery@v1.6.1 -ARG dbt_snowflake_ref=dbt-snowflake@v1.6.1 -ARG dbt_spark_ref=dbt-spark@v1.6.1 +ARG dbt_core_ref=dbt-core@v1.6.2 +ARG dbt_postgres_ref=dbt-core@v1.6.2 +ARG dbt_redshift_ref=dbt-redshift@v1.6.2 +ARG dbt_bigquery_ref=dbt-bigquery@v1.6.2 +ARG dbt_snowflake_ref=dbt-snowflake@v1.6.2 +ARG dbt_spark_ref=dbt-spark@v1.6.2 # special case args ARG dbt_spark_version=all ARG dbt_third_party diff --git a/plugins/postgres/dbt/adapters/postgres/__version__.py b/plugins/postgres/dbt/adapters/postgres/__version__.py index cead7e895aa..a9851426dc3 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.6.1" +version = "1.6.2" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index 6446a18d2ab..45f94216610 100644 --- a/plugins/postgres/setup.py +++ b/plugins/postgres/setup.py @@ -41,7 +41,7 @@ def _dbt_psycopg2_name(): package_name = "dbt-postgres" -package_version = "1.6.1" +package_version = "1.6.2" description = """The postgres adapter plugin for dbt (data build tool)""" this_directory = os.path.abspath(os.path.dirname(__file__)) diff --git a/tests/adapter/dbt/tests/adapter/__version__.py b/tests/adapter/dbt/tests/adapter/__version__.py index cead7e895aa..a9851426dc3 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.6.1" +version = "1.6.2" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index 3947cb83398..27c9c8a843a 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.6.1" +package_version = "1.6.2" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))