From 05dc0212e7710f0889bd0f9a5fffcdc1e8cc66e7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 13 Dec 2022 20:18:11 -0500 Subject: [PATCH] Bumping version to 1.4.0b1 and generate changelog (#6440) * Bumping version to 1.4.0b1 and generate CHANGELOG * Updating date * Updating date Co-authored-by: Github Build Bot Co-authored-by: leahwicz <60146280+leahwicz@users.noreply.github.com> --- .bumpversion.cfg | 2 +- .changes/1.4.0-b1.md | 87 ++++++++++++++++++ .../Dependency-20220923-000646.yaml | 0 .../Dependency-20221007-000848.yaml | 0 .../Dependency-20221020-000753.yaml | 0 .../Dependency-20221026-000910.yaml | 0 .../Dependency-20221205-002118.yaml | 0 .../Docs-20220908-154157.yaml | 0 .../Docs-20221007-090656.yaml | 0 .../Docs-20221017-171411.yaml | 0 .../Docs-20221116-155743.yaml | 0 .../Docs-20221202-150523.yaml | 0 .../Features-20220408-165459.yaml | 0 .../Features-20220817-154857.yaml | 0 .../Features-20220912-125935.yaml | 0 .../Features-20220914-095625.yaml | 0 .../Features-20220925-211651.yaml | 0 .../Features-20221003-110705.yaml | 0 .../Features-20221102-150003.yaml | 0 .../Features-20221107-105018.yaml | 0 .../Features-20221114-185207.yaml | 0 .../Features-20221130-112913.yaml | 0 .../Features-20221206-150704.yaml | 0 .../Fixes-20220916-104854.yaml | 0 .../Fixes-20221010-113218.yaml | 0 .../Fixes-20221011-160715.yaml | 0 .../Fixes-20221016-173742.yaml | 0 .../Fixes-20221107-095314.yaml | 0 .../Fixes-20221115-081021.yaml | 0 .../Fixes-20221124-163419.yaml | 0 .../Fixes-20221202-164859.yaml | 0 .../Under the Hood-20220927-194259.yaml | 0 .../Under the Hood-20220929-134406.yaml | 0 .../Under the Hood-20221005-120310.yaml | 0 .../Under the Hood-20221007-094627.yaml | 0 .../Under the Hood-20221007-140044.yaml | 0 .../Under the Hood-20221013-181912.yaml | 0 .../Under the Hood-20221017-151511.yaml | 0 .../Under the Hood-20221017-155844.yaml | 0 .../Under the Hood-20221028-104837.yaml | 0 .../Under the Hood-20221028-110344.yaml | 0 .../Under the Hood-20221108-074550.yaml | 0 .../Under the Hood-20221108-115633.yaml | 0 .../Under the Hood-20221108-133104.yaml | 0 .../Under the Hood-20221116-130037.yaml | 0 .../Under the Hood-20221118-145717.yaml | 0 .../Under the Hood-20221205-164948.yaml | 0 .../Under the Hood-20221206-094015.yaml | 0 .../Under the Hood-20221206-113053.yaml | 0 .../Under the Hood-20221211-214240.yaml | 0 CHANGELOG.md | 88 +++++++++++++++++++ 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 +- 58 files changed, 188 insertions(+), 13 deletions(-) create mode 100644 .changes/1.4.0-b1.md rename .changes/{unreleased => 1.4.0}/Dependency-20220923-000646.yaml (100%) rename .changes/{unreleased => 1.4.0}/Dependency-20221007-000848.yaml (100%) rename .changes/{unreleased => 1.4.0}/Dependency-20221020-000753.yaml (100%) rename .changes/{unreleased => 1.4.0}/Dependency-20221026-000910.yaml (100%) rename .changes/{unreleased => 1.4.0}/Dependency-20221205-002118.yaml (100%) rename .changes/{unreleased => 1.4.0}/Docs-20220908-154157.yaml (100%) rename .changes/{unreleased => 1.4.0}/Docs-20221007-090656.yaml (100%) rename .changes/{unreleased => 1.4.0}/Docs-20221017-171411.yaml (100%) rename .changes/{unreleased => 1.4.0}/Docs-20221116-155743.yaml (100%) rename .changes/{unreleased => 1.4.0}/Docs-20221202-150523.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20220408-165459.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20220817-154857.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20220912-125935.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20220914-095625.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20220925-211651.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20221003-110705.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20221102-150003.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20221107-105018.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20221114-185207.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20221130-112913.yaml (100%) rename .changes/{unreleased => 1.4.0}/Features-20221206-150704.yaml (100%) rename .changes/{unreleased => 1.4.0}/Fixes-20220916-104854.yaml (100%) rename .changes/{unreleased => 1.4.0}/Fixes-20221010-113218.yaml (100%) rename .changes/{unreleased => 1.4.0}/Fixes-20221011-160715.yaml (100%) rename .changes/{unreleased => 1.4.0}/Fixes-20221016-173742.yaml (100%) rename .changes/{unreleased => 1.4.0}/Fixes-20221107-095314.yaml (100%) rename .changes/{unreleased => 1.4.0}/Fixes-20221115-081021.yaml (100%) rename .changes/{unreleased => 1.4.0}/Fixes-20221124-163419.yaml (100%) rename .changes/{unreleased => 1.4.0}/Fixes-20221202-164859.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20220927-194259.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20220929-134406.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221005-120310.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221007-094627.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221007-140044.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221013-181912.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221017-151511.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221017-155844.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221028-104837.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221028-110344.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221108-074550.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221108-115633.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221108-133104.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221116-130037.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221118-145717.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221205-164948.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221206-094015.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221206-113053.yaml (100%) rename .changes/{unreleased => 1.4.0}/Under the Hood-20221211-214240.yaml (100%) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 02ea0717225..3cdca1ad352 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.4.0a1 +current_version = 1.4.0b1 parse = (?P\d+) \.(?P\d+) \.(?P\d+) diff --git a/.changes/1.4.0-b1.md b/.changes/1.4.0-b1.md new file mode 100644 index 00000000000..747aba542dd --- /dev/null +++ b/.changes/1.4.0-b1.md @@ -0,0 +1,87 @@ +## dbt-core 1.4.0-b1 - December 14, 2022 + +### Features + +- Added favor-state flag to optionally favor state nodes even if unselected node exists ([#2968](https://github.com/dbt-labs/dbt-core/issues/2968)) +- Update structured logging. Convert to using protobuf messages. Ensure events are enriched with node_info. ([#5610](https://github.com/dbt-labs/dbt-core/issues/5610)) +- Friendlier error messages when packages.yml is malformed ([#5486](https://github.com/dbt-labs/dbt-core/issues/5486)) +- Migrate dbt-utils current_timestamp macros into core + adapters ([#5521](https://github.com/dbt-labs/dbt-core/issues/5521)) +- Allow partitions in external tables to be supplied as a list ([#5929](https://github.com/dbt-labs/dbt-core/issues/5929)) +- extend -f flag shorthand for seed command ([#5990](https://github.com/dbt-labs/dbt-core/issues/5990)) +- This pulls the profile name from args when constructing a RuntimeConfig in lib.py, enabling the dbt-server to override the value that's in the dbt_project.yml ([#6201](https://github.com/dbt-labs/dbt-core/issues/6201)) +- Adding tarball install method for packages. Allowing package tarball to be specified via url in the packages.yaml. ([#4205](https://github.com/dbt-labs/dbt-core/issues/4205)) +- Added an md5 function to the base context ([#6246](https://github.com/dbt-labs/dbt-core/issues/6246)) +- Exposures support metrics in lineage ([#6057](https://github.com/dbt-labs/dbt-core/issues/6057)) +- Add support for Python 3.11 ([#6147](https://github.com/dbt-labs/dbt-core/issues/6147)) + +### Fixes + +- Account for disabled flags on models in schema files more completely ([#3992](https://github.com/dbt-labs/dbt-core/issues/3992)) +- Add validation of enabled config for metrics, exposures and sources ([#6030](https://github.com/dbt-labs/dbt-core/issues/6030)) +- check length of args of python model function before accessing it ([#6041](https://github.com/dbt-labs/dbt-core/issues/6041)) +- Add functors to ensure event types with str-type attributes are initialized to spec, even when provided non-str type params. ([#5436](https://github.com/dbt-labs/dbt-core/issues/5436)) +- Allow hooks to fail without halting execution flow ([#5625](https://github.com/dbt-labs/dbt-core/issues/5625)) +- Clarify Error Message for how many models are allowed in a Python file ([#6245](https://github.com/dbt-labs/dbt-core/issues/6245)) +- After this, will be possible to use default values for dbt.config.get ([#6309](https://github.com/dbt-labs/dbt-core/issues/6309)) +- Use full path for writing manifest ([#6055](https://github.com/dbt-labs/dbt-core/issues/6055)) + +### Docs + +- minor doc correction ([dbt-docs/#5791](https://github.com/dbt-labs/dbt-docs/issues/5791)) +- Generate API docs for new CLI interface ([dbt-docs/#5528](https://github.com/dbt-labs/dbt-docs/issues/5528)) +- ([dbt-docs/#5880](https://github.com/dbt-labs/dbt-docs/issues/5880)) +- Fix rendering of sample code for metrics ([dbt-docs/#323](https://github.com/dbt-labs/dbt-docs/issues/323)) +- Alphabetize `core/dbt/README.md` ([dbt-docs/#6368](https://github.com/dbt-labs/dbt-docs/issues/6368)) + +### Under the Hood + +- Put black config in explicit config ([#5946](https://github.com/dbt-labs/dbt-core/issues/5946)) +- Added flat_graph attribute the Manifest class's deepcopy() coverage ([#5809](https://github.com/dbt-labs/dbt-core/issues/5809)) +- Add mypy configs so `mypy` passes from CLI ([#5983](https://github.com/dbt-labs/dbt-core/issues/5983)) +- Exception message cleanup. ([#6023](https://github.com/dbt-labs/dbt-core/issues/6023)) +- Add dmypy cache to gitignore ([#6028](https://github.com/dbt-labs/dbt-core/issues/6028)) +- Provide useful errors when the value of 'materialized' is invalid ([#5229](https://github.com/dbt-labs/dbt-core/issues/5229)) +- Clean up string formatting ([#6068](https://github.com/dbt-labs/dbt-core/issues/6068)) +- Fixed extra whitespace in strings introduced by black. ([#1350](https://github.com/dbt-labs/dbt-core/issues/1350)) +- Remove the 'root_path' field from most nodes ([#6171](https://github.com/dbt-labs/dbt-core/issues/6171)) +- Combine certain logging events with different levels ([#6173](https://github.com/dbt-labs/dbt-core/issues/6173)) +- Convert threading tests to pytest ([#5942](https://github.com/dbt-labs/dbt-core/issues/5942)) +- Convert postgres index tests to pytest ([#5770](https://github.com/dbt-labs/dbt-core/issues/5770)) +- Convert use color tests to pytest ([#5771](https://github.com/dbt-labs/dbt-core/issues/5771)) +- Add github actions workflow to generate high level CLI API docs ([#5942](https://github.com/dbt-labs/dbt-core/issues/5942)) +- Functionality-neutral refactor of event logging system to improve encapsulation and modularity. ([#6139](https://github.com/dbt-labs/dbt-core/issues/6139)) +- Consolidate ParsedNode and CompiledNode classes ([#6383](https://github.com/dbt-labs/dbt-core/issues/6383)) +- Prevent doc gen workflow from running on forks ([#6386](https://github.com/dbt-labs/dbt-core/issues/6386)) +- Fix intermittent database connection failure in Windows CI test ([#6394](https://github.com/dbt-labs/dbt-core/issues/6394)) +- Refactor and clean up manifest nodes ([#6426](https://github.com/dbt-labs/dbt-core/issues/6426)) + +### Dependencies + +- Update pathspec requirement from ~=0.9.0 to >=0.9,<0.11 in /core ([#5917](https://github.com/dbt-labs/dbt-core/pull/5917)) +- Bump black from 22.8.0 to 22.10.0 ([#6019](https://github.com/dbt-labs/dbt-core/pull/6019)) +- Bump mashumaro[msgpack] from 3.0.4 to 3.1.1 in /core ([#6108](https://github.com/dbt-labs/dbt-core/pull/6108)) +- Update colorama requirement from <0.4.6,>=0.3.9 to >=0.3.9,<0.4.7 in /core ([#6144](https://github.com/dbt-labs/dbt-core/pull/6144)) + +### Dependency + +- Bump mashumaro[msgpack] from 3.1.1 to 3.2 in /core ([#4904](https://github.com/dbt-labs/dbt-core/issues/4904)) + +### Contributors +- [@andy-clapson](https://github.com/andy-clapson) ([dbt-docs/#5791](https://github.com/dbt-labs/dbt-docs/issues/5791)) +- [@chamini2](https://github.com/chamini2) ([#6041](https://github.com/dbt-labs/dbt-core/issues/6041)) +- [@daniel-murray](https://github.com/daniel-murray) ([#2968](https://github.com/dbt-labs/dbt-core/issues/2968)) +- [@dave-connors-3](https://github.com/dave-connors-3) ([#5990](https://github.com/dbt-labs/dbt-core/issues/5990)) +- [@dbeatty10](https://github.com/dbeatty10) ([dbt-docs/#6368](https://github.com/dbt-labs/dbt-docs/issues/6368), [#6394](https://github.com/dbt-labs/dbt-core/issues/6394)) +- [@devmessias](https://github.com/devmessias) ([#6309](https://github.com/dbt-labs/dbt-core/issues/6309)) +- [@eve-johns](https://github.com/eve-johns) ([#6068](https://github.com/dbt-labs/dbt-core/issues/6068)) +- [@haritamar](https://github.com/haritamar) ([#6246](https://github.com/dbt-labs/dbt-core/issues/6246)) +- [@jared-rimmer](https://github.com/jared-rimmer) ([#5486](https://github.com/dbt-labs/dbt-core/issues/5486)) +- [@josephberni](https://github.com/josephberni) ([#2968](https://github.com/dbt-labs/dbt-core/issues/2968)) +- [@joshuataylor](https://github.com/joshuataylor) ([#6147](https://github.com/dbt-labs/dbt-core/issues/6147)) +- [@justbldwn](https://github.com/justbldwn) ([#6245](https://github.com/dbt-labs/dbt-core/issues/6245)) +- [@luke-bassett](https://github.com/luke-bassett) ([#1350](https://github.com/dbt-labs/dbt-core/issues/1350)) +- [@max-sixty](https://github.com/max-sixty) ([#5946](https://github.com/dbt-labs/dbt-core/issues/5946), [#5983](https://github.com/dbt-labs/dbt-core/issues/5983), [#6028](https://github.com/dbt-labs/dbt-core/issues/6028)) +- [@paulbenschmidt](https://github.com/paulbenschmidt) ([dbt-docs/#5880](https://github.com/dbt-labs/dbt-docs/issues/5880)) +- [@pgoslatara](https://github.com/pgoslatara) ([#5929](https://github.com/dbt-labs/dbt-core/issues/5929)) +- [@racheldaniel](https://github.com/racheldaniel) ([#6201](https://github.com/dbt-labs/dbt-core/issues/6201)) +- [@timle2](https://github.com/timle2) ([#4205](https://github.com/dbt-labs/dbt-core/issues/4205)) diff --git a/.changes/unreleased/Dependency-20220923-000646.yaml b/.changes/1.4.0/Dependency-20220923-000646.yaml similarity index 100% rename from .changes/unreleased/Dependency-20220923-000646.yaml rename to .changes/1.4.0/Dependency-20220923-000646.yaml diff --git a/.changes/unreleased/Dependency-20221007-000848.yaml b/.changes/1.4.0/Dependency-20221007-000848.yaml similarity index 100% rename from .changes/unreleased/Dependency-20221007-000848.yaml rename to .changes/1.4.0/Dependency-20221007-000848.yaml diff --git a/.changes/unreleased/Dependency-20221020-000753.yaml b/.changes/1.4.0/Dependency-20221020-000753.yaml similarity index 100% rename from .changes/unreleased/Dependency-20221020-000753.yaml rename to .changes/1.4.0/Dependency-20221020-000753.yaml diff --git a/.changes/unreleased/Dependency-20221026-000910.yaml b/.changes/1.4.0/Dependency-20221026-000910.yaml similarity index 100% rename from .changes/unreleased/Dependency-20221026-000910.yaml rename to .changes/1.4.0/Dependency-20221026-000910.yaml diff --git a/.changes/unreleased/Dependency-20221205-002118.yaml b/.changes/1.4.0/Dependency-20221205-002118.yaml similarity index 100% rename from .changes/unreleased/Dependency-20221205-002118.yaml rename to .changes/1.4.0/Dependency-20221205-002118.yaml diff --git a/.changes/unreleased/Docs-20220908-154157.yaml b/.changes/1.4.0/Docs-20220908-154157.yaml similarity index 100% rename from .changes/unreleased/Docs-20220908-154157.yaml rename to .changes/1.4.0/Docs-20220908-154157.yaml diff --git a/.changes/unreleased/Docs-20221007-090656.yaml b/.changes/1.4.0/Docs-20221007-090656.yaml similarity index 100% rename from .changes/unreleased/Docs-20221007-090656.yaml rename to .changes/1.4.0/Docs-20221007-090656.yaml diff --git a/.changes/unreleased/Docs-20221017-171411.yaml b/.changes/1.4.0/Docs-20221017-171411.yaml similarity index 100% rename from .changes/unreleased/Docs-20221017-171411.yaml rename to .changes/1.4.0/Docs-20221017-171411.yaml diff --git a/.changes/unreleased/Docs-20221116-155743.yaml b/.changes/1.4.0/Docs-20221116-155743.yaml similarity index 100% rename from .changes/unreleased/Docs-20221116-155743.yaml rename to .changes/1.4.0/Docs-20221116-155743.yaml diff --git a/.changes/unreleased/Docs-20221202-150523.yaml b/.changes/1.4.0/Docs-20221202-150523.yaml similarity index 100% rename from .changes/unreleased/Docs-20221202-150523.yaml rename to .changes/1.4.0/Docs-20221202-150523.yaml diff --git a/.changes/unreleased/Features-20220408-165459.yaml b/.changes/1.4.0/Features-20220408-165459.yaml similarity index 100% rename from .changes/unreleased/Features-20220408-165459.yaml rename to .changes/1.4.0/Features-20220408-165459.yaml diff --git a/.changes/unreleased/Features-20220817-154857.yaml b/.changes/1.4.0/Features-20220817-154857.yaml similarity index 100% rename from .changes/unreleased/Features-20220817-154857.yaml rename to .changes/1.4.0/Features-20220817-154857.yaml diff --git a/.changes/unreleased/Features-20220912-125935.yaml b/.changes/1.4.0/Features-20220912-125935.yaml similarity index 100% rename from .changes/unreleased/Features-20220912-125935.yaml rename to .changes/1.4.0/Features-20220912-125935.yaml diff --git a/.changes/unreleased/Features-20220914-095625.yaml b/.changes/1.4.0/Features-20220914-095625.yaml similarity index 100% rename from .changes/unreleased/Features-20220914-095625.yaml rename to .changes/1.4.0/Features-20220914-095625.yaml diff --git a/.changes/unreleased/Features-20220925-211651.yaml b/.changes/1.4.0/Features-20220925-211651.yaml similarity index 100% rename from .changes/unreleased/Features-20220925-211651.yaml rename to .changes/1.4.0/Features-20220925-211651.yaml diff --git a/.changes/unreleased/Features-20221003-110705.yaml b/.changes/1.4.0/Features-20221003-110705.yaml similarity index 100% rename from .changes/unreleased/Features-20221003-110705.yaml rename to .changes/1.4.0/Features-20221003-110705.yaml diff --git a/.changes/unreleased/Features-20221102-150003.yaml b/.changes/1.4.0/Features-20221102-150003.yaml similarity index 100% rename from .changes/unreleased/Features-20221102-150003.yaml rename to .changes/1.4.0/Features-20221102-150003.yaml diff --git a/.changes/unreleased/Features-20221107-105018.yaml b/.changes/1.4.0/Features-20221107-105018.yaml similarity index 100% rename from .changes/unreleased/Features-20221107-105018.yaml rename to .changes/1.4.0/Features-20221107-105018.yaml diff --git a/.changes/unreleased/Features-20221114-185207.yaml b/.changes/1.4.0/Features-20221114-185207.yaml similarity index 100% rename from .changes/unreleased/Features-20221114-185207.yaml rename to .changes/1.4.0/Features-20221114-185207.yaml diff --git a/.changes/unreleased/Features-20221130-112913.yaml b/.changes/1.4.0/Features-20221130-112913.yaml similarity index 100% rename from .changes/unreleased/Features-20221130-112913.yaml rename to .changes/1.4.0/Features-20221130-112913.yaml diff --git a/.changes/unreleased/Features-20221206-150704.yaml b/.changes/1.4.0/Features-20221206-150704.yaml similarity index 100% rename from .changes/unreleased/Features-20221206-150704.yaml rename to .changes/1.4.0/Features-20221206-150704.yaml diff --git a/.changes/unreleased/Fixes-20220916-104854.yaml b/.changes/1.4.0/Fixes-20220916-104854.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220916-104854.yaml rename to .changes/1.4.0/Fixes-20220916-104854.yaml diff --git a/.changes/unreleased/Fixes-20221010-113218.yaml b/.changes/1.4.0/Fixes-20221010-113218.yaml similarity index 100% rename from .changes/unreleased/Fixes-20221010-113218.yaml rename to .changes/1.4.0/Fixes-20221010-113218.yaml diff --git a/.changes/unreleased/Fixes-20221011-160715.yaml b/.changes/1.4.0/Fixes-20221011-160715.yaml similarity index 100% rename from .changes/unreleased/Fixes-20221011-160715.yaml rename to .changes/1.4.0/Fixes-20221011-160715.yaml diff --git a/.changes/unreleased/Fixes-20221016-173742.yaml b/.changes/1.4.0/Fixes-20221016-173742.yaml similarity index 100% rename from .changes/unreleased/Fixes-20221016-173742.yaml rename to .changes/1.4.0/Fixes-20221016-173742.yaml diff --git a/.changes/unreleased/Fixes-20221107-095314.yaml b/.changes/1.4.0/Fixes-20221107-095314.yaml similarity index 100% rename from .changes/unreleased/Fixes-20221107-095314.yaml rename to .changes/1.4.0/Fixes-20221107-095314.yaml diff --git a/.changes/unreleased/Fixes-20221115-081021.yaml b/.changes/1.4.0/Fixes-20221115-081021.yaml similarity index 100% rename from .changes/unreleased/Fixes-20221115-081021.yaml rename to .changes/1.4.0/Fixes-20221115-081021.yaml diff --git a/.changes/unreleased/Fixes-20221124-163419.yaml b/.changes/1.4.0/Fixes-20221124-163419.yaml similarity index 100% rename from .changes/unreleased/Fixes-20221124-163419.yaml rename to .changes/1.4.0/Fixes-20221124-163419.yaml diff --git a/.changes/unreleased/Fixes-20221202-164859.yaml b/.changes/1.4.0/Fixes-20221202-164859.yaml similarity index 100% rename from .changes/unreleased/Fixes-20221202-164859.yaml rename to .changes/1.4.0/Fixes-20221202-164859.yaml diff --git a/.changes/unreleased/Under the Hood-20220927-194259.yaml b/.changes/1.4.0/Under the Hood-20220927-194259.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20220927-194259.yaml rename to .changes/1.4.0/Under the Hood-20220927-194259.yaml diff --git a/.changes/unreleased/Under the Hood-20220929-134406.yaml b/.changes/1.4.0/Under the Hood-20220929-134406.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20220929-134406.yaml rename to .changes/1.4.0/Under the Hood-20220929-134406.yaml diff --git a/.changes/unreleased/Under the Hood-20221005-120310.yaml b/.changes/1.4.0/Under the Hood-20221005-120310.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221005-120310.yaml rename to .changes/1.4.0/Under the Hood-20221005-120310.yaml diff --git a/.changes/unreleased/Under the Hood-20221007-094627.yaml b/.changes/1.4.0/Under the Hood-20221007-094627.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221007-094627.yaml rename to .changes/1.4.0/Under the Hood-20221007-094627.yaml diff --git a/.changes/unreleased/Under the Hood-20221007-140044.yaml b/.changes/1.4.0/Under the Hood-20221007-140044.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221007-140044.yaml rename to .changes/1.4.0/Under the Hood-20221007-140044.yaml diff --git a/.changes/unreleased/Under the Hood-20221013-181912.yaml b/.changes/1.4.0/Under the Hood-20221013-181912.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221013-181912.yaml rename to .changes/1.4.0/Under the Hood-20221013-181912.yaml diff --git a/.changes/unreleased/Under the Hood-20221017-151511.yaml b/.changes/1.4.0/Under the Hood-20221017-151511.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221017-151511.yaml rename to .changes/1.4.0/Under the Hood-20221017-151511.yaml diff --git a/.changes/unreleased/Under the Hood-20221017-155844.yaml b/.changes/1.4.0/Under the Hood-20221017-155844.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221017-155844.yaml rename to .changes/1.4.0/Under the Hood-20221017-155844.yaml diff --git a/.changes/unreleased/Under the Hood-20221028-104837.yaml b/.changes/1.4.0/Under the Hood-20221028-104837.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221028-104837.yaml rename to .changes/1.4.0/Under the Hood-20221028-104837.yaml diff --git a/.changes/unreleased/Under the Hood-20221028-110344.yaml b/.changes/1.4.0/Under the Hood-20221028-110344.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221028-110344.yaml rename to .changes/1.4.0/Under the Hood-20221028-110344.yaml diff --git a/.changes/unreleased/Under the Hood-20221108-074550.yaml b/.changes/1.4.0/Under the Hood-20221108-074550.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221108-074550.yaml rename to .changes/1.4.0/Under the Hood-20221108-074550.yaml diff --git a/.changes/unreleased/Under the Hood-20221108-115633.yaml b/.changes/1.4.0/Under the Hood-20221108-115633.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221108-115633.yaml rename to .changes/1.4.0/Under the Hood-20221108-115633.yaml diff --git a/.changes/unreleased/Under the Hood-20221108-133104.yaml b/.changes/1.4.0/Under the Hood-20221108-133104.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221108-133104.yaml rename to .changes/1.4.0/Under the Hood-20221108-133104.yaml diff --git a/.changes/unreleased/Under the Hood-20221116-130037.yaml b/.changes/1.4.0/Under the Hood-20221116-130037.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221116-130037.yaml rename to .changes/1.4.0/Under the Hood-20221116-130037.yaml diff --git a/.changes/unreleased/Under the Hood-20221118-145717.yaml b/.changes/1.4.0/Under the Hood-20221118-145717.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221118-145717.yaml rename to .changes/1.4.0/Under the Hood-20221118-145717.yaml diff --git a/.changes/unreleased/Under the Hood-20221205-164948.yaml b/.changes/1.4.0/Under the Hood-20221205-164948.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221205-164948.yaml rename to .changes/1.4.0/Under the Hood-20221205-164948.yaml diff --git a/.changes/unreleased/Under the Hood-20221206-094015.yaml b/.changes/1.4.0/Under the Hood-20221206-094015.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221206-094015.yaml rename to .changes/1.4.0/Under the Hood-20221206-094015.yaml diff --git a/.changes/unreleased/Under the Hood-20221206-113053.yaml b/.changes/1.4.0/Under the Hood-20221206-113053.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221206-113053.yaml rename to .changes/1.4.0/Under the Hood-20221206-113053.yaml diff --git a/.changes/unreleased/Under the Hood-20221211-214240.yaml b/.changes/1.4.0/Under the Hood-20221211-214240.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20221211-214240.yaml rename to .changes/1.4.0/Under the Hood-20221211-214240.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 039de921800..edc845a9e55 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,94 @@ - "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.4.0-b1 - December 14, 2022 + +### Features + +- Added favor-state flag to optionally favor state nodes even if unselected node exists ([#2968](https://github.com/dbt-labs/dbt-core/issues/2968)) +- Update structured logging. Convert to using protobuf messages. Ensure events are enriched with node_info. ([#5610](https://github.com/dbt-labs/dbt-core/issues/5610)) +- Friendlier error messages when packages.yml is malformed ([#5486](https://github.com/dbt-labs/dbt-core/issues/5486)) +- Migrate dbt-utils current_timestamp macros into core + adapters ([#5521](https://github.com/dbt-labs/dbt-core/issues/5521)) +- Allow partitions in external tables to be supplied as a list ([#5929](https://github.com/dbt-labs/dbt-core/issues/5929)) +- extend -f flag shorthand for seed command ([#5990](https://github.com/dbt-labs/dbt-core/issues/5990)) +- This pulls the profile name from args when constructing a RuntimeConfig in lib.py, enabling the dbt-server to override the value that's in the dbt_project.yml ([#6201](https://github.com/dbt-labs/dbt-core/issues/6201)) +- Adding tarball install method for packages. Allowing package tarball to be specified via url in the packages.yaml. ([#4205](https://github.com/dbt-labs/dbt-core/issues/4205)) +- Added an md5 function to the base context ([#6246](https://github.com/dbt-labs/dbt-core/issues/6246)) +- Exposures support metrics in lineage ([#6057](https://github.com/dbt-labs/dbt-core/issues/6057)) +- Add support for Python 3.11 ([#6147](https://github.com/dbt-labs/dbt-core/issues/6147)) + +### Fixes + +- Account for disabled flags on models in schema files more completely ([#3992](https://github.com/dbt-labs/dbt-core/issues/3992)) +- Add validation of enabled config for metrics, exposures and sources ([#6030](https://github.com/dbt-labs/dbt-core/issues/6030)) +- check length of args of python model function before accessing it ([#6041](https://github.com/dbt-labs/dbt-core/issues/6041)) +- Add functors to ensure event types with str-type attributes are initialized to spec, even when provided non-str type params. ([#5436](https://github.com/dbt-labs/dbt-core/issues/5436)) +- Allow hooks to fail without halting execution flow ([#5625](https://github.com/dbt-labs/dbt-core/issues/5625)) +- Clarify Error Message for how many models are allowed in a Python file ([#6245](https://github.com/dbt-labs/dbt-core/issues/6245)) +- After this, will be possible to use default values for dbt.config.get ([#6309](https://github.com/dbt-labs/dbt-core/issues/6309)) +- Use full path for writing manifest ([#6055](https://github.com/dbt-labs/dbt-core/issues/6055)) + +### Docs + +- minor doc correction ([dbt-docs/#5791](https://github.com/dbt-labs/dbt-docs/issues/5791)) +- Generate API docs for new CLI interface ([dbt-docs/#5528](https://github.com/dbt-labs/dbt-docs/issues/5528)) +- ([dbt-docs/#5880](https://github.com/dbt-labs/dbt-docs/issues/5880)) +- Fix rendering of sample code for metrics ([dbt-docs/#323](https://github.com/dbt-labs/dbt-docs/issues/323)) +- Alphabetize `core/dbt/README.md` ([dbt-docs/#6368](https://github.com/dbt-labs/dbt-docs/issues/6368)) + +### Under the Hood + +- Put black config in explicit config ([#5946](https://github.com/dbt-labs/dbt-core/issues/5946)) +- Added flat_graph attribute the Manifest class's deepcopy() coverage ([#5809](https://github.com/dbt-labs/dbt-core/issues/5809)) +- Add mypy configs so `mypy` passes from CLI ([#5983](https://github.com/dbt-labs/dbt-core/issues/5983)) +- Exception message cleanup. ([#6023](https://github.com/dbt-labs/dbt-core/issues/6023)) +- Add dmypy cache to gitignore ([#6028](https://github.com/dbt-labs/dbt-core/issues/6028)) +- Provide useful errors when the value of 'materialized' is invalid ([#5229](https://github.com/dbt-labs/dbt-core/issues/5229)) +- Clean up string formatting ([#6068](https://github.com/dbt-labs/dbt-core/issues/6068)) +- Fixed extra whitespace in strings introduced by black. ([#1350](https://github.com/dbt-labs/dbt-core/issues/1350)) +- Remove the 'root_path' field from most nodes ([#6171](https://github.com/dbt-labs/dbt-core/issues/6171)) +- Combine certain logging events with different levels ([#6173](https://github.com/dbt-labs/dbt-core/issues/6173)) +- Convert threading tests to pytest ([#5942](https://github.com/dbt-labs/dbt-core/issues/5942)) +- Convert postgres index tests to pytest ([#5770](https://github.com/dbt-labs/dbt-core/issues/5770)) +- Convert use color tests to pytest ([#5771](https://github.com/dbt-labs/dbt-core/issues/5771)) +- Add github actions workflow to generate high level CLI API docs ([#5942](https://github.com/dbt-labs/dbt-core/issues/5942)) +- Functionality-neutral refactor of event logging system to improve encapsulation and modularity. ([#6139](https://github.com/dbt-labs/dbt-core/issues/6139)) +- Consolidate ParsedNode and CompiledNode classes ([#6383](https://github.com/dbt-labs/dbt-core/issues/6383)) +- Prevent doc gen workflow from running on forks ([#6386](https://github.com/dbt-labs/dbt-core/issues/6386)) +- Fix intermittent database connection failure in Windows CI test ([#6394](https://github.com/dbt-labs/dbt-core/issues/6394)) +- Refactor and clean up manifest nodes ([#6426](https://github.com/dbt-labs/dbt-core/issues/6426)) + +### Dependencies + +- Update pathspec requirement from ~=0.9.0 to >=0.9,<0.11 in /core ([#5917](https://github.com/dbt-labs/dbt-core/pull/5917)) +- Bump black from 22.8.0 to 22.10.0 ([#6019](https://github.com/dbt-labs/dbt-core/pull/6019)) +- Bump mashumaro[msgpack] from 3.0.4 to 3.1.1 in /core ([#6108](https://github.com/dbt-labs/dbt-core/pull/6108)) +- Update colorama requirement from <0.4.6,>=0.3.9 to >=0.3.9,<0.4.7 in /core ([#6144](https://github.com/dbt-labs/dbt-core/pull/6144)) + +### Dependency + +- Bump mashumaro[msgpack] from 3.1.1 to 3.2 in /core ([#4904](https://github.com/dbt-labs/dbt-core/issues/4904)) + +### Contributors +- [@andy-clapson](https://github.com/andy-clapson) ([dbt-docs/#5791](https://github.com/dbt-labs/dbt-docs/issues/5791)) +- [@chamini2](https://github.com/chamini2) ([#6041](https://github.com/dbt-labs/dbt-core/issues/6041)) +- [@daniel-murray](https://github.com/daniel-murray) ([#2968](https://github.com/dbt-labs/dbt-core/issues/2968)) +- [@dave-connors-3](https://github.com/dave-connors-3) ([#5990](https://github.com/dbt-labs/dbt-core/issues/5990)) +- [@dbeatty10](https://github.com/dbeatty10) ([dbt-docs/#6368](https://github.com/dbt-labs/dbt-docs/issues/6368), [#6394](https://github.com/dbt-labs/dbt-core/issues/6394)) +- [@devmessias](https://github.com/devmessias) ([#6309](https://github.com/dbt-labs/dbt-core/issues/6309)) +- [@eve-johns](https://github.com/eve-johns) ([#6068](https://github.com/dbt-labs/dbt-core/issues/6068)) +- [@haritamar](https://github.com/haritamar) ([#6246](https://github.com/dbt-labs/dbt-core/issues/6246)) +- [@jared-rimmer](https://github.com/jared-rimmer) ([#5486](https://github.com/dbt-labs/dbt-core/issues/5486)) +- [@josephberni](https://github.com/josephberni) ([#2968](https://github.com/dbt-labs/dbt-core/issues/2968)) +- [@joshuataylor](https://github.com/joshuataylor) ([#6147](https://github.com/dbt-labs/dbt-core/issues/6147)) +- [@justbldwn](https://github.com/justbldwn) ([#6245](https://github.com/dbt-labs/dbt-core/issues/6245)) +- [@luke-bassett](https://github.com/luke-bassett) ([#1350](https://github.com/dbt-labs/dbt-core/issues/1350)) +- [@max-sixty](https://github.com/max-sixty) ([#5946](https://github.com/dbt-labs/dbt-core/issues/5946), [#5983](https://github.com/dbt-labs/dbt-core/issues/5983), [#6028](https://github.com/dbt-labs/dbt-core/issues/6028)) +- [@paulbenschmidt](https://github.com/paulbenschmidt) ([dbt-docs/#5880](https://github.com/dbt-labs/dbt-docs/issues/5880)) +- [@pgoslatara](https://github.com/pgoslatara) ([#5929](https://github.com/dbt-labs/dbt-core/issues/5929)) +- [@racheldaniel](https://github.com/racheldaniel) ([#6201](https://github.com/dbt-labs/dbt-core/issues/6201)) +- [@timle2](https://github.com/timle2) ([#4205](https://github.com/dbt-labs/dbt-core/issues/4205)) + ## Previous Releases diff --git a/core/dbt/version.py b/core/dbt/version.py index 65b3a08c476..d668a902ae6 100644 --- a/core/dbt/version.py +++ b/core/dbt/version.py @@ -235,5 +235,5 @@ def _get_adapter_plugin_names() -> Iterator[str]: yield plugin_name -__version__ = "1.4.0a1" +__version__ = "1.4.0b1" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index 719dd000329..241a70ab6bb 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.4.0a1" +package_version = "1.4.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 8d3756ca786..72332c35de9 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.4.0a1 -ARG dbt_postgres_ref=dbt-core@v1.4.0a1 -ARG dbt_redshift_ref=dbt-redshift@v1.4.0a1 -ARG dbt_bigquery_ref=dbt-bigquery@v1.4.0a1 -ARG dbt_snowflake_ref=dbt-snowflake@v1.4.0a1 -ARG dbt_spark_ref=dbt-spark@v1.4.0a1 +ARG dbt_core_ref=dbt-core@v1.4.0b1 +ARG dbt_postgres_ref=dbt-core@v1.4.0b1 +ARG dbt_redshift_ref=dbt-redshift@v1.4.0b1 +ARG dbt_bigquery_ref=dbt-bigquery@v1.4.0b1 +ARG dbt_snowflake_ref=dbt-snowflake@v1.4.0b1 +ARG dbt_spark_ref=dbt-spark@v1.4.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 70ba273f562..27cfeecd9e8 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.4.0a1" +version = "1.4.0b1" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index 3511c96f9fa..00a91759aec 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.4.0a1" +package_version = "1.4.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 70ba273f562..27cfeecd9e8 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.4.0a1" +version = "1.4.0b1" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index ddb664d6989..f9ac627e445 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.4.0a1" +package_version = "1.4.0b1" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))