From d1974709f10b3ade881ea35e391dab52c6f735ac Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Mon, 31 Jul 2023 16:29:07 +0000 Subject: [PATCH] Bumping version to 1.6.0 and generate changelog --- .bumpversion.cfg | 2 +- .changes/1.6.0-a1.md | 1 - .changes/1.6.0-b1.md | 10 -- .changes/1.6.0-b2.md | 11 --- .changes/1.6.0-b3.md | 23 ----- .changes/1.6.0-b4.md | 12 --- .changes/1.6.0-b5.md | 5 - .changes/1.6.0-rc1.md | 31 ------ .changes/1.6.0.md | 55 +++++++++++ .../Breaking Changes-20230522-111945.yaml | 7 -- .../Breaking Changes-20230530-165542.yaml | 6 -- .../Breaking Changes-20230614-144743.yaml | 6 -- .../1.6.0/Dependencies-20230421-032407.yaml | 6 -- .../1.6.0/Dependencies-20230515-195952.yaml | 6 -- .../1.6.0/Dependencies-20230523-195945.yaml | 6 -- .../1.6.0/Dependencies-20230605-195944.yaml | 6 -- .../1.6.0/Dependencies-20230620-195844.yaml | 6 -- .../1.6.0/Dependencies-20230624-182902.yaml | 6 -- .../1.6.0/Dependencies-20230626-195917.yaml | 6 -- .../1.6.0/Dependencies-20230626-195934.yaml | 6 -- .../1.6.0/Dependencies-20230703-190419.yaml | 6 -- .changes/1.6.0/Features-20230330-165842.yaml | 6 -- .changes/1.6.0/Features-20230407-104723.yaml | 5 - .changes/1.6.0/Features-20230604-041410.yaml | 6 -- .changes/1.6.0/Features-20230613-144752.yaml | 6 -- .changes/1.6.0/Features-20230622-144649.yaml | 6 -- .changes/1.6.0/Features-20230714-160100.yaml | 6 -- .changes/1.6.0/Fixes-20230428-142321.yaml | 6 -- .changes/1.6.0/Fixes-20230508-094834.yaml | 6 -- .changes/1.6.0/Fixes-20230509-143721.yaml | 6 -- .changes/1.6.0/Fixes-20230512-082027.yaml | 6 -- .changes/1.6.0/Fixes-20230520-043039.yaml | 6 -- .changes/1.6.0/Fixes-20230524-151825.yaml | 6 -- .changes/1.6.0/Fixes-20230524-165236.yaml | 6 -- .changes/1.6.0/Fixes-20230531-153347.yaml | 7 -- .changes/1.6.0/Fixes-20230608-180130.yaml | 6 -- .changes/1.6.0/Fixes-20230612-114853.yaml | 6 -- .changes/1.6.0/Fixes-20230628-123227.yaml | 6 -- .changes/1.6.0/Fixes-20230706-001056.yaml | 6 -- .changes/1.6.0/Fixes-20230706-012233.yaml | 6 -- .changes/1.6.0/Fixes-20230706-123329.yaml | 6 -- .changes/1.6.0/Fixes-20230713-105351.yaml | 6 -- .changes/1.6.0/Fixes-20230713-190412.yaml | 6 -- .../1.6.0/Under the Hood-20230511-162623.yaml | 6 -- CHANGELOG.md | 96 +++++-------------- dbt/adapters/redshift/__version__.py | 2 +- 46 files changed, 83 insertions(+), 376 deletions(-) delete mode 100644 .changes/1.6.0-a1.md delete mode 100644 .changes/1.6.0-b1.md delete mode 100644 .changes/1.6.0-b2.md delete mode 100644 .changes/1.6.0-b3.md delete mode 100644 .changes/1.6.0-b4.md delete mode 100644 .changes/1.6.0-b5.md delete mode 100644 .changes/1.6.0-rc1.md create mode 100644 .changes/1.6.0.md delete mode 100644 .changes/1.6.0/Breaking Changes-20230522-111945.yaml delete mode 100644 .changes/1.6.0/Breaking Changes-20230530-165542.yaml delete mode 100644 .changes/1.6.0/Breaking Changes-20230614-144743.yaml delete mode 100644 .changes/1.6.0/Dependencies-20230421-032407.yaml delete mode 100644 .changes/1.6.0/Dependencies-20230515-195952.yaml delete mode 100644 .changes/1.6.0/Dependencies-20230523-195945.yaml delete mode 100644 .changes/1.6.0/Dependencies-20230605-195944.yaml delete mode 100644 .changes/1.6.0/Dependencies-20230620-195844.yaml delete mode 100644 .changes/1.6.0/Dependencies-20230624-182902.yaml delete mode 100644 .changes/1.6.0/Dependencies-20230626-195917.yaml delete mode 100644 .changes/1.6.0/Dependencies-20230626-195934.yaml delete mode 100644 .changes/1.6.0/Dependencies-20230703-190419.yaml delete mode 100644 .changes/1.6.0/Features-20230330-165842.yaml delete mode 100644 .changes/1.6.0/Features-20230407-104723.yaml delete mode 100644 .changes/1.6.0/Features-20230604-041410.yaml delete mode 100644 .changes/1.6.0/Features-20230613-144752.yaml delete mode 100644 .changes/1.6.0/Features-20230622-144649.yaml delete mode 100644 .changes/1.6.0/Features-20230714-160100.yaml delete mode 100644 .changes/1.6.0/Fixes-20230428-142321.yaml delete mode 100644 .changes/1.6.0/Fixes-20230508-094834.yaml delete mode 100644 .changes/1.6.0/Fixes-20230509-143721.yaml delete mode 100644 .changes/1.6.0/Fixes-20230512-082027.yaml delete mode 100644 .changes/1.6.0/Fixes-20230520-043039.yaml delete mode 100644 .changes/1.6.0/Fixes-20230524-151825.yaml delete mode 100644 .changes/1.6.0/Fixes-20230524-165236.yaml delete mode 100644 .changes/1.6.0/Fixes-20230531-153347.yaml delete mode 100644 .changes/1.6.0/Fixes-20230608-180130.yaml delete mode 100644 .changes/1.6.0/Fixes-20230612-114853.yaml delete mode 100644 .changes/1.6.0/Fixes-20230628-123227.yaml delete mode 100644 .changes/1.6.0/Fixes-20230706-001056.yaml delete mode 100644 .changes/1.6.0/Fixes-20230706-012233.yaml delete mode 100644 .changes/1.6.0/Fixes-20230706-123329.yaml delete mode 100644 .changes/1.6.0/Fixes-20230713-105351.yaml delete mode 100644 .changes/1.6.0/Fixes-20230713-190412.yaml delete mode 100644 .changes/1.6.0/Under the Hood-20230511-162623.yaml diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 4aacba4f3..c2208a577 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.6.0rc1 +current_version = 1.6.0 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.6.0-a1.md b/.changes/1.6.0-a1.md deleted file mode 100644 index 57e14b79c..000000000 --- a/.changes/1.6.0-a1.md +++ /dev/null @@ -1 +0,0 @@ -## dbt-redshift 1.6.0-a1 - April 17, 2023 diff --git a/.changes/1.6.0-b1.md b/.changes/1.6.0-b1.md deleted file mode 100644 index 07e7c693a..000000000 --- a/.changes/1.6.0-b1.md +++ /dev/null @@ -1,10 +0,0 @@ -## dbt-redshift 1.6.0-b1 - May 12, 2023 - -### Fixes - -- Adding region as independent param in profiles ([#419](https://github.com/dbt-labs/dbt-redshift/issues/419)) -- Update signature for execute method ([#'](https://github.com/dbt-labs/dbt-redshift/issues/'), [#'](https://github.com/dbt-labs/dbt-redshift/issues/')) - -### Dependencies - -- Update pytest requirement from ~=7.2 to ~=7.3 ([#414](https://github.com/dbt-labs/dbt-redshift/pull/414)) diff --git a/.changes/1.6.0-b2.md b/.changes/1.6.0-b2.md deleted file mode 100644 index d0f1d2871..000000000 --- a/.changes/1.6.0-b2.md +++ /dev/null @@ -1,11 +0,0 @@ -## dbt-redshift 1.6.0-b2 - May 25, 2023 - -### Fixes - -- Fix redshift_connector issue of timing out after 30s ([#427](https://github.com/dbt-labs/dbt-redshift/issues/427)) -- Add a new connection param to reenable certain Redshift commands in macros. ([#463](https://github.com/dbt-labs/dbt-redshift/issues/463)) -- Escape `%` symbols in table/view/column comments ([#441](https://github.com/dbt-labs/dbt-redshift/issues/441)) -- Use smaller default batch size for seeds ([#347](https://github.com/dbt-labs/dbt-redshift/issues/347)) - -### Contributors -- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#427](https://github.com/dbt-labs/dbt-redshift/issues/427)) diff --git a/.changes/1.6.0-b3.md b/.changes/1.6.0-b3.md deleted file mode 100644 index 31cc589a9..000000000 --- a/.changes/1.6.0-b3.md +++ /dev/null @@ -1,23 +0,0 @@ -## dbt-redshift 1.6.0-b3 - June 09, 2023 - -### Breaking Changes - -- sslmode behavior has changed. To connect without ssl, set sslmode = disable. To connect using ssl, set sslmode to verify-ca, or verify-full. ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429)) -- Drop support for python 3.7 ([#dbt-core/7082](https://github.com/dbt-labs/dbt-redshift/issues/dbt-core/7082)) - -### Features - -- Standardize the _connection_keys and debug_query for `dbt debug`. ([#PR754](https://github.com/dbt-labs/dbt-redshift/issues/PR754)) - -### Fixes - -- translate psycopg2 sslmode to ssl and sslmode in redshift_connector ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429)) -- Get autocommit on by default to restore old semantics users had relied on prior to 1.5. Add tests. ([#425](https://github.com/dbt-labs/dbt-redshift/issues/425)) -- remove depdency on postgres__list_relations_without_caching macro ([#488](https://github.com/dbt-labs/dbt-redshift/issues/488)) - -### Under the Hood - -- test constraint rendering of foreign key and unique constraints ([#7417](https://github.com/dbt-labs/dbt-redshift/issues/7417)) - -### Contributors -- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429), [#429](https://github.com/dbt-labs/dbt-redshift/issues/429)) diff --git a/.changes/1.6.0-b4.md b/.changes/1.6.0-b4.md deleted file mode 100644 index d633633ea..000000000 --- a/.changes/1.6.0-b4.md +++ /dev/null @@ -1,12 +0,0 @@ -## dbt-redshift 1.6.0-b4 - June 16, 2023 - -### Breaking Changes - -- require latest version of redshift_connector driver ([#492](https://github.com/dbt-labs/dbt-redshift/issues/492)) - -### Fixes - -- remove requirement for region param ([#484](https://github.com/dbt-labs/dbt-redshift/issues/484)) - -### Contributors -- [@dataders](https://github.com/dataders) ([#492](https://github.com/dbt-labs/dbt-redshift/issues/492)) diff --git a/.changes/1.6.0-b5.md b/.changes/1.6.0-b5.md deleted file mode 100644 index 3263cb06e..000000000 --- a/.changes/1.6.0-b5.md +++ /dev/null @@ -1,5 +0,0 @@ -## dbt-redshift 1.6.0-b5 - June 23, 2023 - -### Features - -- Add support for materialized views ([#dbt-labs/dbt-core#6911](https://github.com/dbt-labs/dbt-redshift/issues/dbt-labs/dbt-core#6911)) diff --git a/.changes/1.6.0-rc1.md b/.changes/1.6.0-rc1.md deleted file mode 100644 index b01567fcd..000000000 --- a/.changes/1.6.0-rc1.md +++ /dev/null @@ -1,31 +0,0 @@ -## dbt-redshift 1.6.0-rc1 - July 17, 2023 - -### Features - -- ([#179](https://github.com/dbt-labs/dbt-redshift/issues/179)) -- add merge as a new incremental strategy for redshift ([#402](https://github.com/dbt-labs/dbt-redshift/issues/402)) -- add dbt-redshift portion of dbt_clone functionality ([#504](https://github.com/dbt-labs/dbt-redshift/issues/504)) -- Enumerate implemented materialized view features via integration test flags and change `autorefresh` to `auto_refresh` ([#dbt-labs/dbt-core#6911](https://github.com/dbt-labs/dbt-redshift/issues/dbt-labs/dbt-core#6911)) - -### Fixes - -- Remove dependent_projects argument from PartialProject call in unit tests ([#7955](https://github.com/dbt-labs/dbt-redshift/issues/7955)) -- Fix regression in redshift-connector==2.0.912 ([#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) -- Fixed unit test that broke following dbt clone work ([#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) -- cast the port as an int ([#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) -- hard pin dep on redshift_connector ([#531](https://github.com/dbt-labs/dbt-redshift/issues/531), [#532](https://github.com/dbt-labs/dbt-redshift/issues/532)) -- re-enable query commenting ([#536](https://github.com/dbt-labs/dbt-redshift/issues/536)) - -### Dependencies - -- Update pytest-xdist requirement from ~=3.2 to ~=3.3 ([#449](https://github.com/dbt-labs/dbt-redshift/pull/449)) -- Update types-requests requirement from ~=2.28 to ~=2.31 ([#461](https://github.com/dbt-labs/dbt-redshift/pull/461)) -- Update tox requirement from ~=4.5 to ~=4.6 ([#481](https://github.com/dbt-labs/dbt-redshift/pull/481)) -- Bump mypy from 1.2.0 to 1.4.0 ([#503](https://github.com/dbt-labs/dbt-redshift/pull/503)) -- Update pre-commit requirement from ~=2.21 to ~=3.3 ([#426](https://github.com/dbt-labs/dbt-redshift/pull/426)) -- Update pytest requirement from ~=7.3 to ~=7.4 ([#507](https://github.com/dbt-labs/dbt-redshift/pull/507)) -- Bump mypy from 1.4.0 to 1.4.1 ([#508](https://github.com/dbt-labs/dbt-redshift/pull/508)) -- Update pip-tools requirement from ~=6.13 to ~=6.14 ([#517](https://github.com/dbt-labs/dbt-redshift/pull/517)) - -### Contributors -- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#179](https://github.com/dbt-labs/dbt-redshift/issues/179), [#402](https://github.com/dbt-labs/dbt-redshift/issues/402), [#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) diff --git a/.changes/1.6.0.md b/.changes/1.6.0.md new file mode 100644 index 000000000..4033636f3 --- /dev/null +++ b/.changes/1.6.0.md @@ -0,0 +1,55 @@ +## dbt-redshift 1.6.0 - July 31, 2023 + +### Breaking Changes + +- sslmode behavior has changed. To connect without ssl, set sslmode = disable. To connect using ssl, set sslmode to verify-ca, or verify-full. ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429)) +- Drop support for python 3.7 ([#dbt-core/7082](https://github.com/dbt-labs/dbt-redshift/issues/dbt-core/7082)) +- require latest version of redshift_connector driver ([#492](https://github.com/dbt-labs/dbt-redshift/issues/492)) + +### Features + +- Add support for materialized views ([#dbt-labs/dbt-core#6911](https://github.com/dbt-labs/dbt-redshift/issues/dbt-labs/dbt-core#6911)) +- ([#179](https://github.com/dbt-labs/dbt-redshift/issues/179)) +- Standardize the _connection_keys and debug_query for `dbt debug`. ([#PR754](https://github.com/dbt-labs/dbt-redshift/issues/PR754)) +- add merge as a new incremental strategy for redshift ([#402](https://github.com/dbt-labs/dbt-redshift/issues/402)) +- add dbt-redshift portion of dbt_clone functionality ([#504](https://github.com/dbt-labs/dbt-redshift/issues/504)) +- Enumerate implemented materialized view features via integration test flags and change `autorefresh` to `auto_refresh` ([#dbt-labs/dbt-core#6911](https://github.com/dbt-labs/dbt-redshift/issues/dbt-labs/dbt-core#6911)) + +### Fixes + +- Adding region as independent param in profiles ([#419](https://github.com/dbt-labs/dbt-redshift/issues/419)) +- Fix redshift_connector issue of timing out after 30s ([#427](https://github.com/dbt-labs/dbt-redshift/issues/427)) +- Update signature for execute method ([#'](https://github.com/dbt-labs/dbt-redshift/issues/'), [#'](https://github.com/dbt-labs/dbt-redshift/issues/')) +- translate psycopg2 sslmode to ssl and sslmode in redshift_connector ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429)) +- Add a new connection param to reenable certain Redshift commands in macros. ([#463](https://github.com/dbt-labs/dbt-redshift/issues/463)) +- Escape `%` symbols in table/view/column comments ([#441](https://github.com/dbt-labs/dbt-redshift/issues/441)) +- Use smaller default batch size for seeds ([#347](https://github.com/dbt-labs/dbt-redshift/issues/347)) +- Get autocommit on by default to restore old semantics users had relied on prior to 1.5. Add tests. ([#425](https://github.com/dbt-labs/dbt-redshift/issues/425)) +- remove depdency on postgres__list_relations_without_caching macro ([#488](https://github.com/dbt-labs/dbt-redshift/issues/488)) +- remove requirement for region param ([#484](https://github.com/dbt-labs/dbt-redshift/issues/484)) +- Remove dependent_projects argument from PartialProject call in unit tests ([#7955](https://github.com/dbt-labs/dbt-redshift/issues/7955)) +- Fix regression in redshift-connector==2.0.912 ([#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) +- Fixed unit test that broke following dbt clone work ([#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) +- cast the port as an int ([#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) +- hard pin dep on redshift_connector ([#531](https://github.com/dbt-labs/dbt-redshift/issues/531), [#532](https://github.com/dbt-labs/dbt-redshift/issues/532)) +- re-enable query commenting ([#536](https://github.com/dbt-labs/dbt-redshift/issues/536)) + +### Under the Hood + +- test constraint rendering of foreign key and unique constraints ([#7417](https://github.com/dbt-labs/dbt-redshift/issues/7417)) + +### Dependencies + +- Update pytest requirement from ~=7.2 to ~=7.3 ([#414](https://github.com/dbt-labs/dbt-redshift/pull/414)) +- Update pytest-xdist requirement from ~=3.2 to ~=3.3 ([#449](https://github.com/dbt-labs/dbt-redshift/pull/449)) +- Update types-requests requirement from ~=2.28 to ~=2.31 ([#461](https://github.com/dbt-labs/dbt-redshift/pull/461)) +- Update tox requirement from ~=4.5 to ~=4.6 ([#481](https://github.com/dbt-labs/dbt-redshift/pull/481)) +- Bump mypy from 1.2.0 to 1.4.0 ([#503](https://github.com/dbt-labs/dbt-redshift/pull/503)) +- Update pre-commit requirement from ~=2.21 to ~=3.3 ([#426](https://github.com/dbt-labs/dbt-redshift/pull/426)) +- Update pytest requirement from ~=7.3 to ~=7.4 ([#507](https://github.com/dbt-labs/dbt-redshift/pull/507)) +- Bump mypy from 1.4.0 to 1.4.1 ([#508](https://github.com/dbt-labs/dbt-redshift/pull/508)) +- Update pip-tools requirement from ~=6.13 to ~=6.14 ([#517](https://github.com/dbt-labs/dbt-redshift/pull/517)) + +### Contributors +- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429), [#179](https://github.com/dbt-labs/dbt-redshift/issues/179), [#402](https://github.com/dbt-labs/dbt-redshift/issues/402), [#427](https://github.com/dbt-labs/dbt-redshift/issues/427), [#429](https://github.com/dbt-labs/dbt-redshift/issues/429), [#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) +- [@nssalian](https://github.com/nssalian) ([#419](https://github.com/dbt-labs/dbt-redshift/issues/419), [#'](https://github.com/dbt-labs/dbt-redshift/issues/'), [#'](https://github.com/dbt-labs/dbt-redshift/issues/')) diff --git a/.changes/1.6.0/Breaking Changes-20230522-111945.yaml b/.changes/1.6.0/Breaking Changes-20230522-111945.yaml deleted file mode 100644 index 63a03b3ba..000000000 --- a/.changes/1.6.0/Breaking Changes-20230522-111945.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Breaking Changes -body: sslmode behavior has changed. To connect without ssl, set sslmode = disable. - To connect using ssl, set sslmode to verify-ca, or verify-full. -time: 2023-05-22T11:19:45.927903-07:00 -custom: - Author: jiezhen-chen - Issue: "429" diff --git a/.changes/1.6.0/Breaking Changes-20230530-165542.yaml b/.changes/1.6.0/Breaking Changes-20230530-165542.yaml deleted file mode 100644 index 68b4bfdda..000000000 --- a/.changes/1.6.0/Breaking Changes-20230530-165542.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Breaking Changes -body: Drop support for python 3.7 -time: 2023-05-30T16:55:42.393416-04:00 -custom: - Author: mikealfare - Issue: dbt-core/7082 diff --git a/.changes/1.6.0/Breaking Changes-20230614-144743.yaml b/.changes/1.6.0/Breaking Changes-20230614-144743.yaml deleted file mode 100644 index c83a7db5e..000000000 --- a/.changes/1.6.0/Breaking Changes-20230614-144743.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Breaking Changes -body: require latest version of redshift_connector driver -time: 2023-06-14T14:47:43.90505-04:00 -custom: - Author: dataders - Issue: "492" diff --git a/.changes/1.6.0/Dependencies-20230421-032407.yaml b/.changes/1.6.0/Dependencies-20230421-032407.yaml deleted file mode 100644 index 5b08ed592..000000000 --- a/.changes/1.6.0/Dependencies-20230421-032407.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: "Update pytest requirement from ~=7.2 to ~=7.3" -time: 2023-04-21T03:24:07.00000Z -custom: - Author: mikealfare - PR: 414 diff --git a/.changes/1.6.0/Dependencies-20230515-195952.yaml b/.changes/1.6.0/Dependencies-20230515-195952.yaml deleted file mode 100644 index 6cfb3a14c..000000000 --- a/.changes/1.6.0/Dependencies-20230515-195952.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pytest-xdist requirement from ~=3.2 to ~=3.3" -time: 2023-05-15T19:59:52.00000Z -custom: - Author: dependabot[bot] - PR: 449 diff --git a/.changes/1.6.0/Dependencies-20230523-195945.yaml b/.changes/1.6.0/Dependencies-20230523-195945.yaml deleted file mode 100644 index c2a8a363d..000000000 --- a/.changes/1.6.0/Dependencies-20230523-195945.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update types-requests requirement from ~=2.28 to ~=2.31" -time: 2023-05-23T19:59:45.00000Z -custom: - Author: dependabot[bot] - PR: 461 diff --git a/.changes/1.6.0/Dependencies-20230605-195944.yaml b/.changes/1.6.0/Dependencies-20230605-195944.yaml deleted file mode 100644 index 52e3ab254..000000000 --- a/.changes/1.6.0/Dependencies-20230605-195944.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.5 to ~=4.6" -time: 2023-06-05T19:59:44.00000Z -custom: - Author: dependabot[bot] - PR: 481 diff --git a/.changes/1.6.0/Dependencies-20230620-195844.yaml b/.changes/1.6.0/Dependencies-20230620-195844.yaml deleted file mode 100644 index 86b482554..000000000 --- a/.changes/1.6.0/Dependencies-20230620-195844.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.2.0 to 1.4.0" -time: 2023-06-20T19:58:44.00000Z -custom: - Author: dependabot[bot] - PR: 503 diff --git a/.changes/1.6.0/Dependencies-20230624-182902.yaml b/.changes/1.6.0/Dependencies-20230624-182902.yaml deleted file mode 100644 index 763f74040..000000000 --- a/.changes/1.6.0/Dependencies-20230624-182902.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pre-commit requirement from ~=2.21 to ~=3.3" -time: 2023-06-24T18:29:02.00000Z -custom: - Author: dependabot[bot] - PR: 426 diff --git a/.changes/1.6.0/Dependencies-20230626-195917.yaml b/.changes/1.6.0/Dependencies-20230626-195917.yaml deleted file mode 100644 index c1dcdc504..000000000 --- a/.changes/1.6.0/Dependencies-20230626-195917.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pytest requirement from ~=7.3 to ~=7.4" -time: 2023-06-26T19:59:17.00000Z -custom: - Author: dependabot[bot] - PR: 507 diff --git a/.changes/1.6.0/Dependencies-20230626-195934.yaml b/.changes/1.6.0/Dependencies-20230626-195934.yaml deleted file mode 100644 index 4bb681e34..000000000 --- a/.changes/1.6.0/Dependencies-20230626-195934.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.4.0 to 1.4.1" -time: 2023-06-26T19:59:34.00000Z -custom: - Author: dependabot[bot] - PR: 508 diff --git a/.changes/1.6.0/Dependencies-20230703-190419.yaml b/.changes/1.6.0/Dependencies-20230703-190419.yaml deleted file mode 100644 index d736196a3..000000000 --- a/.changes/1.6.0/Dependencies-20230703-190419.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pip-tools requirement from ~=6.13 to ~=6.14" -time: 2023-07-03T19:04:19.00000Z -custom: - Author: dependabot[bot] - PR: 517 diff --git a/.changes/1.6.0/Features-20230330-165842.yaml b/.changes/1.6.0/Features-20230330-165842.yaml deleted file mode 100644 index 4f03197aa..000000000 --- a/.changes/1.6.0/Features-20230330-165842.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add support for materialized views -time: 2023-03-30T16:58:42.413699-04:00 -custom: - Author: mikealfare McKnight-42 - Issue: dbt-labs/dbt-core#6911 diff --git a/.changes/1.6.0/Features-20230407-104723.yaml b/.changes/1.6.0/Features-20230407-104723.yaml deleted file mode 100644 index 44344e249..000000000 --- a/.changes/1.6.0/Features-20230407-104723.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Features -time: 2023-04-07T10:47:23.105369-07:00 -custom: - Author: jiezhen-chen - Issue: 179 diff --git a/.changes/1.6.0/Features-20230604-041410.yaml b/.changes/1.6.0/Features-20230604-041410.yaml deleted file mode 100644 index e617e3561..000000000 --- a/.changes/1.6.0/Features-20230604-041410.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Standardize the _connection_keys and debug_query for `dbt debug`. -time: 2023-06-04T04:14:10.191263-07:00 -custom: - Author: versusfacit - Issue: PR754 diff --git a/.changes/1.6.0/Features-20230613-144752.yaml b/.changes/1.6.0/Features-20230613-144752.yaml deleted file mode 100644 index 2b254a9ce..000000000 --- a/.changes/1.6.0/Features-20230613-144752.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: add merge as a new incremental strategy for redshift -time: 2023-06-13T14:47:52.054853-07:00 -custom: - Author: jiezhen-chen - Issue: "402" diff --git a/.changes/1.6.0/Features-20230622-144649.yaml b/.changes/1.6.0/Features-20230622-144649.yaml deleted file mode 100644 index 009dcb861..000000000 --- a/.changes/1.6.0/Features-20230622-144649.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: add dbt-redshift portion of dbt_clone functionality -time: 2023-06-22T14:46:49.037145-05:00 -custom: - Author: McKnight-42 aranke - Issue: "504" diff --git a/.changes/1.6.0/Features-20230714-160100.yaml b/.changes/1.6.0/Features-20230714-160100.yaml deleted file mode 100644 index 44bddf227..000000000 --- a/.changes/1.6.0/Features-20230714-160100.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Enumerate implemented materialized view features via integration test flags and change `autorefresh` to `auto_refresh` -time: 2023-07-14T16:01:00.54015-04:00 -custom: - Author: mikealfare - Issue: dbt-labs/dbt-core#6911 diff --git a/.changes/1.6.0/Fixes-20230428-142321.yaml b/.changes/1.6.0/Fixes-20230428-142321.yaml deleted file mode 100644 index c7fefda43..000000000 --- a/.changes/1.6.0/Fixes-20230428-142321.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Adding region as independent param in profiles -time: 2023-04-28T14:23:21.041865-07:00 -custom: - Author: nssalian - Issue: "419" diff --git a/.changes/1.6.0/Fixes-20230508-094834.yaml b/.changes/1.6.0/Fixes-20230508-094834.yaml deleted file mode 100644 index 378c428e3..000000000 --- a/.changes/1.6.0/Fixes-20230508-094834.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix redshift_connector issue of timing out after 30s -time: 2023-05-08T09:48:34.019843-07:00 -custom: - Author: jiezhen-chen - Issue: "427" diff --git a/.changes/1.6.0/Fixes-20230509-143721.yaml b/.changes/1.6.0/Fixes-20230509-143721.yaml deleted file mode 100644 index 6d80abf7c..000000000 --- a/.changes/1.6.0/Fixes-20230509-143721.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Update signature for execute method -time: 2023-05-09T14:37:21.163869-07:00 -custom: - Author: nssalian - Issue: ''' ''' diff --git a/.changes/1.6.0/Fixes-20230512-082027.yaml b/.changes/1.6.0/Fixes-20230512-082027.yaml deleted file mode 100644 index 7116257d8..000000000 --- a/.changes/1.6.0/Fixes-20230512-082027.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: translate psycopg2 sslmode to ssl and sslmode in redshift_connector -time: 2023-05-12T08:20:27.486301-07:00 -custom: - Author: jiezhen-chen - Issue: "429" diff --git a/.changes/1.6.0/Fixes-20230520-043039.yaml b/.changes/1.6.0/Fixes-20230520-043039.yaml deleted file mode 100644 index 1cb97526e..000000000 --- a/.changes/1.6.0/Fixes-20230520-043039.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Add a new connection param to reenable certain Redshift commands in macros. -time: 2023-05-20T04:30:39.358755-07:00 -custom: - Author: versusfacit - Issue: "463" diff --git a/.changes/1.6.0/Fixes-20230524-151825.yaml b/.changes/1.6.0/Fixes-20230524-151825.yaml deleted file mode 100644 index bed2f78e4..000000000 --- a/.changes/1.6.0/Fixes-20230524-151825.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Escape `%` symbols in table/view/column comments -time: 2023-05-24T15:18:25.834088-06:00 -custom: - Author: dbeatty10 - Issue: "441" diff --git a/.changes/1.6.0/Fixes-20230524-165236.yaml b/.changes/1.6.0/Fixes-20230524-165236.yaml deleted file mode 100644 index 083191405..000000000 --- a/.changes/1.6.0/Fixes-20230524-165236.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Use smaller default batch size for seeds -time: 2023-05-24T16:52:36.915348-06:00 -custom: - Author: dbeatty10 - Issue: "347" diff --git a/.changes/1.6.0/Fixes-20230531-153347.yaml b/.changes/1.6.0/Fixes-20230531-153347.yaml deleted file mode 100644 index 4c4d324ad..000000000 --- a/.changes/1.6.0/Fixes-20230531-153347.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Get autocommit on by default to restore old semantics users had relied on prior - to 1.5. Add tests. -time: 2023-05-31T15:33:47.180508-07:00 -custom: - Author: versusfacit - Issue: "425" diff --git a/.changes/1.6.0/Fixes-20230608-180130.yaml b/.changes/1.6.0/Fixes-20230608-180130.yaml deleted file mode 100644 index 47dfda72c..000000000 --- a/.changes/1.6.0/Fixes-20230608-180130.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: remove depdency on postgres__list_relations_without_caching macro -time: 2023-06-08T18:01:30.954976-07:00 -custom: - Author: colin-rogers-dbt - Issue: "488" diff --git a/.changes/1.6.0/Fixes-20230612-114853.yaml b/.changes/1.6.0/Fixes-20230612-114853.yaml deleted file mode 100644 index 1650c5704..000000000 --- a/.changes/1.6.0/Fixes-20230612-114853.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: remove requirement for region param -time: 2023-06-12T11:48:53.980327-07:00 -custom: - Author: colin-rogers-dbt - Issue: "484" diff --git a/.changes/1.6.0/Fixes-20230628-123227.yaml b/.changes/1.6.0/Fixes-20230628-123227.yaml deleted file mode 100644 index 4ece8f404..000000000 --- a/.changes/1.6.0/Fixes-20230628-123227.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Remove dependent_projects argument from PartialProject call in unit tests -time: 2023-06-28T12:32:27.637669-04:00 -custom: - Author: mikealfare - Issue: "7955" diff --git a/.changes/1.6.0/Fixes-20230706-001056.yaml b/.changes/1.6.0/Fixes-20230706-001056.yaml deleted file mode 100644 index 79b205caf..000000000 --- a/.changes/1.6.0/Fixes-20230706-001056.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix regression in redshift-connector==2.0.912 -time: 2023-07-06T00:10:56.337407-04:00 -custom: - Author: mikealfare - Issue: "518" diff --git a/.changes/1.6.0/Fixes-20230706-012233.yaml b/.changes/1.6.0/Fixes-20230706-012233.yaml deleted file mode 100644 index bc28b2eec..000000000 --- a/.changes/1.6.0/Fixes-20230706-012233.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fixed unit test that broke following dbt clone work -time: 2023-07-06T01:22:33.840137-04:00 -custom: - Author: mikealfare - Issue: "518" diff --git a/.changes/1.6.0/Fixes-20230706-123329.yaml b/.changes/1.6.0/Fixes-20230706-123329.yaml deleted file mode 100644 index afda869d0..000000000 --- a/.changes/1.6.0/Fixes-20230706-123329.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: cast the port as an int -time: 2023-07-06T12:33:29.799921-07:00 -custom: - Author: jiezhen-chen - Issue: "518" diff --git a/.changes/1.6.0/Fixes-20230713-105351.yaml b/.changes/1.6.0/Fixes-20230713-105351.yaml deleted file mode 100644 index 47193a357..000000000 --- a/.changes/1.6.0/Fixes-20230713-105351.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: hard pin dep on redshift_connector -time: 2023-07-13T10:53:51.463072-04:00 -custom: - Author: dataders - Issue: 531 532 diff --git a/.changes/1.6.0/Fixes-20230713-190412.yaml b/.changes/1.6.0/Fixes-20230713-190412.yaml deleted file mode 100644 index d50ab7a1f..000000000 --- a/.changes/1.6.0/Fixes-20230713-190412.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: re-enable query commenting -time: 2023-07-13T19:04:12.580073-04:00 -custom: - Author: dataders - Issue: "536" diff --git a/.changes/1.6.0/Under the Hood-20230511-162623.yaml b/.changes/1.6.0/Under the Hood-20230511-162623.yaml deleted file mode 100644 index 9166641af..000000000 --- a/.changes/1.6.0/Under the Hood-20230511-162623.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: test constraint rendering of foreign key and unique constraints -time: 2023-05-11T16:26:23.49096-04:00 -custom: - Author: michelleark - Issue: "7417" diff --git a/CHANGELOG.md b/CHANGELOG.md index 10d12ce2c..943231468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,17 +5,35 @@ - "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.6.0-rc1 - July 17, 2023 +## dbt-redshift 1.6.0 - July 31, 2023 + +### Breaking Changes + +- sslmode behavior has changed. To connect without ssl, set sslmode = disable. To connect using ssl, set sslmode to verify-ca, or verify-full. ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429)) +- Drop support for python 3.7 ([#dbt-core/7082](https://github.com/dbt-labs/dbt-redshift/issues/dbt-core/7082)) +- require latest version of redshift_connector driver ([#492](https://github.com/dbt-labs/dbt-redshift/issues/492)) ### Features +- Add support for materialized views ([#dbt-labs/dbt-core#6911](https://github.com/dbt-labs/dbt-redshift/issues/dbt-labs/dbt-core#6911)) - ([#179](https://github.com/dbt-labs/dbt-redshift/issues/179)) +- Standardize the _connection_keys and debug_query for `dbt debug`. ([#PR754](https://github.com/dbt-labs/dbt-redshift/issues/PR754)) - add merge as a new incremental strategy for redshift ([#402](https://github.com/dbt-labs/dbt-redshift/issues/402)) - add dbt-redshift portion of dbt_clone functionality ([#504](https://github.com/dbt-labs/dbt-redshift/issues/504)) - Enumerate implemented materialized view features via integration test flags and change `autorefresh` to `auto_refresh` ([#dbt-labs/dbt-core#6911](https://github.com/dbt-labs/dbt-redshift/issues/dbt-labs/dbt-core#6911)) ### Fixes +- Adding region as independent param in profiles ([#419](https://github.com/dbt-labs/dbt-redshift/issues/419)) +- Fix redshift_connector issue of timing out after 30s ([#427](https://github.com/dbt-labs/dbt-redshift/issues/427)) +- Update signature for execute method ([#'](https://github.com/dbt-labs/dbt-redshift/issues/'), [#'](https://github.com/dbt-labs/dbt-redshift/issues/')) +- translate psycopg2 sslmode to ssl and sslmode in redshift_connector ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429)) +- Add a new connection param to reenable certain Redshift commands in macros. ([#463](https://github.com/dbt-labs/dbt-redshift/issues/463)) +- Escape `%` symbols in table/view/column comments ([#441](https://github.com/dbt-labs/dbt-redshift/issues/441)) +- Use smaller default batch size for seeds ([#347](https://github.com/dbt-labs/dbt-redshift/issues/347)) +- Get autocommit on by default to restore old semantics users had relied on prior to 1.5. Add tests. ([#425](https://github.com/dbt-labs/dbt-redshift/issues/425)) +- remove depdency on postgres__list_relations_without_caching macro ([#488](https://github.com/dbt-labs/dbt-redshift/issues/488)) +- remove requirement for region param ([#484](https://github.com/dbt-labs/dbt-redshift/issues/484)) - Remove dependent_projects argument from PartialProject call in unit tests ([#7955](https://github.com/dbt-labs/dbt-redshift/issues/7955)) - Fix regression in redshift-connector==2.0.912 ([#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) - Fixed unit test that broke following dbt clone work ([#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) @@ -23,8 +41,13 @@ - hard pin dep on redshift_connector ([#531](https://github.com/dbt-labs/dbt-redshift/issues/531), [#532](https://github.com/dbt-labs/dbt-redshift/issues/532)) - re-enable query commenting ([#536](https://github.com/dbt-labs/dbt-redshift/issues/536)) +### Under the Hood + +- test constraint rendering of foreign key and unique constraints ([#7417](https://github.com/dbt-labs/dbt-redshift/issues/7417)) + ### Dependencies +- Update pytest requirement from ~=7.2 to ~=7.3 ([#414](https://github.com/dbt-labs/dbt-redshift/pull/414)) - Update pytest-xdist requirement from ~=3.2 to ~=3.3 ([#449](https://github.com/dbt-labs/dbt-redshift/pull/449)) - Update types-requests requirement from ~=2.28 to ~=2.31 ([#461](https://github.com/dbt-labs/dbt-redshift/pull/461)) - Update tox requirement from ~=4.5 to ~=4.6 ([#481](https://github.com/dbt-labs/dbt-redshift/pull/481)) @@ -35,76 +58,9 @@ - Update pip-tools requirement from ~=6.13 to ~=6.14 ([#517](https://github.com/dbt-labs/dbt-redshift/pull/517)) ### Contributors -- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#179](https://github.com/dbt-labs/dbt-redshift/issues/179), [#402](https://github.com/dbt-labs/dbt-redshift/issues/402), [#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) - - -## dbt-redshift 1.6.0-b5 - June 23, 2023 - -### Features - -- Add support for materialized views ([#dbt-labs/dbt-core#6911](https://github.com/dbt-labs/dbt-redshift/issues/dbt-labs/dbt-core#6911)) - -## dbt-redshift 1.6.0-b4 - June 16, 2023 - -### Breaking Changes - -- require latest version of redshift_connector driver ([#492](https://github.com/dbt-labs/dbt-redshift/issues/492)) - -### Fixes - -- remove requirement for region param ([#484](https://github.com/dbt-labs/dbt-redshift/issues/484)) - -### Contributors -- [@dataders](https://github.com/dataders) ([#492](https://github.com/dbt-labs/dbt-redshift/issues/492)) - -## dbt-redshift 1.6.0-b3 - June 09, 2023 - -### Breaking Changes - -- sslmode behavior has changed. To connect without ssl, set sslmode = disable. To connect using ssl, set sslmode to verify-ca, or verify-full. ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429)) -- Drop support for python 3.7 ([#dbt-core/7082](https://github.com/dbt-labs/dbt-redshift/issues/dbt-core/7082)) - -### Features - -- Standardize the _connection_keys and debug_query for `dbt debug`. ([#PR754](https://github.com/dbt-labs/dbt-redshift/issues/PR754)) - -### Fixes - -- translate psycopg2 sslmode to ssl and sslmode in redshift_connector ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429)) -- Get autocommit on by default to restore old semantics users had relied on prior to 1.5. Add tests. ([#425](https://github.com/dbt-labs/dbt-redshift/issues/425)) -- remove depdency on postgres__list_relations_without_caching macro ([#488](https://github.com/dbt-labs/dbt-redshift/issues/488)) - -### Under the Hood - -- test constraint rendering of foreign key and unique constraints ([#7417](https://github.com/dbt-labs/dbt-redshift/issues/7417)) - -### Contributors -- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429), [#429](https://github.com/dbt-labs/dbt-redshift/issues/429)) - -## dbt-redshift 1.6.0-b2 - May 25, 2023 - -### Fixes - -- Fix redshift_connector issue of timing out after 30s ([#427](https://github.com/dbt-labs/dbt-redshift/issues/427)) -- Add a new connection param to reenable certain Redshift commands in macros. ([#463](https://github.com/dbt-labs/dbt-redshift/issues/463)) -- Escape `%` symbols in table/view/column comments ([#441](https://github.com/dbt-labs/dbt-redshift/issues/441)) -- Use smaller default batch size for seeds ([#347](https://github.com/dbt-labs/dbt-redshift/issues/347)) - -### Contributors -- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#427](https://github.com/dbt-labs/dbt-redshift/issues/427)) - -## dbt-redshift 1.6.0-b1 - May 12, 2023 - -### Fixes - -- Adding region as independent param in profiles ([#419](https://github.com/dbt-labs/dbt-redshift/issues/419)) -- Update signature for execute method ([#'](https://github.com/dbt-labs/dbt-redshift/issues/'), [#'](https://github.com/dbt-labs/dbt-redshift/issues/')) - -### Dependencies - -- Update pytest requirement from ~=7.2 to ~=7.3 ([#414](https://github.com/dbt-labs/dbt-redshift/pull/414)) +- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429), [#179](https://github.com/dbt-labs/dbt-redshift/issues/179), [#402](https://github.com/dbt-labs/dbt-redshift/issues/402), [#427](https://github.com/dbt-labs/dbt-redshift/issues/427), [#429](https://github.com/dbt-labs/dbt-redshift/issues/429), [#518](https://github.com/dbt-labs/dbt-redshift/issues/518)) +- [@nssalian](https://github.com/nssalian) ([#419](https://github.com/dbt-labs/dbt-redshift/issues/419), [#'](https://github.com/dbt-labs/dbt-redshift/issues/'), [#'](https://github.com/dbt-labs/dbt-redshift/issues/')) -## dbt-redshift 1.6.0-a1 - April 17, 2023 ## Previous Releases For information on prior major and minor releases, see their changelogs: diff --git a/dbt/adapters/redshift/__version__.py b/dbt/adapters/redshift/__version__.py index 7a0130d40..38ec8ede9 100644 --- a/dbt/adapters/redshift/__version__.py +++ b/dbt/adapters/redshift/__version__.py @@ -1 +1 @@ -version = "1.6.0rc1" +version = "1.6.0"