diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 681e8141b7d..8d9024ca2c2 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.6.0b6 +current_version = 1.6.0b7 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.6.0-b7.md b/.changes/1.6.0-b7.md new file mode 100644 index 00000000000..acd10324a1b --- /dev/null +++ b/.changes/1.6.0-b7.md @@ -0,0 +1,25 @@ +## dbt-core 1.6.0-b7 - June 28, 2023 + +### Features + +- Add merge as valid incremental strategy for postgres ([#1880](https://github.com/dbt-labs/dbt-core/issues/1880)) +- Handle external model nodes in state:modified ([#7563](https://github.com/dbt-labs/dbt-core/issues/7563)) +- Add invocation_command to flags ([#6051](https://github.com/dbt-labs/dbt-core/issues/6051)) +- Add thread_id context var ([#7941](https://github.com/dbt-labs/dbt-core/issues/7941)) +- Add partial parsing support for semantic models ([#7897](https://github.com/dbt-labs/dbt-core/issues/7897)) +- Add restrict-access to dbt_project.yml ([#7713](https://github.com/dbt-labs/dbt-core/issues/7713)) +- allow setting enabled and depends_on_nodes from ModelNodeArgs ([#7506](https://github.com/dbt-labs/dbt-core/issues/7506)) + +### Fixes + +- Raise better error message when dispatching a package that is not installed ([#5801](https://github.com/dbt-labs/dbt-core/issues/5801)) +- add access to ModelNodeArgs for external node building ([#7890](https://github.com/dbt-labs/dbt-core/issues/7890)) + +### Under the Hood + +- Update mashumaro to 3.8.1 ([#7950](https://github.com/dbt-labs/dbt-core/issues/7950)) +- Refactor: entry point for cross-project ref ([#7954](https://github.com/dbt-labs/dbt-core/issues/7954)) + +### Contributors +- [@NiallRees](https://github.com/NiallRees) ([#6051](https://github.com/dbt-labs/dbt-core/issues/6051), [#7941](https://github.com/dbt-labs/dbt-core/issues/7941)) +- [@rainermensing](https://github.com/rainermensing) ([#1880](https://github.com/dbt-labs/dbt-core/issues/1880)) diff --git a/.changes/unreleased/Features-20230211-163236.yaml b/.changes/1.6.0/Features-20230211-163236.yaml similarity index 100% rename from .changes/unreleased/Features-20230211-163236.yaml rename to .changes/1.6.0/Features-20230211-163236.yaml diff --git a/.changes/unreleased/Features-20230622-142002.yaml b/.changes/1.6.0/Features-20230622-142002.yaml similarity index 100% rename from .changes/unreleased/Features-20230622-142002.yaml rename to .changes/1.6.0/Features-20230622-142002.yaml diff --git a/.changes/unreleased/Features-20230623-111254.yaml b/.changes/1.6.0/Features-20230623-111254.yaml similarity index 100% rename from .changes/unreleased/Features-20230623-111254.yaml rename to .changes/1.6.0/Features-20230623-111254.yaml diff --git a/.changes/unreleased/Features-20230623-173357.yaml b/.changes/1.6.0/Features-20230623-173357.yaml similarity index 100% rename from .changes/unreleased/Features-20230623-173357.yaml rename to .changes/1.6.0/Features-20230623-173357.yaml diff --git a/.changes/unreleased/Features-20230627-123123.yaml b/.changes/1.6.0/Features-20230627-123123.yaml similarity index 100% rename from .changes/unreleased/Features-20230627-123123.yaml rename to .changes/1.6.0/Features-20230627-123123.yaml diff --git a/.changes/unreleased/Features-20230627-132749.yaml b/.changes/1.6.0/Features-20230627-132749.yaml similarity index 100% rename from .changes/unreleased/Features-20230627-132749.yaml rename to .changes/1.6.0/Features-20230627-132749.yaml diff --git a/.changes/unreleased/Features-20230627-152207.yaml b/.changes/1.6.0/Features-20230627-152207.yaml similarity index 100% rename from .changes/unreleased/Features-20230627-152207.yaml rename to .changes/1.6.0/Features-20230627-152207.yaml diff --git a/.changes/unreleased/Fixes-20220909-164413.yaml b/.changes/1.6.0/Fixes-20220909-164413.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220909-164413.yaml rename to .changes/1.6.0/Fixes-20220909-164413.yaml diff --git a/.changes/unreleased/Fixes-20230627-152528.yaml b/.changes/1.6.0/Fixes-20230627-152528.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230627-152528.yaml rename to .changes/1.6.0/Fixes-20230627-152528.yaml diff --git a/.changes/unreleased/Under the Hood-20230626-122339.yaml b/.changes/1.6.0/Under the Hood-20230626-122339.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230626-122339.yaml rename to .changes/1.6.0/Under the Hood-20230626-122339.yaml diff --git a/.changes/unreleased/Under the Hood-20230627-222328.yaml b/.changes/1.6.0/Under the Hood-20230627-222328.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230627-222328.yaml rename to .changes/1.6.0/Under the Hood-20230627-222328.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ecda649411..4fbe91cf8d3 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +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-core/blob/main/CONTRIBUTING.md#adding-changelog-entry) +## dbt-core 1.6.0-b7 - June 28, 2023 + +### Features + +- Add merge as valid incremental strategy for postgres ([#1880](https://github.com/dbt-labs/dbt-core/issues/1880)) +- Handle external model nodes in state:modified ([#7563](https://github.com/dbt-labs/dbt-core/issues/7563)) +- Add invocation_command to flags ([#6051](https://github.com/dbt-labs/dbt-core/issues/6051)) +- Add thread_id context var ([#7941](https://github.com/dbt-labs/dbt-core/issues/7941)) +- Add partial parsing support for semantic models ([#7897](https://github.com/dbt-labs/dbt-core/issues/7897)) +- Add restrict-access to dbt_project.yml ([#7713](https://github.com/dbt-labs/dbt-core/issues/7713)) +- allow setting enabled and depends_on_nodes from ModelNodeArgs ([#7506](https://github.com/dbt-labs/dbt-core/issues/7506)) + +### Fixes + +- Raise better error message when dispatching a package that is not installed ([#5801](https://github.com/dbt-labs/dbt-core/issues/5801)) +- add access to ModelNodeArgs for external node building ([#7890](https://github.com/dbt-labs/dbt-core/issues/7890)) + +### Under the Hood + +- Update mashumaro to 3.8.1 ([#7950](https://github.com/dbt-labs/dbt-core/issues/7950)) +- Refactor: entry point for cross-project ref ([#7954](https://github.com/dbt-labs/dbt-core/issues/7954)) + +### Contributors +- [@NiallRees](https://github.com/NiallRees) ([#6051](https://github.com/dbt-labs/dbt-core/issues/6051), [#7941](https://github.com/dbt-labs/dbt-core/issues/7941)) +- [@rainermensing](https://github.com/rainermensing) ([#1880](https://github.com/dbt-labs/dbt-core/issues/1880)) + + ## dbt-core 1.6.0-b6 - June 23, 2023 ### Fixes @@ -12,8 +39,6 @@ - Allow semantic model measure exprs to be defined with ints and bools in yaml ([#7865](https://github.com/dbt-labs/dbt-core/issues/7865)) - Update `use_discrete_percentile` and `use_approximate_percentile` to be non optional and default to `False` ([#7866](https://github.com/dbt-labs/dbt-core/issues/7866)) - - ## dbt-core 1.6.0-b5 - June 22, 2023 ### Features diff --git a/core/dbt/version.py b/core/dbt/version.py index 9efaf3f3c19..ea8bdbf6e29 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.6.0b6" +__version__ = "1.6.0b7" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index e52a0f452a9..a7ab490fa31 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.6.0b6" +package_version = "1.6.0b7" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index 0adfb521ebd..4bd0074b9e5 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.6.0b6 -ARG dbt_postgres_ref=dbt-core@v1.6.0b6 -ARG dbt_redshift_ref=dbt-redshift@v1.6.0b6 -ARG dbt_bigquery_ref=dbt-bigquery@v1.6.0b6 -ARG dbt_snowflake_ref=dbt-snowflake@v1.6.0b6 -ARG dbt_spark_ref=dbt-spark@v1.6.0b6 +ARG dbt_core_ref=dbt-core@v1.6.0b7 +ARG dbt_postgres_ref=dbt-core@v1.6.0b7 +ARG dbt_redshift_ref=dbt-redshift@v1.6.0b7 +ARG dbt_bigquery_ref=dbt-bigquery@v1.6.0b7 +ARG dbt_snowflake_ref=dbt-snowflake@v1.6.0b7 +ARG dbt_spark_ref=dbt-spark@v1.6.0b7 # 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 7b985e24b5c..6ac06a64fcb 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.6.0b6" +version = "1.6.0b7" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index a5b468f2961..b5437792f2c 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.6.0b6" +package_version = "1.6.0b7" 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 7b985e24b5c..6ac06a64fcb 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.6.0b6" +version = "1.6.0b7" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index 9a0f6436d55..d16d2243945 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.6.0b6" +package_version = "1.6.0b7" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))