diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 8693b3160..0a23690b3 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.7.0b2 +current_version = 1.7.0rc1 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.7.0-rc1.md b/.changes/1.7.0-rc1.md new file mode 100644 index 000000000..b05c98e9f --- /dev/null +++ b/.changes/1.7.0-rc1.md @@ -0,0 +1,33 @@ +## dbt-bigquery 1.7.0-rc1 - October 12, 2023 + +### Features + +- Support partition_by and cluster_by on python models when supplied in model configurations ([#680](https://github.com/dbt-labs/dbt-bigquery/issues/680)) +- Support change monitoring for materialized views, including: autorefresh, clustering, partitioning ([#924](https://github.com/dbt-labs/dbt-bigquery/issues/924)) +- Support storing test failures as views ([#6914](https://github.com/dbt-labs/dbt-bigquery/issues/6914)) + +### Fixes + +- Serverless Spark to Poll with .GetBatch() instead of using operation.result() ([#734](https://github.com/dbt-labs/dbt-bigquery/issues/734)) +- Avoid setting lifetime on impersonation tokens. ([#769](https://github.com/dbt-labs/dbt-bigquery/issues/769)) +- Fix bigquery copy materialization ([#820](https://github.com/dbt-labs/dbt-bigquery/issues/820)) +- Fix issue where job labels are not rendered when using macro for query comment ([#863](https://github.com/dbt-labs/dbt-bigquery/issues/863)) + +### Under the Hood + +- Address type annotation issues and remove protected method ref from impl ([#933](https://github.com/dbt-labs/dbt-bigquery/issues/933)) +- Fixed a mypy failure by reworking BigQueryAdapter constructor. ([#934](https://github.com/dbt-labs/dbt-bigquery/issues/934)) +- update SQLQuery to include node_info ([#936](https://github.com/dbt-labs/dbt-bigquery/issues/936)) +- Add tests for inlined limit + sql-header in dbt show query ([#940](https://github.com/dbt-labs/dbt-bigquery/issues/940)) +- Support for use of type aliases in contract column data_type ([#953](https://github.com/dbt-labs/dbt-bigquery/issues/953)) + +### Dependencies + +- Update ddtrace requirement from ~=1.18 to ~=1.19 ([#928](https://github.com/dbt-labs/dbt-bigquery/pull/928)) + +### Contributors +- [@cmc333333](https://github.com/cmc333333) ([#769](https://github.com/dbt-labs/dbt-bigquery/issues/769)) +- [@kalanyuz](https://github.com/kalanyuz) ([#680](https://github.com/dbt-labs/dbt-bigquery/issues/680)) +- [@kodaho](https://github.com/kodaho) ([#863](https://github.com/dbt-labs/dbt-bigquery/issues/863)) +- [@m-sche](https://github.com/m-sche) ([#820](https://github.com/dbt-labs/dbt-bigquery/issues/820)) +- [@wazi55](https://github.com/wazi55) ([#734](https://github.com/dbt-labs/dbt-bigquery/issues/734)) diff --git a/.changes/unreleased/Dependencies-20230919-003620.yaml b/.changes/1.7.0/Dependencies-20230919-003620.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20230919-003620.yaml rename to .changes/1.7.0/Dependencies-20230919-003620.yaml diff --git a/.changes/unreleased/Features-20230426-152526.yaml b/.changes/1.7.0/Features-20230426-152526.yaml similarity index 100% rename from .changes/unreleased/Features-20230426-152526.yaml rename to .changes/1.7.0/Features-20230426-152526.yaml diff --git a/.changes/unreleased/Features-20230913-130445.yaml b/.changes/1.7.0/Features-20230913-130445.yaml similarity index 100% rename from .changes/unreleased/Features-20230913-130445.yaml rename to .changes/1.7.0/Features-20230913-130445.yaml diff --git a/.changes/unreleased/Features-20230921-175106.yaml b/.changes/1.7.0/Features-20230921-175106.yaml similarity index 100% rename from .changes/unreleased/Features-20230921-175106.yaml rename to .changes/1.7.0/Features-20230921-175106.yaml diff --git a/.changes/unreleased/Fixes-20230721-101041.yaml b/.changes/1.7.0/Fixes-20230721-101041.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230721-101041.yaml rename to .changes/1.7.0/Fixes-20230721-101041.yaml diff --git a/.changes/unreleased/Fixes-20230817-095527.yaml b/.changes/1.7.0/Fixes-20230817-095527.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230817-095527.yaml rename to .changes/1.7.0/Fixes-20230817-095527.yaml diff --git a/.changes/unreleased/Fixes-20230906-141819.yaml b/.changes/1.7.0/Fixes-20230906-141819.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230906-141819.yaml rename to .changes/1.7.0/Fixes-20230906-141819.yaml diff --git a/.changes/unreleased/Fixes-20231005-235950.yaml b/.changes/1.7.0/Fixes-20231005-235950.yaml similarity index 100% rename from .changes/unreleased/Fixes-20231005-235950.yaml rename to .changes/1.7.0/Fixes-20231005-235950.yaml diff --git a/.changes/unreleased/Under the Hood-20230921-155645.yaml b/.changes/1.7.0/Under the Hood-20230921-155645.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230921-155645.yaml rename to .changes/1.7.0/Under the Hood-20230921-155645.yaml diff --git a/.changes/unreleased/Under the Hood-20230922-114217.yaml b/.changes/1.7.0/Under the Hood-20230922-114217.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230922-114217.yaml rename to .changes/1.7.0/Under the Hood-20230922-114217.yaml diff --git a/.changes/unreleased/Under the Hood-20230922-125327.yaml b/.changes/1.7.0/Under the Hood-20230922-125327.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230922-125327.yaml rename to .changes/1.7.0/Under the Hood-20230922-125327.yaml diff --git a/.changes/unreleased/Under the Hood-20230925-143628.yaml b/.changes/1.7.0/Under the Hood-20230925-143628.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230925-143628.yaml rename to .changes/1.7.0/Under the Hood-20230925-143628.yaml diff --git a/.changes/unreleased/Under the Hood-20231005-115800.yaml b/.changes/1.7.0/Under the Hood-20231005-115800.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20231005-115800.yaml rename to .changes/1.7.0/Under the Hood-20231005-115800.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index d7450ff07..c6bb264e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,41 @@ - "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-bigquery/blob/main/CONTRIBUTING.md#adding-changelog-entry) +## dbt-bigquery 1.7.0-rc1 - October 12, 2023 + +### Features + +- Support partition_by and cluster_by on python models when supplied in model configurations ([#680](https://github.com/dbt-labs/dbt-bigquery/issues/680)) +- Support change monitoring for materialized views, including: autorefresh, clustering, partitioning ([#924](https://github.com/dbt-labs/dbt-bigquery/issues/924)) +- Support storing test failures as views ([#6914](https://github.com/dbt-labs/dbt-bigquery/issues/6914)) + +### Fixes + +- Serverless Spark to Poll with .GetBatch() instead of using operation.result() ([#734](https://github.com/dbt-labs/dbt-bigquery/issues/734)) +- Avoid setting lifetime on impersonation tokens. ([#769](https://github.com/dbt-labs/dbt-bigquery/issues/769)) +- Fix bigquery copy materialization ([#820](https://github.com/dbt-labs/dbt-bigquery/issues/820)) +- Fix issue where job labels are not rendered when using macro for query comment ([#863](https://github.com/dbt-labs/dbt-bigquery/issues/863)) + +### Under the Hood + +- Address type annotation issues and remove protected method ref from impl ([#933](https://github.com/dbt-labs/dbt-bigquery/issues/933)) +- Fixed a mypy failure by reworking BigQueryAdapter constructor. ([#934](https://github.com/dbt-labs/dbt-bigquery/issues/934)) +- update SQLQuery to include node_info ([#936](https://github.com/dbt-labs/dbt-bigquery/issues/936)) +- Add tests for inlined limit + sql-header in dbt show query ([#940](https://github.com/dbt-labs/dbt-bigquery/issues/940)) +- Support for use of type aliases in contract column data_type ([#953](https://github.com/dbt-labs/dbt-bigquery/issues/953)) + +### Dependencies + +- Update ddtrace requirement from ~=1.18 to ~=1.19 ([#928](https://github.com/dbt-labs/dbt-bigquery/pull/928)) + +### Contributors +- [@cmc333333](https://github.com/cmc333333) ([#769](https://github.com/dbt-labs/dbt-bigquery/issues/769)) +- [@kalanyuz](https://github.com/kalanyuz) ([#680](https://github.com/dbt-labs/dbt-bigquery/issues/680)) +- [@kodaho](https://github.com/kodaho) ([#863](https://github.com/dbt-labs/dbt-bigquery/issues/863)) +- [@m-sche](https://github.com/m-sche) ([#820](https://github.com/dbt-labs/dbt-bigquery/issues/820)) +- [@wazi55](https://github.com/wazi55) ([#734](https://github.com/dbt-labs/dbt-bigquery/issues/734)) + + ## dbt-bigquery 1.7.0-b2 - September 15, 2023 ### Features @@ -34,7 +69,6 @@ ### Contributors - [@Kayrnt](https://github.com/Kayrnt) ([#886](https://github.com/dbt-labs/dbt-bigquery/issues/886), [#913](https://github.com/dbt-labs/dbt-bigquery/issues/913)) - ## dbt-bigquery 1.7.0-b1 - August 17, 2023 ### Features diff --git a/dbt/adapters/bigquery/__version__.py b/dbt/adapters/bigquery/__version__.py index 3f5d3c0b7..748f8f4ea 100644 --- a/dbt/adapters/bigquery/__version__.py +++ b/dbt/adapters/bigquery/__version__.py @@ -1 +1 @@ -version = "1.7.0b2" +version = "1.7.0rc1" diff --git a/setup.py b/setup.py index 494cd286e..78389ab3f 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ def _dbt_core_version(plugin_version: str) -> str: package_name = "dbt-bigquery" -package_version = "1.7.0b2" +package_version = "1.7.0rc1" dbt_core_version = _dbt_core_version(_dbt_bigquery_version()) description = """The BigQuery adapter plugin for dbt"""