From b2b604594577a26fcd583db364ff02162fbecad7 Mon Sep 17 00:00:00 2001 From: FishtownBuildBot <77737458+FishtownBuildBot@users.noreply.github.com> Date: Thu, 12 Oct 2023 13:19:56 -0400 Subject: [PATCH] Cleanup main after cutting new 1.7.latest branch (#633) * Clean up changelog on main * Bumping version to 1.8.0a1 * Code quality cleanup --- .bumpversion.cfg | 2 +- .changes/1.7.0-b1.md | 32 ---------- .changes/1.7.0-b2.md | 24 -------- .../1.7.0/Dependencies-20230711-192047.yaml | 6 -- .../1.7.0/Dependencies-20230717-195349.yaml | 6 -- .../1.7.0/Dependencies-20230720-191748.yaml | 6 -- .../1.7.0/Dependencies-20230724-190537.yaml | 6 -- .../1.7.0/Dependencies-20230731-194135.yaml | 6 -- .../1.7.0/Dependencies-20230803-131633.yaml | 6 -- .../1.7.0/Dependencies-20230808-194553.yaml | 6 -- .../1.7.0/Dependencies-20230810-193150.yaml | 6 -- .../1.7.0/Dependencies-20230810-193846.yaml | 6 -- .../1.7.0/Dependencies-20230811-195421.yaml | 6 -- .../1.7.0/Dependencies-20230814-190800.yaml | 6 -- .../1.7.0/Dependencies-20230816-195425.yaml | 6 -- .../1.7.0/Dependencies-20230816-195442.yaml | 6 -- .../1.7.0/Dependencies-20230821-192842.yaml | 6 -- .../1.7.0/Dependencies-20230901-230919.yaml | 6 -- .../1.7.0/Dependencies-20230904-193307.yaml | 6 -- .../1.7.0/Dependencies-20230912-002353.yaml | 6 -- .changes/1.7.0/Features-20230803-111146.yaml | 6 -- .changes/1.7.0/Fixes-20230802-103350.yaml | 6 -- .changes/1.7.0/Fixes-20230815-151655.yaml | 6 -- .changes/1.7.0/Fixes-20230830-164611.yaml | 6 -- .changes/1.7.0/Fixes-20230908-113019.yaml | 6 -- .changes/1.7.0/Fixes-20230912-133327.yaml | 6 -- .../1.7.0/Under the Hood-20230724-164439.yaml | 6 -- .../1.7.0/Under the Hood-20230808-141645.yaml | 7 --- .../1.7.0/Under the Hood-20230829-113206.yaml | 7 --- .../1.7.0/Under the Hood-20230914-135547.yaml | 7 --- .../Dependencies-20230918-190833.yaml | 6 -- .../unreleased/Features-20230921-153707.yaml | 6 -- .../unreleased/Fixes-20230807-174409.yaml | 6 -- .../unreleased/Fixes-20230923-091155.yaml | 6 -- .../Under the Hood-20230925-150132.yaml | 6 -- CHANGELOG.md | 60 ------------------- dbt/adapters/redshift/__version__.py | 2 +- 37 files changed, 2 insertions(+), 313 deletions(-) delete mode 100644 .changes/1.7.0-b1.md delete mode 100644 .changes/1.7.0-b2.md delete mode 100644 .changes/1.7.0/Dependencies-20230711-192047.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230717-195349.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230720-191748.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230724-190537.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230731-194135.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230803-131633.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230808-194553.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230810-193150.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230810-193846.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230811-195421.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230814-190800.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230816-195425.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230816-195442.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230821-192842.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230901-230919.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230904-193307.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230912-002353.yaml delete mode 100644 .changes/1.7.0/Features-20230803-111146.yaml delete mode 100644 .changes/1.7.0/Fixes-20230802-103350.yaml delete mode 100644 .changes/1.7.0/Fixes-20230815-151655.yaml delete mode 100644 .changes/1.7.0/Fixes-20230830-164611.yaml delete mode 100644 .changes/1.7.0/Fixes-20230908-113019.yaml delete mode 100644 .changes/1.7.0/Fixes-20230912-133327.yaml delete mode 100644 .changes/1.7.0/Under the Hood-20230724-164439.yaml delete mode 100644 .changes/1.7.0/Under the Hood-20230808-141645.yaml delete mode 100644 .changes/1.7.0/Under the Hood-20230829-113206.yaml delete mode 100644 .changes/1.7.0/Under the Hood-20230914-135547.yaml delete mode 100644 .changes/unreleased/Dependencies-20230918-190833.yaml delete mode 100644 .changes/unreleased/Features-20230921-153707.yaml delete mode 100644 .changes/unreleased/Fixes-20230807-174409.yaml delete mode 100644 .changes/unreleased/Fixes-20230923-091155.yaml delete mode 100644 .changes/unreleased/Under the Hood-20230925-150132.yaml diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 56940f15e..f54032556 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.7.0b2 +current_version = 1.8.0a1 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.7.0-b1.md b/.changes/1.7.0-b1.md deleted file mode 100644 index be669a9db..000000000 --- a/.changes/1.7.0-b1.md +++ /dev/null @@ -1,32 +0,0 @@ -## dbt-redshift 1.7.0-b1 - August 17, 2023 - -### Features - -- Support DISTSTYLE for seeds ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) - -### Fixes - -- Insert values of `merge_exclude_columns` when not matched ([#563](https://github.com/dbt-labs/dbt-redshift/issues/563)) - -### Under the Hood - -- Update stale workflow to use the centralized version ([#552](https://github.com/dbt-labs/dbt-redshift/issues/552)) -- Update flaky MV tests to use retry logic to avoid "cannot open relation with OID" error ([#569](https://github.com/dbt-labs/dbt-redshift/issues/569)) - -### Dependencies - -- Update black requirement from ~=23.3 to ~=23.7 ([#529](https://github.com/dbt-labs/dbt-redshift/pull/529)) -- Update pip-tools requirement from ~=6.14 to ~=7.0 ([#541](https://github.com/dbt-labs/dbt-redshift/pull/541)) -- Update ddtrace requirement from ~=1.16 to ~=1.17 ([#550](https://github.com/dbt-labs/dbt-redshift/pull/550)) -- Update wheel requirement from ~=0.40 to ~=0.41 ([#551](https://github.com/dbt-labs/dbt-redshift/pull/551)) -- Update flake8 requirement from ~=6.0 to ~=6.1 ([#562](https://github.com/dbt-labs/dbt-redshift/pull/562)) -- Update pip-tools requirement from ~=7.0 to ~=7.2 ([#567](https://github.com/dbt-labs/dbt-redshift/pull/567)) -- Update tox requirement from ~=4.6 to ~=4.7 ([#570](https://github.com/dbt-labs/dbt-redshift/pull/570)) -- Bump mypy from 1.4.1 to 1.5.0 ([#573](https://github.com/dbt-labs/dbt-redshift/pull/573)) -- Update pip-tools requirement from ~=7.2 to ~=7.3 ([#572](https://github.com/dbt-labs/dbt-redshift/pull/572)) -- Update ddtrace requirement from ~=1.17 to ~=1.18 ([#575](https://github.com/dbt-labs/dbt-redshift/pull/575)) -- Update tox requirement from ~=4.7 to ~=4.8 ([#581](https://github.com/dbt-labs/dbt-redshift/pull/581)) -- Update tox requirement from ~=4.8 to ~=4.9 ([#586](https://github.com/dbt-labs/dbt-redshift/pull/586)) - -### Contributors -- [@WillAyd](https://github.com/WillAyd) ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) diff --git a/.changes/1.7.0-b2.md b/.changes/1.7.0-b2.md deleted file mode 100644 index c7dd145a1..000000000 --- a/.changes/1.7.0-b2.md +++ /dev/null @@ -1,24 +0,0 @@ -## 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/1.7.0/Dependencies-20230711-192047.yaml b/.changes/1.7.0/Dependencies-20230711-192047.yaml deleted file mode 100644 index fa7c1df80..000000000 --- a/.changes/1.7.0/Dependencies-20230711-192047.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update black requirement from ~=23.3 to ~=23.7" -time: 2023-07-11T19:20:47.00000Z -custom: - Author: dependabot[bot] - PR: 529 diff --git a/.changes/1.7.0/Dependencies-20230717-195349.yaml b/.changes/1.7.0/Dependencies-20230717-195349.yaml deleted file mode 100644 index 542970ab8..000000000 --- a/.changes/1.7.0/Dependencies-20230717-195349.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pip-tools requirement from ~=6.14 to ~=7.0" -time: 2023-07-17T19:53:49.00000Z -custom: - Author: dependabot[bot] - PR: 541 diff --git a/.changes/1.7.0/Dependencies-20230720-191748.yaml b/.changes/1.7.0/Dependencies-20230720-191748.yaml deleted file mode 100644 index eb79676d4..000000000 --- a/.changes/1.7.0/Dependencies-20230720-191748.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=1.16 to ~=1.17" -time: 2023-07-20T19:17:48.00000Z -custom: - Author: dependabot[bot] - PR: 550 diff --git a/.changes/1.7.0/Dependencies-20230724-190537.yaml b/.changes/1.7.0/Dependencies-20230724-190537.yaml deleted file mode 100644 index c61cb9df3..000000000 --- a/.changes/1.7.0/Dependencies-20230724-190537.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update wheel requirement from ~=0.40 to ~=0.41" -time: 2023-07-24T19:05:37.00000Z -custom: - Author: dependabot[bot] - PR: 551 diff --git a/.changes/1.7.0/Dependencies-20230731-194135.yaml b/.changes/1.7.0/Dependencies-20230731-194135.yaml deleted file mode 100644 index c9990b89a..000000000 --- a/.changes/1.7.0/Dependencies-20230731-194135.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update flake8 requirement from ~=6.0 to ~=6.1" -time: 2023-07-31T19:41:35.00000Z -custom: - Author: dependabot[bot] - PR: 562 diff --git a/.changes/1.7.0/Dependencies-20230803-131633.yaml b/.changes/1.7.0/Dependencies-20230803-131633.yaml deleted file mode 100644 index d6755cd13..000000000 --- a/.changes/1.7.0/Dependencies-20230803-131633.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pip-tools requirement from ~=7.0 to ~=7.2" -time: 2023-08-03T13:16:33.00000Z -custom: - Author: dependabot[bot] - PR: 567 diff --git a/.changes/1.7.0/Dependencies-20230808-194553.yaml b/.changes/1.7.0/Dependencies-20230808-194553.yaml deleted file mode 100644 index 95c0b6dd1..000000000 --- a/.changes/1.7.0/Dependencies-20230808-194553.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.6 to ~=4.7" -time: 2023-08-08T19:45:53.00000Z -custom: - Author: dependabot[bot] - PR: 570 diff --git a/.changes/1.7.0/Dependencies-20230810-193150.yaml b/.changes/1.7.0/Dependencies-20230810-193150.yaml deleted file mode 100644 index e2b0c1250..000000000 --- a/.changes/1.7.0/Dependencies-20230810-193150.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.4.1 to 1.5.0" -time: 2023-08-10T19:31:50.00000Z -custom: - Author: dependabot[bot] - PR: 573 diff --git a/.changes/1.7.0/Dependencies-20230810-193846.yaml b/.changes/1.7.0/Dependencies-20230810-193846.yaml deleted file mode 100644 index 4a55d3114..000000000 --- a/.changes/1.7.0/Dependencies-20230810-193846.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pip-tools requirement from ~=7.2 to ~=7.3" -time: 2023-08-10T19:38:46.00000Z -custom: - Author: dependabot[bot] - PR: 572 diff --git a/.changes/1.7.0/Dependencies-20230811-195421.yaml b/.changes/1.7.0/Dependencies-20230811-195421.yaml deleted file mode 100644 index 5cc2f61bf..000000000 --- a/.changes/1.7.0/Dependencies-20230811-195421.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=1.17 to ~=1.18" -time: 2023-08-11T19:54:21.00000Z -custom: - Author: dependabot[bot] - PR: 575 diff --git a/.changes/1.7.0/Dependencies-20230814-190800.yaml b/.changes/1.7.0/Dependencies-20230814-190800.yaml deleted file mode 100644 index 0e39e5ba7..000000000 --- a/.changes/1.7.0/Dependencies-20230814-190800.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.7 to ~=4.8" -time: 2023-08-14T19:08:00.00000Z -custom: - Author: dependabot[bot] - PR: 581 diff --git a/.changes/1.7.0/Dependencies-20230816-195425.yaml b/.changes/1.7.0/Dependencies-20230816-195425.yaml deleted file mode 100644 index 989b20103..000000000 --- a/.changes/1.7.0/Dependencies-20230816-195425.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.5.0 to 1.5.1" -time: 2023-08-16T19:54:25.00000Z -custom: - Author: dependabot[bot] - PR: 585 diff --git a/.changes/1.7.0/Dependencies-20230816-195442.yaml b/.changes/1.7.0/Dependencies-20230816-195442.yaml deleted file mode 100644 index 850982f99..000000000 --- a/.changes/1.7.0/Dependencies-20230816-195442.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.8 to ~=4.9" -time: 2023-08-16T19:54:42.00000Z -custom: - Author: dependabot[bot] - PR: 586 diff --git a/.changes/1.7.0/Dependencies-20230821-192842.yaml b/.changes/1.7.0/Dependencies-20230821-192842.yaml deleted file mode 100644 index c6e5a7a6b..000000000 --- a/.changes/1.7.0/Dependencies-20230821-192842.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.9 to ~=4.10" -time: 2023-08-21T19:28:42.00000Z -custom: - Author: dependabot[bot] - PR: 588 diff --git a/.changes/1.7.0/Dependencies-20230901-230919.yaml b/.changes/1.7.0/Dependencies-20230901-230919.yaml deleted file mode 100644 index 178fc9ff5..000000000 --- a/.changes/1.7.0/Dependencies-20230901-230919.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.10 to ~=4.11" -time: 2023-09-01T23:09:19.00000Z -custom: - Author: dependabot[bot] - PR: 594 diff --git a/.changes/1.7.0/Dependencies-20230904-193307.yaml b/.changes/1.7.0/Dependencies-20230904-193307.yaml deleted file mode 100644 index 11707de31..000000000 --- a/.changes/1.7.0/Dependencies-20230904-193307.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pre-commit requirement from ~=3.3 to ~=3.4" -time: 2023-09-04T19:33:07.00000Z -custom: - Author: dependabot[bot] - PR: 596 diff --git a/.changes/1.7.0/Dependencies-20230912-002353.yaml b/.changes/1.7.0/Dependencies-20230912-002353.yaml deleted file mode 100644 index be7230348..000000000 --- a/.changes/1.7.0/Dependencies-20230912-002353.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update black requirement from ~=23.7 to ~=23.9" -time: 2023-09-12T00:23:53.00000Z -custom: - Author: dependabot[bot] - PR: 600 diff --git a/.changes/1.7.0/Features-20230803-111146.yaml b/.changes/1.7.0/Features-20230803-111146.yaml deleted file mode 100644 index 098e8888e..000000000 --- a/.changes/1.7.0/Features-20230803-111146.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support DISTSTYLE for seeds -time: 2023-08-03T11:11:46.571996-06:00 -custom: - Author: WillAyd - Issue: "255" diff --git a/.changes/1.7.0/Fixes-20230802-103350.yaml b/.changes/1.7.0/Fixes-20230802-103350.yaml deleted file mode 100644 index 5c5a1fe79..000000000 --- a/.changes/1.7.0/Fixes-20230802-103350.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Insert values of `merge_exclude_columns` when not matched -time: 2023-08-02T10:33:50.107228-06:00 -custom: - Author: dbeatty10 - Issue: "563" diff --git a/.changes/1.7.0/Fixes-20230815-151655.yaml b/.changes/1.7.0/Fixes-20230815-151655.yaml deleted file mode 100644 index 15829017b..000000000 --- a/.changes/1.7.0/Fixes-20230815-151655.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: allow auto_refresh to take in boolean and str values for materialized views -time: 2023-08-15T15:16:55.771712-05:00 -custom: - Author: McKnight-42 - Issue: "560" diff --git a/.changes/1.7.0/Fixes-20230830-164611.yaml b/.changes/1.7.0/Fixes-20230830-164611.yaml deleted file mode 100644 index ba8d47c01..000000000 --- a/.changes/1.7.0/Fixes-20230830-164611.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix to support removal of hologram, remove unused IAMDuration encoder -time: 2023-08-30T16:46:11.83975-04:00 -custom: - Author: gshank - Issue: "591" diff --git a/.changes/1.7.0/Fixes-20230908-113019.yaml b/.changes/1.7.0/Fixes-20230908-113019.yaml deleted file mode 100644 index ed5957317..000000000 --- a/.changes/1.7.0/Fixes-20230908-113019.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: changes expected value types to AnyInteger to take into account changes in core -time: 2023-09-08T11:30:19.77143-05:00 -custom: - Author: McKnight-42 - Issue: "597" diff --git a/.changes/1.7.0/Fixes-20230912-133327.yaml b/.changes/1.7.0/Fixes-20230912-133327.yaml deleted file mode 100644 index e5aa98d47..000000000 --- a/.changes/1.7.0/Fixes-20230912-133327.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: use get_replace_sql in redshift__get_alter_materialized_view_as_sql, avoid renaming materialized views with custom table.sql and view.sql -time: 2023-09-12T13:33:27.451042-07:00 -custom: - Author: colin-rogers-dbt - Issue: "606" diff --git a/.changes/1.7.0/Under the Hood-20230724-164439.yaml b/.changes/1.7.0/Under the Hood-20230724-164439.yaml deleted file mode 100644 index 59f929e69..000000000 --- a/.changes/1.7.0/Under the Hood-20230724-164439.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Update stale workflow to use the centralized version -time: 2023-07-24T16:44:39.683995-04:00 -custom: - Author: mikealfare - Issue: "552" diff --git a/.changes/1.7.0/Under the Hood-20230808-141645.yaml b/.changes/1.7.0/Under the Hood-20230808-141645.yaml deleted file mode 100644 index 051bf0e33..000000000 --- a/.changes/1.7.0/Under the Hood-20230808-141645.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Update flaky MV tests to use retry logic to avoid "cannot open relation with - OID" error -time: 2023-08-08T14:16:45.227308-04:00 -custom: - Author: mikealfare - Issue: "569" diff --git a/.changes/1.7.0/Under the Hood-20230829-113206.yaml b/.changes/1.7.0/Under the Hood-20230829-113206.yaml deleted file mode 100644 index d9dafe59c..000000000 --- a/.changes/1.7.0/Under the Hood-20230829-113206.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Restructure macro files to be more granular; organize macros by relation and - type (create, drop, etc.) -time: 2023-08-29T11:32:06.653271-04:00 -custom: - Author: mikealfare - Issue: "590" diff --git a/.changes/1.7.0/Under the Hood-20230914-135547.yaml b/.changes/1.7.0/Under the Hood-20230914-135547.yaml deleted file mode 100644 index 3bb8e3c8a..000000000 --- a/.changes/1.7.0/Under the Hood-20230914-135547.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: allow for bool/str input to backup/autorefresh when configuring materialized - views -time: 2023-09-14T13:55:47.951848-07:00 -custom: - Author: colin-rogers-dbt - Issue: "606" diff --git a/.changes/unreleased/Dependencies-20230918-190833.yaml b/.changes/unreleased/Dependencies-20230918-190833.yaml deleted file mode 100644 index f784102ca..000000000 --- a/.changes/unreleased/Dependencies-20230918-190833.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=1.18 to ~=1.19" -time: 2023-09-18T19:08:33.00000Z -custom: - Author: dependabot[bot] - PR: 610 diff --git a/.changes/unreleased/Features-20230921-153707.yaml b/.changes/unreleased/Features-20230921-153707.yaml deleted file mode 100644 index cf2c60ad5..000000000 --- a/.changes/unreleased/Features-20230921-153707.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support storing test failures as views -time: 2023-09-21T15:37:07.970722-04:00 -custom: - Author: mikealfare - Issue: "6914" diff --git a/.changes/unreleased/Fixes-20230807-174409.yaml b/.changes/unreleased/Fixes-20230807-174409.yaml deleted file mode 100644 index ad4f11b42..000000000 --- a/.changes/unreleased/Fixes-20230807-174409.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Use the PID to terminate the session -time: 2023-08-07T17:44:09.15097-06:00 -custom: - Author: dbeatty10 - Issue: "553" diff --git a/.changes/unreleased/Fixes-20230923-091155.yaml b/.changes/unreleased/Fixes-20230923-091155.yaml deleted file mode 100644 index 055d4dc7e..000000000 --- a/.changes/unreleased/Fixes-20230923-091155.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: avoid nested loop in query planner execution of redshift__get_relations -time: 2023-09-23T09:11:55.2152725-04:00 -custom: - Author: slin30 - Issue: "609" diff --git a/.changes/unreleased/Under the Hood-20230925-150132.yaml b/.changes/unreleased/Under the Hood-20230925-150132.yaml deleted file mode 100644 index c61a28d56..000000000 --- a/.changes/unreleased/Under the Hood-20230925-150132.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Add tests for inlined limit + sql_header in dbt show query -time: 2023-09-25T15:01:32.025325+01:00 -custom: - Author: michelleark - Issue: "616" diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bb546acc..04a8e7db1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,66 +5,6 @@ - "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 - -- Support DISTSTYLE for seeds ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) - -### Fixes - -- Insert values of `merge_exclude_columns` when not matched ([#563](https://github.com/dbt-labs/dbt-redshift/issues/563)) - -### Under the Hood - -- Update stale workflow to use the centralized version ([#552](https://github.com/dbt-labs/dbt-redshift/issues/552)) -- Update flaky MV tests to use retry logic to avoid "cannot open relation with OID" error ([#569](https://github.com/dbt-labs/dbt-redshift/issues/569)) - -### Dependencies - -- Update black requirement from ~=23.3 to ~=23.7 ([#529](https://github.com/dbt-labs/dbt-redshift/pull/529)) -- Update pip-tools requirement from ~=6.14 to ~=7.0 ([#541](https://github.com/dbt-labs/dbt-redshift/pull/541)) -- Update ddtrace requirement from ~=1.16 to ~=1.17 ([#550](https://github.com/dbt-labs/dbt-redshift/pull/550)) -- Update wheel requirement from ~=0.40 to ~=0.41 ([#551](https://github.com/dbt-labs/dbt-redshift/pull/551)) -- Update flake8 requirement from ~=6.0 to ~=6.1 ([#562](https://github.com/dbt-labs/dbt-redshift/pull/562)) -- Update pip-tools requirement from ~=7.0 to ~=7.2 ([#567](https://github.com/dbt-labs/dbt-redshift/pull/567)) -- Update tox requirement from ~=4.6 to ~=4.7 ([#570](https://github.com/dbt-labs/dbt-redshift/pull/570)) -- Bump mypy from 1.4.1 to 1.5.0 ([#573](https://github.com/dbt-labs/dbt-redshift/pull/573)) -- Update pip-tools requirement from ~=7.2 to ~=7.3 ([#572](https://github.com/dbt-labs/dbt-redshift/pull/572)) -- Update ddtrace requirement from ~=1.17 to ~=1.18 ([#575](https://github.com/dbt-labs/dbt-redshift/pull/575)) -- Update tox requirement from ~=4.7 to ~=4.8 ([#581](https://github.com/dbt-labs/dbt-redshift/pull/581)) -- Update tox requirement from ~=4.8 to ~=4.9 ([#586](https://github.com/dbt-labs/dbt-redshift/pull/586)) - -### 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 3f5d3c0b7..f15b401d1 100644 --- a/dbt/adapters/redshift/__version__.py +++ b/dbt/adapters/redshift/__version__.py @@ -1 +1 @@ -version = "1.7.0b2" +version = "1.8.0a1"