From be5b39e384eab6ca0dc866423ba639f9512a10be Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Fri, 15 Sep 2023 18:33:16 +0000 Subject: [PATCH] Bumping version to 1.7.0b2 and generate changelog --- .bumpversion.cfg | 2 +- .changes/1.7.0-b2.md | 24 ++++++++++++++++ .../Dependencies-20230816-195425.yaml | 0 .../Dependencies-20230821-192842.yaml | 0 .../Dependencies-20230901-230919.yaml | 0 .../Dependencies-20230904-193307.yaml | 0 .../Dependencies-20230912-002353.yaml | 0 .../Fixes-20230815-151655.yaml | 0 .../Fixes-20230830-164611.yaml | 0 .../Fixes-20230908-113019.yaml | 0 .../Fixes-20230912-133327.yaml | 0 .../Under the Hood-20230829-113206.yaml | 0 .../Under the Hood-20230914-135547.yaml | 0 CHANGELOG.md | 28 ++++++++++++++++++- dbt/adapters/redshift/__version__.py | 2 +- 15 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 .changes/1.7.0-b2.md rename .changes/{unreleased => 1.7.0}/Dependencies-20230816-195425.yaml (100%) rename .changes/{unreleased => 1.7.0}/Dependencies-20230821-192842.yaml (100%) rename .changes/{unreleased => 1.7.0}/Dependencies-20230901-230919.yaml (100%) rename .changes/{unreleased => 1.7.0}/Dependencies-20230904-193307.yaml (100%) rename .changes/{unreleased => 1.7.0}/Dependencies-20230912-002353.yaml (100%) rename .changes/{unreleased => 1.7.0}/Fixes-20230815-151655.yaml (100%) rename .changes/{unreleased => 1.7.0}/Fixes-20230830-164611.yaml (100%) rename .changes/{unreleased => 1.7.0}/Fixes-20230908-113019.yaml (100%) rename .changes/{unreleased => 1.7.0}/Fixes-20230912-133327.yaml (100%) rename .changes/{unreleased => 1.7.0}/Under the Hood-20230829-113206.yaml (100%) rename .changes/{unreleased => 1.7.0}/Under the Hood-20230914-135547.yaml (100%) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index b3daceb77..56940f15e 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.7.0b1 +current_version = 1.7.0b2 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.7.0-b2.md b/.changes/1.7.0-b2.md new file mode 100644 index 000000000..c7dd145a1 --- /dev/null +++ b/.changes/1.7.0-b2.md @@ -0,0 +1,24 @@ +## dbt-redshift 1.7.0-b2 - September 15, 2023 + +### Features + +- use get_replace_sql in redshift__get_alter_materialized_view_as_sql, avoid renaming materialized views with custom table.sql and view.sql ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) + +### Fixes + +- allow auto_refresh to take in boolean and str values for materialized views ([#560](https://github.com/dbt-labs/dbt-redshift/issues/560)) +- Fix to support removal of hologram, remove unused IAMDuration encoder ([#591](https://github.com/dbt-labs/dbt-redshift/issues/591)) +- changes expected value types to AnyInteger to take into account changes in core ([#597](https://github.com/dbt-labs/dbt-redshift/issues/597)) + +### Under the Hood + +- Restructure macro files to be more granular; organize macros by relation and type (create, drop, etc.) ([#590](https://github.com/dbt-labs/dbt-redshift/issues/590)) +- allow for bool/str input to backup/autorefresh when configuring materialized views ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) + +### Dependencies + +- Bump mypy from 1.5.0 to 1.5.1 ([#585](https://github.com/dbt-labs/dbt-redshift/pull/585)) +- Update tox requirement from ~=4.9 to ~=4.10 ([#588](https://github.com/dbt-labs/dbt-redshift/pull/588)) +- Update tox requirement from ~=4.10 to ~=4.11 ([#594](https://github.com/dbt-labs/dbt-redshift/pull/594)) +- Update pre-commit requirement from ~=3.3 to ~=3.4 ([#596](https://github.com/dbt-labs/dbt-redshift/pull/596)) +- Update black requirement from ~=23.7 to ~=23.9 ([#600](https://github.com/dbt-labs/dbt-redshift/pull/600)) diff --git a/.changes/unreleased/Dependencies-20230816-195425.yaml b/.changes/1.7.0/Dependencies-20230816-195425.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20230816-195425.yaml rename to .changes/1.7.0/Dependencies-20230816-195425.yaml diff --git a/.changes/unreleased/Dependencies-20230821-192842.yaml b/.changes/1.7.0/Dependencies-20230821-192842.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20230821-192842.yaml rename to .changes/1.7.0/Dependencies-20230821-192842.yaml diff --git a/.changes/unreleased/Dependencies-20230901-230919.yaml b/.changes/1.7.0/Dependencies-20230901-230919.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20230901-230919.yaml rename to .changes/1.7.0/Dependencies-20230901-230919.yaml diff --git a/.changes/unreleased/Dependencies-20230904-193307.yaml b/.changes/1.7.0/Dependencies-20230904-193307.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20230904-193307.yaml rename to .changes/1.7.0/Dependencies-20230904-193307.yaml diff --git a/.changes/unreleased/Dependencies-20230912-002353.yaml b/.changes/1.7.0/Dependencies-20230912-002353.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20230912-002353.yaml rename to .changes/1.7.0/Dependencies-20230912-002353.yaml diff --git a/.changes/unreleased/Fixes-20230815-151655.yaml b/.changes/1.7.0/Fixes-20230815-151655.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230815-151655.yaml rename to .changes/1.7.0/Fixes-20230815-151655.yaml diff --git a/.changes/unreleased/Fixes-20230830-164611.yaml b/.changes/1.7.0/Fixes-20230830-164611.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230830-164611.yaml rename to .changes/1.7.0/Fixes-20230830-164611.yaml diff --git a/.changes/unreleased/Fixes-20230908-113019.yaml b/.changes/1.7.0/Fixes-20230908-113019.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230908-113019.yaml rename to .changes/1.7.0/Fixes-20230908-113019.yaml diff --git a/.changes/unreleased/Fixes-20230912-133327.yaml b/.changes/1.7.0/Fixes-20230912-133327.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230912-133327.yaml rename to .changes/1.7.0/Fixes-20230912-133327.yaml diff --git a/.changes/unreleased/Under the Hood-20230829-113206.yaml b/.changes/1.7.0/Under the Hood-20230829-113206.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230829-113206.yaml rename to .changes/1.7.0/Under the Hood-20230829-113206.yaml diff --git a/.changes/unreleased/Under the Hood-20230914-135547.yaml b/.changes/1.7.0/Under the Hood-20230914-135547.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230914-135547.yaml rename to .changes/1.7.0/Under the Hood-20230914-135547.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 44a71a8bd..2bb546acc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,33 @@ - "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-redshift/blob/main/CONTRIBUTING.md#adding-changelog-entry) +## dbt-redshift 1.7.0-b2 - September 15, 2023 + +### Features + +- use get_replace_sql in redshift__get_alter_materialized_view_as_sql, avoid renaming materialized views with custom table.sql and view.sql ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) + +### Fixes + +- allow auto_refresh to take in boolean and str values for materialized views ([#560](https://github.com/dbt-labs/dbt-redshift/issues/560)) +- Fix to support removal of hologram, remove unused IAMDuration encoder ([#591](https://github.com/dbt-labs/dbt-redshift/issues/591)) +- changes expected value types to AnyInteger to take into account changes in core ([#597](https://github.com/dbt-labs/dbt-redshift/issues/597)) + +### Under the Hood + +- Restructure macro files to be more granular; organize macros by relation and type (create, drop, etc.) ([#590](https://github.com/dbt-labs/dbt-redshift/issues/590)) +- allow for bool/str input to backup/autorefresh when configuring materialized views ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) + +### Dependencies + +- Bump mypy from 1.5.0 to 1.5.1 ([#585](https://github.com/dbt-labs/dbt-redshift/pull/585)) +- Update tox requirement from ~=4.9 to ~=4.10 ([#588](https://github.com/dbt-labs/dbt-redshift/pull/588)) +- Update tox requirement from ~=4.10 to ~=4.11 ([#594](https://github.com/dbt-labs/dbt-redshift/pull/594)) +- Update pre-commit requirement from ~=3.3 to ~=3.4 ([#596](https://github.com/dbt-labs/dbt-redshift/pull/596)) +- Update black requirement from ~=23.7 to ~=23.9 ([#600](https://github.com/dbt-labs/dbt-redshift/pull/600)) + + + ## dbt-redshift 1.7.0-b1 - August 17, 2023 ### Features @@ -38,7 +65,6 @@ ### Contributors - [@WillAyd](https://github.com/WillAyd) ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) - ## Previous Releases For information on prior major and minor releases, see their changelogs: - [1.6](https://github.com/dbt-labs/dbt-redshift/blob/1.6.latest/CHANGELOG.md) diff --git a/dbt/adapters/redshift/__version__.py b/dbt/adapters/redshift/__version__.py index 48607b01f..3f5d3c0b7 100644 --- a/dbt/adapters/redshift/__version__.py +++ b/dbt/adapters/redshift/__version__.py @@ -1 +1 @@ -version = "1.7.0b1" +version = "1.7.0b2"