diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 4fab1021a..36b1b0b2e 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 2c452469e..000000000 --- a/.changes/1.8.0-b2.md +++ /dev/null @@ -1,25 +0,0 @@ -## dbt-snowflake 1.8.0-b2 - April 03, 2024 - -### Features - -- Add new workflow for internal patch releases ([#38](https://github.com/dbt-labs/dbt-snowflake/issues/38)) - -### Fixes - -- Acknowledge `send_anonymous_usage_stats` setting for python models ([#830](https://github.com/dbt-labs/dbt-snowflake/issues/830)) -- modify metadata queries to take into account object type of BASE TABLE being assigned to dynamic tables when was null previously ([#934](https://github.com/dbt-labs/dbt-snowflake/issues/934)) -- remove `private_key_path` from connection keys ([#949](https://github.com/dbt-labs/dbt-snowflake/issues/949)) - -### Under the Hood - -- Add unit test for transaction semantics. ([#912](https://github.com/dbt-labs/dbt-snowflake/issues/912)) - -### Dependencies - -- hard pin ddtrace to 2.3.0 ([#932](https://github.com/dbt-labs/dbt-snowflake/pull/932)) -- bump cryptography to 42.0.4 or higher for security callouts ([#938](https://github.com/dbt-labs/dbt-snowflake/pull/938)) -- Add `dbt-core` as a dependency to preserve backwards compatibility for installation ([#964](https://github.com/dbt-labs/dbt-snowflake/pull/964)) - -### Security - -- Pin `black>=24.3` in `dev-requirements.txt` ([#959](https://github.com/dbt-labs/dbt-snowflake/pull/959)) diff --git a/.changes/1.8.0-b3.md b/.changes/1.8.0-b3.md deleted file mode 100644 index adcc4e04c..000000000 --- a/.changes/1.8.0-b3.md +++ /dev/null @@ -1,17 +0,0 @@ -## dbt-snowflake 1.8.0-b3 - April 17, 2024 - -### Features - -- Add external_access_integration and secret to python models ([#955](https://github.com/dbt-labs/dbt-snowflake/issues/955)) -- Support TableLastModifiedMetadataBatch capability ([#965](https://github.com/dbt-labs/dbt-snowflake/issues/965)) - -### Fixes - -- skipping a test that provides a false condition ([#976](https://github.com/dbt-labs/dbt-snowflake/issues/976)) - -### Under the Hood - -- Update dependabot to cover GHA ([#967](https://github.com/dbt-labs/dbt-snowflake/issues/967)) - -### Contributors -- [@Lindblomsebastian](https://github.com/Lindblomsebastian) ([#955](https://github.com/dbt-labs/dbt-snowflake/issues/955)) diff --git a/.changes/1.8.0-b4.md b/.changes/1.8.0-b4.md deleted file mode 100644 index c613b386a..000000000 --- a/.changes/1.8.0-b4.md +++ /dev/null @@ -1,13 +0,0 @@ -## dbt-snowflake 1.8.0-b4 - May 06, 2024 - -### Fixes - -- test contract enforcement for GEOGRAPHY and GEOMETRY types ([#894](https://github.com/dbt-labs/dbt-snowflake/issues/894)) -- Fix duplicate alias being added when running a model with inline refs and `--empty` ([#980](https://github.com/dbt-labs/dbt-snowflake/issues/980)) - -### Dependencies - -- Bump actions/github-script from 6 to 7 ([#970](https://github.com/dbt-labs/dbt-snowflake/pull/970)) -- Bump dorny/paths-filter from 2 to 3 ([#972](https://github.com/dbt-labs/dbt-snowflake/pull/972)) -- Bump actions/setup-python from 4 to 5 ([#973](https://github.com/dbt-labs/dbt-snowflake/pull/973)) -- Bump actions/checkout from 3 to 4 ([#974](https://github.com/dbt-labs/dbt-snowflake/pull/974)) diff --git a/.changes/1.8.0-rc1.md b/.changes/1.8.0-rc1.md deleted file mode 100644 index d1afa4b69..000000000 --- a/.changes/1.8.0-rc1.md +++ /dev/null @@ -1 +0,0 @@ -## dbt-snowflake 1.8.0-rc1 - May 07, 2024 diff --git a/.changes/1.8.0-b1.md b/.changes/1.8.0.md similarity index 53% rename from .changes/1.8.0-b1.md rename to .changes/1.8.0.md index f5b993227..28cb97bc7 100644 --- a/.changes/1.8.0-b1.md +++ b/.changes/1.8.0.md @@ -1,19 +1,30 @@ -## dbt-snowflake 1.8.0-b1 - March 02, 2024 +## dbt-snowflake 1.8.0 - May 09, 2024 ### Features - Update base adapter references as part of decoupling migration ([#882](https://github.com/dbt-labs/dbt-snowflake/issues/882)) - Support primative types + object, variant, array in snowflake for unit testing" ([#898](https://github.com/dbt-labs/dbt-snowflake/issues/898)) +- Add new workflow for internal patch releases ([#38](https://github.com/dbt-labs/dbt-snowflake/issues/38)) +- Add external_access_integration and secret to python models ([#955](https://github.com/dbt-labs/dbt-snowflake/issues/955)) +- Support TableLastModifiedMetadataBatch capability ([#965](https://github.com/dbt-labs/dbt-snowflake/issues/965)) ### Fixes - Dynamic tables now show the proper type in catalog queries ([#817](https://github.com/dbt-labs/dbt-snowflake/issues/817)) - remove `token` field from connection keys ([#906](https://github.com/dbt-labs/dbt-snowflake/issues/906)) +- Acknowledge `send_anonymous_usage_stats` setting for python models ([#830](https://github.com/dbt-labs/dbt-snowflake/issues/830)) +- modify metadata queries to take into account object type of BASE TABLE being assigned to dynamic tables when was null previously ([#934](https://github.com/dbt-labs/dbt-snowflake/issues/934)) +- remove `private_key_path` from connection keys ([#949](https://github.com/dbt-labs/dbt-snowflake/issues/949)) +- test contract enforcement for GEOGRAPHY and GEOMETRY types ([#894](https://github.com/dbt-labs/dbt-snowflake/issues/894)) +- skipping a test that provides a false condition ([#976](https://github.com/dbt-labs/dbt-snowflake/issues/976)) +- Fix duplicate alias being added when running a model with inline refs and `--empty` ([#980](https://github.com/dbt-labs/dbt-snowflake/issues/980)) ### Under the Hood - Add tests for --empty flag ([#837](https://github.com/dbt-labs/dbt-snowflake/issues/837)) - Migrate to dbt-common and dbt-adapters package ([#890](https://github.com/dbt-labs/dbt-snowflake/issues/890)) +- Add unit test for transaction semantics. ([#912](https://github.com/dbt-labs/dbt-snowflake/issues/912)) +- Update dependabot to cover GHA ([#967](https://github.com/dbt-labs/dbt-snowflake/issues/967)) ### Dependencies @@ -34,7 +45,18 @@ - Bump mypy from 1.7.0 to 1.7.1 ([#850](https://github.com/dbt-labs/dbt-snowflake/pull/850)) - Update freezegun requirement from ~=1.2 to ~=1.3 ([#860](https://github.com/dbt-labs/dbt-snowflake/pull/860)) - Update black requirement from ~=23.11 to ~=23.12 ([#864](https://github.com/dbt-labs/dbt-snowflake/pull/864)) +- hard pin ddtrace to 2.3.0 ([#932](https://github.com/dbt-labs/dbt-snowflake/pull/932)) +- bump cryptography to 42.0.4 or higher for security callouts ([#938](https://github.com/dbt-labs/dbt-snowflake/pull/938)) +- Add `dbt-core` as a dependency to preserve backwards compatibility for installation ([#964](https://github.com/dbt-labs/dbt-snowflake/pull/964)) +- Bump actions/github-script from 6 to 7 ([#970](https://github.com/dbt-labs/dbt-snowflake/pull/970)) +- Bump dorny/paths-filter from 2 to 3 ([#972](https://github.com/dbt-labs/dbt-snowflake/pull/972)) +- Bump actions/setup-python from 4 to 5 ([#973](https://github.com/dbt-labs/dbt-snowflake/pull/973)) +- Bump actions/checkout from 3 to 4 ([#974](https://github.com/dbt-labs/dbt-snowflake/pull/974)) ### Security - DDOS vulnerability in 41.0.5. Uptick to avoid ([#852](https://github.com/dbt-labs/dbt-snowflake/pull/852)) +- Pin `black>=24.3` in `dev-requirements.txt` ([#959](https://github.com/dbt-labs/dbt-snowflake/pull/959)) + +### Contributors +- [@Lindblomsebastian](https://github.com/Lindblomsebastian) ([#955](https://github.com/dbt-labs/dbt-snowflake/issues/955)) diff --git a/.changes/1.8.0/Dependencies-20230919-120616.yaml b/.changes/1.8.0/Dependencies-20230919-120616.yaml deleted file mode 100644 index 8d9d45681..000000000 --- a/.changes/1.8.0/Dependencies-20230919-120616.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=1.18 to ~=1.19" -time: 2023-09-19T12:06:17.00000Z -custom: - Author: dependabot[bot] - PR: 780 diff --git a/.changes/1.8.0/Dependencies-20231009-122807.yaml b/.changes/1.8.0/Dependencies-20231009-122807.yaml deleted file mode 100644 index c133a1d4e..000000000 --- a/.changes/1.8.0/Dependencies-20231009-122807.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pre-commit-hooks requirement from ~=4.4 to ~=4.5" -time: 2023-10-09T12:28:07.00000Z -custom: - Author: dependabot[bot] - PR: 795 diff --git a/.changes/1.8.0/Dependencies-20231011-124519.yaml b/.changes/1.8.0/Dependencies-20231011-124519.yaml deleted file mode 100644 index 4c3df6550..000000000 --- a/.changes/1.8.0/Dependencies-20231011-124519.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.5.1 to 1.6.0" -time: 2023-10-11T12:45:19.00000Z -custom: - Author: dependabot[bot] - PR: 799 diff --git a/.changes/1.8.0/Dependencies-20231016-121821.yaml b/.changes/1.8.0/Dependencies-20231016-121821.yaml deleted file mode 100644 index 80028d3f2..000000000 --- a/.changes/1.8.0/Dependencies-20231016-121821.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pre-commit requirement from ~=3.4 to ~=3.5" -time: 2023-10-16T12:18:21.00000Z -custom: - Author: dependabot[bot] - PR: 807 diff --git a/.changes/1.8.0/Dependencies-20231018-123921.yaml b/.changes/1.8.0/Dependencies-20231018-123921.yaml deleted file mode 100644 index 03cbb3faa..000000000 --- a/.changes/1.8.0/Dependencies-20231018-123921.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update black requirement from ~=23.9 to ~=23.10" -time: 2023-10-18T12:39:21.00000Z -custom: - Author: dependabot[bot] - PR: 809 diff --git a/.changes/1.8.0/Dependencies-20231031-120931.yaml b/.changes/1.8.0/Dependencies-20231031-120931.yaml deleted file mode 100644 index e7f08d021..000000000 --- a/.changes/1.8.0/Dependencies-20231031-120931.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.6.0 to 1.6.1" -time: 2023-10-31T12:09:31.00000Z -custom: - Author: dependabot[bot] - PR: 821 diff --git a/.changes/1.8.0/Dependencies-20231031-121003.yaml b/.changes/1.8.0/Dependencies-20231031-121003.yaml deleted file mode 100644 index ac89c2486..000000000 --- a/.changes/1.8.0/Dependencies-20231031-121003.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=1.19 to ~=2.1" -time: 2023-10-31T12:10:03.00000Z -custom: - Author: dependabot[bot] - PR: 822 diff --git a/.changes/1.8.0/Dependencies-20231108-121743.yaml b/.changes/1.8.0/Dependencies-20231108-121743.yaml deleted file mode 100644 index e6f418cfa..000000000 --- a/.changes/1.8.0/Dependencies-20231108-121743.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update black requirement from ~=23.10 to ~=23.11" -time: 2023-11-08T12:17:43.00000Z -custom: - Author: dependabot[bot] - PR: 826 diff --git a/.changes/1.8.0/Dependencies-20231113-122906.yaml b/.changes/1.8.0/Dependencies-20231113-122906.yaml deleted file mode 100644 index 718a074f4..000000000 --- a/.changes/1.8.0/Dependencies-20231113-122906.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.6.1 to 1.7.0" -time: 2023-11-13T12:29:06.00000Z -custom: - Author: dependabot[bot] - PR: 828 diff --git a/.changes/1.8.0/Dependencies-20231113-122910.yaml b/.changes/1.8.0/Dependencies-20231113-122910.yaml deleted file mode 100644 index 065043fc7..000000000 --- a/.changes/1.8.0/Dependencies-20231113-122910.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pytest-xdist requirement from ~=3.3 to ~=3.4" -time: 2023-11-13T12:29:10.00000Z -custom: - Author: dependabot[bot] - PR: 829 diff --git a/.changes/1.8.0/Dependencies-20231116-125757.yaml b/.changes/1.8.0/Dependencies-20231116-125757.yaml deleted file mode 100644 index 26b6357e7..000000000 --- a/.changes/1.8.0/Dependencies-20231116-125757.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=2.1 to ~=2.2" -time: 2023-11-16T12:57:57.00000Z -custom: - Author: dependabot[bot] - PR: 832 diff --git a/.changes/1.8.0/Dependencies-20231127-120651.yaml b/.changes/1.8.0/Dependencies-20231127-120651.yaml deleted file mode 100644 index 706233474..000000000 --- a/.changes/1.8.0/Dependencies-20231127-120651.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update wheel requirement from ~=0.41 to ~=0.42" -time: 2023-11-27T12:06:51.00000Z -custom: - Author: dependabot[bot] - PR: 844 diff --git a/.changes/1.8.0/Dependencies-20231128-120535.yaml b/.changes/1.8.0/Dependencies-20231128-120535.yaml deleted file mode 100644 index 1a9ce74aa..000000000 --- a/.changes/1.8.0/Dependencies-20231128-120535.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=2.2 to ~=2.3" -time: 2023-11-28T12:05:35.00000Z -custom: - Author: dependabot[bot] - PR: 848 diff --git a/.changes/1.8.0/Dependencies-20231128-120543.yaml b/.changes/1.8.0/Dependencies-20231128-120543.yaml deleted file mode 100644 index 704a9949d..000000000 --- a/.changes/1.8.0/Dependencies-20231128-120543.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pytest-xdist requirement from ~=3.4 to ~=3.5" -time: 2023-11-28T12:05:43.00000Z -custom: - Author: dependabot[bot] - PR: 849 diff --git a/.changes/1.8.0/Dependencies-20231128-120548.yaml b/.changes/1.8.0/Dependencies-20231128-120548.yaml deleted file mode 100644 index a2d5574ef..000000000 --- a/.changes/1.8.0/Dependencies-20231128-120548.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.7.0 to 1.7.1" -time: 2023-11-28T12:05:48.00000Z -custom: - Author: dependabot[bot] - PR: 850 diff --git a/.changes/1.8.0/Dependencies-20231204-120306.yaml b/.changes/1.8.0/Dependencies-20231204-120306.yaml deleted file mode 100644 index cbc90b9eb..000000000 --- a/.changes/1.8.0/Dependencies-20231204-120306.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update freezegun requirement from ~=1.2 to ~=1.3" -time: 2023-12-04T12:03:06.00000Z -custom: - Author: dependabot[bot] - PR: 860 diff --git a/.changes/1.8.0/Dependencies-20231212-121926.yaml b/.changes/1.8.0/Dependencies-20231212-121926.yaml deleted file mode 100644 index 16124f097..000000000 --- a/.changes/1.8.0/Dependencies-20231212-121926.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update black requirement from ~=23.11 to ~=23.12" -time: 2023-12-12T12:19:26.00000Z -custom: - Author: dependabot[bot] - PR: 864 diff --git a/.changes/1.8.0/Dependencies-20240319-102636.yaml b/.changes/1.8.0/Dependencies-20240319-102636.yaml deleted file mode 100644 index 060040f63..000000000 --- a/.changes/1.8.0/Dependencies-20240319-102636.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: hard pin ddtrace to 2.3.0 -time: 2024-03-19T10:26:36.090014-05:00 -custom: - Author: McKnight-42 - PR: "932" diff --git a/.changes/1.8.0/Dependencies-20240320-111128.yaml b/.changes/1.8.0/Dependencies-20240320-111128.yaml deleted file mode 100644 index 41f1609e4..000000000 --- a/.changes/1.8.0/Dependencies-20240320-111128.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: bump cryptography to 42.0.4 or higher for security callouts -time: 2024-03-20T11:11:28.5121-05:00 -custom: - Author: McKnight-42 - PR: "938" diff --git a/.changes/1.8.0/Dependencies-20240403-133936.yaml b/.changes/1.8.0/Dependencies-20240403-133936.yaml deleted file mode 100644 index c76e64316..000000000 --- a/.changes/1.8.0/Dependencies-20240403-133936.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:39:36.783478-04:00 -custom: - Author: mikealfare - PR: "964" diff --git a/.changes/1.8.0/Dependencies-20240412-155917.yaml b/.changes/1.8.0/Dependencies-20240412-155917.yaml deleted file mode 100644 index b29c59c83..000000000 --- a/.changes/1.8.0/Dependencies-20240412-155917.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump actions/github-script from 6 to 7" -time: 2024-04-12T15:59:17.00000Z -custom: - Author: dependabot[bot] - PR: 970 diff --git a/.changes/1.8.0/Dependencies-20240412-155923.yaml b/.changes/1.8.0/Dependencies-20240412-155923.yaml deleted file mode 100644 index b46c18bfc..000000000 --- a/.changes/1.8.0/Dependencies-20240412-155923.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump dorny/paths-filter from 2 to 3" -time: 2024-04-12T15:59:23.00000Z -custom: - Author: dependabot[bot] - PR: 972 diff --git a/.changes/1.8.0/Dependencies-20240412-160019.yaml b/.changes/1.8.0/Dependencies-20240412-160019.yaml deleted file mode 100644 index e7b037914..000000000 --- a/.changes/1.8.0/Dependencies-20240412-160019.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump actions/setup-python from 4 to 5" -time: 2024-04-12T16:00:19.00000Z -custom: - Author: dependabot[bot] - PR: 973 diff --git a/.changes/1.8.0/Dependencies-20240412-160023.yaml b/.changes/1.8.0/Dependencies-20240412-160023.yaml deleted file mode 100644 index cd3ec98e3..000000000 --- a/.changes/1.8.0/Dependencies-20240412-160023.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump actions/checkout from 3 to 4" -time: 2024-04-12T16:00:23.00000Z -custom: - Author: dependabot[bot] - PR: 974 diff --git a/.changes/1.8.0/Features-20240109-165520.yaml b/.changes/1.8.0/Features-20240109-165520.yaml deleted file mode 100644 index b38770760..000000000 --- a/.changes/1.8.0/Features-20240109-165520.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Update base adapter references as part of decoupling migration -time: 2024-01-09T16:55:20.859657-06:00 -custom: - Author: McKnight-42 - Issue: "882" diff --git a/.changes/1.8.0/Features-20240205-174816.yaml b/.changes/1.8.0/Features-20240205-174816.yaml deleted file mode 100644 index 5cf6d41f2..000000000 --- a/.changes/1.8.0/Features-20240205-174816.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support primative types + object, variant, array in snowflake for unit testing" -time: 2024-02-05T17:48:16.118398-05:00 -custom: - Author: michelleark - Issue: "898" diff --git a/.changes/1.8.0/Features-20240318-033136.yaml b/.changes/1.8.0/Features-20240318-033136.yaml deleted file mode 100644 index 6176d094d..000000000 --- a/.changes/1.8.0/Features-20240318-033136.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: ' Add new workflow for internal patch releases' -time: 2024-03-18T03:31:36.425644-07:00 -custom: - Author: versusfacit - Issue: "38" diff --git a/.changes/1.8.0/Features-20240402-131330.yaml b/.changes/1.8.0/Features-20240402-131330.yaml deleted file mode 100644 index 9176cca48..000000000 --- a/.changes/1.8.0/Features-20240402-131330.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add external_access_integration and secret to python models -time: 2024-04-02T13:13:30.952425+01:00 -custom: - Author: Lindblomsebastian - Issue: "955" diff --git a/.changes/1.8.0/Features-20240404-171704.yaml b/.changes/1.8.0/Features-20240404-171704.yaml deleted file mode 100644 index 61516df0b..000000000 --- a/.changes/1.8.0/Features-20240404-171704.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support TableLastModifiedMetadataBatch capability -time: 2024-04-04T17:17:04.853047-07:00 -custom: - Author: michelleark - Issue: "965" diff --git a/.changes/1.8.0/Fixes-20231030-212151.yaml b/.changes/1.8.0/Fixes-20231030-212151.yaml deleted file mode 100644 index 10939228f..000000000 --- a/.changes/1.8.0/Fixes-20231030-212151.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Dynamic tables now show the proper type in catalog queries -time: 2023-10-30T21:21:51.220225-04:00 -custom: - Author: mikealfare - Issue: "817" diff --git a/.changes/1.8.0/Fixes-20240216-125014.yaml b/.changes/1.8.0/Fixes-20240216-125014.yaml deleted file mode 100644 index b2d4ea163..000000000 --- a/.changes/1.8.0/Fixes-20240216-125014.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: remove `token` field from connection keys -time: 2024-02-16T12:50:14.459161-08:00 -custom: - Author: colin-rogers-dbt - Issue: "906" diff --git a/.changes/1.8.0/Fixes-20240318-203635.yaml b/.changes/1.8.0/Fixes-20240318-203635.yaml deleted file mode 100644 index d2c1cd05f..000000000 --- a/.changes/1.8.0/Fixes-20240318-203635.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Acknowledge `send_anonymous_usage_stats` setting for python models -time: 2024-03-18T20:36:35.396323-04:00 -custom: - Author: mikealfare - Issue: "830" diff --git a/.changes/1.8.0/Fixes-20240320-154054.yaml b/.changes/1.8.0/Fixes-20240320-154054.yaml deleted file mode 100644 index 6d74a2be9..000000000 --- a/.changes/1.8.0/Fixes-20240320-154054.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: modify metadata queries to take into account object type of BASE TABLE being - assigned to dynamic tables when was null previously -time: 2024-03-20T15:40:54.074292-05:00 -custom: - Author: McKnight-42 - Issue: "934" diff --git a/.changes/1.8.0/Fixes-20240322-104553.yaml b/.changes/1.8.0/Fixes-20240322-104553.yaml deleted file mode 100644 index 21c037462..000000000 --- a/.changes/1.8.0/Fixes-20240322-104553.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: remove `private_key_path` from connection keys -time: 2024-03-22T10:45:53.598328-05:00 -custom: - Author: McKnight-42 - Issue: "949" diff --git a/.changes/1.8.0/Fixes-20240412-094507.yaml b/.changes/1.8.0/Fixes-20240412-094507.yaml deleted file mode 100644 index 51af87c02..000000000 --- a/.changes/1.8.0/Fixes-20240412-094507.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: 'test contract enforcement for GEOGRAPHY and GEOMETRY types ' -time: 2024-04-12T09:45:07.55962-07:00 -custom: - Author: michelleark - Issue: "894" diff --git a/.changes/1.8.0/Fixes-20240416-203625.yaml b/.changes/1.8.0/Fixes-20240416-203625.yaml deleted file mode 100644 index 35125f5f7..000000000 --- a/.changes/1.8.0/Fixes-20240416-203625.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: skipping a test that provides a false condition -time: 2024-04-16T20:36:25.449409-05:00 -custom: - Author: McKnight-42 - Issue: "976" diff --git a/.changes/1.8.0/Fixes-20240418-160240.yaml b/.changes/1.8.0/Fixes-20240418-160240.yaml deleted file mode 100644 index a9932def6..000000000 --- a/.changes/1.8.0/Fixes-20240418-160240.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix duplicate alias being added when running a model with inline refs and `--empty` -time: 2024-04-18T16:02:40.488967-07:00 -custom: - Author: colin-rogers-dbt - Issue: "980" diff --git a/.changes/1.8.0/Security-20231128-173716.yaml b/.changes/1.8.0/Security-20231128-173716.yaml deleted file mode 100644 index 18d48ad9c..000000000 --- a/.changes/1.8.0/Security-20231128-173716.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Security -body: DDOS vulnerability in 41.0.5. Uptick to avoid -time: 2023-11-28T17:37:16.11557-08:00 -custom: - Author: versusfacit - PR: "852" diff --git a/.changes/1.8.0/Security-20240327-190647.yaml b/.changes/1.8.0/Security-20240327-190647.yaml deleted file mode 100644 index 2dc302cc9..000000000 --- a/.changes/1.8.0/Security-20240327-190647.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Security -body: Pin `black>=24.3` in `dev-requirements.txt` -time: 2024-03-27T19:06:47.369905-04:00 -custom: - Author: mikealfare - PR: "959" diff --git a/.changes/1.8.0/Under the Hood-20231119-122853.yaml b/.changes/1.8.0/Under the Hood-20231119-122853.yaml deleted file mode 100644 index 06f8d5e4b..000000000 --- a/.changes/1.8.0/Under the Hood-20231119-122853.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Add tests for --empty flag -time: 2023-11-19T12:28:53.795687-05:00 -custom: - Author: michelleark - Issue: "837" diff --git a/.changes/1.8.0/Under the Hood-20240117-112026.yaml b/.changes/1.8.0/Under the Hood-20240117-112026.yaml deleted file mode 100644 index edf040221..000000000 --- a/.changes/1.8.0/Under the Hood-20240117-112026.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Migrate to dbt-common and dbt-adapters package -time: 2024-01-17T11:20:26.713584-06:00 -custom: - Author: McKnight-42 - Issue: "890" diff --git a/.changes/1.8.0/Under the Hood-20240227-010428.yaml b/.changes/1.8.0/Under the Hood-20240227-010428.yaml deleted file mode 100644 index 5252d0313..000000000 --- a/.changes/1.8.0/Under the Hood-20240227-010428.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Add unit test for transaction semantics. -time: 2024-02-27T01:04:28.713433-08:00 -custom: - Author: versusfacit - Issue: "912" diff --git a/.changes/1.8.0/Under the Hood-20240410-181635.yaml b/.changes/1.8.0/Under the Hood-20240410-181635.yaml deleted file mode 100644 index 8f703a3e9..000000000 --- a/.changes/1.8.0/Under the Hood-20240410-181635.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Update dependabot to cover GHA -time: 2024-04-10T18:16:35.621793-04:00 -custom: - Author: mikealfare - Issue: "967" diff --git a/CHANGELOG.md b/CHANGELOG.md index fb7c52175..592b03ba1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,84 +5,33 @@ - "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-snowflake/blob/main/CONTRIBUTING.md#adding-changelog-entry) -## dbt-snowflake 1.8.0-rc1 - May 07, 2024 - - - -## dbt-snowflake 1.8.0-b4 - May 06, 2024 - -### Fixes - -- test contract enforcement for GEOGRAPHY and GEOMETRY types ([#894](https://github.com/dbt-labs/dbt-snowflake/issues/894)) -- Fix duplicate alias being added when running a model with inline refs and `--empty` ([#980](https://github.com/dbt-labs/dbt-snowflake/issues/980)) - -### Dependencies - -- Bump actions/github-script from 6 to 7 ([#970](https://github.com/dbt-labs/dbt-snowflake/pull/970)) -- Bump dorny/paths-filter from 2 to 3 ([#972](https://github.com/dbt-labs/dbt-snowflake/pull/972)) -- Bump actions/setup-python from 4 to 5 ([#973](https://github.com/dbt-labs/dbt-snowflake/pull/973)) -- Bump actions/checkout from 3 to 4 ([#974](https://github.com/dbt-labs/dbt-snowflake/pull/974)) - -## dbt-snowflake 1.8.0-b3 - April 17, 2024 +## dbt-snowflake 1.8.0 - May 09, 2024 ### Features +- Update base adapter references as part of decoupling migration ([#882](https://github.com/dbt-labs/dbt-snowflake/issues/882)) +- Support primative types + object, variant, array in snowflake for unit testing" ([#898](https://github.com/dbt-labs/dbt-snowflake/issues/898)) +- Add new workflow for internal patch releases ([#38](https://github.com/dbt-labs/dbt-snowflake/issues/38)) - Add external_access_integration and secret to python models ([#955](https://github.com/dbt-labs/dbt-snowflake/issues/955)) - Support TableLastModifiedMetadataBatch capability ([#965](https://github.com/dbt-labs/dbt-snowflake/issues/965)) ### Fixes -- skipping a test that provides a false condition ([#976](https://github.com/dbt-labs/dbt-snowflake/issues/976)) - -### Under the Hood - -- Update dependabot to cover GHA ([#967](https://github.com/dbt-labs/dbt-snowflake/issues/967)) - -### Contributors -- [@Lindblomsebastian](https://github.com/Lindblomsebastian) ([#955](https://github.com/dbt-labs/dbt-snowflake/issues/955)) - -## dbt-snowflake 1.8.0-b2 - April 03, 2024 - -### Features - -- Add new workflow for internal patch releases ([#38](https://github.com/dbt-labs/dbt-snowflake/issues/38)) - -### Fixes - +- Dynamic tables now show the proper type in catalog queries ([#817](https://github.com/dbt-labs/dbt-snowflake/issues/817)) +- remove `token` field from connection keys ([#906](https://github.com/dbt-labs/dbt-snowflake/issues/906)) - Acknowledge `send_anonymous_usage_stats` setting for python models ([#830](https://github.com/dbt-labs/dbt-snowflake/issues/830)) - modify metadata queries to take into account object type of BASE TABLE being assigned to dynamic tables when was null previously ([#934](https://github.com/dbt-labs/dbt-snowflake/issues/934)) - remove `private_key_path` from connection keys ([#949](https://github.com/dbt-labs/dbt-snowflake/issues/949)) - -### Under the Hood - -- Add unit test for transaction semantics. ([#912](https://github.com/dbt-labs/dbt-snowflake/issues/912)) - -### Dependencies - -- hard pin ddtrace to 2.3.0 ([#932](https://github.com/dbt-labs/dbt-snowflake/pull/932)) -- bump cryptography to 42.0.4 or higher for security callouts ([#938](https://github.com/dbt-labs/dbt-snowflake/pull/938)) -- Add `dbt-core` as a dependency to preserve backwards compatibility for installation ([#964](https://github.com/dbt-labs/dbt-snowflake/pull/964)) - -### Security - -- Pin `black>=24.3` in `dev-requirements.txt` ([#959](https://github.com/dbt-labs/dbt-snowflake/pull/959)) - -## dbt-snowflake 1.8.0-b1 - March 02, 2024 - -### Features - -- Update base adapter references as part of decoupling migration ([#882](https://github.com/dbt-labs/dbt-snowflake/issues/882)) -- Support primative types + object, variant, array in snowflake for unit testing" ([#898](https://github.com/dbt-labs/dbt-snowflake/issues/898)) - -### Fixes - -- Dynamic tables now show the proper type in catalog queries ([#817](https://github.com/dbt-labs/dbt-snowflake/issues/817)) -- remove `token` field from connection keys ([#906](https://github.com/dbt-labs/dbt-snowflake/issues/906)) +- test contract enforcement for GEOGRAPHY and GEOMETRY types ([#894](https://github.com/dbt-labs/dbt-snowflake/issues/894)) +- skipping a test that provides a false condition ([#976](https://github.com/dbt-labs/dbt-snowflake/issues/976)) +- Fix duplicate alias being added when running a model with inline refs and `--empty` ([#980](https://github.com/dbt-labs/dbt-snowflake/issues/980)) ### Under the Hood - Add tests for --empty flag ([#837](https://github.com/dbt-labs/dbt-snowflake/issues/837)) - Migrate to dbt-common and dbt-adapters package ([#890](https://github.com/dbt-labs/dbt-snowflake/issues/890)) +- Add unit test for transaction semantics. ([#912](https://github.com/dbt-labs/dbt-snowflake/issues/912)) +- Update dependabot to cover GHA ([#967](https://github.com/dbt-labs/dbt-snowflake/issues/967)) ### Dependencies @@ -103,10 +52,22 @@ - Bump mypy from 1.7.0 to 1.7.1 ([#850](https://github.com/dbt-labs/dbt-snowflake/pull/850)) - Update freezegun requirement from ~=1.2 to ~=1.3 ([#860](https://github.com/dbt-labs/dbt-snowflake/pull/860)) - Update black requirement from ~=23.11 to ~=23.12 ([#864](https://github.com/dbt-labs/dbt-snowflake/pull/864)) +- hard pin ddtrace to 2.3.0 ([#932](https://github.com/dbt-labs/dbt-snowflake/pull/932)) +- bump cryptography to 42.0.4 or higher for security callouts ([#938](https://github.com/dbt-labs/dbt-snowflake/pull/938)) +- Add `dbt-core` as a dependency to preserve backwards compatibility for installation ([#964](https://github.com/dbt-labs/dbt-snowflake/pull/964)) +- Bump actions/github-script from 6 to 7 ([#970](https://github.com/dbt-labs/dbt-snowflake/pull/970)) +- Bump dorny/paths-filter from 2 to 3 ([#972](https://github.com/dbt-labs/dbt-snowflake/pull/972)) +- Bump actions/setup-python from 4 to 5 ([#973](https://github.com/dbt-labs/dbt-snowflake/pull/973)) +- Bump actions/checkout from 3 to 4 ([#974](https://github.com/dbt-labs/dbt-snowflake/pull/974)) ### Security - DDOS vulnerability in 41.0.5. Uptick to avoid ([#852](https://github.com/dbt-labs/dbt-snowflake/pull/852)) +- Pin `black>=24.3` in `dev-requirements.txt` ([#959](https://github.com/dbt-labs/dbt-snowflake/pull/959)) + +### Contributors +- [@Lindblomsebastian](https://github.com/Lindblomsebastian) ([#955](https://github.com/dbt-labs/dbt-snowflake/issues/955)) + ## Previous Releases For information on prior major and minor releases, see their changelogs: diff --git a/dbt/adapters/snowflake/__version__.py b/dbt/adapters/snowflake/__version__.py index 037ac1faf..6aaa73b80 100644 --- a/dbt/adapters/snowflake/__version__.py +++ b/dbt/adapters/snowflake/__version__.py @@ -1 +1 @@ -version = "1.8.0rc1" +version = "1.8.0" diff --git a/setup.py b/setup.py index 9c7ae5c22..2f74f2ecf 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ def _get_plugin_version_dict(): package_name = "dbt-snowflake" -package_version = "1.8.0rc1" +package_version = "1.8.0" description = """The Snowflake adapter plugin for dbt""" setup(