diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 59f2c12af22..73661a3283b 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.7.0b1 +current_version = 1.7.0b2 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.7.0-b2.md b/.changes/1.7.0-b2.md new file mode 100644 index 00000000000..84c39d987df --- /dev/null +++ b/.changes/1.7.0-b2.md @@ -0,0 +1,29 @@ +## dbt-core 1.7.0-b2 - September 01, 2023 + +### Features + +- Add node attributes related to compilation to run_results.json ([#7519](https://github.com/dbt-labs/dbt-core/issues/7519)) +- Support configuration of semantic models with the addition of enable/disable and group enablement. ([#7968](https://github.com/dbt-labs/dbt-core/issues/7968)) + +### Fixes + +- Add support for swapping materialized views with tables/views and vice versa ([#8449](https://github.com/dbt-labs/dbt-core/issues/8449)) +- Turn breaking changes to contracted models into warnings for unversioned models ([#8384](https://github.com/dbt-labs/dbt-core/issues/8384), [#8282](https://github.com/dbt-labs/dbt-core/issues/8282)) +- Ensure parsing does not break when `window_groupings` is not specified for `non_additive_dimension` ([#8453](https://github.com/dbt-labs/dbt-core/issues/8453)) +- fix ambiguous reference error for tests and versions when model name is duplicated across packages ([#8327](https://github.com/dbt-labs/dbt-core/issues/8327), [#8493](https://github.com/dbt-labs/dbt-core/issues/8493)) +- Fix "Internal Error: Expected node not found in manifest" when depends_on set on ModelNodeArgs ([#8506](https://github.com/dbt-labs/dbt-core/issues/8506)) +- Fix snapshot success message ([#7583](https://github.com/dbt-labs/dbt-core/issues/7583)) + +### Docs + +- Fix newline escapes and improve formatting in docker README ([dbt-docs/#8211](https://github.com/dbt-labs/dbt-docs/issues/8211)) + +### Under the Hood + +- Switch from hologram to mashumaro jsonschema ([#8426](https://github.com/dbt-labs/dbt-core/issues/8426)) +- Re-organize jinja macros: relation-specific in /macros/adapters/relations/, relation agnostic in /macros/relations ([#8449](https://github.com/dbt-labs/dbt-core/issues/8449)) +- Update typing to meet mypy standards ([#8396](https://github.com/dbt-labs/dbt-core/issues/8396)) +- Mypy errors - adapters/factory.py ([#8387](https://github.com/dbt-labs/dbt-core/issues/8387)) + +### Contributors +- [@jamezrin](https://github.com/jamezrin) ([#8211](https://github.com/dbt-labs/dbt-core/issues/8211)) diff --git a/.changes/unreleased/Docs-20230728-193438.yaml b/.changes/1.7.0/Docs-20230728-193438.yaml similarity index 100% rename from .changes/unreleased/Docs-20230728-193438.yaml rename to .changes/1.7.0/Docs-20230728-193438.yaml diff --git a/.changes/unreleased/Features-20230821-103357.yaml b/.changes/1.7.0/Features-20230821-103357.yaml similarity index 100% rename from .changes/unreleased/Features-20230821-103357.yaml rename to .changes/1.7.0/Features-20230821-103357.yaml diff --git a/.changes/unreleased/Features-20230828-092100.yaml b/.changes/1.7.0/Features-20230828-092100.yaml similarity index 100% rename from .changes/unreleased/Features-20230828-092100.yaml rename to .changes/1.7.0/Features-20230828-092100.yaml diff --git a/.changes/unreleased/Fixes-20230817-185739.yaml b/.changes/1.7.0/Fixes-20230817-185739.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230817-185739.yaml rename to .changes/1.7.0/Fixes-20230817-185739.yaml diff --git a/.changes/unreleased/Fixes-20230818-095348.yaml b/.changes/1.7.0/Fixes-20230818-095348.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230818-095348.yaml rename to .changes/1.7.0/Fixes-20230818-095348.yaml diff --git a/.changes/unreleased/Fixes-20230818-103802.yaml b/.changes/1.7.0/Fixes-20230818-103802.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230818-103802.yaml rename to .changes/1.7.0/Fixes-20230818-103802.yaml diff --git a/.changes/unreleased/Fixes-20230824-161024.yaml b/.changes/1.7.0/Fixes-20230824-161024.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230824-161024.yaml rename to .changes/1.7.0/Fixes-20230824-161024.yaml diff --git a/.changes/unreleased/Fixes-20230828-125858.yaml b/.changes/1.7.0/Fixes-20230828-125858.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230828-125858.yaml rename to .changes/1.7.0/Fixes-20230828-125858.yaml diff --git a/.changes/unreleased/Fixes-20230830-150803.yaml b/.changes/1.7.0/Fixes-20230830-150803.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230830-150803.yaml rename to .changes/1.7.0/Fixes-20230830-150803.yaml diff --git a/.changes/unreleased/Under the Hood-20230718-145428.yaml b/.changes/1.7.0/Under the Hood-20230718-145428.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230718-145428.yaml rename to .changes/1.7.0/Under the Hood-20230718-145428.yaml diff --git a/.changes/unreleased/Under the Hood-20230821-134801.yaml b/.changes/1.7.0/Under the Hood-20230821-134801.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230821-134801.yaml rename to .changes/1.7.0/Under the Hood-20230821-134801.yaml diff --git a/.changes/unreleased/Under the Hood-20230823-194237.yaml b/.changes/1.7.0/Under the Hood-20230823-194237.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230823-194237.yaml rename to .changes/1.7.0/Under the Hood-20230823-194237.yaml diff --git a/.changes/unreleased/Under the Hood-20230830-140231.yaml b/.changes/1.7.0/Under the Hood-20230830-140231.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230830-140231.yaml rename to .changes/1.7.0/Under the Hood-20230830-140231.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c41f184684..8a45ae40236 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,37 @@ - "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.7.0-b2 - September 01, 2023 + +### Features + +- Add node attributes related to compilation to run_results.json ([#7519](https://github.com/dbt-labs/dbt-core/issues/7519)) +- Support configuration of semantic models with the addition of enable/disable and group enablement. ([#7968](https://github.com/dbt-labs/dbt-core/issues/7968)) + +### Fixes + +- Add support for swapping materialized views with tables/views and vice versa ([#8449](https://github.com/dbt-labs/dbt-core/issues/8449)) +- Turn breaking changes to contracted models into warnings for unversioned models ([#8384](https://github.com/dbt-labs/dbt-core/issues/8384), [#8282](https://github.com/dbt-labs/dbt-core/issues/8282)) +- Ensure parsing does not break when `window_groupings` is not specified for `non_additive_dimension` ([#8453](https://github.com/dbt-labs/dbt-core/issues/8453)) +- fix ambiguous reference error for tests and versions when model name is duplicated across packages ([#8327](https://github.com/dbt-labs/dbt-core/issues/8327), [#8493](https://github.com/dbt-labs/dbt-core/issues/8493)) +- Fix "Internal Error: Expected node not found in manifest" when depends_on set on ModelNodeArgs ([#8506](https://github.com/dbt-labs/dbt-core/issues/8506)) +- Fix snapshot success message ([#7583](https://github.com/dbt-labs/dbt-core/issues/7583)) + +### Docs + +- Fix newline escapes and improve formatting in docker README ([dbt-docs/#8211](https://github.com/dbt-labs/dbt-docs/issues/8211)) + +### Under the Hood + +- Switch from hologram to mashumaro jsonschema ([#8426](https://github.com/dbt-labs/dbt-core/issues/8426)) +- Re-organize jinja macros: relation-specific in /macros/adapters/relations/, relation agnostic in /macros/relations ([#8449](https://github.com/dbt-labs/dbt-core/issues/8449)) +- Update typing to meet mypy standards ([#8396](https://github.com/dbt-labs/dbt-core/issues/8396)) +- Mypy errors - adapters/factory.py ([#8387](https://github.com/dbt-labs/dbt-core/issues/8387)) + +### Contributors +- [@jamezrin](https://github.com/jamezrin) ([#8211](https://github.com/dbt-labs/dbt-core/issues/8211)) + + ## dbt-core 1.7.0-b1 - August 17, 2023 ### Breaking Changes @@ -76,7 +107,6 @@ - [@pgoslatara](https://github.com/pgoslatara) ([#8100](https://github.com/dbt-labs/dbt-core/issues/8100)) - [@ramonvermeulen](https://github.com/ramonvermeulen) ([#3990](https://github.com/dbt-labs/dbt-core/issues/3990)) - ## Previous Releases For information on prior major and minor releases, see their changelogs: diff --git a/core/dbt/version.py b/core/dbt/version.py index 123eb052f98..a0633ef1b4b 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.7.0b1" +__version__ = "1.7.0b2" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index 58962490179..5179e5a8fd1 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.7.0b1" +package_version = "1.7.0b2" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index ee910e45f18..6e4f779506e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -16,12 +16,12 @@ FROM --platform=$build_for python:3.10.7-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.7.0b1 -ARG dbt_postgres_ref=dbt-core@v1.7.0b1 -ARG dbt_redshift_ref=dbt-redshift@v1.7.0b1 -ARG dbt_bigquery_ref=dbt-bigquery@v1.7.0b1 -ARG dbt_snowflake_ref=dbt-snowflake@v1.7.0b1 -ARG dbt_spark_ref=dbt-spark@v1.7.0b1 +ARG dbt_core_ref=dbt-core@v1.7.0b2 +ARG dbt_postgres_ref=dbt-core@v1.7.0b2 +ARG dbt_redshift_ref=dbt-redshift@v1.7.0b2 +ARG dbt_bigquery_ref=dbt-bigquery@v1.7.0b2 +ARG dbt_snowflake_ref=dbt-snowflake@v1.7.0b2 +ARG dbt_spark_ref=dbt-spark@v1.7.0b2 # 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 48607b01fe8..3f5d3c0b7b3 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.7.0b1" +version = "1.7.0b2" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index 1f7923bd108..fcfabc9281b 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.7.0b1" +package_version = "1.7.0b2" 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 48607b01fe8..3f5d3c0b7b3 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.7.0b1" +version = "1.7.0b2" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index c9e749cbdbf..87477a1d0a9 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.7.0b1" +package_version = "1.7.0b2" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))