diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 5d390e604..96688bd1b 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.5.0rc1 +current_version = 1.5.0 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.5.0-rc1.md b/.changes/1.5.0.md similarity index 95% rename from .changes/1.5.0-rc1.md rename to .changes/1.5.0.md index 482dc44b4..61cbcb3bb 100644 --- a/.changes/1.5.0-rc1.md +++ b/.changes/1.5.0.md @@ -1,4 +1,4 @@ -## dbt-bigquery 1.5.0-rc1 - April 13, 2023 +## dbt-bigquery 1.5.0 - April 27, 2023 ### Features @@ -25,6 +25,7 @@ - Use _make_ref_key_dict instead of _make_ref_key_msg ([#621](https://github.com/dbt-labs/dbt-bigquery/issues/621)) - add full refresh capabilities to tabular bigquery python models to accommodate schema changes ([#653](https://github.com/dbt-labs/dbt-bigquery/issues/653)) - Repair accidental change to dev-requirements ([#657](https://github.com/dbt-labs/dbt-bigquery/issues/657)) +- Fix issue of sporadic failure to apply grants during high transaction volumes ([#614](https://github.com/dbt-labs/dbt-bigquery/issues/614)) ### Under the Hood diff --git a/.changes/1.5.0/Features-20220826-115320.yaml b/.changes/1.5.0/Features-20220826-115320.yaml deleted file mode 100644 index 27bca84fc..000000000 --- a/.changes/1.5.0/Features-20220826-115320.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Features -body: add option to specify excluded columns on merge -time: 2022-08-26T11:53:20.194981-05:00 -custom: - Author: dave-connors-3 - Issue: "5260" - PR: "227" diff --git a/.changes/1.5.0/Features-20221220-193731.yaml b/.changes/1.5.0/Features-20221220-193731.yaml deleted file mode 100644 index c9aa5c03d..000000000 --- a/.changes/1.5.0/Features-20221220-193731.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: 'Support for data type constraints in BigQuery' -time: 2022-12-20T19:37:31.982821+01:00 -custom: - Author: victoriapm, emmyoop - Issue: 444 568 diff --git a/.changes/1.5.0/Features-20230223-145508.yaml b/.changes/1.5.0/Features-20230223-145508.yaml deleted file mode 100644 index cab391802..000000000 --- a/.changes/1.5.0/Features-20230223-145508.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Enforce contracts on models materialized as tables and views -time: 2023-02-23T14:55:08.186645-05:00 -custom: - Author: michelleark emmyoop - Issue: 529 555 diff --git a/.changes/1.5.0/Features-20230228-094234.yaml b/.changes/1.5.0/Features-20230228-094234.yaml deleted file mode 100644 index 4929c0834..000000000 --- a/.changes/1.5.0/Features-20230228-094234.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: 'Adding `bytes_billed` to `BigQueryAdapterResponse` ' -time: 2023-02-28T09:42:34.557696-03:00 -custom: - Author: bruno-szdl - Issue: "560" diff --git a/.changes/1.5.0/Features-20230303-132509.yaml b/.changes/1.5.0/Features-20230303-132509.yaml deleted file mode 100644 index 3a0ba8403..000000000 --- a/.changes/1.5.0/Features-20230303-132509.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: add dataproc serverless config to profile -time: 2023-03-03T13:25:09.02695-08:00 -custom: - Author: colin-rogers-dbt torkjel - Issue: "530" diff --git a/.changes/1.5.0/Features-20230314-171221.yaml b/.changes/1.5.0/Features-20230314-171221.yaml deleted file mode 100644 index 067812f09..000000000 --- a/.changes/1.5.0/Features-20230314-171221.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Modify addapter to support unified constraint fields -time: 2023-03-14T17:12:21.287702-04:00 -custom: - Author: peterallenwebb - Issue: "567" diff --git a/.changes/1.5.0/Features-20230315-120554.yaml b/.changes/1.5.0/Features-20230315-120554.yaml deleted file mode 100644 index 65718d06b..000000000 --- a/.changes/1.5.0/Features-20230315-120554.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Modify create_table_as to use contract column order -time: 2023-03-15T12:05:54.52431-04:00 -custom: - Author: gshank - Issue: "579" diff --git a/.changes/1.5.0/Features-20230406-104433.yaml b/.changes/1.5.0/Features-20230406-104433.yaml deleted file mode 100644 index 4ec1d8120..000000000 --- a/.changes/1.5.0/Features-20230406-104433.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add support for model-level constraints -time: 2023-04-06T10:44:33.045896-04:00 -custom: - Author: peterallenwebb - Issue: "569" diff --git a/.changes/1.5.0/Fixes-20221213-102005.yaml b/.changes/1.5.0/Fixes-20221213-102005.yaml deleted file mode 100644 index 5e4c486d8..000000000 --- a/.changes/1.5.0/Fixes-20221213-102005.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Make BQ access_grant updates thread safe -time: 2022-12-13T10:20:05.714134-08:00 -custom: - Author: colin-rogers-dbt - Issue: "266" - PR: "404" diff --git a/.changes/1.5.0/Fixes-20230125-174159.yaml b/.changes/1.5.0/Fixes-20230125-174159.yaml deleted file mode 100644 index 4100080d4..000000000 --- a/.changes/1.5.0/Fixes-20230125-174159.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Use IEC standard abbreviations (GiB, TiB, etc) -time: 2023-01-25T17:41:59.921173-07:00 -custom: - Author: dbeatty10 - Issue: "477" - PR: "477" diff --git a/.changes/1.5.0/Fixes-20230202-010332.yaml b/.changes/1.5.0/Fixes-20230202-010332.yaml deleted file mode 100644 index f6062e7ea..000000000 --- a/.changes/1.5.0/Fixes-20230202-010332.yaml +++ /dev/null @@ -1,8 +0,0 @@ -kind: Fixes -body: Fix time ingestion partitioning option regression when combined using `require_partition_filter` - option on incremental run -time: 2023-02-02T01:03:32.577336+01:00 -custom: - Author: Kayrnt - Issue: "483" - PR: "485" diff --git a/.changes/1.5.0/Fixes-20230213-203317.yaml b/.changes/1.5.0/Fixes-20230213-203317.yaml deleted file mode 100644 index ae64c4e2d..000000000 --- a/.changes/1.5.0/Fixes-20230213-203317.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Pin dataproc serverless spark runtime to `1.1` -time: 2023-02-13T20:33:17.839861-08:00 -custom: - Author: colin-rogers-dbt - Issue: "531" diff --git a/.changes/1.5.0/Fixes-20230216-140756.yaml b/.changes/1.5.0/Fixes-20230216-140756.yaml deleted file mode 100644 index b273c563e..000000000 --- a/.changes/1.5.0/Fixes-20230216-140756.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Allow policy_tags to be removed -time: 2023-02-16T14:07:56.313767Z -custom: - Author: garsir - Issue: "349" diff --git a/.changes/1.5.0/Fixes-20230222-133301.yaml b/.changes/1.5.0/Fixes-20230222-133301.yaml deleted file mode 100644 index 7c613a109..000000000 --- a/.changes/1.5.0/Fixes-20230222-133301.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Align partitions to be updated in incremental insert_overwrite to _dbt_max_partition wrt to nulls -time: 2023-02-22T13:33:01.607225-08:00 -custom: - Author: patkearns10 - Issue: "544" diff --git a/.changes/1.5.0/Fixes-20230227-110426.yaml b/.changes/1.5.0/Fixes-20230227-110426.yaml deleted file mode 100644 index c23c53ee6..000000000 --- a/.changes/1.5.0/Fixes-20230227-110426.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Update connections.py with retry logic for 502 BadGateway -time: 2023-02-27T11:04:26.978726+11:00 -custom: - Author: patkearns10 - Issue: "562" diff --git a/.changes/1.5.0/Fixes-20230309-181313.yaml b/.changes/1.5.0/Fixes-20230309-181313.yaml deleted file mode 100644 index 8681f5eaf..000000000 --- a/.changes/1.5.0/Fixes-20230309-181313.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix for Python incremental model regression -time: 2023-03-09T18:13:13.512904-08:00 -custom: - Author: nssalian - Issue: "581" diff --git a/.changes/1.5.0/Fixes-20230315-130504.yaml b/.changes/1.5.0/Fixes-20230315-130504.yaml deleted file mode 100644 index 5229dca17..000000000 --- a/.changes/1.5.0/Fixes-20230315-130504.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix failing test by removing no erroneous asserts. -time: 2023-03-15T13:05:04.747323-07:00 -custom: - Author: versusfacit - Issue: "605" diff --git a/.changes/1.5.0/Fixes-20230322-162200.yaml b/.changes/1.5.0/Fixes-20230322-162200.yaml deleted file mode 100644 index a80a3f963..000000000 --- a/.changes/1.5.0/Fixes-20230322-162200.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Use _make_ref_key_dict instead of _make_ref_key_msg -time: 2023-03-22T16:22:00.091222-04:00 -custom: - Author: gshank - Issue: "621" diff --git a/.changes/1.5.0/Fixes-20230408-035117.yaml b/.changes/1.5.0/Fixes-20230408-035117.yaml deleted file mode 100644 index 56799823b..000000000 --- a/.changes/1.5.0/Fixes-20230408-035117.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: ' add full refresh capabilities to tabular bigquery python models to accommodate - schema changes' -time: 2023-04-08T03:51:17.167349-07:00 -custom: - Author: versusfacit - Issue: "653" diff --git a/.changes/1.5.0/Fixes-20230411-143515.yaml b/.changes/1.5.0/Fixes-20230411-143515.yaml deleted file mode 100644 index c88b53094..000000000 --- a/.changes/1.5.0/Fixes-20230411-143515.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Repair accidental change to dev-requirements -time: 2023-04-11T14:35:15.369296-04:00 -custom: - Author: peterallenwebb - Issue: "657" diff --git a/.changes/1.5.0/Under the Hood-20221209-161550.yaml b/.changes/1.5.0/Under the Hood-20221209-161550.yaml deleted file mode 100644 index 846cda6f6..000000000 --- a/.changes/1.5.0/Under the Hood-20221209-161550.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Remove manual retry to get python job status on cluster -time: 2022-12-09T16:15:50.834922-08:00 -custom: - Author: ChenyuLInx - Issue: "422" - PR: "423" diff --git a/.changes/1.5.0/Under the Hood-20230130-170118.yaml b/.changes/1.5.0/Under the Hood-20230130-170118.yaml deleted file mode 100644 index 39e0ee8f8..000000000 --- a/.changes/1.5.0/Under the Hood-20230130-170118.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: remove tox call to integration tests -time: 2023-01-30T17:01:18.971636-08:00 -custom: - Author: colin-rogers-dbt - Issue: "459" - PR: "498" diff --git a/.changes/1.5.0/Under the Hood-20230223-105149.yaml b/.changes/1.5.0/Under the Hood-20230223-105149.yaml deleted file mode 100644 index ca315cc1d..000000000 --- a/.changes/1.5.0/Under the Hood-20230223-105149.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Treat contract config as a python object -time: 2023-02-23T10:51:49.737457-05:00 -custom: - Author: gshank emmyoop - Issue: 548 633 diff --git a/.changes/1.5.0/Under the Hood-20230411-143129.yaml b/.changes/1.5.0/Under the Hood-20230411-143129.yaml deleted file mode 100644 index 2d41e7cff..000000000 --- a/.changes/1.5.0/Under the Hood-20230411-143129.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Update bigquery__format_column macro to support prettier ContractError message" -time: 2023-04-11T14:31:29.378726+02:00 -custom: - Author: jtcohen6 - Issue: "656" diff --git a/.changes/unreleased/Fixes-20230421-120450.yaml b/.changes/unreleased/Fixes-20230421-120450.yaml deleted file mode 100644 index 64cee345f..000000000 --- a/.changes/unreleased/Fixes-20230421-120450.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: ' Fix issue of sporadic failure to apply grants during high transaction volumes' -time: 2023-04-21T12:04:50.391534-04:00 -custom: - Author: mikealfare - Issue: "614" diff --git a/CHANGELOG.md b/CHANGELOG.md index 622e1df4d..1649ec3d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ - "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.5.0-rc1 - April 13, 2023 +## dbt-bigquery 1.5.0 - April 27, 2023 ### Features @@ -32,6 +32,7 @@ - Use _make_ref_key_dict instead of _make_ref_key_msg ([#621](https://github.com/dbt-labs/dbt-bigquery/issues/621)) - add full refresh capabilities to tabular bigquery python models to accommodate schema changes ([#653](https://github.com/dbt-labs/dbt-bigquery/issues/653)) - Repair accidental change to dev-requirements ([#657](https://github.com/dbt-labs/dbt-bigquery/issues/657)) +- Fix issue of sporadic failure to apply grants during high transaction volumes ([#614](https://github.com/dbt-labs/dbt-bigquery/issues/614)) ### Under the Hood @@ -49,6 +50,7 @@ - [@torkjel](https://github.com/torkjel) ([#530](https://github.com/dbt-labs/dbt-bigquery/issues/530)) - [@victoriapm,](https://github.com/victoriapm,) ([#444](https://github.com/dbt-labs/dbt-bigquery/issues/444), [#568](https://github.com/dbt-labs/dbt-bigquery/issues/568)) + ## Previous Releases For information on prior major and minor releases, see their changelogs: * [1.4](https://github.com/dbt-labs/dbt-bigquery/blob/1.4.latest/CHANGELOG.md) diff --git a/dbt/adapters/bigquery/__version__.py b/dbt/adapters/bigquery/__version__.py index fa6c5a1ac..e3a0f0153 100644 --- a/dbt/adapters/bigquery/__version__.py +++ b/dbt/adapters/bigquery/__version__.py @@ -1 +1 @@ -version = "1.5.0rc1" +version = "1.5.0" diff --git a/setup.py b/setup.py index 910877c82..35c206119 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.5.0rc1" +package_version = "1.5.0" dbt_core_version = _dbt_core_version(_dbt_bigquery_version()) description = """The BigQuery adapter plugin for dbt"""