diff --git a/.bumpversion.cfg b/.bumpversion.cfg index f6bfe035c3a..d5e45e18331 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.5.2rc1 +current_version = 1.5.2rc2 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.5.2-rc2.md b/.changes/1.5.2-rc2.md new file mode 100644 index 00000000000..8bd08deed60 --- /dev/null +++ b/.changes/1.5.2-rc2.md @@ -0,0 +1,19 @@ +## dbt-core 1.5.2-rc2 - June 16, 2023 + +### Features + +- add access selection syntax ([#7738](https://github.com/dbt-labs/dbt-core/issues/7738)) +- Add AdapterRegistered event log message ([#7038](https://github.com/dbt-labs/dbt-core/issues/7038)) + +### Fixes + +- 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)) diff --git a/.changes/unreleased/Breaking Changes-20230612-161159.yaml b/.changes/1.5.2/Breaking Changes-20230612-161159.yaml similarity index 100% rename from .changes/unreleased/Breaking Changes-20230612-161159.yaml rename to .changes/1.5.2/Breaking Changes-20230612-161159.yaml diff --git a/.changes/unreleased/Features-20230530-164847.yaml b/.changes/1.5.2/Features-20230530-164847.yaml similarity index 100% rename from .changes/unreleased/Features-20230530-164847.yaml rename to .changes/1.5.2/Features-20230530-164847.yaml diff --git a/.changes/unreleased/Features-20230613-151507.yaml b/.changes/1.5.2/Features-20230613-151507.yaml similarity index 100% rename from .changes/unreleased/Features-20230613-151507.yaml rename to .changes/1.5.2/Features-20230613-151507.yaml diff --git a/.changes/unreleased/Fixes-20230504-140642.yaml b/.changes/1.5.2/Fixes-20230504-140642.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230504-140642.yaml rename to .changes/1.5.2/Fixes-20230504-140642.yaml diff --git a/.changes/unreleased/Fixes-20230506-180900.yaml b/.changes/1.5.2/Fixes-20230506-180900.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230506-180900.yaml rename to .changes/1.5.2/Fixes-20230506-180900.yaml diff --git a/.changes/unreleased/Fixes-20230506-191813.yaml b/.changes/1.5.2/Fixes-20230506-191813.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230506-191813.yaml rename to .changes/1.5.2/Fixes-20230506-191813.yaml diff --git a/.changes/unreleased/Fixes-20230608-135952.yaml b/.changes/1.5.2/Fixes-20230608-135952.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230608-135952.yaml rename to .changes/1.5.2/Fixes-20230608-135952.yaml diff --git a/.changes/unreleased/Fixes-20230609-191546.yaml b/.changes/1.5.2/Fixes-20230609-191546.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230609-191546.yaml rename to .changes/1.5.2/Fixes-20230609-191546.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index fe90577110b..59014bb30f4 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,27 @@ - "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 + +### Features + +- add access selection syntax ([#7738](https://github.com/dbt-labs/dbt-core/issues/7738)) +- Add AdapterRegistered event log message ([#7038](https://github.com/dbt-labs/dbt-core/issues/7038)) + +### Fixes + +- 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 @@ -19,7 +40,6 @@ ### Contributors - [@dwreeves](https://github.com/dwreeves) ([#7418](https://github.com/dbt-labs/dbt-core/issues/7418)) - ## dbt-core 1.5.1 - May 30, 2023 ### Fixes diff --git a/core/dbt/version.py b/core/dbt/version.py index 11ae34e1f71..0e4b777b046 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.2rc1" +__version__ = "1.5.2rc2" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index 8202207f730..7bf5df7e99f 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.5.2rc1" +package_version = "1.5.2rc2" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index 8fb0f0351d7..059f8fbad1f 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.2rc1 -ARG dbt_postgres_ref=dbt-core@v1.5.2rc1 -ARG dbt_redshift_ref=dbt-redshift@v1.5.2rc1 -ARG dbt_bigquery_ref=dbt-bigquery@v1.5.2rc1 -ARG dbt_snowflake_ref=dbt-snowflake@v1.5.2rc1 -ARG dbt_spark_ref=dbt-spark@v1.5.2rc1 +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 # 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 2b0af948665..92c19200024 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.5.2rc1" +version = "1.5.2rc2" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index 75da8105c44..a52bdc69c63 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.2rc1" +package_version = "1.5.2rc2" 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 2b0af948665..92c19200024 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.5.2rc1" +version = "1.5.2rc2" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index 387d81ad883..ee689beacc7 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.5.2rc1" +package_version = "1.5.2rc2" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))