From d904a2c972bdca3df760b0a324733304a48dadb7 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Thu, 9 May 2024 17:00:14 +0000 Subject: [PATCH] Bumping version to 1.8.0 and generate changelog --- .bumpversion.cfg | 2 +- .changes/1.8.0-b2.md | 22 ------- .changes/1.8.0-b3.md | 16 ----- .changes/1.8.0-rc1.md | 5 -- .changes/{1.8.0-b1.md => 1.8.0.md} | 16 ++++- .../1.8.0/Dependencies-20230912-120620.yaml | 6 -- .../1.8.0/Dependencies-20231002-164037.yaml | 6 -- .../1.8.0/Dependencies-20231009-192801.yaml | 6 -- .../1.8.0/Dependencies-20231010-195348.yaml | 6 -- .../1.8.0/Dependencies-20231013-190517.yaml | 6 -- .../1.8.0/Dependencies-20231017-191545.yaml | 6 -- .../1.8.0/Dependencies-20231027-173152.yaml | 6 -- .../1.8.0/Dependencies-20231030-193514.yaml | 6 -- .../1.8.0/Dependencies-20231108-190800.yaml | 6 -- .../1.8.0/Dependencies-20231110-192349.yaml | 6 -- .../1.8.0/Dependencies-20231113-195504.yaml | 6 -- .../1.8.0/Dependencies-20231116-194405.yaml | 6 -- .../1.8.0/Dependencies-20231127-201640.yaml | 6 -- .../1.8.0/Dependencies-20231127-201942.yaml | 6 -- .../1.8.0/Dependencies-20231128-194822.yaml | 6 -- .../1.8.0/Dependencies-20231129-195044.yaml | 6 -- .../1.8.0/Dependencies-20231130-044332.yaml | 6 -- .../1.8.0/Dependencies-20231204-193730.yaml | 6 -- .../1.8.0/Dependencies-20231212-195417.yaml | 6 -- .../1.8.0/Dependencies-20240118-095025.yaml | 6 -- .../1.8.0/Dependencies-20240124-111727.yaml | 6 -- .../1.8.0/Dependencies-20240319-101832.yaml | 6 -- .../1.8.0/Dependencies-20240403-134607.yaml | 6 -- .changes/1.8.0/Features-20231030-101055.yaml | 6 -- .changes/1.8.0/Features-20231214-195655.yaml | 6 -- .changes/1.8.0/Features-20231219-120533.yaml | 6 -- .changes/1.8.0/Features-20240318-030018.yaml | 6 -- .changes/1.8.0/Features-20240404-171441.yaml | 6 -- .changes/1.8.0/Fixes-20231025-203732.yaml | 6 -- .changes/1.8.0/Fixes-20231026-164623.yaml | 6 -- .changes/1.8.0/Fixes-20231030-234315.yaml | 6 -- .changes/1.8.0/Fixes-20231103-181357.yaml | 6 -- .changes/1.8.0/Fixes-20240206-132326.yaml | 7 -- .changes/1.8.0/Fixes-20240317-113447.yaml | 6 -- .changes/1.8.0/Fixes-20240326-123703.yaml | 6 -- .changes/1.8.0/Security-20240327-191927.yaml | 6 -- .changes/1.8.0/Security-20240416-195919.yaml | 6 -- .../1.8.0/Under the Hood-20231119-132157.yaml | 6 -- .../1.8.0/Under the Hood-20240102-152425.yaml | 6 -- .../1.8.0/Under the Hood-20240227-002713.yaml | 6 -- .../1.8.0/Under the Hood-20240410-182912.yaml | 6 -- CHANGELOG.md | 65 +++++-------------- dbt/adapters/redshift/__version__.py | 2 +- 48 files changed, 33 insertions(+), 342 deletions(-) delete mode 100644 .changes/1.8.0-b2.md delete mode 100644 .changes/1.8.0-b3.md delete mode 100644 .changes/1.8.0-rc1.md rename .changes/{1.8.0-b1.md => 1.8.0.md} (74%) delete mode 100644 .changes/1.8.0/Dependencies-20230912-120620.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231002-164037.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231009-192801.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231010-195348.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231013-190517.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231017-191545.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231027-173152.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231030-193514.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231108-190800.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231110-192349.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231113-195504.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231116-194405.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231127-201640.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231127-201942.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231128-194822.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231129-195044.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231130-044332.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231204-193730.yaml delete mode 100644 .changes/1.8.0/Dependencies-20231212-195417.yaml delete mode 100644 .changes/1.8.0/Dependencies-20240118-095025.yaml delete mode 100644 .changes/1.8.0/Dependencies-20240124-111727.yaml delete mode 100644 .changes/1.8.0/Dependencies-20240319-101832.yaml delete mode 100644 .changes/1.8.0/Dependencies-20240403-134607.yaml delete mode 100644 .changes/1.8.0/Features-20231030-101055.yaml delete mode 100644 .changes/1.8.0/Features-20231214-195655.yaml delete mode 100644 .changes/1.8.0/Features-20231219-120533.yaml delete mode 100644 .changes/1.8.0/Features-20240318-030018.yaml delete mode 100644 .changes/1.8.0/Features-20240404-171441.yaml delete mode 100644 .changes/1.8.0/Fixes-20231025-203732.yaml delete mode 100644 .changes/1.8.0/Fixes-20231026-164623.yaml delete mode 100644 .changes/1.8.0/Fixes-20231030-234315.yaml delete mode 100644 .changes/1.8.0/Fixes-20231103-181357.yaml delete mode 100644 .changes/1.8.0/Fixes-20240206-132326.yaml delete mode 100644 .changes/1.8.0/Fixes-20240317-113447.yaml delete mode 100644 .changes/1.8.0/Fixes-20240326-123703.yaml delete mode 100644 .changes/1.8.0/Security-20240327-191927.yaml delete mode 100644 .changes/1.8.0/Security-20240416-195919.yaml delete mode 100644 .changes/1.8.0/Under the Hood-20231119-132157.yaml delete mode 100644 .changes/1.8.0/Under the Hood-20240102-152425.yaml delete mode 100644 .changes/1.8.0/Under the Hood-20240227-002713.yaml delete mode 100644 .changes/1.8.0/Under the Hood-20240410-182912.yaml diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 06259d485..1ef14928a 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.8.0rc1 +current_version = 1.8.0 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.8.0-b2.md b/.changes/1.8.0-b2.md deleted file mode 100644 index 47996a7ce..000000000 --- a/.changes/1.8.0-b2.md +++ /dev/null @@ -1,22 +0,0 @@ -## dbt-redshift 1.8.0-b2 - April 03, 2024 - -### Features - -- Add new workflow for internal patch releases ([#38](https://github.com/dbt-labs/dbt-redshift/issues/38)) - -### Fixes - -- Pin `redshift-connector` to <2.0.918 to avoid SSL error introduced in 2.0.918 ([#730](https://github.com/dbt-labs/dbt-redshift/issues/730)) - -### Under the Hood - -- Add unit test for transaction semantics. ([#722](https://github.com/dbt-labs/dbt-redshift/issues/722)) - -### Dependencies - -- hard pin ddtrace ([#733](https://github.com/dbt-labs/dbt-redshift/pull/733)) -- Add `dbt-core` as a dependency to preserve backwards compatibility for installation ([#756](https://github.com/dbt-labs/dbt-redshift/pull/756)) - -### Security - -- Pin `black>=24.3` in `dev-requirements.txt` ([#743](https://github.com/dbt-labs/dbt-redshift/pull/743)) diff --git a/.changes/1.8.0-b3.md b/.changes/1.8.0-b3.md deleted file mode 100644 index 5f9d828c3..000000000 --- a/.changes/1.8.0-b3.md +++ /dev/null @@ -1,16 +0,0 @@ -## dbt-redshift 1.8.0-b3 - April 18, 2024 - -### Fixes - -- dbt can cancel open queries upon interrupt ([#705](https://github.com/dbt-labs/dbt-redshift/issues/705)) - -### Under the Hood - -- Update dependabot config to cover GHA ([#759](https://github.com/dbt-labs/dbt-redshift/issues/759)) - -### Security - -- Bump sqlparse to >=0.5.0, <0.6.0 to address GHSA-2m57-hf25-phgg along with dbt-core ([#768](https://github.com/dbt-labs/dbt-redshift/pull/768)) - -### Contributors -- [@holly-evans](https://github.com/holly-evans) ([#705](https://github.com/dbt-labs/dbt-redshift/issues/705)) diff --git a/.changes/1.8.0-rc1.md b/.changes/1.8.0-rc1.md deleted file mode 100644 index 204a8526e..000000000 --- a/.changes/1.8.0-rc1.md +++ /dev/null @@ -1,5 +0,0 @@ -## dbt-redshift 1.8.0-rc1 - May 03, 2024 - -### Features - -- Support TableLastModifiedMetadataBatch capability ([#755](https://github.com/dbt-labs/dbt-redshift/issues/755)) diff --git a/.changes/1.8.0-b1.md b/.changes/1.8.0.md similarity index 74% rename from .changes/1.8.0-b1.md rename to .changes/1.8.0.md index e8e4cbd2b..590b9aea6 100644 --- a/.changes/1.8.0-b1.md +++ b/.changes/1.8.0.md @@ -1,10 +1,12 @@ -## dbt-redshift 1.8.0-b1 - March 01, 2024 +## dbt-redshift 1.8.0 - May 09, 2024 ### Features - allow user to set debug level for redshift-connector via env var ([#650](https://github.com/dbt-labs/dbt-redshift/issues/650)) - Support limiting get_catalog by object name ([#625](https://github.com/dbt-labs/dbt-redshift/issues/625)) - Add support for checking table-last-modified by metadata ([#615](https://github.com/dbt-labs/dbt-redshift/issues/615)) +- Add new workflow for internal patch releases ([#38](https://github.com/dbt-labs/dbt-redshift/issues/38)) +- Support TableLastModifiedMetadataBatch capability ([#755](https://github.com/dbt-labs/dbt-redshift/issues/755)) ### Fixes @@ -13,11 +15,15 @@ - Catalog queries assign the appropriate type for materialized views ([#652](https://github.com/dbt-labs/dbt-redshift/issues/652)) - Fix handling of `backup` parameter during config change monitoring ([#621](https://github.com/dbt-labs/dbt-redshift/issues/621)) - Initialize sqlparse.Lexer to resolve issue with `dbt docs generate` that includes external tables ([#710](https://github.com/dbt-labs/dbt-redshift/issues/710)) +- Pin `redshift-connector` to <2.0.918 to avoid SSL error introduced in 2.0.918 ([#730](https://github.com/dbt-labs/dbt-redshift/issues/730)) +- dbt can cancel open queries upon interrupt ([#705](https://github.com/dbt-labs/dbt-redshift/issues/705)) ### Under the Hood - Add tests for --empty flag ([#667](https://github.com/dbt-labs/dbt-redshift/issues/667)) - Update base adapter references as part of decoupling migration ([#698](https://github.com/dbt-labs/dbt-redshift/issues/698)) +- Add unit test for transaction semantics. ([#722](https://github.com/dbt-labs/dbt-redshift/issues/722)) +- Update dependabot config to cover GHA ([#759](https://github.com/dbt-labs/dbt-redshift/issues/759)) ### Dependencies @@ -42,8 +48,16 @@ - Update black requirement from ~=23.11 to ~=23.12 ([#688](https://github.com/dbt-labs/dbt-redshift/pull/688)) - upgrade redshift driver to 2.0.918 ([#700](https://github.com/dbt-labs/dbt-redshift/pull/700)) - Migrate to dbt-common and dbt-adapters ([#706](https://github.com/dbt-labs/dbt-redshift/pull/706)) +- hard pin ddtrace ([#733](https://github.com/dbt-labs/dbt-redshift/pull/733)) +- Add `dbt-core` as a dependency to preserve backwards compatibility for installation ([#756](https://github.com/dbt-labs/dbt-redshift/pull/756)) + +### Security + +- Pin `black>=24.3` in `dev-requirements.txt` ([#743](https://github.com/dbt-labs/dbt-redshift/pull/743)) +- Bump sqlparse to >=0.5.0, <0.6.0 to address GHSA-2m57-hf25-phgg along with dbt-core ([#768](https://github.com/dbt-labs/dbt-redshift/pull/768)) ### Contributors - [@hexDoor](https://github.com/hexDoor) ([#674](https://github.com/dbt-labs/dbt-redshift/pull/674)) +- [@holly-evans](https://github.com/holly-evans) ([#705](https://github.com/dbt-labs/dbt-redshift/issues/705)) - [@reptillicus](https://github.com/reptillicus) ([#641](https://github.com/dbt-labs/dbt-redshift/issues/641)) - [@soksamnanglim](https://github.com/soksamnanglim) ([#601](https://github.com/dbt-labs/dbt-redshift/pull/601)) diff --git a/.changes/1.8.0/Dependencies-20230912-120620.yaml b/.changes/1.8.0/Dependencies-20230912-120620.yaml deleted file mode 100644 index be139237d..000000000 --- a/.changes/1.8.0/Dependencies-20230912-120620.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: Update redshift-connector requirement from ~=2.0.913 to ~=2.0.914 -time: 2023-09-12T12:06:20.401643-07:00 -custom: - Author: soksamnanglim - PR: "601" diff --git a/.changes/1.8.0/Dependencies-20231002-164037.yaml b/.changes/1.8.0/Dependencies-20231002-164037.yaml deleted file mode 100644 index 54f51a402..000000000 --- a/.changes/1.8.0/Dependencies-20231002-164037.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=1.19 to ~=1.20" -time: 2023-10-02T16:40:37.00000Z -custom: - Author: dependabot[bot] - PR: 622 diff --git a/.changes/1.8.0/Dependencies-20231009-192801.yaml b/.changes/1.8.0/Dependencies-20231009-192801.yaml deleted file mode 100644 index 2a53a074f..000000000 --- a/.changes/1.8.0/Dependencies-20231009-192801.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pre-commit-hooks requirement from ~=4.4 to ~=4.5" -time: 2023-10-09T19:28:01.00000Z -custom: - Author: dependabot[bot] - PR: 627 diff --git a/.changes/1.8.0/Dependencies-20231010-195348.yaml b/.changes/1.8.0/Dependencies-20231010-195348.yaml deleted file mode 100644 index 4e8af02c1..000000000 --- a/.changes/1.8.0/Dependencies-20231010-195348.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.5.1 to 1.6.0" -time: 2023-10-10T19:53:48.00000Z -custom: - Author: dependabot[bot] - PR: 629 diff --git a/.changes/1.8.0/Dependencies-20231013-190517.yaml b/.changes/1.8.0/Dependencies-20231013-190517.yaml deleted file mode 100644 index 8db17538a..000000000 --- a/.changes/1.8.0/Dependencies-20231013-190517.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pre-commit requirement from ~=3.4 to ~=3.5" -time: 2023-10-13T19:05:17.00000Z -custom: - Author: dependabot[bot] - PR: 634 diff --git a/.changes/1.8.0/Dependencies-20231017-191545.yaml b/.changes/1.8.0/Dependencies-20231017-191545.yaml deleted file mode 100644 index 407615e32..000000000 --- a/.changes/1.8.0/Dependencies-20231017-191545.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update black requirement from ~=23.9 to ~=23.10" -time: 2023-10-17T19:15:45.00000Z -custom: - Author: dependabot[bot] - PR: 636 diff --git a/.changes/1.8.0/Dependencies-20231027-173152.yaml b/.changes/1.8.0/Dependencies-20231027-173152.yaml deleted file mode 100644 index 8ed464977..000000000 --- a/.changes/1.8.0/Dependencies-20231027-173152.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.6.0 to 1.6.1" -time: 2023-10-27T17:31:52.00000Z -custom: - Author: dependabot[bot] - PR: 648 diff --git a/.changes/1.8.0/Dependencies-20231030-193514.yaml b/.changes/1.8.0/Dependencies-20231030-193514.yaml deleted file mode 100644 index e2771051b..000000000 --- a/.changes/1.8.0/Dependencies-20231030-193514.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=1.20 to ~=2.1" -time: 2023-10-30T19:35:14.00000Z -custom: - Author: dependabot[bot] - PR: 651 diff --git a/.changes/1.8.0/Dependencies-20231108-190800.yaml b/.changes/1.8.0/Dependencies-20231108-190800.yaml deleted file mode 100644 index e8ce0c5b4..000000000 --- a/.changes/1.8.0/Dependencies-20231108-190800.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update black requirement from ~=23.10 to ~=23.11" -time: 2023-11-08T19:08:00.00000Z -custom: - Author: dependabot[bot] - PR: 660 diff --git a/.changes/1.8.0/Dependencies-20231110-192349.yaml b/.changes/1.8.0/Dependencies-20231110-192349.yaml deleted file mode 100644 index 90b285065..000000000 --- a/.changes/1.8.0/Dependencies-20231110-192349.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.6.1 to 1.7.0" -time: 2023-11-10T19:23:49.00000Z -custom: - Author: dependabot[bot] - PR: 662 diff --git a/.changes/1.8.0/Dependencies-20231113-195504.yaml b/.changes/1.8.0/Dependencies-20231113-195504.yaml deleted file mode 100644 index 39b81e3e8..000000000 --- a/.changes/1.8.0/Dependencies-20231113-195504.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pytest-xdist requirement from ~=3.3 to ~=3.4" -time: 2023-11-13T19:55:04.00000Z -custom: - Author: dependabot[bot] - PR: 664 diff --git a/.changes/1.8.0/Dependencies-20231116-194405.yaml b/.changes/1.8.0/Dependencies-20231116-194405.yaml deleted file mode 100644 index 608ade10b..000000000 --- a/.changes/1.8.0/Dependencies-20231116-194405.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=2.1 to ~=2.2" -time: 2023-11-16T19:44:05.00000Z -custom: - Author: dependabot[bot] - PR: 665 diff --git a/.changes/1.8.0/Dependencies-20231127-201640.yaml b/.changes/1.8.0/Dependencies-20231127-201640.yaml deleted file mode 100644 index bbcdb6ff9..000000000 --- a/.changes/1.8.0/Dependencies-20231127-201640.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=2.2 to ~=2.3" -time: 2023-11-27T20:16:40.00000Z -custom: - Author: dependabot[bot] - PR: 669 diff --git a/.changes/1.8.0/Dependencies-20231127-201942.yaml b/.changes/1.8.0/Dependencies-20231127-201942.yaml deleted file mode 100644 index ac6c15d53..000000000 --- a/.changes/1.8.0/Dependencies-20231127-201942.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update wheel requirement from ~=0.41 to ~=0.42" -time: 2023-11-27T20:19:42.00000Z -custom: - Author: dependabot[bot] - PR: 670 diff --git a/.changes/1.8.0/Dependencies-20231128-194822.yaml b/.changes/1.8.0/Dependencies-20231128-194822.yaml deleted file mode 100644 index 820ba25d1..000000000 --- a/.changes/1.8.0/Dependencies-20231128-194822.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pytest-xdist requirement from ~=3.4 to ~=3.5" -time: 2023-11-28T19:48:22.00000Z -custom: - Author: dependabot[bot] - PR: 672 diff --git a/.changes/1.8.0/Dependencies-20231129-195044.yaml b/.changes/1.8.0/Dependencies-20231129-195044.yaml deleted file mode 100644 index 235a89777..000000000 --- a/.changes/1.8.0/Dependencies-20231129-195044.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.7.0 to 1.7.1" -time: 2023-11-29T19:50:44.00000Z -custom: - Author: dependabot[bot] - PR: 676 diff --git a/.changes/1.8.0/Dependencies-20231130-044332.yaml b/.changes/1.8.0/Dependencies-20231130-044332.yaml deleted file mode 100644 index 0fbeb9a18..000000000 --- a/.changes/1.8.0/Dependencies-20231130-044332.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: Remove direct boto3 dependency -time: 2023-11-30T04:43:32.872452+11:00 -custom: - Author: hexDoor - PR: "674" diff --git a/.changes/1.8.0/Dependencies-20231204-193730.yaml b/.changes/1.8.0/Dependencies-20231204-193730.yaml deleted file mode 100644 index b1d803288..000000000 --- a/.changes/1.8.0/Dependencies-20231204-193730.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update freezegun requirement from ~=1.2 to ~=1.3" -time: 2023-12-04T19:37:30.00000Z -custom: - Author: dependabot[bot] - PR: 681 diff --git a/.changes/1.8.0/Dependencies-20231212-195417.yaml b/.changes/1.8.0/Dependencies-20231212-195417.yaml deleted file mode 100644 index 2117f6ead..000000000 --- a/.changes/1.8.0/Dependencies-20231212-195417.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update black requirement from ~=23.11 to ~=23.12" -time: 2023-12-12T19:54:17.00000Z -custom: - Author: dependabot[bot] - PR: 688 diff --git a/.changes/1.8.0/Dependencies-20240118-095025.yaml b/.changes/1.8.0/Dependencies-20240118-095025.yaml deleted file mode 100644 index ba61481ba..000000000 --- a/.changes/1.8.0/Dependencies-20240118-095025.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: upgrade redshift driver to 2.0.918 -time: 2024-01-18T09:50:25.871857-08:00 -custom: - Author: colin-rogers-dbt - PR: "700" diff --git a/.changes/1.8.0/Dependencies-20240124-111727.yaml b/.changes/1.8.0/Dependencies-20240124-111727.yaml deleted file mode 100644 index f5874984a..000000000 --- a/.changes/1.8.0/Dependencies-20240124-111727.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: Migrate to dbt-common and dbt-adapters -time: 2024-01-24T11:17:27.580348-08:00 -custom: - Author: colin-rogers-dbt - PR: "706" diff --git a/.changes/1.8.0/Dependencies-20240319-101832.yaml b/.changes/1.8.0/Dependencies-20240319-101832.yaml deleted file mode 100644 index 7b5f0eb3a..000000000 --- a/.changes/1.8.0/Dependencies-20240319-101832.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: hard pin ddtrace -time: 2024-03-19T10:18:32.426032-05:00 -custom: - Author: McKnight-42 - PR: "733" diff --git a/.changes/1.8.0/Dependencies-20240403-134607.yaml b/.changes/1.8.0/Dependencies-20240403-134607.yaml deleted file mode 100644 index ccc80c5e9..000000000 --- a/.changes/1.8.0/Dependencies-20240403-134607.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: Add `dbt-core` as a dependency to preserve backwards compatibility for installation -time: 2024-04-03T13:46:07.335865-04:00 -custom: - Author: mikealfare - PR: "756" diff --git a/.changes/1.8.0/Features-20231030-101055.yaml b/.changes/1.8.0/Features-20231030-101055.yaml deleted file mode 100644 index 8648762e2..000000000 --- a/.changes/1.8.0/Features-20231030-101055.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: allow user to set debug level for redshift-connector via env var -time: 2023-10-30T10:10:55.976191-07:00 -custom: - Author: colin-rogers-dbt - Issue: "650" diff --git a/.changes/1.8.0/Features-20231214-195655.yaml b/.changes/1.8.0/Features-20231214-195655.yaml deleted file mode 100644 index 93f372c67..000000000 --- a/.changes/1.8.0/Features-20231214-195655.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support limiting get_catalog by object name -time: 2023-12-14T19:56:55.124051-05:00 -custom: - Author: mikealfare - Issue: "625" diff --git a/.changes/1.8.0/Features-20231219-120533.yaml b/.changes/1.8.0/Features-20231219-120533.yaml deleted file mode 100644 index 15b5ba1f1..000000000 --- a/.changes/1.8.0/Features-20231219-120533.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add support for checking table-last-modified by metadata -time: 2023-12-19T12:05:33.784649-05:00 -custom: - Author: mikealfare - Issue: "615" diff --git a/.changes/1.8.0/Features-20240318-030018.yaml b/.changes/1.8.0/Features-20240318-030018.yaml deleted file mode 100644 index badab8088..000000000 --- a/.changes/1.8.0/Features-20240318-030018.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add new workflow for internal patch releases -time: 2024-03-18T03:00:18.845618-07:00 -custom: - Author: versusfacit - Issue: "38" diff --git a/.changes/1.8.0/Features-20240404-171441.yaml b/.changes/1.8.0/Features-20240404-171441.yaml deleted file mode 100644 index f1ac623c0..000000000 --- a/.changes/1.8.0/Features-20240404-171441.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support TableLastModifiedMetadataBatch capability -time: 2024-04-04T17:14:41.313087-07:00 -custom: - Author: michelleark - Issue: "755" diff --git a/.changes/1.8.0/Fixes-20231025-203732.yaml b/.changes/1.8.0/Fixes-20231025-203732.yaml deleted file mode 100644 index 9e6bf1af7..000000000 --- a/.changes/1.8.0/Fixes-20231025-203732.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix parsing of database results for materialized view auto refresh -time: 2023-10-25T20:37:32.191259-04:00 -custom: - Author: mikealfare - Issue: "643" diff --git a/.changes/1.8.0/Fixes-20231026-164623.yaml b/.changes/1.8.0/Fixes-20231026-164623.yaml deleted file mode 100644 index f06eff381..000000000 --- a/.changes/1.8.0/Fixes-20231026-164623.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix describe_materialized_view for Redshift Serverless -time: 2023-10-26T16:46:23.253837-06:00 -custom: - Author: reptillicus - Issue: "641" diff --git a/.changes/1.8.0/Fixes-20231030-234315.yaml b/.changes/1.8.0/Fixes-20231030-234315.yaml deleted file mode 100644 index 823e252dd..000000000 --- a/.changes/1.8.0/Fixes-20231030-234315.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Catalog queries assign the appropriate type for materialized views -time: 2023-10-30T23:43:15.281772-04:00 -custom: - Author: mikealfare - Issue: "652" diff --git a/.changes/1.8.0/Fixes-20231103-181357.yaml b/.changes/1.8.0/Fixes-20231103-181357.yaml deleted file mode 100644 index 2995560d2..000000000 --- a/.changes/1.8.0/Fixes-20231103-181357.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix handling of `backup` parameter during config change monitoring -time: 2023-11-03T18:13:57.401994-04:00 -custom: - Author: mikealfare - Issue: "621" diff --git a/.changes/1.8.0/Fixes-20240206-132326.yaml b/.changes/1.8.0/Fixes-20240206-132326.yaml deleted file mode 100644 index 45b3a74c8..000000000 --- a/.changes/1.8.0/Fixes-20240206-132326.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Initialize sqlparse.Lexer to resolve issue with `dbt docs generate` that includes - external tables -time: 2024-02-06T13:23:26.061133-05:00 -custom: - Author: mikealfare - Issue: "710" diff --git a/.changes/1.8.0/Fixes-20240317-113447.yaml b/.changes/1.8.0/Fixes-20240317-113447.yaml deleted file mode 100644 index 4338fc95b..000000000 --- a/.changes/1.8.0/Fixes-20240317-113447.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Pin `redshift-connector` to <2.0.918 to avoid SSL error introduced in 2.0.918 -time: 2024-03-17T11:34:47.873169-04:00 -custom: - Author: mikealfare - Issue: "730" diff --git a/.changes/1.8.0/Fixes-20240326-123703.yaml b/.changes/1.8.0/Fixes-20240326-123703.yaml deleted file mode 100644 index 5d9bee694..000000000 --- a/.changes/1.8.0/Fixes-20240326-123703.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: dbt can cancel open queries upon interrupt -time: 2024-03-26T12:37:03.17481-05:00 -custom: - Author: holly-evans - Issue: "705" diff --git a/.changes/1.8.0/Security-20240327-191927.yaml b/.changes/1.8.0/Security-20240327-191927.yaml deleted file mode 100644 index 763273c79..000000000 --- a/.changes/1.8.0/Security-20240327-191927.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Security -body: Pin `black>=24.3` in `dev-requirements.txt` -time: 2024-03-27T19:19:27.243854-04:00 -custom: - Author: mikealfare - PR: "743" diff --git a/.changes/1.8.0/Security-20240416-195919.yaml b/.changes/1.8.0/Security-20240416-195919.yaml deleted file mode 100644 index af8fb6f1d..000000000 --- a/.changes/1.8.0/Security-20240416-195919.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Security -body: Bump sqlparse to >=0.5.0, <0.6.0 to address GHSA-2m57-hf25-phgg along with dbt-core -time: 2024-04-16T19:59:19.233806-05:00 -custom: - Author: McKnight-42 - PR: "768" diff --git a/.changes/1.8.0/Under the Hood-20231119-132157.yaml b/.changes/1.8.0/Under the Hood-20231119-132157.yaml deleted file mode 100644 index 760c08ccf..000000000 --- a/.changes/1.8.0/Under the Hood-20231119-132157.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Add tests for --empty flag -time: 2023-11-19T13:21:57.588501-05:00 -custom: - Author: michelleark - Issue: "667" diff --git a/.changes/1.8.0/Under the Hood-20240102-152425.yaml b/.changes/1.8.0/Under the Hood-20240102-152425.yaml deleted file mode 100644 index 23a3eeb46..000000000 --- a/.changes/1.8.0/Under the Hood-20240102-152425.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Update base adapter references as part of decoupling migration -time: 2024-01-02T15:24:25.890421-08:00 -custom: - Author: colin-rogers-dbt VersusFacit - Issue: "698" diff --git a/.changes/1.8.0/Under the Hood-20240227-002713.yaml b/.changes/1.8.0/Under the Hood-20240227-002713.yaml deleted file mode 100644 index 48b8de8e4..000000000 --- a/.changes/1.8.0/Under the Hood-20240227-002713.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Add unit test for transaction semantics. -time: 2024-02-27T00:27:13.299107-08:00 -custom: - Author: versusfacit - Issue: "722" diff --git a/.changes/1.8.0/Under the Hood-20240410-182912.yaml b/.changes/1.8.0/Under the Hood-20240410-182912.yaml deleted file mode 100644 index e6826c4d5..000000000 --- a/.changes/1.8.0/Under the Hood-20240410-182912.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Update dependabot config to cover GHA -time: 2024-04-10T18:29:12.026746-04:00 -custom: - Author: mikealfare - Issue: "759" diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cccb342e..298ed1b82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,61 +5,15 @@ - "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.8.0-rc1 - May 03, 2024 - -### Features - -- Support TableLastModifiedMetadataBatch capability ([#755](https://github.com/dbt-labs/dbt-redshift/issues/755)) - - - -## dbt-redshift 1.8.0-b3 - April 18, 2024 - -### Fixes - -- dbt can cancel open queries upon interrupt ([#705](https://github.com/dbt-labs/dbt-redshift/issues/705)) - -### Under the Hood - -- Update dependabot config to cover GHA ([#759](https://github.com/dbt-labs/dbt-redshift/issues/759)) - -### Security - -- Bump sqlparse to >=0.5.0, <0.6.0 to address GHSA-2m57-hf25-phgg along with dbt-core ([#768](https://github.com/dbt-labs/dbt-redshift/pull/768)) - -### Contributors -- [@holly-evans](https://github.com/holly-evans) ([#705](https://github.com/dbt-labs/dbt-redshift/issues/705)) - -## dbt-redshift 1.8.0-b2 - April 03, 2024 - -### Features - -- Add new workflow for internal patch releases ([#38](https://github.com/dbt-labs/dbt-redshift/issues/38)) - -### Fixes - -- Pin `redshift-connector` to <2.0.918 to avoid SSL error introduced in 2.0.918 ([#730](https://github.com/dbt-labs/dbt-redshift/issues/730)) - -### Under the Hood - -- Add unit test for transaction semantics. ([#722](https://github.com/dbt-labs/dbt-redshift/issues/722)) - -### Dependencies - -- hard pin ddtrace ([#733](https://github.com/dbt-labs/dbt-redshift/pull/733)) -- Add `dbt-core` as a dependency to preserve backwards compatibility for installation ([#756](https://github.com/dbt-labs/dbt-redshift/pull/756)) - -### Security - -- Pin `black>=24.3` in `dev-requirements.txt` ([#743](https://github.com/dbt-labs/dbt-redshift/pull/743)) - -## dbt-redshift 1.8.0-b1 - March 01, 2024 +## dbt-redshift 1.8.0 - May 09, 2024 ### Features - allow user to set debug level for redshift-connector via env var ([#650](https://github.com/dbt-labs/dbt-redshift/issues/650)) - Support limiting get_catalog by object name ([#625](https://github.com/dbt-labs/dbt-redshift/issues/625)) - Add support for checking table-last-modified by metadata ([#615](https://github.com/dbt-labs/dbt-redshift/issues/615)) +- Add new workflow for internal patch releases ([#38](https://github.com/dbt-labs/dbt-redshift/issues/38)) +- Support TableLastModifiedMetadataBatch capability ([#755](https://github.com/dbt-labs/dbt-redshift/issues/755)) ### Fixes @@ -68,11 +22,15 @@ - Catalog queries assign the appropriate type for materialized views ([#652](https://github.com/dbt-labs/dbt-redshift/issues/652)) - Fix handling of `backup` parameter during config change monitoring ([#621](https://github.com/dbt-labs/dbt-redshift/issues/621)) - Initialize sqlparse.Lexer to resolve issue with `dbt docs generate` that includes external tables ([#710](https://github.com/dbt-labs/dbt-redshift/issues/710)) +- Pin `redshift-connector` to <2.0.918 to avoid SSL error introduced in 2.0.918 ([#730](https://github.com/dbt-labs/dbt-redshift/issues/730)) +- dbt can cancel open queries upon interrupt ([#705](https://github.com/dbt-labs/dbt-redshift/issues/705)) ### Under the Hood - Add tests for --empty flag ([#667](https://github.com/dbt-labs/dbt-redshift/issues/667)) - Update base adapter references as part of decoupling migration ([#698](https://github.com/dbt-labs/dbt-redshift/issues/698)) +- Add unit test for transaction semantics. ([#722](https://github.com/dbt-labs/dbt-redshift/issues/722)) +- Update dependabot config to cover GHA ([#759](https://github.com/dbt-labs/dbt-redshift/issues/759)) ### Dependencies @@ -97,12 +55,21 @@ - Update black requirement from ~=23.11 to ~=23.12 ([#688](https://github.com/dbt-labs/dbt-redshift/pull/688)) - upgrade redshift driver to 2.0.918 ([#700](https://github.com/dbt-labs/dbt-redshift/pull/700)) - Migrate to dbt-common and dbt-adapters ([#706](https://github.com/dbt-labs/dbt-redshift/pull/706)) +- hard pin ddtrace ([#733](https://github.com/dbt-labs/dbt-redshift/pull/733)) +- Add `dbt-core` as a dependency to preserve backwards compatibility for installation ([#756](https://github.com/dbt-labs/dbt-redshift/pull/756)) + +### Security + +- Pin `black>=24.3` in `dev-requirements.txt` ([#743](https://github.com/dbt-labs/dbt-redshift/pull/743)) +- Bump sqlparse to >=0.5.0, <0.6.0 to address GHSA-2m57-hf25-phgg along with dbt-core ([#768](https://github.com/dbt-labs/dbt-redshift/pull/768)) ### Contributors - [@hexDoor](https://github.com/hexDoor) ([#674](https://github.com/dbt-labs/dbt-redshift/pull/674)) +- [@holly-evans](https://github.com/holly-evans) ([#705](https://github.com/dbt-labs/dbt-redshift/issues/705)) - [@reptillicus](https://github.com/reptillicus) ([#641](https://github.com/dbt-labs/dbt-redshift/issues/641)) - [@soksamnanglim](https://github.com/soksamnanglim) ([#601](https://github.com/dbt-labs/dbt-redshift/pull/601)) + ## 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 037ac1faf..6aaa73b80 100644 --- a/dbt/adapters/redshift/__version__.py +++ b/dbt/adapters/redshift/__version__.py @@ -1 +1 @@ -version = "1.8.0rc1" +version = "1.8.0"