From b6f8b08a78aef9757f14242ac9d371da510fe9f2 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 28 Feb 2024 21:14:22 +0000 Subject: [PATCH] Bumping version to 1.5.10 and generate changelog --- .bumpversion.cfg | 2 +- .changes/1.5.10.md | 9 +++++++++ .changes/unreleased/Security-20240222-152445.yaml | 6 ------ .../unreleased/Under the Hood-20240221-104518.yaml | 6 ------ CHANGELOG.md | 14 ++++++++++++-- core/dbt/version.py | 2 +- core/setup.py | 2 +- docker/Dockerfile | 12 ++++++------ .../postgres/dbt/adapters/postgres/__version__.py | 2 +- plugins/postgres/setup.py | 2 +- tests/adapter/dbt/tests/adapter/__version__.py | 2 +- tests/adapter/setup.py | 2 +- 12 files changed, 34 insertions(+), 27 deletions(-) create mode 100644 .changes/1.5.10.md delete mode 100644 .changes/unreleased/Security-20240222-152445.yaml delete mode 100644 .changes/unreleased/Under the Hood-20240221-104518.yaml diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 972ecacaccd..5e1e8e8fd7e 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.5.9 +current_version = 1.5.10 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.5.10.md b/.changes/1.5.10.md new file mode 100644 index 00000000000..700102d5b0b --- /dev/null +++ b/.changes/1.5.10.md @@ -0,0 +1,9 @@ +## dbt-core 1.5.10 - February 28, 2024 + +### Under the Hood + +- 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)) 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/CHANGELOG.md b/CHANGELOG.md index 0dc9e5d683c..e6e8f2d494c 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,14 +5,24 @@ - "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.10 - February 28, 2024 + +### Under the Hood + +- 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)) + + + ## dbt-core 1.5.9 - October 31, 2023 ### Fixes - Add back contract enforcement for temporary tables on postgres ([#8857](https://github.com/dbt-labs/dbt-core/issues/8857)) - - ## dbt-core 1.5.8 - October 11, 2023 ### Fixes diff --git a/core/dbt/version.py b/core/dbt/version.py index 16be8a2d995..ce6d25a71c5 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.9" +__version__ = "1.5.10" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index 7fff5dfcab0..aedf739bfff 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.5.9" +package_version = "1.5.10" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index 6ef53d5f9d4..0de9f574bef 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.5.9 -ARG dbt_postgres_ref=dbt-core@v1.5.9 -ARG dbt_redshift_ref=dbt-redshift@v1.5.9 -ARG dbt_bigquery_ref=dbt-bigquery@v1.5.9 -ARG dbt_snowflake_ref=dbt-snowflake@v1.5.9 -ARG dbt_spark_ref=dbt-spark@v1.5.9 +ARG dbt_core_ref=dbt-core@v1.5.10 +ARG dbt_postgres_ref=dbt-core@v1.5.10 +ARG dbt_redshift_ref=dbt-redshift@v1.5.10 +ARG dbt_bigquery_ref=dbt-bigquery@v1.5.10 +ARG dbt_snowflake_ref=dbt-snowflake@v1.5.10 +ARG dbt_spark_ref=dbt-spark@v1.5.10 # 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 86531afb0b2..f6dc04ed59d 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.5.9" +version = "1.5.10" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index 6dcdcad2610..f398dc1e4ac 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.9" +package_version = "1.5.10" 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 86531afb0b2..f6dc04ed59d 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.5.9" +version = "1.5.10" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index cf7570d1b65..dab41198948 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.5.9" +package_version = "1.5.10" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))