From 812850251f80ee1d36528cff94e913fefa5d3111 Mon Sep 17 00:00:00 2001 From: Damian Owsianny Date: Tue, 1 Aug 2023 14:38:26 +0200 Subject: [PATCH] Bumping version to 1.6.0 and generate CHANGELOG --- .changes/0.0.0.md | 1 + .changes/1.5.0.md | 14 ------ .../1.5.0/Dependencies-20230410-050913.yaml | 7 --- .../1.5.0/Dependencies-20230425-050403.yaml | 7 --- .../1.5.0/Dependencies-20230428-094136.yaml | 7 --- .changes/1.5.0/Features-20230419-115208.yaml | 7 --- .../1.5.0/Under the Hood-20230424-163631.yaml | 7 --- .../1.5.0/Under the Hood-20230424-163815.yaml | 7 --- .changes/1.5.1.md | 22 ---------- .../1.5.1/Dependencies-20230502-051233.yaml | 7 --- .../1.5.1/Dependencies-20230511-051155.yaml | 7 --- .../1.5.1/Dependencies-20230630-104322.yaml | 7 --- .../1.5.1/Dependencies-20230707-135105.yaml | 7 --- .../1.5.1/Dependencies-20230707-135157.yaml | 7 --- .../1.5.1/Dependencies-20230707-135310.yaml | 7 --- .../1.5.1/Dependencies-20230707-135401.yaml | 7 --- .changes/1.5.1/Features-20230607-111010.yaml | 7 --- .changes/1.5.1/Fixes-20230713-102021.yaml | 7 --- .../1.5.1/Under the Hood-20230619-154855.yaml | 7 --- .../1.5.1/Under the Hood-20230630-122950.yaml | 7 --- .changes/1.6.0.md | 15 +++++++ .../Breaking Changes-20230718-130019.yaml | 0 .../Breaking Changes-20230721-125806.yaml | 2 +- .../Breaking Changes-20230724-140221.yaml | 0 .../Dependencies-20230718-041436.yaml | 2 +- .../Under the Hood-20230728-165543.yaml | 0 .../Under the Hood-20230728-180251.yaml | 0 .../Under the Hood-20230801-125319.yaml | 0 CHANGELOG.md | 44 +++++-------------- dbt/adapters/trino/__version__.py | 2 +- dev_requirements.txt | 2 +- 31 files changed, 32 insertions(+), 191 deletions(-) delete mode 100644 .changes/1.5.0.md delete mode 100644 .changes/1.5.0/Dependencies-20230410-050913.yaml delete mode 100644 .changes/1.5.0/Dependencies-20230425-050403.yaml delete mode 100644 .changes/1.5.0/Dependencies-20230428-094136.yaml delete mode 100644 .changes/1.5.0/Features-20230419-115208.yaml delete mode 100644 .changes/1.5.0/Under the Hood-20230424-163631.yaml delete mode 100644 .changes/1.5.0/Under the Hood-20230424-163815.yaml delete mode 100644 .changes/1.5.1.md delete mode 100644 .changes/1.5.1/Dependencies-20230502-051233.yaml delete mode 100644 .changes/1.5.1/Dependencies-20230511-051155.yaml delete mode 100644 .changes/1.5.1/Dependencies-20230630-104322.yaml delete mode 100644 .changes/1.5.1/Dependencies-20230707-135105.yaml delete mode 100644 .changes/1.5.1/Dependencies-20230707-135157.yaml delete mode 100644 .changes/1.5.1/Dependencies-20230707-135310.yaml delete mode 100644 .changes/1.5.1/Dependencies-20230707-135401.yaml delete mode 100644 .changes/1.5.1/Features-20230607-111010.yaml delete mode 100644 .changes/1.5.1/Fixes-20230713-102021.yaml delete mode 100644 .changes/1.5.1/Under the Hood-20230619-154855.yaml delete mode 100644 .changes/1.5.1/Under the Hood-20230630-122950.yaml create mode 100644 .changes/1.6.0.md rename .changes/{unreleased => 1.6.0}/Breaking Changes-20230718-130019.yaml (100%) rename .changes/{unreleased => 1.6.0}/Breaking Changes-20230721-125806.yaml (77%) rename .changes/{unreleased => 1.6.0}/Breaking Changes-20230724-140221.yaml (100%) rename .changes/{unreleased => 1.6.0}/Dependencies-20230718-041436.yaml (97%) rename .changes/{unreleased => 1.6.0}/Under the Hood-20230728-165543.yaml (100%) rename .changes/{unreleased => 1.6.0}/Under the Hood-20230728-180251.yaml (100%) rename .changes/{unreleased => 1.6.0}/Under the Hood-20230801-125319.yaml (100%) diff --git a/.changes/0.0.0.md b/.changes/0.0.0.md index 732ba1ef..ae034e9a 100644 --- a/.changes/0.0.0.md +++ b/.changes/0.0.0.md @@ -2,6 +2,7 @@ For information on prior major and minor releases, see their changelogs: +* [1.5](https://github.com/starburstdata/dbt-trino/blob/1.5.latest/CHANGELOG.md) * [1.4](https://github.com/starburstdata/dbt-trino/blob/1.4.latest/CHANGELOG.md) * [1.3](https://github.com/starburstdata/dbt-trino/blob/1.3.latest/CHANGELOG.md) * [1.2](https://github.com/starburstdata/dbt-trino/blob/1.2.latest/CHANGELOG.md) diff --git a/.changes/1.5.0.md b/.changes/1.5.0.md deleted file mode 100644 index 3469630e..00000000 --- a/.changes/1.5.0.md +++ /dev/null @@ -1,14 +0,0 @@ -## dbt-trino 1.5.0 - April 28, 2023 -### Features -- Add model contracts ([#284](https://github.com/starburstdata/dbt-trino/issues/284), [#286](https://github.com/starburstdata/dbt-trino/pull/286)) -### Under the Hood -- Add new tests from dbt-tests-adapter 1.5 ([#284](https://github.com/starburstdata/dbt-trino/issues/284), [#289](https://github.com/starburstdata/dbt-trino/pull/289)) -- Added columns types checking methods for Trino ([#284](https://github.com/starburstdata/dbt-trino/issues/284), [#289](https://github.com/starburstdata/dbt-trino/pull/289)) -### Dependencies -- Update pytest requirement from ~=7.2 to ~=7.3 ([#283](https://github.com/starburstdata/dbt-trino/pull/283)) -- Update tox requirement from ~=4.4 to ~=4.5 ([#290](https://github.com/starburstdata/dbt-trino/pull/290)) -- Upgrade dbt-core to 1.5.0 ([#284](https://github.com/starburstdata/dbt-trino/issues/284), [#295](https://github.com/starburstdata/dbt-trino/pull/295)) - -### Contributors -- [@damian3031](https://github.com/damian3031) ([#286](https://github.com/starburstdata/dbt-trino/pull/286), [#289](https://github.com/starburstdata/dbt-trino/pull/289), [#289](https://github.com/starburstdata/dbt-trino/pull/289), [#295](https://github.com/starburstdata/dbt-trino/pull/295)) -- [@dependabot[bot]](https://github.com/dependabot[bot]) ([#283](https://github.com/starburstdata/dbt-trino/pull/283), [#290](https://github.com/starburstdata/dbt-trino/pull/290)) diff --git a/.changes/1.5.0/Dependencies-20230410-050913.yaml b/.changes/1.5.0/Dependencies-20230410-050913.yaml deleted file mode 100644 index ed0870a0..00000000 --- a/.changes/1.5.0/Dependencies-20230410-050913.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependencies -body: "Update pytest requirement from ~=7.2 to ~=7.3" -time: 2023-04-10T05:09:13.00000Z -custom: - Author: dependabot[bot] - Issue: '' - PR: 283 diff --git a/.changes/1.5.0/Dependencies-20230425-050403.yaml b/.changes/1.5.0/Dependencies-20230425-050403.yaml deleted file mode 100644 index 449b5a4d..00000000 --- a/.changes/1.5.0/Dependencies-20230425-050403.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependencies -body: "Update tox requirement from ~=4.4 to ~=4.5" -time: 2023-04-25T05:04:03.00000Z -custom: - Author: dependabot[bot] - Issue: '' - PR: 290 diff --git a/.changes/1.5.0/Dependencies-20230428-094136.yaml b/.changes/1.5.0/Dependencies-20230428-094136.yaml deleted file mode 100644 index 44f9db00..00000000 --- a/.changes/1.5.0/Dependencies-20230428-094136.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependencies -body: Upgrade dbt-core to 1.5.0 -time: 2023-04-28T09:41:36.72146+02:00 -custom: - Author: damian3031 - Issue: "284" - PR: "295" diff --git a/.changes/1.5.0/Features-20230419-115208.yaml b/.changes/1.5.0/Features-20230419-115208.yaml deleted file mode 100644 index 4aa85a9f..00000000 --- a/.changes/1.5.0/Features-20230419-115208.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Features -body: Add model contracts -time: 2023-04-19T11:52:08.343309+02:00 -custom: - Author: damian3031 - Issue: "284" - PR: "286" diff --git a/.changes/1.5.0/Under the Hood-20230424-163631.yaml b/.changes/1.5.0/Under the Hood-20230424-163631.yaml deleted file mode 100644 index 44617c00..00000000 --- a/.changes/1.5.0/Under the Hood-20230424-163631.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Add new tests from dbt-tests-adapter 1.5 -time: 2023-04-24T16:36:31.991179+02:00 -custom: - Author: damian3031 - Issue: "284" - PR: "289" diff --git a/.changes/1.5.0/Under the Hood-20230424-163815.yaml b/.changes/1.5.0/Under the Hood-20230424-163815.yaml deleted file mode 100644 index ddabce8d..00000000 --- a/.changes/1.5.0/Under the Hood-20230424-163815.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Added columns types checking methods for Trino -time: 2023-04-24T16:38:15.069495+02:00 -custom: - Author: damian3031 - Issue: "284" - PR: "289" diff --git a/.changes/1.5.1.md b/.changes/1.5.1.md deleted file mode 100644 index 1bf5908f..00000000 --- a/.changes/1.5.1.md +++ /dev/null @@ -1,22 +0,0 @@ -## dbt-trino 1.5.1 - July 17, 2023 -### Features -- Implement query comments ([#305](https://github.com/starburstdata/dbt-trino/issues/305), [#306](https://github.com/starburstdata/dbt-trino/pull/306)) -### Fixes -- Fix sync_all_columns schema change strategy for incremental models ([#326](https://github.com/starburstdata/dbt-trino/issues/326), [#324](https://github.com/starburstdata/dbt-trino/pull/324)) -### Under the Hood -- Add test for hooks with DELETE statement ([#307](https://github.com/starburstdata/dbt-trino/issues/307), [#308](https://github.com/starburstdata/dbt-trino/pull/308)) -- Set the table comment when creating the table ([#318](https://github.com/starburstdata/dbt-trino/issues/318), [#317](https://github.com/starburstdata/dbt-trino/pull/317)) -### Dependencies -- Update pre-commit requirement from ~=3.2 to ~=3.3 ([#297](https://github.com/starburstdata/dbt-trino/pull/297)) -- Bump mypy from 1.2.0 to 1.3.0 ([#300](https://github.com/starburstdata/dbt-trino/pull/300)) -- Update to Trino 0.326 ([#316](https://github.com/starburstdata/dbt-trino/issues/316), [#315](https://github.com/starburstdata/dbt-trino/pull/315)) -- Update tox requirement from ~=4.5 to ~=4.6 ([#320](https://github.com/starburstdata/dbt-trino/pull/320)) -- Update dbt-tests-adapter requirement from ~=1.5.0 to ~=1.5.2 ([#320](https://github.com/starburstdata/dbt-trino/pull/320)) -- Update pytest requirement from ~=7.3 to ~=7.4 ([#320](https://github.com/starburstdata/dbt-trino/pull/320)) -- Bump mypy from 1.3.0 to 1.4.1 ([#320](https://github.com/starburstdata/dbt-trino/pull/320)) - -### Contributors -- [@Fokko](https://github.com/Fokko) ([#317](https://github.com/starburstdata/dbt-trino/pull/317), [#315](https://github.com/starburstdata/dbt-trino/pull/315)) -- [@damian3031](https://github.com/damian3031) ([#306](https://github.com/starburstdata/dbt-trino/pull/306), [#308](https://github.com/starburstdata/dbt-trino/pull/308), [#320](https://github.com/starburstdata/dbt-trino/pull/320), [#320](https://github.com/starburstdata/dbt-trino/pull/320), [#320](https://github.com/starburstdata/dbt-trino/pull/320), [#320](https://github.com/starburstdata/dbt-trino/pull/320)) -- [@dependabot[bot]](https://github.com/dependabot[bot]) ([#297](https://github.com/starburstdata/dbt-trino/pull/297), [#300](https://github.com/starburstdata/dbt-trino/pull/300)) -- [@posulliv](https://github.com/posulliv) ([#324](https://github.com/starburstdata/dbt-trino/pull/324)) diff --git a/.changes/1.5.1/Dependencies-20230502-051233.yaml b/.changes/1.5.1/Dependencies-20230502-051233.yaml deleted file mode 100644 index 0706a0e6..00000000 --- a/.changes/1.5.1/Dependencies-20230502-051233.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependencies -body: "Update pre-commit requirement from ~=3.2 to ~=3.3" -time: 2023-05-02T05:12:33.00000Z -custom: - Author: dependabot[bot] - Issue: '' - PR: 297 diff --git a/.changes/1.5.1/Dependencies-20230511-051155.yaml b/.changes/1.5.1/Dependencies-20230511-051155.yaml deleted file mode 100644 index dd7aac49..00000000 --- a/.changes/1.5.1/Dependencies-20230511-051155.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependencies -body: "Bump mypy from 1.2.0 to 1.3.0" -time: 2023-05-11T05:11:55.00000Z -custom: - Author: dependabot[bot] - Issue: '' - PR: 300 diff --git a/.changes/1.5.1/Dependencies-20230630-104322.yaml b/.changes/1.5.1/Dependencies-20230630-104322.yaml deleted file mode 100644 index 888d6e72..00000000 --- a/.changes/1.5.1/Dependencies-20230630-104322.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependencies -body: Update to Trino 0.326 -time: 2023-06-30T10:43:22.959978+02:00 -custom: - Author: Fokko - Issue: "316" - PR: "315" diff --git a/.changes/1.5.1/Dependencies-20230707-135105.yaml b/.changes/1.5.1/Dependencies-20230707-135105.yaml deleted file mode 100644 index 3c086d36..00000000 --- a/.changes/1.5.1/Dependencies-20230707-135105.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependencies -body: Update tox requirement from ~=4.5 to ~=4.6 -time: 2023-07-07T13:51:05.899811+02:00 -custom: - Author: damian3031 - Issue: "" - PR: "320" diff --git a/.changes/1.5.1/Dependencies-20230707-135157.yaml b/.changes/1.5.1/Dependencies-20230707-135157.yaml deleted file mode 100644 index 04f34fbe..00000000 --- a/.changes/1.5.1/Dependencies-20230707-135157.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependencies -body: Update dbt-tests-adapter requirement from ~=1.5.0 to ~=1.5.2 -time: 2023-07-07T13:51:57.323433+02:00 -custom: - Author: damian3031 - Issue: "" - PR: "320" diff --git a/.changes/1.5.1/Dependencies-20230707-135310.yaml b/.changes/1.5.1/Dependencies-20230707-135310.yaml deleted file mode 100644 index 75bf276c..00000000 --- a/.changes/1.5.1/Dependencies-20230707-135310.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependencies -body: Update pytest requirement from ~=7.3 to ~=7.4 -time: 2023-07-07T13:53:10.585605+02:00 -custom: - Author: damian3031 - Issue: "" - PR: "320" diff --git a/.changes/1.5.1/Dependencies-20230707-135401.yaml b/.changes/1.5.1/Dependencies-20230707-135401.yaml deleted file mode 100644 index 2650be6b..00000000 --- a/.changes/1.5.1/Dependencies-20230707-135401.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependencies -body: Bump mypy from 1.3.0 to 1.4.1 -time: 2023-07-07T13:54:01.314448+02:00 -custom: - Author: damian3031 - Issue: "" - PR: "320" diff --git a/.changes/1.5.1/Features-20230607-111010.yaml b/.changes/1.5.1/Features-20230607-111010.yaml deleted file mode 100644 index 7b2da875..00000000 --- a/.changes/1.5.1/Features-20230607-111010.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Features -body: Implement query comments -time: 2023-06-07T11:10:10.991406+02:00 -custom: - Author: damian3031 - Issue: "305" - PR: "306" diff --git a/.changes/1.5.1/Fixes-20230713-102021.yaml b/.changes/1.5.1/Fixes-20230713-102021.yaml deleted file mode 100644 index 00182cd4..00000000 --- a/.changes/1.5.1/Fixes-20230713-102021.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Fix sync_all_columns schema change strategy for incremental models -time: 2023-07-13T10:20:21.52287-04:00 -custom: - Author: posulliv - Issue: "326" - PR: "324" diff --git a/.changes/1.5.1/Under the Hood-20230619-154855.yaml b/.changes/1.5.1/Under the Hood-20230619-154855.yaml deleted file mode 100644 index df7ed9bf..00000000 --- a/.changes/1.5.1/Under the Hood-20230619-154855.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Add test for hooks with DELETE statement -time: 2023-06-19T15:48:55.47715+02:00 -custom: - Author: damian3031 - Issue: "307" - PR: "308" diff --git a/.changes/1.5.1/Under the Hood-20230630-122950.yaml b/.changes/1.5.1/Under the Hood-20230630-122950.yaml deleted file mode 100644 index 9d2f4828..00000000 --- a/.changes/1.5.1/Under the Hood-20230630-122950.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Set the table comment when creating the table -time: 2023-06-30T12:29:50.043761+02:00 -custom: - Author: Fokko - Issue: "318" - PR: "317" diff --git a/.changes/1.6.0.md b/.changes/1.6.0.md new file mode 100644 index 00000000..51401a7e --- /dev/null +++ b/.changes/1.6.0.md @@ -0,0 +1,15 @@ +## dbt-trino 1.6.0 - August 01, 2023 +### Breaking Changes +- Drop support for Python 3.7 ([#314](https://github.com/starburstdata/dbt-trino/issues/314), [#331](https://github.com/starburstdata/dbt-trino/pull/331)) +- Update dbt-core to 1.6.0 ([#332](https://github.com/starburstdata/dbt-trino/pull/332)) +- Renamed relation type 'materializedview' to 'materialized_view' to be consistent with dbt-core 1.6. If you have any custom macro where you check if relation type equals to 'materializedview', change it to 'materialized_view' ([#332](https://github.com/starburstdata/dbt-trino/pull/332)) +### Under the Hood +- Refactored materialized view macros ([#333](https://github.com/starburstdata/dbt-trino/pull/333)) +- Add new tests from dbt-tests-adapter ([#335](https://github.com/starburstdata/dbt-trino/pull/335)) +- Add schema teardown method where necessary ([#267](https://github.com/starburstdata/dbt-trino/issues/267), [#335](https://github.com/starburstdata/dbt-trino/pull/335)) +### Dependencies +- Update dbt-tests-adapter requirement from ~=1.5.2 to ~=1.6.0 ([#330](https://github.com/starburstdata/dbt-trino/pull/330)) + +### Contributors +- [@damian3031](https://github.com/damian3031) ([#331](https://github.com/starburstdata/dbt-trino/pull/331), [#332](https://github.com/starburstdata/dbt-trino/pull/332), [#332](https://github.com/starburstdata/dbt-trino/pull/332), [#333](https://github.com/starburstdata/dbt-trino/pull/333), [#335](https://github.com/starburstdata/dbt-trino/pull/335), [#335](https://github.com/starburstdata/dbt-trino/pull/335)) +- [@dependabot[bot]](https://github.com/dependabot[bot]) ([#330](https://github.com/starburstdata/dbt-trino/pull/330)) diff --git a/.changes/unreleased/Breaking Changes-20230718-130019.yaml b/.changes/1.6.0/Breaking Changes-20230718-130019.yaml similarity index 100% rename from .changes/unreleased/Breaking Changes-20230718-130019.yaml rename to .changes/1.6.0/Breaking Changes-20230718-130019.yaml diff --git a/.changes/unreleased/Breaking Changes-20230721-125806.yaml b/.changes/1.6.0/Breaking Changes-20230721-125806.yaml similarity index 77% rename from .changes/unreleased/Breaking Changes-20230721-125806.yaml rename to .changes/1.6.0/Breaking Changes-20230721-125806.yaml index e8f3cefe..d04b03b8 100644 --- a/.changes/unreleased/Breaking Changes-20230721-125806.yaml +++ b/.changes/1.6.0/Breaking Changes-20230721-125806.yaml @@ -1,5 +1,5 @@ kind: Breaking Changes -body: Update dbt-core to 1.6.0rc1 +body: Update dbt-core to 1.6.0 time: 2023-07-21T12:58:06.169523+02:00 custom: Author: damian3031 diff --git a/.changes/unreleased/Breaking Changes-20230724-140221.yaml b/.changes/1.6.0/Breaking Changes-20230724-140221.yaml similarity index 100% rename from .changes/unreleased/Breaking Changes-20230724-140221.yaml rename to .changes/1.6.0/Breaking Changes-20230724-140221.yaml diff --git a/.changes/unreleased/Dependencies-20230718-041436.yaml b/.changes/1.6.0/Dependencies-20230718-041436.yaml similarity index 97% rename from .changes/unreleased/Dependencies-20230718-041436.yaml rename to .changes/1.6.0/Dependencies-20230718-041436.yaml index c0e209c9..08a78836 100644 --- a/.changes/unreleased/Dependencies-20230718-041436.yaml +++ b/.changes/1.6.0/Dependencies-20230718-041436.yaml @@ -1,5 +1,5 @@ kind: Dependencies -body: "Update dbt-tests-adapter requirement from ~=1.5.2 to ~=1.5.3" +body: "Update dbt-tests-adapter requirement from ~=1.5.2 to ~=1.6.0" time: 2023-07-18T04:14:36.00000Z custom: Author: dependabot[bot] diff --git a/.changes/unreleased/Under the Hood-20230728-165543.yaml b/.changes/1.6.0/Under the Hood-20230728-165543.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230728-165543.yaml rename to .changes/1.6.0/Under the Hood-20230728-165543.yaml diff --git a/.changes/unreleased/Under the Hood-20230728-180251.yaml b/.changes/1.6.0/Under the Hood-20230728-180251.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230728-180251.yaml rename to .changes/1.6.0/Under the Hood-20230728-180251.yaml diff --git a/.changes/unreleased/Under the Hood-20230801-125319.yaml b/.changes/1.6.0/Under the Hood-20230801-125319.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230801-125319.yaml rename to .changes/1.6.0/Under the Hood-20230801-125319.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index abc9b74a..bf52f8cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,46 +4,26 @@ - Changes are listed under the (pre)release in which they first appear. Subsequent releases include changes from previous releases. - "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/starburstdata/dbt-trino/blob/master/CONTRIBUTING.md#adding-changelog-entry) -## dbt-trino 1.5.1 - July 17, 2023 -### Features -- Implement query comments ([#305](https://github.com/starburstdata/dbt-trino/issues/305), [#306](https://github.com/starburstdata/dbt-trino/pull/306)) -### Fixes -- Fix sync_all_columns schema change strategy for incremental models ([#326](https://github.com/starburstdata/dbt-trino/issues/326), [#324](https://github.com/starburstdata/dbt-trino/pull/324)) +## dbt-trino 1.6.0 - August 01, 2023 +### Breaking Changes +- Drop support for Python 3.7 ([#314](https://github.com/starburstdata/dbt-trino/issues/314), [#331](https://github.com/starburstdata/dbt-trino/pull/331)) +- Update dbt-core to 1.6.0 ([#332](https://github.com/starburstdata/dbt-trino/pull/332)) +- Renamed relation type 'materializedview' to 'materialized_view' to be consistent with dbt-core 1.6. If you have any custom macro where you check if relation type equals to 'materializedview', change it to 'materialized_view' ([#332](https://github.com/starburstdata/dbt-trino/pull/332)) ### Under the Hood -- Add test for hooks with DELETE statement ([#307](https://github.com/starburstdata/dbt-trino/issues/307), [#308](https://github.com/starburstdata/dbt-trino/pull/308)) -- Set the table comment when creating the table ([#318](https://github.com/starburstdata/dbt-trino/issues/318), [#317](https://github.com/starburstdata/dbt-trino/pull/317)) +- Refactored materialized view macros ([#333](https://github.com/starburstdata/dbt-trino/pull/333)) +- Add new tests from dbt-tests-adapter ([#335](https://github.com/starburstdata/dbt-trino/pull/335)) +- Add schema teardown method where necessary ([#267](https://github.com/starburstdata/dbt-trino/issues/267), [#335](https://github.com/starburstdata/dbt-trino/pull/335)) ### Dependencies -- Update pre-commit requirement from ~=3.2 to ~=3.3 ([#297](https://github.com/starburstdata/dbt-trino/pull/297)) -- Bump mypy from 1.2.0 to 1.3.0 ([#300](https://github.com/starburstdata/dbt-trino/pull/300)) -- Update to Trino 0.326 ([#316](https://github.com/starburstdata/dbt-trino/issues/316), [#315](https://github.com/starburstdata/dbt-trino/pull/315)) -- Update tox requirement from ~=4.5 to ~=4.6 ([#320](https://github.com/starburstdata/dbt-trino/pull/320)) -- Update dbt-tests-adapter requirement from ~=1.5.0 to ~=1.5.2 ([#320](https://github.com/starburstdata/dbt-trino/pull/320)) -- Update pytest requirement from ~=7.3 to ~=7.4 ([#320](https://github.com/starburstdata/dbt-trino/pull/320)) -- Bump mypy from 1.3.0 to 1.4.1 ([#320](https://github.com/starburstdata/dbt-trino/pull/320)) +- Update dbt-tests-adapter requirement from ~=1.5.2 to ~=1.6.0 ([#330](https://github.com/starburstdata/dbt-trino/pull/330)) ### Contributors -- [@Fokko](https://github.com/Fokko) ([#317](https://github.com/starburstdata/dbt-trino/pull/317), [#315](https://github.com/starburstdata/dbt-trino/pull/315)) -- [@damian3031](https://github.com/damian3031) ([#306](https://github.com/starburstdata/dbt-trino/pull/306), [#308](https://github.com/starburstdata/dbt-trino/pull/308), [#320](https://github.com/starburstdata/dbt-trino/pull/320), [#320](https://github.com/starburstdata/dbt-trino/pull/320), [#320](https://github.com/starburstdata/dbt-trino/pull/320), [#320](https://github.com/starburstdata/dbt-trino/pull/320)) -- [@dependabot[bot]](https://github.com/dependabot[bot]) ([#297](https://github.com/starburstdata/dbt-trino/pull/297), [#300](https://github.com/starburstdata/dbt-trino/pull/300)) -- [@posulliv](https://github.com/posulliv) ([#324](https://github.com/starburstdata/dbt-trino/pull/324)) -## dbt-trino 1.5.0 - April 28, 2023 -### Features -- Add model contracts ([#284](https://github.com/starburstdata/dbt-trino/issues/284), [#286](https://github.com/starburstdata/dbt-trino/pull/286)) -### Under the Hood -- Add new tests from dbt-tests-adapter 1.5 ([#284](https://github.com/starburstdata/dbt-trino/issues/284), [#289](https://github.com/starburstdata/dbt-trino/pull/289)) -- Added columns types checking methods for Trino ([#284](https://github.com/starburstdata/dbt-trino/issues/284), [#289](https://github.com/starburstdata/dbt-trino/pull/289)) -### Dependencies -- Update pytest requirement from ~=7.2 to ~=7.3 ([#283](https://github.com/starburstdata/dbt-trino/pull/283)) -- Update tox requirement from ~=4.4 to ~=4.5 ([#290](https://github.com/starburstdata/dbt-trino/pull/290)) -- Upgrade dbt-core to 1.5.0 ([#284](https://github.com/starburstdata/dbt-trino/issues/284), [#295](https://github.com/starburstdata/dbt-trino/pull/295)) - -### Contributors -- [@damian3031](https://github.com/damian3031) ([#286](https://github.com/starburstdata/dbt-trino/pull/286), [#289](https://github.com/starburstdata/dbt-trino/pull/289), [#289](https://github.com/starburstdata/dbt-trino/pull/289), [#295](https://github.com/starburstdata/dbt-trino/pull/295)) -- [@dependabot[bot]](https://github.com/dependabot[bot]) ([#283](https://github.com/starburstdata/dbt-trino/pull/283), [#290](https://github.com/starburstdata/dbt-trino/pull/290)) +- [@damian3031](https://github.com/damian3031) ([#331](https://github.com/starburstdata/dbt-trino/pull/331), [#332](https://github.com/starburstdata/dbt-trino/pull/332), [#332](https://github.com/starburstdata/dbt-trino/pull/332), [#333](https://github.com/starburstdata/dbt-trino/pull/333), [#335](https://github.com/starburstdata/dbt-trino/pull/335), [#335](https://github.com/starburstdata/dbt-trino/pull/335)) +- [@dependabot[bot]](https://github.com/dependabot[bot]) ([#330](https://github.com/starburstdata/dbt-trino/pull/330)) ## Previous Releases For information on prior major and minor releases, see their changelogs: +* [1.5](https://github.com/starburstdata/dbt-trino/blob/1.5.latest/CHANGELOG.md) * [1.4](https://github.com/starburstdata/dbt-trino/blob/1.4.latest/CHANGELOG.md) * [1.3](https://github.com/starburstdata/dbt-trino/blob/1.3.latest/CHANGELOG.md) * [1.2](https://github.com/starburstdata/dbt-trino/blob/1.2.latest/CHANGELOG.md) diff --git a/dbt/adapters/trino/__version__.py b/dbt/adapters/trino/__version__.py index 7a0130d4..38ec8ede 100644 --- a/dbt/adapters/trino/__version__.py +++ b/dbt/adapters/trino/__version__.py @@ -1 +1 @@ -version = "1.6.0rc1" +version = "1.6.0" diff --git a/dev_requirements.txt b/dev_requirements.txt index aa2d2e23..9f5bf0b9 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,4 +1,4 @@ -dbt-tests-adapter~=1.6.0rc1 +dbt-tests-adapter~=1.6.0 mypy==1.4.1 # patch updates have historically introduced breaking changes pre-commit~=3.3 pytest~=7.4