From abee0f0dc12ecfeb511a2dc301678230b5e2209f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Oct 2022 14:16:51 -0400 Subject: [PATCH] Bumping version to 1.2.2 and generate changelog (#5996) * Bumping version to 1.2.2rc1 and generate CHANGELOG * Bumping version to 1.2.2 and generate CHANGELOG (#5997) Co-authored-by: Github Build Bot Co-authored-by: Github Build Bot Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .bumpversion.cfg | 2 +- .changes/1.2.2.md | 9 +++++++++ .changes/unreleased/Features-20220926-130627.yaml | 9 --------- .changes/unreleased/Fixes-20220923-174504.yaml | 7 ------- CHANGELOG.md | 9 +++++++++ core/dbt/version.py | 2 +- core/setup.py | 2 +- docker/Dockerfile | 6 +++--- plugins/postgres/dbt/adapters/postgres/__version__.py | 2 +- plugins/postgres/setup.py | 2 +- tests/adapter/dbt/tests/adapter/__version__.py | 2 +- tests/adapter/setup.py | 2 +- 12 files changed, 28 insertions(+), 26 deletions(-) create mode 100644 .changes/1.2.2.md delete mode 100644 .changes/unreleased/Features-20220926-130627.yaml delete mode 100644 .changes/unreleased/Fixes-20220923-174504.yaml diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 775e3922cd0..0718be24bc8 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.2.1 +current_version = 1.2.2 parse = (?P\d+) \.(?P\d+) \.(?P\d+) diff --git a/.changes/1.2.2.md b/.changes/1.2.2.md new file mode 100644 index 00000000000..524190e31fb --- /dev/null +++ b/.changes/1.2.2.md @@ -0,0 +1,9 @@ +## dbt-core 1.2.2 - October 03, 2022 +### Features +- This conditionally no-ops warehouse connection at compile depending on an env var, disabling introspection/queries during compilation only. This is a temporary solution to more complex permissions requirements for the semantic layer. ([#5936](https://github.com/dbt-labs/dbt-core/issues/5936), [#5926](https://github.com/dbt-labs/dbt-core/pull/5926)) +### Fixes +- Fix race condition when invoking dbt via lib.py concurrently ([#5919](https://github.com/dbt-labs/dbt-core/issues/5919), [#5921](https://github.com/dbt-labs/dbt-core/pull/5921)) + +### Contributors +- [@drewbanin](https://github.com/drewbanin) ([#5921](https://github.com/dbt-labs/dbt-core/pull/5921)) +- [@racheldaniel](https://github.com/racheldaniel) ([#5926](https://github.com/dbt-labs/dbt-core/pull/5926)) diff --git a/.changes/unreleased/Features-20220926-130627.yaml b/.changes/unreleased/Features-20220926-130627.yaml deleted file mode 100644 index bfa205c517d..00000000000 --- a/.changes/unreleased/Features-20220926-130627.yaml +++ /dev/null @@ -1,9 +0,0 @@ -kind: Features -body: This conditionally no-ops warehouse connection at compile depending on an env - var, disabling introspection/queries during compilation only. This is a temporary - solution to more complex permissions requirements for the semantic layer. -time: 2022-09-26T13:06:27.591061-05:00 -custom: - Author: racheldaniel - Issue: "5936" - PR: "5926" diff --git a/.changes/unreleased/Fixes-20220923-174504.yaml b/.changes/unreleased/Fixes-20220923-174504.yaml deleted file mode 100644 index bdc1bc18732..00000000000 --- a/.changes/unreleased/Fixes-20220923-174504.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Fix race condition when invoking dbt via lib.py concurrently -time: 2022-09-23T17:45:04.405026-04:00 -custom: - Author: drewbanin - Issue: "5919" - PR: "5921" diff --git a/CHANGELOG.md b/CHANGELOG.md index ba73c9d6c53..5326392afa7 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ - Changes are listed under the (pre)release in which they first appear. Subsequent releases include changes from previous releases. - "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.2.2 - October 03, 2022 +### Features +- This conditionally no-ops warehouse connection at compile depending on an env var, disabling introspection/queries during compilation only. This is a temporary solution to more complex permissions requirements for the semantic layer. ([#5936](https://github.com/dbt-labs/dbt-core/issues/5936), [#5926](https://github.com/dbt-labs/dbt-core/pull/5926)) +### Fixes +- Fix race condition when invoking dbt via lib.py concurrently ([#5919](https://github.com/dbt-labs/dbt-core/issues/5919), [#5921](https://github.com/dbt-labs/dbt-core/pull/5921)) + +### Contributors +- [@drewbanin](https://github.com/drewbanin) ([#5921](https://github.com/dbt-labs/dbt-core/pull/5921)) +- [@racheldaniel](https://github.com/racheldaniel) ([#5926](https://github.com/dbt-labs/dbt-core/pull/5926)) ## dbt-core 1.2.1 - August 25, 2022 ### Fixes - Fix handling of top-level exceptions ([#5564](https://github.com/dbt-labs/dbt-core/issues/5564), [#5560](https://github.com/dbt-labs/dbt-core/pull/5560)) diff --git a/core/dbt/version.py b/core/dbt/version.py index bfbac8fa37d..16c10d459e9 100644 --- a/core/dbt/version.py +++ b/core/dbt/version.py @@ -235,5 +235,5 @@ def _get_adapter_plugin_names() -> Iterator[str]: yield plugin_name -__version__ = "1.2.1" +__version__ = "1.2.2" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index 67edd40bcdb..6b160d0aedf 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.2.1" +package_version = "1.2.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 9681e406661..7755b99b22a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -14,9 +14,9 @@ FROM --platform=$build_for python:3.10.5-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.2.1 -ARG dbt_postgres_ref=dbt-core@v1.2.1 -ARG dbt_redshift_ref=dbt-redshift@v1.2.1 +ARG dbt_core_ref=dbt-core@v1.2.2 +ARG dbt_postgres_ref=dbt-core@v1.2.2 +ARG dbt_redshift_ref=dbt-redshift@v1.2.2 ARG dbt_bigquery_ref=dbt-bigquery@v1.2.0 ARG dbt_snowflake_ref=dbt-snowflake@v1.2.0 ARG dbt_spark_ref=dbt-spark@v1.2.0 diff --git a/plugins/postgres/dbt/adapters/postgres/__version__.py b/plugins/postgres/dbt/adapters/postgres/__version__.py index eb1d9a0ff04..2be6f8b040f 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.2.1" +version = "1.2.2" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index 1c0597c6fad..468aab5a7e2 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.2.1" +package_version = "1.2.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 eb1d9a0ff04..2be6f8b040f 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.2.1" +version = "1.2.2" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index 91102e6e1c7..dedc4b1d49a 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.2.1" +package_version = "1.2.2" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))