diff --git a/.bumpversion.cfg b/.bumpversion.cfg index d5e45e18331..2b332e6ee42 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.5.2rc2 +current_version = 1.5.2 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.5.2-rc1.md b/.changes/1.5.2-rc1.md deleted file mode 100644 index 40b4bbb1977..00000000000 --- a/.changes/1.5.2-rc1.md +++ /dev/null @@ -1,13 +0,0 @@ -## dbt-core 1.5.2-rc1 - June 08, 2023 - -### Fixes - -- Add --target-path to dbt snapshot command. ([#7418](https://github.com/dbt-labs/dbt-core/issues/7418)) -- Improve warnings for constraints and materialization types ([#7335](https://github.com/dbt-labs/dbt-core/issues/7335)) -- Incorrect paths used for "target" and "state" directories ([#7465](https://github.com/dbt-labs/dbt-core/issues/7465)) -- Using version 0 works when resolving single model ([#7372](https://github.com/dbt-labs/dbt-core/issues/7372)) -- Fix empty --warn-error-options error message ([#7730](https://github.com/dbt-labs/dbt-core/issues/7730)) -- send sql header on contract enforcement ([#7714](https://github.com/dbt-labs/dbt-core/issues/7714)) - -### Contributors -- [@dwreeves](https://github.com/dwreeves) ([#7418](https://github.com/dbt-labs/dbt-core/issues/7418)) diff --git a/.changes/1.5.2-rc2.md b/.changes/1.5.2.md similarity index 62% rename from .changes/1.5.2-rc2.md rename to .changes/1.5.2.md index 8bd08deed60..df492f27cdb 100644 --- a/.changes/1.5.2-rc2.md +++ b/.changes/1.5.2.md @@ -1,4 +1,4 @@ -## dbt-core 1.5.2-rc2 - June 16, 2023 +## dbt-core 1.5.2 - June 22, 2023 ### Features @@ -7,13 +7,20 @@ ### Fixes +- Add --target-path to dbt snapshot command. ([#7418](https://github.com/dbt-labs/dbt-core/issues/7418)) - Constraint rendering fixes: wrap check expression in parentheses, foreign key 'references', support expression in all constraint types ([#7417](https://github.com/dbt-labs/dbt-core/issues/7417), [#7480](https://github.com/dbt-labs/dbt-core/issues/7480), [#7416](https://github.com/dbt-labs/dbt-core/issues/7416)) - Fix warning messages for deprecated dbt_project.yml configs ([#7424](https://github.com/dbt-labs/dbt-core/issues/7424)) - Respect column 'quote' config in model contracts ([#7370](https://github.com/dbt-labs/dbt-core/issues/7370)) +- Improve warnings for constraints and materialization types ([#7335](https://github.com/dbt-labs/dbt-core/issues/7335)) +- Incorrect paths used for "target" and "state" directories ([#7465](https://github.com/dbt-labs/dbt-core/issues/7465)) +- Using version 0 works when resolving single model ([#7372](https://github.com/dbt-labs/dbt-core/issues/7372)) +- Fix empty --warn-error-options error message ([#7730](https://github.com/dbt-labs/dbt-core/issues/7730)) +- send sql header on contract enforcement ([#7714](https://github.com/dbt-labs/dbt-core/issues/7714)) - Fix path selector when using project-dir ([#7819](https://github.com/dbt-labs/dbt-core/issues/7819)) - Allow dbt show --inline preview of private models ([#7837](https://github.com/dbt-labs/dbt-core/issues/7837)) - Updating this error message to point to the correct URL ([#7789](https://github.com/dbt-labs/dbt-core/issues/7789)) ### Contributors - [@dave-connors-3](https://github.com/dave-connors-3) ([#7738](https://github.com/dbt-labs/dbt-core/issues/7738)) +- [@dwreeves](https://github.com/dwreeves) ([#7418](https://github.com/dbt-labs/dbt-core/issues/7418)) - [@mirnawong1](https://github.com/mirnawong1) ([#7789](https://github.com/dbt-labs/dbt-core/issues/7789)) diff --git a/.changes/1.5.2/Breaking Changes-20230612-161159.yaml b/.changes/1.5.2/Breaking Changes-20230612-161159.yaml deleted file mode 100644 index 7d6eca90585..00000000000 --- a/.changes/1.5.2/Breaking Changes-20230612-161159.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Updating this error message to point to the correct URL -time: 2023-06-12T16:11:59.181953+01:00 -custom: - Author: mirnawong1 - Issue: "7789" diff --git a/.changes/1.5.2/Features-20230530-164847.yaml b/.changes/1.5.2/Features-20230530-164847.yaml deleted file mode 100644 index eb4e47a619a..00000000000 --- a/.changes/1.5.2/Features-20230530-164847.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: add access selection syntax -time: 2023-05-30T16:48:47.740037-05:00 -custom: - Author: dave-connors-3 - Issue: "7738" diff --git a/.changes/1.5.2/Features-20230613-151507.yaml b/.changes/1.5.2/Features-20230613-151507.yaml deleted file mode 100644 index 88b6adb66b3..00000000000 --- a/.changes/1.5.2/Features-20230613-151507.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add AdapterRegistered event log message -time: 2023-06-13T15:15:07.367371-07:00 -custom: - Author: colin-rogers-dbt - Issue: "7038" diff --git a/.changes/1.5.2/Fixes-20230420-104254.yaml b/.changes/1.5.2/Fixes-20230420-104254.yaml deleted file mode 100644 index 5f3cbeed0dd..00000000000 --- a/.changes/1.5.2/Fixes-20230420-104254.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Add --target-path to dbt snapshot command. -time: 2023-04-20T10:42:54.17972-04:00 -custom: - Author: dwreeves - Issue: "7418" diff --git a/.changes/1.5.2/Fixes-20230504-140642.yaml b/.changes/1.5.2/Fixes-20230504-140642.yaml deleted file mode 100644 index 84c5b26a80b..00000000000 --- a/.changes/1.5.2/Fixes-20230504-140642.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: 'Constraint rendering fixes: wrap check expression in parentheses, foreign key - ''references'', support expression in all constraint types' -time: 2023-05-04T14:06:42.545193-04:00 -custom: - Author: MichelleArk - Issue: 7417 7480 7416 diff --git a/.changes/1.5.2/Fixes-20230506-180900.yaml b/.changes/1.5.2/Fixes-20230506-180900.yaml deleted file mode 100644 index b7159138625..00000000000 --- a/.changes/1.5.2/Fixes-20230506-180900.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix warning messages for deprecated dbt_project.yml configs -time: 2023-05-06T18:09:00.361961+02:00 -custom: - Author: jtcohen6 - Issue: "7424" diff --git a/.changes/1.5.2/Fixes-20230506-191813.yaml b/.changes/1.5.2/Fixes-20230506-191813.yaml deleted file mode 100644 index c08e2ad930d..00000000000 --- a/.changes/1.5.2/Fixes-20230506-191813.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Respect column 'quote' config in model contracts -time: 2023-05-06T19:18:13.351819+02:00 -custom: - Author: jtcohen6 - Issue: "7370" diff --git a/.changes/1.5.2/Fixes-20230525-073651.yaml b/.changes/1.5.2/Fixes-20230525-073651.yaml deleted file mode 100644 index 4d2d7fa3aa0..00000000000 --- a/.changes/1.5.2/Fixes-20230525-073651.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Improve warnings for constraints and materialization types -time: 2023-05-25T07:36:51.855641-05:00 -custom: - Author: emmyoop - Issue: "7335" diff --git a/.changes/1.5.2/Fixes-20230525-165053.yaml b/.changes/1.5.2/Fixes-20230525-165053.yaml deleted file mode 100644 index 89dcd6ddf60..00000000000 --- a/.changes/1.5.2/Fixes-20230525-165053.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Incorrect paths used for "target" and "state" directories -time: 2023-05-25T16:50:53.718564-04:00 -custom: - Author: gshank - Issue: "7465" diff --git a/.changes/1.5.2/Fixes-20230526-164727.yaml b/.changes/1.5.2/Fixes-20230526-164727.yaml deleted file mode 100644 index 20eb43b908f..00000000000 --- a/.changes/1.5.2/Fixes-20230526-164727.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Using version 0 works when resolving single model -time: 2023-05-26T16:47:27.6065-04:00 -custom: - Author: gshank - Issue: "7372" diff --git a/.changes/1.5.2/Fixes-20230530-104228.yaml b/.changes/1.5.2/Fixes-20230530-104228.yaml deleted file mode 100644 index fac86ed1dc5..00000000000 --- a/.changes/1.5.2/Fixes-20230530-104228.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix empty --warn-error-options error message -time: 2023-05-30T10:42:28.382804-04:00 -custom: - Author: michelleark - Issue: "7730" diff --git a/.changes/1.5.2/Fixes-20230531-131919.yaml b/.changes/1.5.2/Fixes-20230531-131919.yaml deleted file mode 100644 index 0d5c1aec1b8..00000000000 --- a/.changes/1.5.2/Fixes-20230531-131919.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: send sql header on contract enforcement -time: 2023-05-31T13:19:19.801391-04:00 -custom: - Author: michelleark - Issue: "7714" diff --git a/.changes/1.5.2/Fixes-20230608-135952.yaml b/.changes/1.5.2/Fixes-20230608-135952.yaml deleted file mode 100644 index 6c84e05403b..00000000000 --- a/.changes/1.5.2/Fixes-20230608-135952.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix path selector when using project-dir -time: 2023-06-08T13:59:52.95775-04:00 -custom: - Author: gshank - Issue: "7819" diff --git a/.changes/1.5.2/Fixes-20230609-191546.yaml b/.changes/1.5.2/Fixes-20230609-191546.yaml deleted file mode 100644 index 147d52b2c58..00000000000 --- a/.changes/1.5.2/Fixes-20230609-191546.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Allow dbt show --inline preview of private models -time: 2023-06-09T19:15:46.716379-04:00 -custom: - Author: jtcohen6 - Issue: "7837" diff --git a/CHANGELOG.md b/CHANGELOG.md index 59014bb30f4..d1a95f7c8da 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ - "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-core/blob/main/CONTRIBUTING.md#adding-changelog-entry) -## dbt-core 1.5.2-rc2 - June 16, 2023 +## dbt-core 1.5.2 - June 22, 2023 ### Features @@ -14,31 +14,24 @@ ### Fixes +- Add --target-path to dbt snapshot command. ([#7418](https://github.com/dbt-labs/dbt-core/issues/7418)) - Constraint rendering fixes: wrap check expression in parentheses, foreign key 'references', support expression in all constraint types ([#7417](https://github.com/dbt-labs/dbt-core/issues/7417), [#7480](https://github.com/dbt-labs/dbt-core/issues/7480), [#7416](https://github.com/dbt-labs/dbt-core/issues/7416)) - Fix warning messages for deprecated dbt_project.yml configs ([#7424](https://github.com/dbt-labs/dbt-core/issues/7424)) - Respect column 'quote' config in model contracts ([#7370](https://github.com/dbt-labs/dbt-core/issues/7370)) -- Fix path selector when using project-dir ([#7819](https://github.com/dbt-labs/dbt-core/issues/7819)) -- Allow dbt show --inline preview of private models ([#7837](https://github.com/dbt-labs/dbt-core/issues/7837)) -- Updating this error message to point to the correct URL ([#7789](https://github.com/dbt-labs/dbt-core/issues/7789)) - -### Contributors -- [@dave-connors-3](https://github.com/dave-connors-3) ([#7738](https://github.com/dbt-labs/dbt-core/issues/7738)) -- [@mirnawong1](https://github.com/mirnawong1) ([#7789](https://github.com/dbt-labs/dbt-core/issues/7789)) - - -## dbt-core 1.5.2-rc1 - June 08, 2023 - -### Fixes - -- Add --target-path to dbt snapshot command. ([#7418](https://github.com/dbt-labs/dbt-core/issues/7418)) - Improve warnings for constraints and materialization types ([#7335](https://github.com/dbt-labs/dbt-core/issues/7335)) - Incorrect paths used for "target" and "state" directories ([#7465](https://github.com/dbt-labs/dbt-core/issues/7465)) - Using version 0 works when resolving single model ([#7372](https://github.com/dbt-labs/dbt-core/issues/7372)) - Fix empty --warn-error-options error message ([#7730](https://github.com/dbt-labs/dbt-core/issues/7730)) - send sql header on contract enforcement ([#7714](https://github.com/dbt-labs/dbt-core/issues/7714)) +- Fix path selector when using project-dir ([#7819](https://github.com/dbt-labs/dbt-core/issues/7819)) +- Allow dbt show --inline preview of private models ([#7837](https://github.com/dbt-labs/dbt-core/issues/7837)) +- Updating this error message to point to the correct URL ([#7789](https://github.com/dbt-labs/dbt-core/issues/7789)) ### Contributors +- [@dave-connors-3](https://github.com/dave-connors-3) ([#7738](https://github.com/dbt-labs/dbt-core/issues/7738)) - [@dwreeves](https://github.com/dwreeves) ([#7418](https://github.com/dbt-labs/dbt-core/issues/7418)) +- [@mirnawong1](https://github.com/mirnawong1) ([#7789](https://github.com/dbt-labs/dbt-core/issues/7789)) + ## dbt-core 1.5.1 - May 30, 2023 diff --git a/core/dbt/version.py b/core/dbt/version.py index 0e4b777b046..fe3adb8fdbd 100644 --- a/core/dbt/version.py +++ b/core/dbt/version.py @@ -232,5 +232,5 @@ def _get_adapter_plugin_names() -> Iterator[str]: yield plugin_name -__version__ = "1.5.2rc2" +__version__ = "1.5.2" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index 7bf5df7e99f..7fba639be42 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.5.2rc2" +package_version = "1.5.2" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index 059f8fbad1f..3c9ac1f2f71 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -14,12 +14,12 @@ FROM --platform=$build_for python:3.11.2-slim-bullseye as base # N.B. The refs updated automagically every release via bumpversion # N.B. dbt-postgres is currently found in the core codebase so a value of dbt-core@ is correct -ARG dbt_core_ref=dbt-core@v1.5.2rc2 -ARG dbt_postgres_ref=dbt-core@v1.5.2rc2 -ARG dbt_redshift_ref=dbt-redshift@v1.5.2rc2 -ARG dbt_bigquery_ref=dbt-bigquery@v1.5.2rc2 -ARG dbt_snowflake_ref=dbt-snowflake@v1.5.2rc2 -ARG dbt_spark_ref=dbt-spark@v1.5.2rc2 +ARG dbt_core_ref=dbt-core@v1.5.2 +ARG dbt_postgres_ref=dbt-core@v1.5.2 +ARG dbt_redshift_ref=dbt-redshift@v1.5.2 +ARG dbt_bigquery_ref=dbt-bigquery@v1.5.2 +ARG dbt_snowflake_ref=dbt-snowflake@v1.5.2 +ARG dbt_spark_ref=dbt-spark@v1.5.2 # special case args ARG dbt_spark_version=all ARG dbt_third_party diff --git a/plugins/postgres/dbt/adapters/postgres/__version__.py b/plugins/postgres/dbt/adapters/postgres/__version__.py index 92c19200024..10cd127f541 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.5.2rc2" +version = "1.5.2" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index a52bdc69c63..d145a52d939 100644 --- a/plugins/postgres/setup.py +++ b/plugins/postgres/setup.py @@ -41,7 +41,7 @@ def _dbt_psycopg2_name(): package_name = "dbt-postgres" -package_version = "1.5.2rc2" +package_version = "1.5.2" description = """The postgres adapter plugin for dbt (data build tool)""" this_directory = os.path.abspath(os.path.dirname(__file__)) diff --git a/tests/adapter/dbt/tests/adapter/__version__.py b/tests/adapter/dbt/tests/adapter/__version__.py index 92c19200024..10cd127f541 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.5.2rc2" +version = "1.5.2" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index ee689beacc7..97792b0ada7 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.5.2rc2" +package_version = "1.5.2" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))