diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 048324090ee..0cfbd91b50b 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.9.0b2 +current_version = 1.9.0b3 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.9.0-b3.md b/.changes/1.9.0-b3.md new file mode 100644 index 00000000000..b645db330e6 --- /dev/null +++ b/.changes/1.9.0-b3.md @@ -0,0 +1,38 @@ +## dbt-core 1.9.0-b3 - October 30, 2024 + +### Features + +- Add `order_by` and `limit` fields to saved queries. ([#10531](https://github.com/dbt-labs/dbt-core/issues/10531)) +- Enable specification of dbt_valid_to for current records ([#10187](https://github.com/dbt-labs/dbt-core/issues/10187)) +- Enable use of multi-column unique key in snapshots ([#9992](https://github.com/dbt-labs/dbt-core/issues/9992)) +- Ensure `--event-time-start` is before `--event-time-end` ([#10786](https://github.com/dbt-labs/dbt-core/issues/10786)) +- Ensure microbatch models use same `current_time` value ([#10819](https://github.com/dbt-labs/dbt-core/issues/10819)) +- Emit warning when microbatch model has no input with `event_time` config ([#10926](https://github.com/dbt-labs/dbt-core/issues/10926)) + +### Fixes + +- Pass test user config to adapter pre_hook by explicitly adding test builder config to node ([#10484](https://github.com/dbt-labs/dbt-core/issues/10484)) +- Handle edge cases when a specified `--event-time-end` is equivalent to the batch size truncated batch start time ([#10824](https://github.com/dbt-labs/dbt-core/issues/10824)) +- Begin tracking execution time of microbatch model batches ([#10825](https://github.com/dbt-labs/dbt-core/issues/10825)) +- Allow instances of generic data tests to be documented ([#2578](https://github.com/dbt-labs/dbt-core/issues/2578)) +- Fix warnings for models referring to a deprecated model ([#10833](https://github.com/dbt-labs/dbt-core/issues/10833)) +- Change `lookback` default from `0` to `1` to ensure better data completeness ([#10867](https://github.com/dbt-labs/dbt-core/issues/10867)) +- Make `--event-time-start` and `--event-time-end` mutually required ([#10874](https://github.com/dbt-labs/dbt-core/issues/10874)) +- Exclude hook result from results in on-run-end context ([#7387](https://github.com/dbt-labs/dbt-core/issues/7387)) +- Implement partial parsing for all-yaml snapshots ([#10903](https://github.com/dbt-labs/dbt-core/issues/10903)) +- Restore source quoting behaviour when quoting config provided in dbt_project.yml ([#10892](https://github.com/dbt-labs/dbt-core/issues/10892)) +- Fix bug when referencing deprecated models ([#10915](https://github.com/dbt-labs/dbt-core/issues/10915)) +- Fix 'model' jinja context variable type to dict ([#10927](https://github.com/dbt-labs/dbt-core/issues/10927)) +- Take `end_time` for batches to the ceiling to handle edge case where `event_time` column is a date ([#10868](https://github.com/dbt-labs/dbt-core/issues/10868)) + +### Under the Hood + +- Remove support and testing for Python 3.8, which is now EOL. ([#10861](https://github.com/dbt-labs/dbt-core/issues/10861)) + +### Dependencies + +- Bump minimnum allowed dbt-adapters version to 1.8.0 ([#N/A](https://github.com/dbt-labs/dbt-core/issues/N/A)) + +### Contributors +- [@danlsn](https://github.com/danlsn) ([#10915](https://github.com/dbt-labs/dbt-core/issues/10915)) +- [@plypaul](https://github.com/plypaul) ([#10531](https://github.com/dbt-labs/dbt-core/issues/10531)) diff --git a/.changes/unreleased/Dependencies-20241030-134526.yaml b/.changes/1.9.0/Dependencies-20241030-134526.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20241030-134526.yaml rename to .changes/1.9.0/Dependencies-20241030-134526.yaml diff --git a/.changes/unreleased/Features-20240806-144859.yaml b/.changes/1.9.0/Features-20240806-144859.yaml similarity index 100% rename from .changes/unreleased/Features-20240806-144859.yaml rename to .changes/1.9.0/Features-20240806-144859.yaml diff --git a/.changes/unreleased/Features-20240925-120855.yaml b/.changes/1.9.0/Features-20240925-120855.yaml similarity index 100% rename from .changes/unreleased/Features-20240925-120855.yaml rename to .changes/1.9.0/Features-20240925-120855.yaml diff --git a/.changes/unreleased/Features-20241001-134051.yaml b/.changes/1.9.0/Features-20241001-134051.yaml similarity index 100% rename from .changes/unreleased/Features-20241001-134051.yaml rename to .changes/1.9.0/Features-20241001-134051.yaml diff --git a/.changes/unreleased/Features-20241003-170529.yaml b/.changes/1.9.0/Features-20241003-170529.yaml similarity index 100% rename from .changes/unreleased/Features-20241003-170529.yaml rename to .changes/1.9.0/Features-20241003-170529.yaml diff --git a/.changes/unreleased/Features-20241007-115853.yaml b/.changes/1.9.0/Features-20241007-115853.yaml similarity index 100% rename from .changes/unreleased/Features-20241007-115853.yaml rename to .changes/1.9.0/Features-20241007-115853.yaml diff --git a/.changes/unreleased/Features-20241028-173419.yaml b/.changes/1.9.0/Features-20241028-173419.yaml similarity index 100% rename from .changes/unreleased/Features-20241028-173419.yaml rename to .changes/1.9.0/Features-20241028-173419.yaml diff --git a/.changes/unreleased/Fixes-20240925-154514.yaml b/.changes/1.9.0/Fixes-20240925-154514.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240925-154514.yaml rename to .changes/1.9.0/Fixes-20240925-154514.yaml diff --git a/.changes/unreleased/Fixes-20241004-133630.yaml b/.changes/1.9.0/Fixes-20241004-133630.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241004-133630.yaml rename to .changes/1.9.0/Fixes-20241004-133630.yaml diff --git a/.changes/unreleased/Fixes-20241004-163908.yaml b/.changes/1.9.0/Fixes-20241004-163908.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241004-163908.yaml rename to .changes/1.9.0/Fixes-20241004-163908.yaml diff --git a/.changes/unreleased/Fixes-20241014-212135.yaml b/.changes/1.9.0/Fixes-20241014-212135.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241014-212135.yaml rename to .changes/1.9.0/Fixes-20241014-212135.yaml diff --git a/.changes/unreleased/Fixes-20241015-121825.yaml b/.changes/1.9.0/Fixes-20241015-121825.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241015-121825.yaml rename to .changes/1.9.0/Fixes-20241015-121825.yaml diff --git a/.changes/unreleased/Fixes-20241017-134857.yaml b/.changes/1.9.0/Fixes-20241017-134857.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241017-134857.yaml rename to .changes/1.9.0/Fixes-20241017-134857.yaml diff --git a/.changes/unreleased/Fixes-20241017-145357.yaml b/.changes/1.9.0/Fixes-20241017-145357.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241017-145357.yaml rename to .changes/1.9.0/Fixes-20241017-145357.yaml diff --git a/.changes/unreleased/Fixes-20241018-135810.yaml b/.changes/1.9.0/Fixes-20241018-135810.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241018-135810.yaml rename to .changes/1.9.0/Fixes-20241018-135810.yaml diff --git a/.changes/unreleased/Fixes-20241022-222927.yaml b/.changes/1.9.0/Fixes-20241022-222927.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241022-222927.yaml rename to .changes/1.9.0/Fixes-20241022-222927.yaml diff --git a/.changes/unreleased/Fixes-20241023-152054.yaml b/.changes/1.9.0/Fixes-20241023-152054.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241023-152054.yaml rename to .changes/1.9.0/Fixes-20241023-152054.yaml diff --git a/.changes/unreleased/Fixes-20241024-104938.yaml b/.changes/1.9.0/Fixes-20241024-104938.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241024-104938.yaml rename to .changes/1.9.0/Fixes-20241024-104938.yaml diff --git a/.changes/unreleased/Fixes-20241028-132751.yaml b/.changes/1.9.0/Fixes-20241028-132751.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241028-132751.yaml rename to .changes/1.9.0/Fixes-20241028-132751.yaml diff --git a/.changes/unreleased/Fixes-20241029-161615.yaml b/.changes/1.9.0/Fixes-20241029-161615.yaml similarity index 100% rename from .changes/unreleased/Fixes-20241029-161615.yaml rename to .changes/1.9.0/Fixes-20241029-161615.yaml diff --git a/.changes/unreleased/Under the Hood-20241016-144056.yaml b/.changes/1.9.0/Under the Hood-20241016-144056.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20241016-144056.yaml rename to .changes/1.9.0/Under the Hood-20241016-144056.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 82d6bfb7cdb..6aa0fe66104 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,47 @@ - "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.9.0-b2 - October 07, 2024 +## dbt-core 1.9.0-b3 - October 30, 2024 + +### Features + +- Add `order_by` and `limit` fields to saved queries. ([#10531](https://github.com/dbt-labs/dbt-core/issues/10531)) +- Enable specification of dbt_valid_to for current records ([#10187](https://github.com/dbt-labs/dbt-core/issues/10187)) +- Enable use of multi-column unique key in snapshots ([#9992](https://github.com/dbt-labs/dbt-core/issues/9992)) +- Ensure `--event-time-start` is before `--event-time-end` ([#10786](https://github.com/dbt-labs/dbt-core/issues/10786)) +- Ensure microbatch models use same `current_time` value ([#10819](https://github.com/dbt-labs/dbt-core/issues/10819)) +- Emit warning when microbatch model has no input with `event_time` config ([#10926](https://github.com/dbt-labs/dbt-core/issues/10926)) + +### Fixes + +- Pass test user config to adapter pre_hook by explicitly adding test builder config to node ([#10484](https://github.com/dbt-labs/dbt-core/issues/10484)) +- Handle edge cases when a specified `--event-time-end` is equivalent to the batch size truncated batch start time ([#10824](https://github.com/dbt-labs/dbt-core/issues/10824)) +- Begin tracking execution time of microbatch model batches ([#10825](https://github.com/dbt-labs/dbt-core/issues/10825)) +- Allow instances of generic data tests to be documented ([#2578](https://github.com/dbt-labs/dbt-core/issues/2578)) +- Fix warnings for models referring to a deprecated model ([#10833](https://github.com/dbt-labs/dbt-core/issues/10833)) +- Change `lookback` default from `0` to `1` to ensure better data completeness ([#10867](https://github.com/dbt-labs/dbt-core/issues/10867)) +- Make `--event-time-start` and `--event-time-end` mutually required ([#10874](https://github.com/dbt-labs/dbt-core/issues/10874)) +- Exclude hook result from results in on-run-end context ([#7387](https://github.com/dbt-labs/dbt-core/issues/7387)) +- Implement partial parsing for all-yaml snapshots ([#10903](https://github.com/dbt-labs/dbt-core/issues/10903)) +- Restore source quoting behaviour when quoting config provided in dbt_project.yml ([#10892](https://github.com/dbt-labs/dbt-core/issues/10892)) +- Fix bug when referencing deprecated models ([#10915](https://github.com/dbt-labs/dbt-core/issues/10915)) +- Fix 'model' jinja context variable type to dict ([#10927](https://github.com/dbt-labs/dbt-core/issues/10927)) +- Take `end_time` for batches to the ceiling to handle edge case where `event_time` column is a date ([#10868](https://github.com/dbt-labs/dbt-core/issues/10868)) + +### Under the Hood + +- Remove support and testing for Python 3.8, which is now EOL. ([#10861](https://github.com/dbt-labs/dbt-core/issues/10861)) + +### Dependencies +- Bump minimnum allowed dbt-adapters version to 1.8.0 ([#N/A](https://github.com/dbt-labs/dbt-core/issues/N/A)) +### Contributors +- [@danlsn](https://github.com/danlsn) ([#10915](https://github.com/dbt-labs/dbt-core/issues/10915)) +- [@plypaul](https://github.com/plypaul) ([#10531](https://github.com/dbt-labs/dbt-core/issues/10531)) + + +## dbt-core 1.9.0-b2 - October 07, 2024 ## dbt-core 1.9.0-b1 - October 01, 2024 diff --git a/core/dbt/version.py b/core/dbt/version.py index 4413a9e0536..841f0e6fca2 100644 --- a/core/dbt/version.py +++ b/core/dbt/version.py @@ -231,5 +231,5 @@ def _get_adapter_plugin_names() -> Iterator[str]: yield plugin_name -__version__ = "1.9.0b2" +__version__ = "1.9.0b3" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index da69ce72fc0..c2ad0b58f83 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.9.0b2" +package_version = "1.9.0b3" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications."""