diff --git a/.bumpversion.cfg b/.bumpversion.cfg index f3d7dd51b..e556c7e9f 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.9.0b2 +current_version = 1.10.0a1 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.9.0-b1.md b/.changes/1.9.0-b1.md deleted file mode 100644 index 7bebffe00..000000000 --- a/.changes/1.9.0-b1.md +++ /dev/null @@ -1,42 +0,0 @@ -## dbt-redshift 1.9.0-b1 - October 01, 2024 - -### Features - -- Support IAM user auth via direct parameters, in addition to the existing profile method ([#760](https://github.com/dbt-labs/dbt-redshift/issues/760)) -- Add support for IAM Role auth ([#623](https://github.com/dbt-labs/dbt-redshift/issues/623)) -- Add tests for cross-database `cast` macro ([#804](https://github.com/dbt-labs/dbt-redshift/issues/804)) -- Cross-database `date` macro ([#808](https://github.com/dbt-labs/dbt-redshift/issues/808)) -- Remove `pg_catalog` from metadata queries ([#555](https://github.com/dbt-labs/dbt-redshift/issues/555)) - -### Fixes - -- Stop adding aliases to subqueries when calling with `--empty` ([#782](https://github.com/dbt-labs/dbt-redshift/issues/782)) -- Support IAM Role authentication for Redshift Serverless ([#835](https://github.com/dbt-labs/dbt-redshift/issues/835)) -- Fix config change detection not working for multiple sortkey in materialized views ([#838](https://github.com/dbt-labs/dbt-redshift/issues/838)) -- update pin range for redshift-connector to allow 2.1.0 ([#844](https://github.com/dbt-labs/dbt-redshift/issues/844)) -- Handle unit test fixtures where typing goes wrong from first value in column being Null. ([#821](https://github.com/dbt-labs/dbt-redshift/issues/821)) -- Fix materialized views comment syntax ([#837](https://github.com/dbt-labs/dbt-redshift/issues/837)) -- Support DROP CASCADE for materialized views; fixes bug that occurs when running dbt on materialized views that reference other materialized views ([#642](https://github.com/dbt-labs/dbt-redshift/issues/642)) - -### Under the Hood - -- Lazy load agate ([#745](https://github.com/dbt-labs/dbt-redshift/issues/745)) -- Remove `freezegun` as a testing dependency; this package is no longer used ([#1136](https://github.com/dbt-labs/dbt-redshift/issues/1136)) - -### Dependencies - -- Update freezegun requirement from ~=1.3 to ~=1.4 ([#695](https://github.com/dbt-labs/dbt-redshift/pull/695)) -- Bump dbt-labs/actions from 1.1.0 to 1.1.1 ([#762](https://github.com/dbt-labs/dbt-redshift/pull/762)) -- Bump actions/checkout from 3 to 4 ([#802](https://github.com/dbt-labs/dbt-redshift/pull/802)) -- Bump pre-commit from 3.7.0 to 3.7.1 ([#867](https://github.com/dbt-labs/dbt-redshift/pull/867)) -- Update tox requirement from ~=4.11 to ~=4.16 ([#870](https://github.com/dbt-labs/dbt-redshift/pull/870)) -- Update twine requirement from ~=4.0 to ~=5.1 ([#876](https://github.com/dbt-labs/dbt-redshift/pull/876)) - -### Contributors -- [@dwreeves](https://github.com/dwreeves) ([#745](https://github.com/dbt-labs/dbt-redshift/issues/745)) -- [@fleid](https://github.com/fleid) ([#835](https://github.com/dbt-labs/dbt-redshift/issues/835)) -- [@jeremyyeo](https://github.com/jeremyyeo) ([#837](https://github.com/dbt-labs/dbt-redshift/issues/837)) -- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#555](https://github.com/dbt-labs/dbt-redshift/issues/555)) -- [@lvitti](https://github.com/lvitti) ([#838](https://github.com/dbt-labs/dbt-redshift/issues/838)) -- [@mikealfare,](https://github.com/mikealfare,) ([#555](https://github.com/dbt-labs/dbt-redshift/issues/555)) -- [@mikealfare,abbywh](https://github.com/mikealfare,abbywh) ([#623](https://github.com/dbt-labs/dbt-redshift/issues/623)) diff --git a/.changes/1.9.0-b2.md b/.changes/1.9.0-b2.md deleted file mode 100644 index 6d81b74e8..000000000 --- a/.changes/1.9.0-b2.md +++ /dev/null @@ -1,15 +0,0 @@ -## dbt-redshift 1.9.0-b2 - November 11, 2024 - -### Breaking Changes - -- Drop support for Python 3.8 ([#931](https://github.com/dbt-labs/dbt-redshift/issues/931)) - -### Features - -- Add microbatch strategy ([#923](https://github.com/dbt-labs/dbt-redshift/issues/923)) - -### Fixes - -- add InterfaceError to retryable_exceptions ([#661](https://github.com/dbt-labs/dbt-redshift/issues/661)) -- Restrict behavior change warnings to firing once per run to avoid noisy logs ([#915](https://github.com/dbt-labs/dbt-redshift/issues/915)) -- Remove `redshift_connector`'s `get_columns` method for column metadata generation, avoiding a warning on every run ([#914](https://github.com/dbt-labs/dbt-redshift/issues/914)) diff --git a/.changes/1.9.0/Breaking Changes-20241016-190600.yaml b/.changes/1.9.0/Breaking Changes-20241016-190600.yaml deleted file mode 100644 index ed8b98ddd..000000000 --- a/.changes/1.9.0/Breaking Changes-20241016-190600.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Breaking Changes -body: Drop support for Python 3.8 -time: 2024-10-16T19:06:00.668396-04:00 -custom: - Author: mikealfare - Issue: "931" diff --git a/.changes/1.9.0/Dependencies-20231219-192336.yaml b/.changes/1.9.0/Dependencies-20231219-192336.yaml deleted file mode 100644 index 1d2d4bb51..000000000 --- a/.changes/1.9.0/Dependencies-20231219-192336.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update freezegun requirement from ~=1.3 to ~=1.4" -time: 2023-12-19T19:23:36.00000Z -custom: - Author: dependabot[bot] - PR: 695 diff --git a/.changes/1.9.0/Dependencies-20240412-155445.yaml b/.changes/1.9.0/Dependencies-20240412-155445.yaml deleted file mode 100644 index c6c90f0f9..000000000 --- a/.changes/1.9.0/Dependencies-20240412-155445.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump dbt-labs/actions from 1.1.0 to 1.1.1" -time: 2024-04-12T15:54:45.00000Z -custom: - Author: dependabot[bot] - PR: 762 diff --git a/.changes/1.9.0/Dependencies-20240429-192949.yaml b/.changes/1.9.0/Dependencies-20240429-192949.yaml deleted file mode 100644 index 861eed359..000000000 --- a/.changes/1.9.0/Dependencies-20240429-192949.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump actions/checkout from 3 to 4" -time: 2024-04-29T19:29:49.00000Z -custom: - Author: dependabot[bot] - PR: 802 diff --git a/.changes/1.9.0/Dependencies-20240718-191611.yaml b/.changes/1.9.0/Dependencies-20240718-191611.yaml deleted file mode 100644 index bdf87eecd..000000000 --- a/.changes/1.9.0/Dependencies-20240718-191611.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump pre-commit from 3.7.0 to 3.7.1" -time: 2024-07-18T19:16:11.00000Z -custom: - Author: dependabot[bot] - PR: 867 diff --git a/.changes/1.9.0/Dependencies-20240718-191741.yaml b/.changes/1.9.0/Dependencies-20240718-191741.yaml deleted file mode 100644 index 457737507..000000000 --- a/.changes/1.9.0/Dependencies-20240718-191741.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.11 to ~=4.16" -time: 2024-07-18T19:17:41.00000Z -custom: - Author: dependabot[bot] - PR: 870 diff --git a/.changes/1.9.0/Dependencies-20240719-195946.yaml b/.changes/1.9.0/Dependencies-20240719-195946.yaml deleted file mode 100644 index 45a061646..000000000 --- a/.changes/1.9.0/Dependencies-20240719-195946.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update twine requirement from ~=4.0 to ~=5.1" -time: 2024-07-19T19:59:46.00000Z -custom: - Author: dependabot[bot] - PR: 876 diff --git a/.changes/1.9.0/Features-20240419-145208.yaml b/.changes/1.9.0/Features-20240419-145208.yaml deleted file mode 100644 index 3a7a3468b..000000000 --- a/.changes/1.9.0/Features-20240419-145208.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Features -body: Support IAM user auth via direct parameters, in addition to the existing profile - method -time: 2024-04-19T14:52:08.086607-04:00 -custom: - Author: mikealfare - Issue: "760" diff --git a/.changes/1.9.0/Features-20240425-011440.yaml b/.changes/1.9.0/Features-20240425-011440.yaml deleted file mode 100644 index a8197dd6f..000000000 --- a/.changes/1.9.0/Features-20240425-011440.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add support for IAM Role auth -time: 2024-04-25T01:14:40.601575-04:00 -custom: - Author: mikealfare,abbywh - Issue: "623" diff --git a/.changes/1.9.0/Features-20240430-185708.yaml b/.changes/1.9.0/Features-20240430-185708.yaml deleted file mode 100644 index 59407c196..000000000 --- a/.changes/1.9.0/Features-20240430-185708.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add tests for cross-database `cast` macro -time: 2024-04-30T18:57:08.04492-06:00 -custom: - Author: dbeatty10 - Issue: "804" diff --git a/.changes/1.9.0/Features-20240501-151859.yaml b/.changes/1.9.0/Features-20240501-151859.yaml deleted file mode 100644 index e4791638c..000000000 --- a/.changes/1.9.0/Features-20240501-151859.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Cross-database `date` macro -time: 2024-05-01T15:18:59.292022-06:00 -custom: - Author: dbeatty10 - Issue: 808 diff --git a/.changes/1.9.0/Features-20240826-123954.yaml b/.changes/1.9.0/Features-20240826-123954.yaml deleted file mode 100644 index 209bf9dc7..000000000 --- a/.changes/1.9.0/Features-20240826-123954.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Remove `pg_catalog` from metadata queries -time: 2024-08-26T12:39:54.481505-04:00 -custom: - Author: mikealfare, jiezhen-chen - Issue: "555" diff --git a/.changes/1.9.0/Features-20241002-171112.yaml b/.changes/1.9.0/Features-20241002-171112.yaml deleted file mode 100644 index 3caaaec10..000000000 --- a/.changes/1.9.0/Features-20241002-171112.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add microbatch strategy -time: 2024-10-02T17:11:12.88725-05:00 -custom: - Author: QMalcolm - Issue: "923" diff --git a/.changes/1.9.0/Fixes-20240423-131503.yaml b/.changes/1.9.0/Fixes-20240423-131503.yaml deleted file mode 100644 index 8b5b82b38..000000000 --- a/.changes/1.9.0/Fixes-20240423-131503.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Stop adding aliases to subqueries when calling with `--empty` -time: 2024-04-23T13:15:03.118968-07:00 -custom: - Author: colin-rogers-dbt - Issue: "782" diff --git a/.changes/1.9.0/Fixes-20240531-113620.yaml b/.changes/1.9.0/Fixes-20240531-113620.yaml deleted file mode 100644 index a020ca045..000000000 --- a/.changes/1.9.0/Fixes-20240531-113620.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Support IAM Role authentication for Redshift Serverless -time: 2024-05-31T11:36:20.397521-07:00 -custom: - Author: fleid - Issue: "835" diff --git a/.changes/1.9.0/Fixes-20240610-104114.yaml b/.changes/1.9.0/Fixes-20240610-104114.yaml deleted file mode 100644 index d220288f8..000000000 --- a/.changes/1.9.0/Fixes-20240610-104114.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix config change detection not working for multiple sortkey in materialized views -time: 2024-06-10T10:41:14.721411-03:00 -custom: - Author: lvitti - Issue: "838" diff --git a/.changes/1.9.0/Fixes-20240612-131752.yaml b/.changes/1.9.0/Fixes-20240612-131752.yaml deleted file mode 100644 index 36ea4d922..000000000 --- a/.changes/1.9.0/Fixes-20240612-131752.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: update pin range for redshift-connector to allow 2.1.0 -time: 2024-06-12T13:17:52.460407-07:00 -custom: - Author: colin-rogers-dbt VersusFacit - Issue: "844" diff --git a/.changes/1.9.0/Fixes-20240625-170324.yaml b/.changes/1.9.0/Fixes-20240625-170324.yaml deleted file mode 100644 index 316a92b95..000000000 --- a/.changes/1.9.0/Fixes-20240625-170324.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: 'Handle unit test fixtures where typing goes wrong from first value in column - being Null. ' -time: 2024-06-25T17:03:24.73937-07:00 -custom: - Author: versusfacit - Issue: "821" diff --git a/.changes/1.9.0/Fixes-20240715-143507.yaml b/.changes/1.9.0/Fixes-20240715-143507.yaml deleted file mode 100644 index e3dd2f0bf..000000000 --- a/.changes/1.9.0/Fixes-20240715-143507.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix materialized views comment syntax -time: 2024-07-15T14:35:07.412274+12:00 -custom: - Author: jeremyyeo - Issue: "837" diff --git a/.changes/1.9.0/Fixes-20240806-163017.yaml b/.changes/1.9.0/Fixes-20240806-163017.yaml deleted file mode 100644 index 20b595930..000000000 --- a/.changes/1.9.0/Fixes-20240806-163017.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: add InterfaceError to retryable_exceptions -time: 2024-08-06T16:30:17.348677-07:00 -custom: - Author: colin-rogers-dbt - Issue: "661" diff --git a/.changes/1.9.0/Fixes-20240906-102642.yaml b/.changes/1.9.0/Fixes-20240906-102642.yaml deleted file mode 100644 index 622f908e7..000000000 --- a/.changes/1.9.0/Fixes-20240906-102642.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Support DROP CASCADE for materialized views; fixes bug that occurs when running - dbt on materialized views that reference other materialized views -time: 2024-09-06T10:26:42.501014-04:00 -custom: - Author: mikealfare - Issue: "642" diff --git a/.changes/1.9.0/Fixes-20240920-184812.yaml b/.changes/1.9.0/Fixes-20240920-184812.yaml deleted file mode 100644 index 754e9558a..000000000 --- a/.changes/1.9.0/Fixes-20240920-184812.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Restrict behavior change warnings to firing once per run to avoid noisy logs -time: 2024-09-20T18:48:12.064324-04:00 -custom: - Author: mikealfare - Issue: "915" diff --git a/.changes/1.9.0/Fixes-20241101-150335.yaml b/.changes/1.9.0/Fixes-20241101-150335.yaml deleted file mode 100644 index cbf43d01c..000000000 --- a/.changes/1.9.0/Fixes-20241101-150335.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Remove `redshift_connector`'s `get_columns` method for column metadata generation, - avoiding a warning on every run -time: 2024-11-01T15:03:35.44697-04:00 -custom: - Author: "mikealfare" - Issue: "914" diff --git a/.changes/1.9.0/Under the Hood-20240331-103115.yaml b/.changes/1.9.0/Under the Hood-20240331-103115.yaml deleted file mode 100644 index ffb5a6489..000000000 --- a/.changes/1.9.0/Under the Hood-20240331-103115.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Lazy load agate -time: 2024-03-31T10:31:15.65006-04:00 -custom: - Author: dwreeves - Issue: "745" diff --git a/.changes/1.9.0/Under the Hood-20240719-133151.yaml b/.changes/1.9.0/Under the Hood-20240719-133151.yaml deleted file mode 100644 index b67ac6cea..000000000 --- a/.changes/1.9.0/Under the Hood-20240719-133151.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Remove `freezegun` as a testing dependency; this package is no longer used -time: 2024-07-19T13:31:51.503575-04:00 -custom: - Author: mikealfare - Issue: "1136" diff --git a/.changes/unreleased/Features-20241122-143326.yaml b/.changes/unreleased/Features-20241122-143326.yaml deleted file mode 100644 index a4b8a7089..000000000 --- a/.changes/unreleased/Features-20241122-143326.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add browser identity center authentication method. -time: 2024-11-22T14:33:26.549878-08:00 -custom: - Author: versusfacit - Issue: "898" diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bf2d8f56..04a8e7db1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,67 +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.9.0-b2 - November 11, 2024 - -### Breaking Changes - -- Drop support for Python 3.8 ([#931](https://github.com/dbt-labs/dbt-redshift/issues/931)) - -### Features - -- Add microbatch strategy ([#923](https://github.com/dbt-labs/dbt-redshift/issues/923)) - -### Fixes - -- add InterfaceError to retryable_exceptions ([#661](https://github.com/dbt-labs/dbt-redshift/issues/661)) -- Restrict behavior change warnings to firing once per run to avoid noisy logs ([#915](https://github.com/dbt-labs/dbt-redshift/issues/915)) -- Remove `redshift_connector`'s `get_columns` method for column metadata generation, avoiding a warning on every run ([#914](https://github.com/dbt-labs/dbt-redshift/issues/914)) - - - -## dbt-redshift 1.9.0-b1 - October 01, 2024 - -### Features - -- Support IAM user auth via direct parameters, in addition to the existing profile method ([#760](https://github.com/dbt-labs/dbt-redshift/issues/760)) -- Add support for IAM Role auth ([#623](https://github.com/dbt-labs/dbt-redshift/issues/623)) -- Add tests for cross-database `cast` macro ([#804](https://github.com/dbt-labs/dbt-redshift/issues/804)) -- Cross-database `date` macro ([#808](https://github.com/dbt-labs/dbt-redshift/issues/808)) -- Remove `pg_catalog` from metadata queries ([#555](https://github.com/dbt-labs/dbt-redshift/issues/555)) - -### Fixes - -- Stop adding aliases to subqueries when calling with `--empty` ([#782](https://github.com/dbt-labs/dbt-redshift/issues/782)) -- Support IAM Role authentication for Redshift Serverless ([#835](https://github.com/dbt-labs/dbt-redshift/issues/835)) -- Fix config change detection not working for multiple sortkey in materialized views ([#838](https://github.com/dbt-labs/dbt-redshift/issues/838)) -- update pin range for redshift-connector to allow 2.1.0 ([#844](https://github.com/dbt-labs/dbt-redshift/issues/844)) -- Handle unit test fixtures where typing goes wrong from first value in column being Null. ([#821](https://github.com/dbt-labs/dbt-redshift/issues/821)) -- Fix materialized views comment syntax ([#837](https://github.com/dbt-labs/dbt-redshift/issues/837)) -- Support DROP CASCADE for materialized views; fixes bug that occurs when running dbt on materialized views that reference other materialized views ([#642](https://github.com/dbt-labs/dbt-redshift/issues/642)) - -### Under the Hood - -- Lazy load agate ([#745](https://github.com/dbt-labs/dbt-redshift/issues/745)) -- Remove `freezegun` as a testing dependency; this package is no longer used ([#1136](https://github.com/dbt-labs/dbt-redshift/issues/1136)) - -### Dependencies - -- Update freezegun requirement from ~=1.3 to ~=1.4 ([#695](https://github.com/dbt-labs/dbt-redshift/pull/695)) -- Bump dbt-labs/actions from 1.1.0 to 1.1.1 ([#762](https://github.com/dbt-labs/dbt-redshift/pull/762)) -- Bump actions/checkout from 3 to 4 ([#802](https://github.com/dbt-labs/dbt-redshift/pull/802)) -- Bump pre-commit from 3.7.0 to 3.7.1 ([#867](https://github.com/dbt-labs/dbt-redshift/pull/867)) -- Update tox requirement from ~=4.11 to ~=4.16 ([#870](https://github.com/dbt-labs/dbt-redshift/pull/870)) -- Update twine requirement from ~=4.0 to ~=5.1 ([#876](https://github.com/dbt-labs/dbt-redshift/pull/876)) - -### Contributors -- [@dwreeves](https://github.com/dwreeves) ([#745](https://github.com/dbt-labs/dbt-redshift/issues/745)) -- [@fleid](https://github.com/fleid) ([#835](https://github.com/dbt-labs/dbt-redshift/issues/835)) -- [@jeremyyeo](https://github.com/jeremyyeo) ([#837](https://github.com/dbt-labs/dbt-redshift/issues/837)) -- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#555](https://github.com/dbt-labs/dbt-redshift/issues/555)) -- [@lvitti](https://github.com/lvitti) ([#838](https://github.com/dbt-labs/dbt-redshift/issues/838)) -- [@mikealfare,](https://github.com/mikealfare,) ([#555](https://github.com/dbt-labs/dbt-redshift/issues/555)) -- [@mikealfare,abbywh](https://github.com/mikealfare,abbywh) ([#623](https://github.com/dbt-labs/dbt-redshift/issues/623)) - ## 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 03a925355..1af777a62 100644 --- a/dbt/adapters/redshift/__version__.py +++ b/dbt/adapters/redshift/__version__.py @@ -1 +1 @@ -version = "1.9.0b2" +version = "1.10.0a1"