From f82cddbefe1baed1f85e7524553d41684b5d11ab Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 11 Aug 2022 13:02:45 +0200 Subject: [PATCH] Bumping version to 1.2.1rc1 and generate CHANGELOG (#5641) Co-authored-by: Github Build Bot --- .bumpversion.cfg | 2 +- .changes/1.2.1-rc1.md | 8 ++++++++ .../{unreleased => 1.2.1}/Fixes-20220726-113636.yaml | 0 .../{unreleased => 1.2.1}/Fixes-20220803-144221.yaml | 0 .../{unreleased => 1.2.1}/Fixes-20220808-112001.yaml | 0 CHANGELOG.md | 10 +++++++--- core/dbt/version.py | 2 +- core/setup.py | 2 +- docker/Dockerfile | 12 ++++++------ .../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 +- 13 files changed, 28 insertions(+), 16 deletions(-) create mode 100644 .changes/1.2.1-rc1.md rename .changes/{unreleased => 1.2.1}/Fixes-20220726-113636.yaml (100%) rename .changes/{unreleased => 1.2.1}/Fixes-20220803-144221.yaml (100%) rename .changes/{unreleased => 1.2.1}/Fixes-20220808-112001.yaml (100%) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index e86c9b010d3..718411081f4 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.2.0 +current_version = 1.2.1rc1 parse = (?P\d+) \.(?P\d+) \.(?P\d+) diff --git a/.changes/1.2.1-rc1.md b/.changes/1.2.1-rc1.md new file mode 100644 index 00000000000..900d8ffb412 --- /dev/null +++ b/.changes/1.2.1-rc1.md @@ -0,0 +1,8 @@ +## dbt-core 1.2.1-rc1 - August 10, 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)) +- Fix error rendering docs block in metrics description ([#5585](https://github.com/dbt-labs/dbt-core/issues/5585), [#5603](https://github.com/dbt-labs/dbt-core/pull/5603)) +- Use sys.exit instead of exit ([#5621](https://github.com/dbt-labs/dbt-core/issues/5621), [#5627](https://github.com/dbt-labs/dbt-core/pull/5627)) + +### Contributors +- [@varun-dc](https://github.com/varun-dc) ([#5627](https://github.com/dbt-labs/dbt-core/pull/5627)) diff --git a/.changes/unreleased/Fixes-20220726-113636.yaml b/.changes/1.2.1/Fixes-20220726-113636.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220726-113636.yaml rename to .changes/1.2.1/Fixes-20220726-113636.yaml diff --git a/.changes/unreleased/Fixes-20220803-144221.yaml b/.changes/1.2.1/Fixes-20220803-144221.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220803-144221.yaml rename to .changes/1.2.1/Fixes-20220803-144221.yaml diff --git a/.changes/unreleased/Fixes-20220808-112001.yaml b/.changes/1.2.1/Fixes-20220808-112001.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220808-112001.yaml rename to .changes/1.2.1/Fixes-20220808-112001.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ac07a606df..1eced95f139 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,14 @@ - 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.1-rc1 - August 10, 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)) +- Fix error rendering docs block in metrics description ([#5585](https://github.com/dbt-labs/dbt-core/issues/5585), [#5603](https://github.com/dbt-labs/dbt-core/pull/5603)) +- Use sys.exit instead of exit ([#5621](https://github.com/dbt-labs/dbt-core/issues/5621), [#5627](https://github.com/dbt-labs/dbt-core/pull/5627)) - +### Contributors +- [@varun-dc](https://github.com/varun-dc) ([#5627](https://github.com/dbt-labs/dbt-core/pull/5627)) ## dbt-core 1.2.0 - July 26, 2022 ### Features - Add selector method when reading selector definitions ([#4821](https://github.com/dbt-labs/dbt-core/issues/4821), [#4827](https://github.com/dbt-labs/dbt-core/pull/4827)) @@ -109,8 +115,6 @@ - [@tomasfarias](https://github.com/tomasfarias) ([#5432](https://github.com/dbt-labs/dbt-core/pull/5432), [#5209](https://github.com/dbt-labs/dbt-core/pull/5209)) - [@ulisesojeda](https://github.com/ulisesojeda) ([#5366](https://github.com/dbt-labs/dbt-core/pull/5366)) - [@volkangurel](https://github.com/volkangurel) ([#5348](https://github.com/dbt-labs/dbt-core/pull/5348)) - - ## Previous Releases For information on prior major and minor releases, see their changelogs: diff --git a/core/dbt/version.py b/core/dbt/version.py index 8ed7ba8d7ad..c6d93ba16bf 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.0" +__version__ = "1.2.1rc1" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index f309d113c37..e5dbdd8fe34 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.2.0" +package_version = "1.2.1rc1" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index a946bd19f25..8227a4a2e0d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -14,12 +14,12 @@ 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.0 -ARG dbt_postgres_ref=dbt-core@v1.2.0 -ARG dbt_redshift_ref=dbt-redshift@v1.2.0 -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 +ARG dbt_core_ref=dbt-core@v1.2.1rc1 +ARG dbt_postgres_ref=dbt-core@v1.2.1rc1 +ARG dbt_redshift_ref=dbt-redshift@v1.2.1rc1 +ARG dbt_bigquery_ref=dbt-bigquery@v1.2.1rc1 +ARG dbt_snowflake_ref=dbt-snowflake@v1.2.1rc1 +ARG dbt_spark_ref=dbt-spark@v1.2.1rc1 # 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 c203c5d89c3..4c65387be02 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.2.0" +version = "1.2.1rc1" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index 6644c5afa94..3240f4adee5 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.0" +package_version = "1.2.1rc1" 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 c203c5d89c3..4c65387be02 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.2.0" +version = "1.2.1rc1" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index ab4bab90131..76ea095462b 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.2.0" +package_version = "1.2.1rc1" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))