From 8e089e4882098dc051c5c897cb559ec78890b7c8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 11 Jan 2023 13:01:37 -0800 Subject: [PATCH] Bumping version to 1.4.0rc1 and generate changelog (#587) * Bumping version to 1.4.0rc1 and generate CHANGELOG * add @1.4.latest Co-authored-by: Github Build Bot Co-authored-by: Colin --- .bumpversion.cfg | 2 +- .changes/1.4.0-rc1.md | 8 ++++++++ .changes/{unreleased => 1.4.0}/Fixes-20221221-092410.yaml | 0 .../Under the Hood-20230110-101919.yaml | 0 CHANGELOG.md | 8 ++++++++ dbt/adapters/spark/__version__.py | 2 +- dev-requirements.txt | 4 ++-- setup.py | 2 +- 8 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 .changes/1.4.0-rc1.md rename .changes/{unreleased => 1.4.0}/Fixes-20221221-092410.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20230110-101919.yaml (100%) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 9fe09ab40..340caaf0f 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.4.0b1 +current_version = 1.4.0rc1 parse = (?P\d+) \.(?P\d+) \.(?P\d+) diff --git a/.changes/1.4.0-rc1.md b/.changes/1.4.0-rc1.md new file mode 100644 index 000000000..363eda758 --- /dev/null +++ b/.changes/1.4.0-rc1.md @@ -0,0 +1,8 @@ +## dbt-spark 1.4.0-rc1 - January 11, 2023 +### Fixes +- Added escape_single_quotes macro as Spark/Databricks uses a single backslash instead of a single quote ([#572](https://github.com/dbt-labs/dbt-spark/issues/572), [#573](https://github.com/dbt-labs/dbt-spark/pull/573)) +### Under the Hood +- Rename exceptions to match dbt-core. ([#557](https://github.com/dbt-labs/dbt-spark/issues/557), [#585](https://github.com/dbt-labs/dbt-spark/pull/585)) + +### Contributors +- [@graciegoheen](https://github.com/graciegoheen) ([#573](https://github.com/dbt-labs/dbt-spark/pull/573)) diff --git a/.changes/unreleased/Fixes-20221221-092410.yaml b/.changes/1.4.0/Fixes-20221221-092410.yaml similarity index 100% rename from .changes/unreleased/Fixes-20221221-092410.yaml rename to .changes/1.4.0/Fixes-20221221-092410.yaml diff --git a/.changes/unreleased/Under the Hood-20230110-101919.yaml b/.changes/1.4.0/Under the Hood-20230110-101919.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230110-101919.yaml rename to .changes/1.4.0/Under the Hood-20230110-101919.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 263050ca4..bbc68dc26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +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-spark/blob/main/CONTRIBUTING.md#adding-changelog-entry) +## dbt-spark 1.4.0-rc1 - January 11, 2023 +### Fixes +- Added escape_single_quotes macro as Spark/Databricks uses a single backslash instead of a single quote ([#572](https://github.com/dbt-labs/dbt-spark/issues/572), [#573](https://github.com/dbt-labs/dbt-spark/pull/573)) +### Under the Hood +- Rename exceptions to match dbt-core. ([#557](https://github.com/dbt-labs/dbt-spark/issues/557), [#585](https://github.com/dbt-labs/dbt-spark/pull/585)) + +### Contributors +- [@graciegoheen](https://github.com/graciegoheen) ([#573](https://github.com/dbt-labs/dbt-spark/pull/573)) ## dbt-spark 1.4.0-b1 - December 15, 2022 ### Features - incremental predicates ([#435](https://github.com/dbt-labs/dbt-spark/issues/435), [#436](https://github.com/dbt-labs/dbt-spark/pull/436)) diff --git a/dbt/adapters/spark/__version__.py b/dbt/adapters/spark/__version__.py index 27cfeecd9..9ea893aec 100644 --- a/dbt/adapters/spark/__version__.py +++ b/dbt/adapters/spark/__version__.py @@ -1 +1 @@ -version = "1.4.0b1" +version = "1.4.0rc1" diff --git a/dev-requirements.txt b/dev-requirements.txt index e93c1b41a..63f5334fa 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,7 +1,7 @@ # install latest changes in dbt-core # TODO: how to automate switching from develop to version branches? -git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core -git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-tests-adapter&subdirectory=tests/adapter +git+https://github.com/dbt-labs/dbt-core.git@1.4.latest#egg=dbt-core&subdirectory=core +git+https://github.com/dbt-labs/dbt-core.git@1.4.latest#egg=dbt-tests-adapter&subdirectory=tests/adapter diff --git a/setup.py b/setup.py index 012e58d44..e80e5964d 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ def _get_dbt_core_version(): package_name = "dbt-spark" -package_version = "1.4.0b1" +package_version = "1.4.0rc1" dbt_core_version = _get_dbt_core_version() description = """The Apache Spark adapter plugin for dbt"""