diff --git a/.bumpversion.cfg b/.bumpversion.cfg index ece452dd88f..8fb51b0e717 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.7.8 +current_version = 1.7.9 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.7.9.md b/.changes/1.7.9.md new file mode 100644 index 00000000000..a1a960f6ff8 --- /dev/null +++ b/.changes/1.7.9.md @@ -0,0 +1,18 @@ +## dbt-core 1.7.9 - February 28, 2024 + +### Fixes + +- Fix node_info contextvar handling so incorrect node_info doesn't persist ([#8866](https://github.com/dbt-labs/dbt-core/issues/8866)) +- Add target-path to retry ([#8948](https://github.com/dbt-labs/dbt-core/issues/8948)) + +### Under the Hood + +- Make dbt-core compatible with Python 3.12 ([#9007](https://github.com/dbt-labs/dbt-core/issues/9007)) +- Restrict protobuf to major version 4. ([#9566](https://github.com/dbt-labs/dbt-core/issues/9566)) + +### Security + +- Update Jinja2 to >= 3.1.3 to address CVE-2024-22195 ([#CVE-2024-22195](https://github.com/dbt-labs/dbt-core/pull/CVE-2024-22195)) + +### Contributors +- [@l1xnan](https://github.com/l1xnan) ([#9007](https://github.com/dbt-labs/dbt-core/issues/9007)) diff --git a/.changes/unreleased/Fixes-20240222-100958.yaml b/.changes/unreleased/Fixes-20240222-100958.yaml deleted file mode 100644 index 1fb2ff46c6f..00000000000 --- a/.changes/unreleased/Fixes-20240222-100958.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix node_info contextvar handling so incorrect node_info doesn't persist -time: 2024-02-22T10:09:58.122809-05:00 -custom: - Author: gshank - Issue: "8866" diff --git a/.changes/unreleased/Fixes-20240223-162107.yaml b/.changes/unreleased/Fixes-20240223-162107.yaml deleted file mode 100644 index 446cf6d077a..00000000000 --- a/.changes/unreleased/Fixes-20240223-162107.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Add target-path to retry -time: 2024-02-23T16:21:07.83639Z -custom: - Author: aranke - Issue: "8948" diff --git a/.changes/unreleased/Security-20240222-152445.yaml b/.changes/unreleased/Security-20240222-152445.yaml deleted file mode 100644 index 5c92c452ab0..00000000000 --- a/.changes/unreleased/Security-20240222-152445.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Security -body: Update Jinja2 to >= 3.1.3 to address CVE-2024-22195 -time: 2024-02-22T15:24:45.158305-08:00 -custom: - Author: QMalcolm - PR: CVE-2024-22195 diff --git a/.changes/unreleased/Under the Hood-20240221-104518.yaml b/.changes/unreleased/Under the Hood-20240221-104518.yaml deleted file mode 100644 index 56c077fcd1c..00000000000 --- a/.changes/unreleased/Under the Hood-20240221-104518.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Restrict protobuf to major version 4. -time: 2024-02-21T10:45:18.315195-05:00 -custom: - Author: peterallenwebb - Issue: "9566" diff --git a/.changes/unreleased/Under the Hood-20240221-145058.yaml b/.changes/unreleased/Under the Hood-20240221-145058.yaml deleted file mode 100644 index a847bb68c53..00000000000 --- a/.changes/unreleased/Under the Hood-20240221-145058.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Make dbt-core compatible with Python 3.12 -time: 2024-02-21T14:50:58.983559Z -custom: - Author: l1xnan aranke - Issue: "9007" diff --git a/CHANGELOG.md b/CHANGELOG.md index 368d21550ae..baea75edc0d 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,26 @@ - "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.9 - February 28, 2024 + +### Fixes + +- Fix node_info contextvar handling so incorrect node_info doesn't persist ([#8866](https://github.com/dbt-labs/dbt-core/issues/8866)) +- Add target-path to retry ([#8948](https://github.com/dbt-labs/dbt-core/issues/8948)) + +### Under the Hood + +- Make dbt-core compatible with Python 3.12 ([#9007](https://github.com/dbt-labs/dbt-core/issues/9007)) +- Restrict protobuf to major version 4. ([#9566](https://github.com/dbt-labs/dbt-core/issues/9566)) + +### Security + +- Update Jinja2 to >= 3.1.3 to address CVE-2024-22195 ([#CVE-2024-22195](https://github.com/dbt-labs/dbt-core/pull/CVE-2024-22195)) + +### Contributors +- [@l1xnan](https://github.com/l1xnan) ([#9007](https://github.com/dbt-labs/dbt-core/issues/9007)) + + ## dbt-core 1.7.8 - February 14, 2024 ### Fixes @@ -12,8 +32,6 @@ - When patching versioned models, set constraints after config ([#9364](https://github.com/dbt-labs/dbt-core/issues/9364)) - Store node_info in node associated logging events ([#9557](https://github.com/dbt-labs/dbt-core/issues/9557)) - - ## dbt-core 1.7.7 - February 01, 2024 ### Fixes diff --git a/core/dbt/version.py b/core/dbt/version.py index 78c4d5723e7..1799ed6b8c3 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.8" +__version__ = "1.7.9" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index 136f8d10483..ec1607786ac 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.7.8" +package_version = "1.7.9" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index e804684fd7e..ae9cb508628 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.8 -ARG dbt_postgres_ref=dbt-core@v1.7.8 -ARG dbt_redshift_ref=dbt-redshift@v1.7.8 -ARG dbt_bigquery_ref=dbt-bigquery@v1.7.8 -ARG dbt_snowflake_ref=dbt-snowflake@v1.7.8 -ARG dbt_spark_ref=dbt-spark@v1.7.8 +ARG dbt_core_ref=dbt-core@v1.7.9 +ARG dbt_postgres_ref=dbt-core@v1.7.9 +ARG dbt_redshift_ref=dbt-redshift@v1.7.9 +ARG dbt_bigquery_ref=dbt-bigquery@v1.7.9 +ARG dbt_snowflake_ref=dbt-snowflake@v1.7.9 +ARG dbt_spark_ref=dbt-spark@v1.7.9 # 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 9bebf548a8e..52a993a81b5 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.7.8" +version = "1.7.9" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index 9957b759b20..b20f639ef77 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.8" +package_version = "1.7.9" 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 9bebf548a8e..52a993a81b5 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.7.8" +version = "1.7.9" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index ee11678e938..99ef6f2e504 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.7.8" +package_version = "1.7.9" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))