From 7617eece3ab1653ae363c56161d243fc0d304e39 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Fri, 17 Feb 2023 18:08:59 +0000 Subject: [PATCH] Bumping version to 1.5.0b1 and generate changelog --- .bumpversion.cfg | 2 +- .changes/1.5.0-b1.md | 80 ++++++++++++++++++ .../Dependencies-20230206-000926.yaml | 0 .../Dependencies-20230215-091759.yaml | 0 .../Docs-20230207-123807.yaml | 0 .../Docs-20230209-082901.yaml | 0 .../Docs-20230209-212729.yaml | 0 .../Features-20221118-141120.yaml | 0 .../Features-20230107-003157.yaml | 0 .../Features-20230118-233801.yaml | 0 .../Features-20230120-112921.yaml | 0 .../Features-20230126-154716.yaml | 0 .../Features-20230127-162812.yaml | 0 .../Features-20230209-092059.yaml | 0 .../Features-20230209-093409.yaml | 0 .../Fixes-20230123-132814.yaml | 0 .../Fixes-20230124-115837.yaml | 0 .../Fixes-20230124-141943.yaml | 0 .../Fixes-20230125-191739.yaml | 0 .../Fixes-20230201-154418.yaml | 0 .../Fixes-20230203-135557.yaml | 0 .../Fixes-20230207-143544.yaml | 0 .../Fixes-20230208-110551.yaml | 0 .../Fixes-20230208-154935.yaml | 0 .../Fixes-20230210-103028.yaml | 0 .../Fixes-20230210-194157.yaml | 0 .../Fixes-20230213-130522.yaml | 0 .../Fixes-20230213-170723.yaml | 0 .../Fixes-20230215-104536.yaml | 0 .../Under the Hood-20230111-145143.yaml | 0 .../Under the Hood-20230113-132513.yaml | 0 .../Under the Hood-20230113-150700.yaml | 0 .../Under the Hood-20230117-111737.yaml | 0 .../Under the Hood-20230117-162505.yaml | 0 .../Under the Hood-20230117-213729.yaml | 0 .../Under the Hood-20230119-105304.yaml | 0 .../Under the Hood-20230119-205650.yaml | 0 .../Under the Hood-20230119-211040.yaml | 0 .../Under the Hood-20230120-172254.yaml | 0 .../Under the Hood-20230122-215235.yaml | 0 .../Under the Hood-20230124-153553.yaml | 0 .../Under the Hood-20230124-175110.yaml | 0 .../Under the Hood-20230125-041136.yaml | 0 .../Under the Hood-20230125-102606.yaml | 0 .../Under the Hood-20230126-135939.yaml | 0 .../Under the Hood-20230126-143102.yaml | 0 .../Under the Hood-20230126-164741.yaml | 0 .../Under the Hood-20230130-153306.yaml | 0 .../Under the Hood-20230130-175752.yaml | 0 .../Under the Hood-20230130-180917.yaml | 0 .../Under the Hood-20230131-141806.yaml | 0 .../Under the Hood-20230203-143551.yaml | 0 .../Under the Hood-20230207-165111.yaml | 0 .../Under the Hood-20230210-084647.yaml | 0 .../Under the Hood-20230216-143252.yaml | 0 CHANGELOG.md | 82 +++++++++++++++++++ core/dbt/version.py | 2 +- core/setup.py | 2 +- docker/Dockerfile | 12 +-- .../dbt/adapters/postgres/__version__.py | 2 +- plugins/postgres/setup.py | 2 +- .../adapter/dbt/tests/adapter/__version__.py | 2 +- tests/adapter/setup.py | 2 +- 63 files changed, 175 insertions(+), 13 deletions(-) create mode 100644 .changes/1.5.0-b1.md rename .changes/{unreleased => 1.5.0}/Dependencies-20230206-000926.yaml (100%) rename .changes/{unreleased => 1.5.0}/Dependencies-20230215-091759.yaml (100%) rename .changes/{unreleased => 1.5.0}/Docs-20230207-123807.yaml (100%) rename .changes/{unreleased => 1.5.0}/Docs-20230209-082901.yaml (100%) rename .changes/{unreleased => 1.5.0}/Docs-20230209-212729.yaml (100%) rename .changes/{unreleased => 1.5.0}/Features-20221118-141120.yaml (100%) rename .changes/{unreleased => 1.5.0}/Features-20230107-003157.yaml (100%) rename .changes/{unreleased => 1.5.0}/Features-20230118-233801.yaml (100%) rename .changes/{unreleased => 1.5.0}/Features-20230120-112921.yaml (100%) rename .changes/{unreleased => 1.5.0}/Features-20230126-154716.yaml (100%) rename .changes/{unreleased => 1.5.0}/Features-20230127-162812.yaml (100%) rename .changes/{unreleased => 1.5.0}/Features-20230209-092059.yaml (100%) rename .changes/{unreleased => 1.5.0}/Features-20230209-093409.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230123-132814.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230124-115837.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230124-141943.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230125-191739.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230201-154418.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230203-135557.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230207-143544.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230208-110551.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230208-154935.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230210-103028.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230210-194157.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230213-130522.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230213-170723.yaml (100%) rename .changes/{unreleased => 1.5.0}/Fixes-20230215-104536.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230111-145143.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230113-132513.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230113-150700.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230117-111737.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230117-162505.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230117-213729.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230119-105304.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230119-205650.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230119-211040.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230120-172254.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230122-215235.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230124-153553.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230124-175110.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230125-041136.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230125-102606.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230126-135939.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230126-143102.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230126-164741.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230130-153306.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230130-175752.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230130-180917.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230131-141806.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230203-143551.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230207-165111.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230210-084647.yaml (100%) rename .changes/{unreleased => 1.5.0}/Under the Hood-20230216-143252.yaml (100%) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 2172a090757..9f9dcd43a85 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.5.0a1 +current_version = 1.5.0b1 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.5.0-b1.md b/.changes/1.5.0-b1.md new file mode 100644 index 00000000000..2ceb1de8d71 --- /dev/null +++ b/.changes/1.5.0-b1.md @@ -0,0 +1,80 @@ +## dbt-core 1.5.0-b1 - February 17, 2023 + +### Features + +- Data type constraints are now native to SQL table materializations. Enforce columns are specific data types and not null depending on database functionality. ([#6079](https://github.com/dbt-labs/dbt-core/issues/6079)) +- Have dbt debug spit out structured json logs with flags enabled. ([#5353](https://github.com/dbt-labs/dbt-core/issues/5353)) +- add adapter_response to dbt test and freshness result ([#2964](https://github.com/dbt-labs/dbt-core/issues/2964)) +- Improve error message for packages missing `dbt_project.yml` ([#6663](https://github.com/dbt-labs/dbt-core/issues/6663)) +- Adjust makefile to have clearer instructions for CI env var changes. ([#6689](https://github.com/dbt-labs/dbt-core/issues/6689)) +- Stand-alone Python module for PostgresColumn ([#6772](https://github.com/dbt-labs/dbt-core/issues/6772)) +- Exposure owner requires one of name or email keys, and accepts additional arbitrary keys ([#6833](https://github.com/dbt-labs/dbt-core/issues/6833)) +- Parse 'group' resource ([#6921](https://github.com/dbt-labs/dbt-core/issues/6921)) + +### Fixes + +- add merge_exclude_columns adapter tests ([#6699](https://github.com/dbt-labs/dbt-core/issues/6699)) +- Include adapter_response in NodeFinished run_result log event ([#6703](https://github.com/dbt-labs/dbt-core/issues/6703)) +- Sort cli vars before hashing for partial parsing ([#6710](https://github.com/dbt-labs/dbt-core/issues/6710)) +- [Regression] exposure_content referenced incorrectly ([#6738](https://github.com/dbt-labs/dbt-core/issues/6738)) +- Remove pin on packaging and stop using it for prerelease comparisons ([#6834](https://github.com/dbt-labs/dbt-core/issues/6834)) +- Readd depends_on.macros to SeedNode, to support seeds with hooks calling macros ([#6806](https://github.com/dbt-labs/dbt-core/issues/6806)) +- Fix regression of --quiet cli parameter behavior ([#6749](https://github.com/dbt-labs/dbt-core/issues/6749)) +- Ensure results from hooks contain nodes when processing them ([#6796](https://github.com/dbt-labs/dbt-core/issues/6796)) +- Always flush stdout after logging ([#6901](https://github.com/dbt-labs/dbt-core/issues/6901)) +- Reapply logging fixes which were accidentally reverted ([#6936](https://github.com/dbt-labs/dbt-core/issues/6936)) +- Set relation_name in test nodes at compile time ([#6930](https://github.com/dbt-labs/dbt-core/issues/6930)) +- Readd initialization events, --log-cache-events in new CLI ([#6933](https://github.com/dbt-labs/dbt-core/issues/6933)) +- Fix previous state tests and disabled exposures, metrics ([#6752](https://github.com/dbt-labs/dbt-core/issues/6752), [#6753](https://github.com/dbt-labs/dbt-core/issues/6753)) +- Make use of hashlib.md5() FIPS compliant ([#6900](https://github.com/dbt-labs/dbt-core/issues/6900)) + +### Docs + +- update link to installation instructions ([dbt-docs/#None](https://github.com/dbt-labs/dbt-docs/issues/None)) +- Fix JSON path to overview docs ([dbt-docs/#366](https://github.com/dbt-labs/dbt-docs/issues/366)) +- Searchable column descriptions ([dbt-docs/#140](https://github.com/dbt-labs/dbt-docs/issues/140), [dbt-docs/#322](https://github.com/dbt-labs/dbt-docs/issues/322), [dbt-docs/#369](https://github.com/dbt-labs/dbt-docs/issues/369)) + +### Under the Hood + +- [CT-921] dbt compile works in click ([#5545](https://github.com/dbt-labs/dbt-core/issues/5545)) +- Fix use of ConnectionReused logging event ([#6168](https://github.com/dbt-labs/dbt-core/issues/6168)) +- Port docs tests to pytest ([#6573](https://github.com/dbt-labs/dbt-core/issues/6573)) +- Update deprecated github action command ([#6153](https://github.com/dbt-labs/dbt-core/issues/6153)) +- dbt snapshot works in click ([#5554](https://github.com/dbt-labs/dbt-core/issues/5554)) +- dbt list working with click ([#5549](https://github.com/dbt-labs/dbt-core/issues/5549)) +- Add dbt run-operation to click CLI ([#5552](https://github.com/dbt-labs/dbt-core/issues/5552)) +- dbt build working with new click framework ([#5541](https://github.com/dbt-labs/dbt-core/issues/5541)) +- dbt docs generate works with new click framework ([#5543](https://github.com/dbt-labs/dbt-core/issues/5543)) +- Replaced the EmptyLine event with a more general Formatting event, and added a Note event. ([#6481](https://github.com/dbt-labs/dbt-core/issues/6481)) +- Small optimization on manifest parsing benefitting large DAGs ([#6697](https://github.com/dbt-labs/dbt-core/issues/6697)) +- Revised and simplified various structured logging events ([#6664](https://github.com/dbt-labs/dbt-core/issues/6664), [#6665](https://github.com/dbt-labs/dbt-core/issues/6665), [#6666](https://github.com/dbt-labs/dbt-core/issues/6666)) +- dbt init works with click ([#5548](https://github.com/dbt-labs/dbt-core/issues/5548)) +- [CT-920][CT-1900] Create Click CLI runner and use it to fix dbt docs commands ([#5544](https://github.com/dbt-labs/dbt-core/issues/5544), [#6722](https://github.com/dbt-labs/dbt-core/issues/6722)) +- Migrate debug task to click ([#5546](https://github.com/dbt-labs/dbt-core/issues/5546)) +- Optimized GraphQueue to remove graph analysis bottleneck in large dags. ([#6759](https://github.com/dbt-labs/dbt-core/issues/6759)) +- Implement --version for click cli ([#6757](https://github.com/dbt-labs/dbt-core/issues/6757)) +- [CT-1841] Convert custom target test to Pytest ([#6638](https://github.com/dbt-labs/dbt-core/issues/6638)) +- Remove BigQuery-specific btye abbreviations ([#6741](https://github.com/dbt-labs/dbt-core/issues/6741)) +- warn_error/warn_error_options mutual exclusivity in click ([#6579](https://github.com/dbt-labs/dbt-core/issues/6579)) +- Enables the new Click Cli on the commandline! 🚀 ([#6784](https://github.com/dbt-labs/dbt-core/issues/6784)) +- Lazily call --version ([#6812](https://github.com/dbt-labs/dbt-core/issues/6812)) +- Moving simple_seed to adapter zone to help adapter test conversions ([#CT-1959](https://github.com/dbt-labs/dbt-core/issues/CT-1959)) +- flags.THREADS defaults to None ([#6887](https://github.com/dbt-labs/dbt-core/issues/6887)) +- Fixing target type exposure error ([#6928](https://github.com/dbt-labs/dbt-core/issues/6928)) +- Test binary serialization of logging events ([#6852](https://github.com/dbt-labs/dbt-core/issues/6852)) + +### Dependencies + +- Bump ubuntu from 22.04 to 23.04 ([#6865](https://github.com/dbt-labs/dbt-core/pull/6865)) +- Revert hoisting dbt.cli.main into the dbt.name namespace ([#](https://github.com/dbt-labs/dbt-core/pull/)) + +### Contributors +- [@aezomz](https://github.com/aezomz) ([#2964](https://github.com/dbt-labs/dbt-core/issues/2964)) +- [@boxysean](https://github.com/boxysean) ([#6697](https://github.com/dbt-labs/dbt-core/issues/6697)) +- [@callum-mcdata](https://github.com/callum-mcdata) ([#6928](https://github.com/dbt-labs/dbt-core/issues/6928)) +- [@dave-connors-3](https://github.com/dave-connors-3) ([#6699](https://github.com/dbt-labs/dbt-core/issues/6699)) +- [@davidbloss](https://github.com/davidbloss) ([#6153](https://github.com/dbt-labs/dbt-core/issues/6153)) +- [@halvorlu](https://github.com/halvorlu) ([#366](https://github.com/dbt-labs/dbt-core/issues/366)) +- [@nielspardon](https://github.com/nielspardon) ([#6900](https://github.com/dbt-labs/dbt-core/issues/6900)) +- [@ryancharris](https://github.com/ryancharris) ([#None](https://github.com/dbt-labs/dbt-core/issues/None)) +- [@sungchun12](https://github.com/sungchun12) ([#6079](https://github.com/dbt-labs/dbt-core/issues/6079)) diff --git a/.changes/unreleased/Dependencies-20230206-000926.yaml b/.changes/1.5.0/Dependencies-20230206-000926.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20230206-000926.yaml rename to .changes/1.5.0/Dependencies-20230206-000926.yaml diff --git a/.changes/unreleased/Dependencies-20230215-091759.yaml b/.changes/1.5.0/Dependencies-20230215-091759.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20230215-091759.yaml rename to .changes/1.5.0/Dependencies-20230215-091759.yaml diff --git a/.changes/unreleased/Docs-20230207-123807.yaml b/.changes/1.5.0/Docs-20230207-123807.yaml similarity index 100% rename from .changes/unreleased/Docs-20230207-123807.yaml rename to .changes/1.5.0/Docs-20230207-123807.yaml diff --git a/.changes/unreleased/Docs-20230209-082901.yaml b/.changes/1.5.0/Docs-20230209-082901.yaml similarity index 100% rename from .changes/unreleased/Docs-20230209-082901.yaml rename to .changes/1.5.0/Docs-20230209-082901.yaml diff --git a/.changes/unreleased/Docs-20230209-212729.yaml b/.changes/1.5.0/Docs-20230209-212729.yaml similarity index 100% rename from .changes/unreleased/Docs-20230209-212729.yaml rename to .changes/1.5.0/Docs-20230209-212729.yaml diff --git a/.changes/unreleased/Features-20221118-141120.yaml b/.changes/1.5.0/Features-20221118-141120.yaml similarity index 100% rename from .changes/unreleased/Features-20221118-141120.yaml rename to .changes/1.5.0/Features-20221118-141120.yaml diff --git a/.changes/unreleased/Features-20230107-003157.yaml b/.changes/1.5.0/Features-20230107-003157.yaml similarity index 100% rename from .changes/unreleased/Features-20230107-003157.yaml rename to .changes/1.5.0/Features-20230107-003157.yaml diff --git a/.changes/unreleased/Features-20230118-233801.yaml b/.changes/1.5.0/Features-20230118-233801.yaml similarity index 100% rename from .changes/unreleased/Features-20230118-233801.yaml rename to .changes/1.5.0/Features-20230118-233801.yaml diff --git a/.changes/unreleased/Features-20230120-112921.yaml b/.changes/1.5.0/Features-20230120-112921.yaml similarity index 100% rename from .changes/unreleased/Features-20230120-112921.yaml rename to .changes/1.5.0/Features-20230120-112921.yaml diff --git a/.changes/unreleased/Features-20230126-154716.yaml b/.changes/1.5.0/Features-20230126-154716.yaml similarity index 100% rename from .changes/unreleased/Features-20230126-154716.yaml rename to .changes/1.5.0/Features-20230126-154716.yaml diff --git a/.changes/unreleased/Features-20230127-162812.yaml b/.changes/1.5.0/Features-20230127-162812.yaml similarity index 100% rename from .changes/unreleased/Features-20230127-162812.yaml rename to .changes/1.5.0/Features-20230127-162812.yaml diff --git a/.changes/unreleased/Features-20230209-092059.yaml b/.changes/1.5.0/Features-20230209-092059.yaml similarity index 100% rename from .changes/unreleased/Features-20230209-092059.yaml rename to .changes/1.5.0/Features-20230209-092059.yaml diff --git a/.changes/unreleased/Features-20230209-093409.yaml b/.changes/1.5.0/Features-20230209-093409.yaml similarity index 100% rename from .changes/unreleased/Features-20230209-093409.yaml rename to .changes/1.5.0/Features-20230209-093409.yaml diff --git a/.changes/unreleased/Fixes-20230123-132814.yaml b/.changes/1.5.0/Fixes-20230123-132814.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230123-132814.yaml rename to .changes/1.5.0/Fixes-20230123-132814.yaml diff --git a/.changes/unreleased/Fixes-20230124-115837.yaml b/.changes/1.5.0/Fixes-20230124-115837.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230124-115837.yaml rename to .changes/1.5.0/Fixes-20230124-115837.yaml diff --git a/.changes/unreleased/Fixes-20230124-141943.yaml b/.changes/1.5.0/Fixes-20230124-141943.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230124-141943.yaml rename to .changes/1.5.0/Fixes-20230124-141943.yaml diff --git a/.changes/unreleased/Fixes-20230125-191739.yaml b/.changes/1.5.0/Fixes-20230125-191739.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230125-191739.yaml rename to .changes/1.5.0/Fixes-20230125-191739.yaml diff --git a/.changes/unreleased/Fixes-20230201-154418.yaml b/.changes/1.5.0/Fixes-20230201-154418.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230201-154418.yaml rename to .changes/1.5.0/Fixes-20230201-154418.yaml diff --git a/.changes/unreleased/Fixes-20230203-135557.yaml b/.changes/1.5.0/Fixes-20230203-135557.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230203-135557.yaml rename to .changes/1.5.0/Fixes-20230203-135557.yaml diff --git a/.changes/unreleased/Fixes-20230207-143544.yaml b/.changes/1.5.0/Fixes-20230207-143544.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230207-143544.yaml rename to .changes/1.5.0/Fixes-20230207-143544.yaml diff --git a/.changes/unreleased/Fixes-20230208-110551.yaml b/.changes/1.5.0/Fixes-20230208-110551.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230208-110551.yaml rename to .changes/1.5.0/Fixes-20230208-110551.yaml diff --git a/.changes/unreleased/Fixes-20230208-154935.yaml b/.changes/1.5.0/Fixes-20230208-154935.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230208-154935.yaml rename to .changes/1.5.0/Fixes-20230208-154935.yaml diff --git a/.changes/unreleased/Fixes-20230210-103028.yaml b/.changes/1.5.0/Fixes-20230210-103028.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230210-103028.yaml rename to .changes/1.5.0/Fixes-20230210-103028.yaml diff --git a/.changes/unreleased/Fixes-20230210-194157.yaml b/.changes/1.5.0/Fixes-20230210-194157.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230210-194157.yaml rename to .changes/1.5.0/Fixes-20230210-194157.yaml diff --git a/.changes/unreleased/Fixes-20230213-130522.yaml b/.changes/1.5.0/Fixes-20230213-130522.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230213-130522.yaml rename to .changes/1.5.0/Fixes-20230213-130522.yaml diff --git a/.changes/unreleased/Fixes-20230213-170723.yaml b/.changes/1.5.0/Fixes-20230213-170723.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230213-170723.yaml rename to .changes/1.5.0/Fixes-20230213-170723.yaml diff --git a/.changes/unreleased/Fixes-20230215-104536.yaml b/.changes/1.5.0/Fixes-20230215-104536.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230215-104536.yaml rename to .changes/1.5.0/Fixes-20230215-104536.yaml diff --git a/.changes/unreleased/Under the Hood-20230111-145143.yaml b/.changes/1.5.0/Under the Hood-20230111-145143.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230111-145143.yaml rename to .changes/1.5.0/Under the Hood-20230111-145143.yaml diff --git a/.changes/unreleased/Under the Hood-20230113-132513.yaml b/.changes/1.5.0/Under the Hood-20230113-132513.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230113-132513.yaml rename to .changes/1.5.0/Under the Hood-20230113-132513.yaml diff --git a/.changes/unreleased/Under the Hood-20230113-150700.yaml b/.changes/1.5.0/Under the Hood-20230113-150700.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230113-150700.yaml rename to .changes/1.5.0/Under the Hood-20230113-150700.yaml diff --git a/.changes/unreleased/Under the Hood-20230117-111737.yaml b/.changes/1.5.0/Under the Hood-20230117-111737.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230117-111737.yaml rename to .changes/1.5.0/Under the Hood-20230117-111737.yaml diff --git a/.changes/unreleased/Under the Hood-20230117-162505.yaml b/.changes/1.5.0/Under the Hood-20230117-162505.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230117-162505.yaml rename to .changes/1.5.0/Under the Hood-20230117-162505.yaml diff --git a/.changes/unreleased/Under the Hood-20230117-213729.yaml b/.changes/1.5.0/Under the Hood-20230117-213729.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230117-213729.yaml rename to .changes/1.5.0/Under the Hood-20230117-213729.yaml diff --git a/.changes/unreleased/Under the Hood-20230119-105304.yaml b/.changes/1.5.0/Under the Hood-20230119-105304.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230119-105304.yaml rename to .changes/1.5.0/Under the Hood-20230119-105304.yaml diff --git a/.changes/unreleased/Under the Hood-20230119-205650.yaml b/.changes/1.5.0/Under the Hood-20230119-205650.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230119-205650.yaml rename to .changes/1.5.0/Under the Hood-20230119-205650.yaml diff --git a/.changes/unreleased/Under the Hood-20230119-211040.yaml b/.changes/1.5.0/Under the Hood-20230119-211040.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230119-211040.yaml rename to .changes/1.5.0/Under the Hood-20230119-211040.yaml diff --git a/.changes/unreleased/Under the Hood-20230120-172254.yaml b/.changes/1.5.0/Under the Hood-20230120-172254.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230120-172254.yaml rename to .changes/1.5.0/Under the Hood-20230120-172254.yaml diff --git a/.changes/unreleased/Under the Hood-20230122-215235.yaml b/.changes/1.5.0/Under the Hood-20230122-215235.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230122-215235.yaml rename to .changes/1.5.0/Under the Hood-20230122-215235.yaml diff --git a/.changes/unreleased/Under the Hood-20230124-153553.yaml b/.changes/1.5.0/Under the Hood-20230124-153553.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230124-153553.yaml rename to .changes/1.5.0/Under the Hood-20230124-153553.yaml diff --git a/.changes/unreleased/Under the Hood-20230124-175110.yaml b/.changes/1.5.0/Under the Hood-20230124-175110.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230124-175110.yaml rename to .changes/1.5.0/Under the Hood-20230124-175110.yaml diff --git a/.changes/unreleased/Under the Hood-20230125-041136.yaml b/.changes/1.5.0/Under the Hood-20230125-041136.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230125-041136.yaml rename to .changes/1.5.0/Under the Hood-20230125-041136.yaml diff --git a/.changes/unreleased/Under the Hood-20230125-102606.yaml b/.changes/1.5.0/Under the Hood-20230125-102606.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230125-102606.yaml rename to .changes/1.5.0/Under the Hood-20230125-102606.yaml diff --git a/.changes/unreleased/Under the Hood-20230126-135939.yaml b/.changes/1.5.0/Under the Hood-20230126-135939.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230126-135939.yaml rename to .changes/1.5.0/Under the Hood-20230126-135939.yaml diff --git a/.changes/unreleased/Under the Hood-20230126-143102.yaml b/.changes/1.5.0/Under the Hood-20230126-143102.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230126-143102.yaml rename to .changes/1.5.0/Under the Hood-20230126-143102.yaml diff --git a/.changes/unreleased/Under the Hood-20230126-164741.yaml b/.changes/1.5.0/Under the Hood-20230126-164741.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230126-164741.yaml rename to .changes/1.5.0/Under the Hood-20230126-164741.yaml diff --git a/.changes/unreleased/Under the Hood-20230130-153306.yaml b/.changes/1.5.0/Under the Hood-20230130-153306.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230130-153306.yaml rename to .changes/1.5.0/Under the Hood-20230130-153306.yaml diff --git a/.changes/unreleased/Under the Hood-20230130-175752.yaml b/.changes/1.5.0/Under the Hood-20230130-175752.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230130-175752.yaml rename to .changes/1.5.0/Under the Hood-20230130-175752.yaml diff --git a/.changes/unreleased/Under the Hood-20230130-180917.yaml b/.changes/1.5.0/Under the Hood-20230130-180917.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230130-180917.yaml rename to .changes/1.5.0/Under the Hood-20230130-180917.yaml diff --git a/.changes/unreleased/Under the Hood-20230131-141806.yaml b/.changes/1.5.0/Under the Hood-20230131-141806.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230131-141806.yaml rename to .changes/1.5.0/Under the Hood-20230131-141806.yaml diff --git a/.changes/unreleased/Under the Hood-20230203-143551.yaml b/.changes/1.5.0/Under the Hood-20230203-143551.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230203-143551.yaml rename to .changes/1.5.0/Under the Hood-20230203-143551.yaml diff --git a/.changes/unreleased/Under the Hood-20230207-165111.yaml b/.changes/1.5.0/Under the Hood-20230207-165111.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230207-165111.yaml rename to .changes/1.5.0/Under the Hood-20230207-165111.yaml diff --git a/.changes/unreleased/Under the Hood-20230210-084647.yaml b/.changes/1.5.0/Under the Hood-20230210-084647.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230210-084647.yaml rename to .changes/1.5.0/Under the Hood-20230210-084647.yaml diff --git a/.changes/unreleased/Under the Hood-20230216-143252.yaml b/.changes/1.5.0/Under the Hood-20230216-143252.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230216-143252.yaml rename to .changes/1.5.0/Under the Hood-20230216-143252.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 45347e50b1f..8d165f5419a 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,88 @@ - "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.0-b1 - February 17, 2023 + +### Features + +- Data type constraints are now native to SQL table materializations. Enforce columns are specific data types and not null depending on database functionality. ([#6079](https://github.com/dbt-labs/dbt-core/issues/6079)) +- Have dbt debug spit out structured json logs with flags enabled. ([#5353](https://github.com/dbt-labs/dbt-core/issues/5353)) +- add adapter_response to dbt test and freshness result ([#2964](https://github.com/dbt-labs/dbt-core/issues/2964)) +- Improve error message for packages missing `dbt_project.yml` ([#6663](https://github.com/dbt-labs/dbt-core/issues/6663)) +- Adjust makefile to have clearer instructions for CI env var changes. ([#6689](https://github.com/dbt-labs/dbt-core/issues/6689)) +- Stand-alone Python module for PostgresColumn ([#6772](https://github.com/dbt-labs/dbt-core/issues/6772)) +- Exposure owner requires one of name or email keys, and accepts additional arbitrary keys ([#6833](https://github.com/dbt-labs/dbt-core/issues/6833)) +- Parse 'group' resource ([#6921](https://github.com/dbt-labs/dbt-core/issues/6921)) + +### Fixes + +- add merge_exclude_columns adapter tests ([#6699](https://github.com/dbt-labs/dbt-core/issues/6699)) +- Include adapter_response in NodeFinished run_result log event ([#6703](https://github.com/dbt-labs/dbt-core/issues/6703)) +- Sort cli vars before hashing for partial parsing ([#6710](https://github.com/dbt-labs/dbt-core/issues/6710)) +- [Regression] exposure_content referenced incorrectly ([#6738](https://github.com/dbt-labs/dbt-core/issues/6738)) +- Remove pin on packaging and stop using it for prerelease comparisons ([#6834](https://github.com/dbt-labs/dbt-core/issues/6834)) +- Readd depends_on.macros to SeedNode, to support seeds with hooks calling macros ([#6806](https://github.com/dbt-labs/dbt-core/issues/6806)) +- Fix regression of --quiet cli parameter behavior ([#6749](https://github.com/dbt-labs/dbt-core/issues/6749)) +- Ensure results from hooks contain nodes when processing them ([#6796](https://github.com/dbt-labs/dbt-core/issues/6796)) +- Always flush stdout after logging ([#6901](https://github.com/dbt-labs/dbt-core/issues/6901)) +- Reapply logging fixes which were accidentally reverted ([#6936](https://github.com/dbt-labs/dbt-core/issues/6936)) +- Set relation_name in test nodes at compile time ([#6930](https://github.com/dbt-labs/dbt-core/issues/6930)) +- Readd initialization events, --log-cache-events in new CLI ([#6933](https://github.com/dbt-labs/dbt-core/issues/6933)) +- Fix previous state tests and disabled exposures, metrics ([#6752](https://github.com/dbt-labs/dbt-core/issues/6752), [#6753](https://github.com/dbt-labs/dbt-core/issues/6753)) +- Make use of hashlib.md5() FIPS compliant ([#6900](https://github.com/dbt-labs/dbt-core/issues/6900)) + +### Docs + +- update link to installation instructions ([dbt-docs/#None](https://github.com/dbt-labs/dbt-docs/issues/None)) +- Fix JSON path to overview docs ([dbt-docs/#366](https://github.com/dbt-labs/dbt-docs/issues/366)) +- Searchable column descriptions ([dbt-docs/#140](https://github.com/dbt-labs/dbt-docs/issues/140), [dbt-docs/#322](https://github.com/dbt-labs/dbt-docs/issues/322), [dbt-docs/#369](https://github.com/dbt-labs/dbt-docs/issues/369)) + +### Under the Hood + +- [CT-921] dbt compile works in click ([#5545](https://github.com/dbt-labs/dbt-core/issues/5545)) +- Fix use of ConnectionReused logging event ([#6168](https://github.com/dbt-labs/dbt-core/issues/6168)) +- Port docs tests to pytest ([#6573](https://github.com/dbt-labs/dbt-core/issues/6573)) +- Update deprecated github action command ([#6153](https://github.com/dbt-labs/dbt-core/issues/6153)) +- dbt snapshot works in click ([#5554](https://github.com/dbt-labs/dbt-core/issues/5554)) +- dbt list working with click ([#5549](https://github.com/dbt-labs/dbt-core/issues/5549)) +- Add dbt run-operation to click CLI ([#5552](https://github.com/dbt-labs/dbt-core/issues/5552)) +- dbt build working with new click framework ([#5541](https://github.com/dbt-labs/dbt-core/issues/5541)) +- dbt docs generate works with new click framework ([#5543](https://github.com/dbt-labs/dbt-core/issues/5543)) +- Replaced the EmptyLine event with a more general Formatting event, and added a Note event. ([#6481](https://github.com/dbt-labs/dbt-core/issues/6481)) +- Small optimization on manifest parsing benefitting large DAGs ([#6697](https://github.com/dbt-labs/dbt-core/issues/6697)) +- Revised and simplified various structured logging events ([#6664](https://github.com/dbt-labs/dbt-core/issues/6664), [#6665](https://github.com/dbt-labs/dbt-core/issues/6665), [#6666](https://github.com/dbt-labs/dbt-core/issues/6666)) +- dbt init works with click ([#5548](https://github.com/dbt-labs/dbt-core/issues/5548)) +- [CT-920][CT-1900] Create Click CLI runner and use it to fix dbt docs commands ([#5544](https://github.com/dbt-labs/dbt-core/issues/5544), [#6722](https://github.com/dbt-labs/dbt-core/issues/6722)) +- Migrate debug task to click ([#5546](https://github.com/dbt-labs/dbt-core/issues/5546)) +- Optimized GraphQueue to remove graph analysis bottleneck in large dags. ([#6759](https://github.com/dbt-labs/dbt-core/issues/6759)) +- Implement --version for click cli ([#6757](https://github.com/dbt-labs/dbt-core/issues/6757)) +- [CT-1841] Convert custom target test to Pytest ([#6638](https://github.com/dbt-labs/dbt-core/issues/6638)) +- Remove BigQuery-specific btye abbreviations ([#6741](https://github.com/dbt-labs/dbt-core/issues/6741)) +- warn_error/warn_error_options mutual exclusivity in click ([#6579](https://github.com/dbt-labs/dbt-core/issues/6579)) +- Enables the new Click Cli on the commandline! 🚀 ([#6784](https://github.com/dbt-labs/dbt-core/issues/6784)) +- Lazily call --version ([#6812](https://github.com/dbt-labs/dbt-core/issues/6812)) +- Moving simple_seed to adapter zone to help adapter test conversions ([#CT-1959](https://github.com/dbt-labs/dbt-core/issues/CT-1959)) +- flags.THREADS defaults to None ([#6887](https://github.com/dbt-labs/dbt-core/issues/6887)) +- Fixing target type exposure error ([#6928](https://github.com/dbt-labs/dbt-core/issues/6928)) +- Test binary serialization of logging events ([#6852](https://github.com/dbt-labs/dbt-core/issues/6852)) + +### Dependencies + +- Bump ubuntu from 22.04 to 23.04 ([#6865](https://github.com/dbt-labs/dbt-core/pull/6865)) +- Revert hoisting dbt.cli.main into the dbt.name namespace ([#](https://github.com/dbt-labs/dbt-core/pull/)) + +### Contributors +- [@aezomz](https://github.com/aezomz) ([#2964](https://github.com/dbt-labs/dbt-core/issues/2964)) +- [@boxysean](https://github.com/boxysean) ([#6697](https://github.com/dbt-labs/dbt-core/issues/6697)) +- [@callum-mcdata](https://github.com/callum-mcdata) ([#6928](https://github.com/dbt-labs/dbt-core/issues/6928)) +- [@dave-connors-3](https://github.com/dave-connors-3) ([#6699](https://github.com/dbt-labs/dbt-core/issues/6699)) +- [@davidbloss](https://github.com/davidbloss) ([#6153](https://github.com/dbt-labs/dbt-core/issues/6153)) +- [@halvorlu](https://github.com/halvorlu) ([#366](https://github.com/dbt-labs/dbt-core/issues/366)) +- [@nielspardon](https://github.com/nielspardon) ([#6900](https://github.com/dbt-labs/dbt-core/issues/6900)) +- [@ryancharris](https://github.com/ryancharris) ([#None](https://github.com/dbt-labs/dbt-core/issues/None)) +- [@sungchun12](https://github.com/sungchun12) ([#6079](https://github.com/dbt-labs/dbt-core/issues/6079)) + + ## Previous Releases For information on prior major and minor releases, see their changelogs: diff --git a/core/dbt/version.py b/core/dbt/version.py index c306a326a39..404a58c23d0 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.0a1" +__version__ = "1.5.0b1" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index f48fa4f3237..3270a30092a 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.5.0a1" +package_version = "1.5.0b1" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index 4061e1e9746..e88a1112a38 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -14,12 +14,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.0a1 -ARG dbt_postgres_ref=dbt-core@v1.5.0a1 -ARG dbt_redshift_ref=dbt-redshift@v1.5.0a1 -ARG dbt_bigquery_ref=dbt-bigquery@v1.5.0a1 -ARG dbt_snowflake_ref=dbt-snowflake@v1.5.0a1 -ARG dbt_spark_ref=dbt-spark@v1.5.0a1 +ARG dbt_core_ref=dbt-core@v1.5.0b1 +ARG dbt_postgres_ref=dbt-core@v1.5.0b1 +ARG dbt_redshift_ref=dbt-redshift@v1.5.0b1 +ARG dbt_bigquery_ref=dbt-bigquery@v1.5.0b1 +ARG dbt_snowflake_ref=dbt-snowflake@v1.5.0b1 +ARG dbt_spark_ref=dbt-spark@v1.5.0b1 # 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 219c289b1bf..c3758128caf 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.5.0a1" +version = "1.5.0b1" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index ade5f95121b..1312c251af0 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.0a1" +package_version = "1.5.0b1" 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 219c289b1bf..c3758128caf 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.5.0a1" +version = "1.5.0b1" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index c4c1e393483..c683b3b598a 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.5.0a1" +package_version = "1.5.0b1" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))