diff --git a/.bumpversion.cfg b/.bumpversion.cfg index cb713915504..9fa50eba62e 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.9.0a1 +current_version = 1.9.0b1 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.9.0-b1.md b/.changes/1.9.0-b1.md new file mode 100644 index 00000000000..185338db39c --- /dev/null +++ b/.changes/1.9.0-b1.md @@ -0,0 +1,136 @@ +## dbt-core 1.9.0-b1 - October 01, 2024 + +### Breaking Changes + +- Fix changing the current working directory when using dpt deps, clean and init. ([#8997](https://github.com/dbt-labs/dbt-core/issues/8997)) + +### Features + +- serialize inferred primary key ([#9824](https://github.com/dbt-labs/dbt-core/issues/9824)) +- Add unit_test: selection method ([#10053](https://github.com/dbt-labs/dbt-core/issues/10053)) +- Maximally parallelize dbt clone in clone command" ([#7914](https://github.com/dbt-labs/dbt-core/issues/7914)) +- Add --host flag to dbt docs serve, defaulting to '127.0.0.1' ([#10229](https://github.com/dbt-labs/dbt-core/issues/10229)) +- Update data_test to accept arbitrary config options ([#10197](https://github.com/dbt-labs/dbt-core/issues/10197)) +- add pre_model and post_model hook calls to data and unit tests to be able to provide extra config options ([#10198](https://github.com/dbt-labs/dbt-core/issues/10198)) +- add --empty value to jinja context as flags.EMPTY ([#10317](https://github.com/dbt-labs/dbt-core/issues/10317)) +- Warning message for snapshot timestamp data types ([#10234](https://github.com/dbt-labs/dbt-core/issues/10234)) +- Support cumulative_type_params & sub-daily granularities in semantic manifest. ([#10360](https://github.com/dbt-labs/dbt-core/issues/10360)) +- Add time_granularity to metric spec. ([#10376](https://github.com/dbt-labs/dbt-core/issues/10376)) +- Support standard schema/database fields for snapshots ([#10301](https://github.com/dbt-labs/dbt-core/issues/10301)) +- Support ref and source in foreign key constraint expressions, bump dbt-common minimum to 1.6 ([#8062](https://github.com/dbt-labs/dbt-core/issues/8062)) +- Support new semantic layer time spine configs to enable sub-daily granularity. ([#10475](https://github.com/dbt-labs/dbt-core/issues/10475)) +- Include models that depend on changed vars in state:modified, add state:modified.vars selection method ([#4304](https://github.com/dbt-labs/dbt-core/issues/4304)) +- Add support for behavior flags ([#10618](https://github.com/dbt-labs/dbt-core/issues/10618)) +- Enable `--resource-type` and `--exclude-resource-type` CLI flags and environment variables for `dbt test` ([#10656](https://github.com/dbt-labs/dbt-core/issues/10656)) +- Allow configuring snapshot column names ([#10185](https://github.com/dbt-labs/dbt-core/issues/10185)) +- Add custom_granularities to YAML spec for time spines. ([#9265](https://github.com/dbt-labs/dbt-core/issues/9265)) +- Add basic functionality for creating microbatch incremental models ([#9490](https://github.com/dbt-labs/dbt-core/issues/9490), [#10635](https://github.com/dbt-labs/dbt-core/issues/10635), [#10637](https://github.com/dbt-labs/dbt-core/issues/10637), [#10638](https://github.com/dbt-labs/dbt-core/issues/10638), [#10636](https://github.com/dbt-labs/dbt-core/issues/10636), [#10662](https://github.com/dbt-labs/dbt-core/issues/10662), [#10639](https://github.com/dbt-labs/dbt-core/issues/10639)) +- Execute microbatch models in batches ([#10700](https://github.com/dbt-labs/dbt-core/issues/10700)) +- Create 'skip_nodes_if_on_run_start_fails' behavior change flag ([#7387](https://github.com/dbt-labs/dbt-core/issues/7387)) +- Allow snapshots to be defined in YAML. ([#10246](https://github.com/dbt-labs/dbt-core/issues/10246)) +- Write microbatch compiled/run targets to separate files, one per batch ([#10714](https://github.com/dbt-labs/dbt-core/issues/10714)) +- Track incremental_strategy as part of model_run tracking event ([#10761](https://github.com/dbt-labs/dbt-core/issues/10761)) +- Support required 'begin' config for microbatch models ([#10701](https://github.com/dbt-labs/dbt-core/issues/10701)) +- Parse-time validation of microbatch configs: require event_time, batch_size, lookback and validate input event_time ([#10709](https://github.com/dbt-labs/dbt-core/issues/10709)) +- Added the --inline-direct parameter to 'dbt show' ([#10770](https://github.com/dbt-labs/dbt-core/issues/10770)) +- Enable `retry` support for microbatch models ([#10715](https://github.com/dbt-labs/dbt-core/issues/10715), [#10729](https://github.com/dbt-labs/dbt-core/issues/10729)) +- Use unrendered database and schema source properties during state:modified, behind state_modified_compare_more_unrendered_values behavoiur flag ([#9573](https://github.com/dbt-labs/dbt-core/issues/9573)) +- Ensure microbatch models respect `full_refresh` model config ([#10785](https://github.com/dbt-labs/dbt-core/issues/10785)) +- Adds validations for custom_granularities to ensure unique naming. ([#9265](https://github.com/dbt-labs/dbt-core/issues/9265)) + +### Fixes + +- Remove unused check_new method ([#7586](https://github.com/dbt-labs/dbt-core/issues/7586)) +- Test case for `merge_exclude_columns` ([#8267](https://github.com/dbt-labs/dbt-core/issues/8267)) +- Convert "Skipping model due to fail_fast" message to DEBUG level ([#8774](https://github.com/dbt-labs/dbt-core/issues/8774)) +- Restore previous behavior for --favor-state: only favor defer_relation if not selected in current command" ([#10107](https://github.com/dbt-labs/dbt-core/issues/10107)) +- Unit test fixture (csv) returns null for empty value ([#9881](https://github.com/dbt-labs/dbt-core/issues/9881)) +- Fix json format log and --quiet for ls and jinja print by converting print call to fire events ([#8756](https://github.com/dbt-labs/dbt-core/issues/8756)) +- Add resource type to saved_query ([#10168](https://github.com/dbt-labs/dbt-core/issues/10168)) +- Fix: Order-insensitive unit test equality assertion for expected/actual with multiple nulls ([#10167](https://github.com/dbt-labs/dbt-core/issues/10167)) +- Renaming or removing a contracted model should raise a BreakingChange warning/error ([#10116](https://github.com/dbt-labs/dbt-core/issues/10116)) +- prefer disabled project nodes to external node ([#10224](https://github.com/dbt-labs/dbt-core/issues/10224)) +- Fix issues with selectors and inline nodes ([#8943](https://github.com/dbt-labs/dbt-core/issues/8943), [#9269](https://github.com/dbt-labs/dbt-core/issues/9269)) +- Fix snapshot config to work in yaml files ([#4000](https://github.com/dbt-labs/dbt-core/issues/4000)) +- Improve handling of error when loading schema file list ([#10284](https://github.com/dbt-labs/dbt-core/issues/10284)) +- Use model alias for the CTE identifier generated during ephemeral materialization ([#5273](https://github.com/dbt-labs/dbt-core/issues/5273)) +- Implement state:modified for saved queries ([#10294](https://github.com/dbt-labs/dbt-core/issues/10294)) +- Saved Query node fail during skip ([#10029](https://github.com/dbt-labs/dbt-core/issues/10029)) +- DOn't warn on `unit_test` config paths that are properly used ([#10311](https://github.com/dbt-labs/dbt-core/issues/10311)) +- Fix setting `silence` of `warn_error_options` via `dbt_project.yaml` flags ([#10160](https://github.com/dbt-labs/dbt-core/issues/10160)) +- Attempt to provide test fixture tables with all values to set types correctly for comparisong with source tables ([#10365](https://github.com/dbt-labs/dbt-core/issues/10365)) +- Limit data_tests deprecation to root_project ([#9835](https://github.com/dbt-labs/dbt-core/issues/9835)) +- CLI flags should take precedence over env var flags ([#10304](https://github.com/dbt-labs/dbt-core/issues/10304)) +- Fix typing for artifact schemas ([#10442](https://github.com/dbt-labs/dbt-core/issues/10442)) +- Fix over deletion of generated_metrics in partial parsing ([#10450](https://github.com/dbt-labs/dbt-core/issues/10450)) +- Fix error constructing warn_error_options ([#10452](https://github.com/dbt-labs/dbt-core/issues/10452)) +- Do not update varchar column definitions if a contract exists ([#10362](https://github.com/dbt-labs/dbt-core/issues/10362)) +- fix all_constraints access, disabled node parsing of non-uniquely named resources ([#10509](https://github.com/dbt-labs/dbt-core/issues/10509)) +- respect --quiet and --warn-error-options for flag deprecations ([#10105](https://github.com/dbt-labs/dbt-core/issues/10105)) +- Propagate measure label when using create_metrics ([#10536](https://github.com/dbt-labs/dbt-core/issues/10536)) +- Fix state:modified check for exports ([#10138](https://github.com/dbt-labs/dbt-core/issues/10138)) +- Filter out empty nodes after graph selection to support consistent selection of nodes that depend on upstream public models ([#8987](https://github.com/dbt-labs/dbt-core/issues/8987)) +- Late render pre- and post-hooks configs in properties / schema YAML files ([#10603](https://github.com/dbt-labs/dbt-core/issues/10603)) +- Allow the use of env_var function in certain macros in which it was previously unavailable. ([#10609](https://github.com/dbt-labs/dbt-core/issues/10609)) +- Remove deprecation for tests: to data_tests: change ([#10564](https://github.com/dbt-labs/dbt-core/issues/10564)) +- Fix `--resource-type test` for `dbt list` and `dbt build` ([#10730](https://github.com/dbt-labs/dbt-core/issues/10730)) +- Fix unit tests for incremental model with alias ([#10754](https://github.com/dbt-labs/dbt-core/issues/10754)) +- Allow singular tests to be documented in properties.yml ([#9005](https://github.com/dbt-labs/dbt-core/issues/9005)) +- Ignore --empty in unit test ref/source rendering ([#10516](https://github.com/dbt-labs/dbt-core/issues/10516)) +- Ignore rendered jinja in configs for state:modified, behind state_modified_compare_more_unrendered_values behaviour flag ([#9564](https://github.com/dbt-labs/dbt-core/issues/9564)) +- Improve performance of infer primary key ([#10781](https://github.com/dbt-labs/dbt-core/issues/10781)) +- Attempt to skip saved query processing when no semantic manifest changes ([#10563](https://github.com/dbt-labs/dbt-core/issues/10563)) +- Ensure dbt retry of microbatch models doesn't lose prior successful state ([#10800](https://github.com/dbt-labs/dbt-core/issues/10800)) + +### Docs + +- Enable display of unit tests ([dbt-docs/#501](https://github.com/dbt-labs/dbt-docs/issues/501)) +- Unit tests not rendering ([dbt-docs/#506](https://github.com/dbt-labs/dbt-docs/issues/506)) +- Add support for Saved Query node ([dbt-docs/#486](https://github.com/dbt-labs/dbt-docs/issues/486)) +- Fix npm security vulnerabilities as of June 2024 ([dbt-docs/#513](https://github.com/dbt-labs/dbt-docs/issues/513)) + +### Under the Hood + +- Clear error message for Private package in dbt-core ([#10083](https://github.com/dbt-labs/dbt-core/issues/10083)) +- Enable use of context in serialization ([#10093](https://github.com/dbt-labs/dbt-core/issues/10093)) +- Make RSS high water mark measurement more accurate on Linux ([#10177](https://github.com/dbt-labs/dbt-core/issues/10177)) +- Enable record filtering by type. ([#10240](https://github.com/dbt-labs/dbt-core/issues/10240)) +- Remove IntermediateSnapshotNode ([#10326](https://github.com/dbt-labs/dbt-core/issues/10326)) +- Additional logging for skipped ephemeral models ([#10389](https://github.com/dbt-labs/dbt-core/issues/10389)) +- bump black to 24.3.0 ([#10454](https://github.com/dbt-labs/dbt-core/issues/10454)) +- generate protos with protoc version 5.26.1 ([#10457](https://github.com/dbt-labs/dbt-core/issues/10457)) +- Move from minimal-snowplow-tracker fork back to snowplow-tracker ([#8409](https://github.com/dbt-labs/dbt-core/issues/8409)) +- Add group info to RunResultError, RunResultFailure, RunResultWarning log lines ([#](https://github.com/dbt-labs/dbt-core/issues/)) +- Improve speed of tree traversal when finding children, increasing build speed for some selectors ([#10434](https://github.com/dbt-labs/dbt-core/issues/10434)) +- Add test for sources tables with quotes ([#10582](https://github.com/dbt-labs/dbt-core/issues/10582)) +- Additional type hints for `core/dbt/version.py` ([#10612](https://github.com/dbt-labs/dbt-core/issues/10612)) +- Fix typing issues in core/dbt/contracts/sql.py ([#10614](https://github.com/dbt-labs/dbt-core/issues/10614)) +- Fix type errors in `dbt/core/task/clean.py` ([#10616](https://github.com/dbt-labs/dbt-core/issues/10616)) +- Add Snowplow tracking for behavior flag deprecations ([#10552](https://github.com/dbt-labs/dbt-core/issues/10552)) +- Add test utility patch_microbatch_end_time for adapters testing ([#10713](https://github.com/dbt-labs/dbt-core/issues/10713)) +- Replace `TestSelector` with `ResourceTypeSelector` ([#10718](https://github.com/dbt-labs/dbt-core/issues/10718)) +- Standardize returning `ResourceTypeSelector` instances in `dbt list` and `dbt build` ([#10739](https://github.com/dbt-labs/dbt-core/issues/10739)) +- Add group metadata info to LogModelResult and LogTestResult ([#10775](https://github.com/dbt-labs/dbt-core/issues/10775)) + +### Dependencies + +- Remove logbook dependency ([#8027](https://github.com/dbt-labs/dbt-core/issues/8027)) +- Increase supported version range for dbt-semantic-interfaces. Needed to support custom calendar features. ([#9265](https://github.com/dbt-labs/dbt-core/issues/9265)) + +### Security + +- Explicitly bind to localhost in docs serve ([#10209](https://github.com/dbt-labs/dbt-core/issues/10209)) + +### Contributors +- [@McKnight-42](https://github.com/McKnight-42) ([#10197](https://github.com/dbt-labs/dbt-core/issues/10197), [#10198](https://github.com/dbt-labs/dbt-core/issues/10198)) +- [@TowardOliver](https://github.com/TowardOliver) ([#10656](https://github.com/dbt-labs/dbt-core/issues/10656)) +- [@aliceliu](https://github.com/aliceliu) ([#10536](https://github.com/dbt-labs/dbt-core/issues/10536), [#10138](https://github.com/dbt-labs/dbt-core/issues/10138)) +- [@courtneyholcomb](https://github.com/courtneyholcomb) ([#10360](https://github.com/dbt-labs/dbt-core/issues/10360), [#10376](https://github.com/dbt-labs/dbt-core/issues/10376), [#10475](https://github.com/dbt-labs/dbt-core/issues/10475), [#9265](https://github.com/dbt-labs/dbt-core/issues/9265), [#9265](https://github.com/dbt-labs/dbt-core/issues/9265), [#9265](https://github.com/dbt-labs/dbt-core/issues/9265)) +- [@dave-connors-3](https://github.com/dave-connors-3) ([#9824](https://github.com/dbt-labs/dbt-core/issues/9824)) +- [@jeancochrane](https://github.com/jeancochrane) ([#5273](https://github.com/dbt-labs/dbt-core/issues/5273)) +- [@katsugeneration](https://github.com/katsugeneration) ([#10754](https://github.com/dbt-labs/dbt-core/issues/10754)) +- [@kevinneville](https://github.com/kevinneville) ([#7586](https://github.com/dbt-labs/dbt-core/issues/7586)) +- [@nakamichiworks](https://github.com/nakamichiworks) ([#10442](https://github.com/dbt-labs/dbt-core/issues/10442)) +- [@rariyama](https://github.com/rariyama) ([#8997](https://github.com/dbt-labs/dbt-core/issues/8997)) +- [@scottgigante,nevdelap](https://github.com/scottgigante,nevdelap) ([#8774](https://github.com/dbt-labs/dbt-core/issues/8774)) +- [@ttusing](https://github.com/ttusing) ([#10434](https://github.com/dbt-labs/dbt-core/issues/10434)) diff --git a/.changes/unreleased/Breaking Changes-20231206-192442.yaml b/.changes/1.9.0/Breaking Changes-20231206-192442.yaml similarity index 100% rename from .changes/unreleased/Breaking Changes-20231206-192442.yaml rename to .changes/1.9.0/Breaking Changes-20231206-192442.yaml diff --git a/.changes/unreleased/Dependencies-20240509-093717.yaml b/.changes/1.9.0/Dependencies-20240509-093717.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20240509-093717.yaml rename to .changes/1.9.0/Dependencies-20240509-093717.yaml diff --git a/.changes/unreleased/Dependencies-20240820-131909.yaml b/.changes/1.9.0/Dependencies-20240820-131909.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20240820-131909.yaml rename to .changes/1.9.0/Dependencies-20240820-131909.yaml diff --git a/.changes/unreleased/Docs-20240311-140344.yaml b/.changes/1.9.0/Docs-20240311-140344.yaml similarity index 100% rename from .changes/unreleased/Docs-20240311-140344.yaml rename to .changes/1.9.0/Docs-20240311-140344.yaml diff --git a/.changes/unreleased/Docs-20240501-021050.yaml b/.changes/1.9.0/Docs-20240501-021050.yaml similarity index 100% rename from .changes/unreleased/Docs-20240501-021050.yaml rename to .changes/1.9.0/Docs-20240501-021050.yaml diff --git a/.changes/unreleased/Docs-20240516-223036.yaml b/.changes/1.9.0/Docs-20240516-223036.yaml similarity index 100% rename from .changes/unreleased/Docs-20240516-223036.yaml rename to .changes/1.9.0/Docs-20240516-223036.yaml diff --git a/.changes/unreleased/Docs-20240613-151048.yaml b/.changes/1.9.0/Docs-20240613-151048.yaml similarity index 100% rename from .changes/unreleased/Docs-20240613-151048.yaml rename to .changes/1.9.0/Docs-20240613-151048.yaml diff --git a/.changes/unreleased/Features-20240506-175642.yaml b/.changes/1.9.0/Features-20240506-175642.yaml similarity index 100% rename from .changes/unreleased/Features-20240506-175642.yaml rename to .changes/1.9.0/Features-20240506-175642.yaml diff --git a/.changes/unreleased/Features-20240507-162717.yaml b/.changes/1.9.0/Features-20240507-162717.yaml similarity index 100% rename from .changes/unreleased/Features-20240507-162717.yaml rename to .changes/1.9.0/Features-20240507-162717.yaml diff --git a/.changes/unreleased/Features-20240522-000309.yaml b/.changes/1.9.0/Features-20240522-000309.yaml similarity index 100% rename from .changes/unreleased/Features-20240522-000309.yaml rename to .changes/1.9.0/Features-20240522-000309.yaml diff --git a/.changes/unreleased/Features-20240527-124405.yaml b/.changes/1.9.0/Features-20240527-124405.yaml similarity index 100% rename from .changes/unreleased/Features-20240527-124405.yaml rename to .changes/1.9.0/Features-20240527-124405.yaml diff --git a/.changes/unreleased/Features-20240531-150816.yaml b/.changes/1.9.0/Features-20240531-150816.yaml similarity index 100% rename from .changes/unreleased/Features-20240531-150816.yaml rename to .changes/1.9.0/Features-20240531-150816.yaml diff --git a/.changes/unreleased/Features-20240606-112334.yaml b/.changes/1.9.0/Features-20240606-112334.yaml similarity index 100% rename from .changes/unreleased/Features-20240606-112334.yaml rename to .changes/1.9.0/Features-20240606-112334.yaml diff --git a/.changes/unreleased/Features-20240617-103948.yaml b/.changes/1.9.0/Features-20240617-103948.yaml similarity index 100% rename from .changes/unreleased/Features-20240617-103948.yaml rename to .changes/1.9.0/Features-20240617-103948.yaml diff --git a/.changes/unreleased/Features-20240621-141635.yaml b/.changes/1.9.0/Features-20240621-141635.yaml similarity index 100% rename from .changes/unreleased/Features-20240621-141635.yaml rename to .changes/1.9.0/Features-20240621-141635.yaml diff --git a/.changes/unreleased/Features-20240625-095107.yaml b/.changes/1.9.0/Features-20240625-095107.yaml similarity index 100% rename from .changes/unreleased/Features-20240625-095107.yaml rename to .changes/1.9.0/Features-20240625-095107.yaml diff --git a/.changes/unreleased/Features-20240627-162953.yaml b/.changes/1.9.0/Features-20240627-162953.yaml similarity index 100% rename from .changes/unreleased/Features-20240627-162953.yaml rename to .changes/1.9.0/Features-20240627-162953.yaml diff --git a/.changes/unreleased/Features-20240712-214546.yaml b/.changes/1.9.0/Features-20240712-214546.yaml similarity index 100% rename from .changes/unreleased/Features-20240712-214546.yaml rename to .changes/1.9.0/Features-20240712-214546.yaml diff --git a/.changes/unreleased/Features-20240719-161841.yaml b/.changes/1.9.0/Features-20240719-161841.yaml similarity index 100% rename from .changes/unreleased/Features-20240719-161841.yaml rename to .changes/1.9.0/Features-20240719-161841.yaml diff --git a/.changes/unreleased/Features-20240722-202238.yaml b/.changes/1.9.0/Features-20240722-202238.yaml similarity index 100% rename from .changes/unreleased/Features-20240722-202238.yaml rename to .changes/1.9.0/Features-20240722-202238.yaml diff --git a/.changes/unreleased/Features-20240729-173203.yaml b/.changes/1.9.0/Features-20240729-173203.yaml similarity index 100% rename from .changes/unreleased/Features-20240729-173203.yaml rename to .changes/1.9.0/Features-20240729-173203.yaml diff --git a/.changes/unreleased/Features-20240829-135320.yaml b/.changes/1.9.0/Features-20240829-135320.yaml similarity index 100% rename from .changes/unreleased/Features-20240829-135320.yaml rename to .changes/1.9.0/Features-20240829-135320.yaml diff --git a/.changes/unreleased/Features-20240903-132428.yaml b/.changes/1.9.0/Features-20240903-132428.yaml similarity index 100% rename from .changes/unreleased/Features-20240903-132428.yaml rename to .changes/1.9.0/Features-20240903-132428.yaml diff --git a/.changes/unreleased/Features-20240903-154133.yaml b/.changes/1.9.0/Features-20240903-154133.yaml similarity index 100% rename from .changes/unreleased/Features-20240903-154133.yaml rename to .changes/1.9.0/Features-20240903-154133.yaml diff --git a/.changes/unreleased/Features-20240904-182320.yaml b/.changes/1.9.0/Features-20240904-182320.yaml similarity index 100% rename from .changes/unreleased/Features-20240904-182320.yaml rename to .changes/1.9.0/Features-20240904-182320.yaml diff --git a/.changes/unreleased/Features-20240911-121029.yaml b/.changes/1.9.0/Features-20240911-121029.yaml similarity index 100% rename from .changes/unreleased/Features-20240911-121029.yaml rename to .changes/1.9.0/Features-20240911-121029.yaml diff --git a/.changes/unreleased/Features-20240913-232111.yaml b/.changes/1.9.0/Features-20240913-232111.yaml similarity index 100% rename from .changes/unreleased/Features-20240913-232111.yaml rename to .changes/1.9.0/Features-20240913-232111.yaml diff --git a/.changes/unreleased/Features-20240918-162959.yaml b/.changes/1.9.0/Features-20240918-162959.yaml similarity index 100% rename from .changes/unreleased/Features-20240918-162959.yaml rename to .changes/1.9.0/Features-20240918-162959.yaml diff --git a/.changes/unreleased/Features-20240920-110447.yaml b/.changes/1.9.0/Features-20240920-110447.yaml similarity index 100% rename from .changes/unreleased/Features-20240920-110447.yaml rename to .changes/1.9.0/Features-20240920-110447.yaml diff --git a/.changes/unreleased/Features-20240920-172419.yaml b/.changes/1.9.0/Features-20240920-172419.yaml similarity index 100% rename from .changes/unreleased/Features-20240920-172419.yaml rename to .changes/1.9.0/Features-20240920-172419.yaml diff --git a/.changes/unreleased/Features-20240923-155335.yaml b/.changes/1.9.0/Features-20240923-155335.yaml similarity index 100% rename from .changes/unreleased/Features-20240923-155335.yaml rename to .changes/1.9.0/Features-20240923-155335.yaml diff --git a/.changes/unreleased/Features-20240923-155903.yaml b/.changes/1.9.0/Features-20240923-155903.yaml similarity index 100% rename from .changes/unreleased/Features-20240923-155903.yaml rename to .changes/1.9.0/Features-20240923-155903.yaml diff --git a/.changes/unreleased/Features-20240924-152922.yaml b/.changes/1.9.0/Features-20240924-152922.yaml similarity index 100% rename from .changes/unreleased/Features-20240924-152922.yaml rename to .changes/1.9.0/Features-20240924-152922.yaml diff --git a/.changes/unreleased/Features-20240924-154639.yaml b/.changes/1.9.0/Features-20240924-154639.yaml similarity index 100% rename from .changes/unreleased/Features-20240924-154639.yaml rename to .changes/1.9.0/Features-20240924-154639.yaml diff --git a/.changes/unreleased/Features-20240925-165002.yaml b/.changes/1.9.0/Features-20240925-165002.yaml similarity index 100% rename from .changes/unreleased/Features-20240925-165002.yaml rename to .changes/1.9.0/Features-20240925-165002.yaml diff --git a/.changes/unreleased/Features-20240926-140206.yaml b/.changes/1.9.0/Features-20240926-140206.yaml similarity index 100% rename from .changes/unreleased/Features-20240926-140206.yaml rename to .changes/1.9.0/Features-20240926-140206.yaml diff --git a/.changes/unreleased/Features-20240926-151057.yaml b/.changes/1.9.0/Features-20240926-151057.yaml similarity index 100% rename from .changes/unreleased/Features-20240926-151057.yaml rename to .changes/1.9.0/Features-20240926-151057.yaml diff --git a/.changes/unreleased/Features-20240926-153210.yaml b/.changes/1.9.0/Features-20240926-153210.yaml similarity index 100% rename from .changes/unreleased/Features-20240926-153210.yaml rename to .changes/1.9.0/Features-20240926-153210.yaml diff --git a/.changes/unreleased/Fixes-20230601-204157.yaml b/.changes/1.9.0/Fixes-20230601-204157.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230601-204157.yaml rename to .changes/1.9.0/Fixes-20230601-204157.yaml diff --git a/.changes/unreleased/Fixes-20230801-094626.yaml b/.changes/1.9.0/Fixes-20230801-094626.yaml similarity index 100% rename from .changes/unreleased/Fixes-20230801-094626.yaml rename to .changes/1.9.0/Fixes-20230801-094626.yaml diff --git a/.changes/unreleased/Fixes-20240113-073615.yaml b/.changes/1.9.0/Fixes-20240113-073615.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240113-073615.yaml rename to .changes/1.9.0/Fixes-20240113-073615.yaml diff --git a/.changes/unreleased/Fixes-20240508-151127.yaml b/.changes/1.9.0/Fixes-20240508-151127.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240508-151127.yaml rename to .changes/1.9.0/Fixes-20240508-151127.yaml diff --git a/.changes/unreleased/Fixes-20240509-091411.yaml b/.changes/1.9.0/Fixes-20240509-091411.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240509-091411.yaml rename to .changes/1.9.0/Fixes-20240509-091411.yaml diff --git a/.changes/unreleased/Fixes-20240516-153913.yaml b/.changes/1.9.0/Fixes-20240516-153913.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240516-153913.yaml rename to .changes/1.9.0/Fixes-20240516-153913.yaml diff --git a/.changes/unreleased/Fixes-20240516-223510.yaml b/.changes/1.9.0/Fixes-20240516-223510.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240516-223510.yaml rename to .changes/1.9.0/Fixes-20240516-223510.yaml diff --git a/.changes/unreleased/Fixes-20240522-182855.yaml b/.changes/1.9.0/Fixes-20240522-182855.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240522-182855.yaml rename to .changes/1.9.0/Fixes-20240522-182855.yaml diff --git a/.changes/unreleased/Fixes-20240523-204251.yaml b/.changes/1.9.0/Fixes-20240523-204251.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240523-204251.yaml rename to .changes/1.9.0/Fixes-20240523-204251.yaml diff --git a/.changes/unreleased/Fixes-20240524-131135.yaml b/.changes/1.9.0/Fixes-20240524-131135.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240524-131135.yaml rename to .changes/1.9.0/Fixes-20240524-131135.yaml diff --git a/.changes/unreleased/Fixes-20240605-111652.yaml b/.changes/1.9.0/Fixes-20240605-111652.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240605-111652.yaml rename to .changes/1.9.0/Fixes-20240605-111652.yaml diff --git a/.changes/unreleased/Fixes-20240607-134648.yaml b/.changes/1.9.0/Fixes-20240607-134648.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240607-134648.yaml rename to .changes/1.9.0/Fixes-20240607-134648.yaml diff --git a/.changes/unreleased/Fixes-20240610-132130.yaml b/.changes/1.9.0/Fixes-20240610-132130.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240610-132130.yaml rename to .changes/1.9.0/Fixes-20240610-132130.yaml diff --git a/.changes/unreleased/Fixes-20240610-200522.yaml b/.changes/1.9.0/Fixes-20240610-200522.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240610-200522.yaml rename to .changes/1.9.0/Fixes-20240610-200522.yaml diff --git a/.changes/unreleased/Fixes-20240612-124256.yaml b/.changes/1.9.0/Fixes-20240612-124256.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240612-124256.yaml rename to .changes/1.9.0/Fixes-20240612-124256.yaml diff --git a/.changes/unreleased/Fixes-20240612-152139.yaml b/.changes/1.9.0/Fixes-20240612-152139.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240612-152139.yaml rename to .changes/1.9.0/Fixes-20240612-152139.yaml diff --git a/.changes/unreleased/Fixes-20240613-183117.yaml b/.changes/1.9.0/Fixes-20240613-183117.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240613-183117.yaml rename to .changes/1.9.0/Fixes-20240613-183117.yaml diff --git a/.changes/unreleased/Fixes-20240624-171729.yaml b/.changes/1.9.0/Fixes-20240624-171729.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240624-171729.yaml rename to .changes/1.9.0/Fixes-20240624-171729.yaml diff --git a/.changes/unreleased/Fixes-20240625-171737.yaml b/.changes/1.9.0/Fixes-20240625-171737.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240625-171737.yaml rename to .changes/1.9.0/Fixes-20240625-171737.yaml diff --git a/.changes/unreleased/Fixes-20240627-154448.yaml b/.changes/1.9.0/Fixes-20240627-154448.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240627-154448.yaml rename to .changes/1.9.0/Fixes-20240627-154448.yaml diff --git a/.changes/unreleased/Fixes-20240709-172440.yaml b/.changes/1.9.0/Fixes-20240709-172440.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240709-172440.yaml rename to .changes/1.9.0/Fixes-20240709-172440.yaml diff --git a/.changes/unreleased/Fixes-20240714-100254.yaml b/.changes/1.9.0/Fixes-20240714-100254.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240714-100254.yaml rename to .changes/1.9.0/Fixes-20240714-100254.yaml diff --git a/.changes/unreleased/Fixes-20240716-133703.yaml b/.changes/1.9.0/Fixes-20240716-133703.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240716-133703.yaml rename to .changes/1.9.0/Fixes-20240716-133703.yaml diff --git a/.changes/unreleased/Fixes-20240716-171427.yaml b/.changes/1.9.0/Fixes-20240716-171427.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240716-171427.yaml rename to .changes/1.9.0/Fixes-20240716-171427.yaml diff --git a/.changes/unreleased/Fixes-20240728-221421.yaml b/.changes/1.9.0/Fixes-20240728-221421.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240728-221421.yaml rename to .changes/1.9.0/Fixes-20240728-221421.yaml diff --git a/.changes/unreleased/Fixes-20240731-095152.yaml b/.changes/1.9.0/Fixes-20240731-095152.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240731-095152.yaml rename to .changes/1.9.0/Fixes-20240731-095152.yaml diff --git a/.changes/unreleased/Fixes-20240806-172110.yaml b/.changes/1.9.0/Fixes-20240806-172110.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240806-172110.yaml rename to .changes/1.9.0/Fixes-20240806-172110.yaml diff --git a/.changes/unreleased/Fixes-20240806-194843.yaml b/.changes/1.9.0/Fixes-20240806-194843.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240806-194843.yaml rename to .changes/1.9.0/Fixes-20240806-194843.yaml diff --git a/.changes/unreleased/Fixes-20240813-154235.yaml b/.changes/1.9.0/Fixes-20240813-154235.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240813-154235.yaml rename to .changes/1.9.0/Fixes-20240813-154235.yaml diff --git a/.changes/unreleased/Fixes-20240816-140807.yaml b/.changes/1.9.0/Fixes-20240816-140807.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240816-140807.yaml rename to .changes/1.9.0/Fixes-20240816-140807.yaml diff --git a/.changes/unreleased/Fixes-20240824-210903.yaml b/.changes/1.9.0/Fixes-20240824-210903.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240824-210903.yaml rename to .changes/1.9.0/Fixes-20240824-210903.yaml diff --git a/.changes/unreleased/Fixes-20240829-105701.yaml b/.changes/1.9.0/Fixes-20240829-105701.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240829-105701.yaml rename to .changes/1.9.0/Fixes-20240829-105701.yaml diff --git a/.changes/unreleased/Fixes-20240905-180248.yaml b/.changes/1.9.0/Fixes-20240905-180248.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240905-180248.yaml rename to .changes/1.9.0/Fixes-20240905-180248.yaml diff --git a/.changes/unreleased/Fixes-20240917-174446.yaml b/.changes/1.9.0/Fixes-20240917-174446.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240917-174446.yaml rename to .changes/1.9.0/Fixes-20240917-174446.yaml diff --git a/.changes/unreleased/Fixes-20240922-133527.yaml b/.changes/1.9.0/Fixes-20240922-133527.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240922-133527.yaml rename to .changes/1.9.0/Fixes-20240922-133527.yaml diff --git a/.changes/unreleased/Fixes-20240923-190758.yaml b/.changes/1.9.0/Fixes-20240923-190758.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240923-190758.yaml rename to .changes/1.9.0/Fixes-20240923-190758.yaml diff --git a/.changes/unreleased/Fixes-20240923-202024.yaml b/.changes/1.9.0/Fixes-20240923-202024.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240923-202024.yaml rename to .changes/1.9.0/Fixes-20240923-202024.yaml diff --git a/.changes/unreleased/Fixes-20240925-131028.yaml b/.changes/1.9.0/Fixes-20240925-131028.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240925-131028.yaml rename to .changes/1.9.0/Fixes-20240925-131028.yaml diff --git a/.changes/unreleased/Fixes-20240925-160543.yaml b/.changes/1.9.0/Fixes-20240925-160543.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240925-160543.yaml rename to .changes/1.9.0/Fixes-20240925-160543.yaml diff --git a/.changes/unreleased/Fixes-20240926-101220.yaml b/.changes/1.9.0/Fixes-20240926-101220.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240926-101220.yaml rename to .changes/1.9.0/Fixes-20240926-101220.yaml diff --git a/.changes/unreleased/Fixes-20240930-153158.yaml b/.changes/1.9.0/Fixes-20240930-153158.yaml similarity index 100% rename from .changes/unreleased/Fixes-20240930-153158.yaml rename to .changes/1.9.0/Fixes-20240930-153158.yaml diff --git a/.changes/unreleased/Security-20240522-094540.yaml b/.changes/1.9.0/Security-20240522-094540.yaml similarity index 100% rename from .changes/unreleased/Security-20240522-094540.yaml rename to .changes/1.9.0/Security-20240522-094540.yaml diff --git a/.changes/unreleased/Under the Hood-20240502-154430.yaml b/.changes/1.9.0/Under the Hood-20240502-154430.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240502-154430.yaml rename to .changes/1.9.0/Under the Hood-20240502-154430.yaml diff --git a/.changes/unreleased/Under the Hood-20240506-145511.yaml b/.changes/1.9.0/Under the Hood-20240506-145511.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240506-145511.yaml rename to .changes/1.9.0/Under the Hood-20240506-145511.yaml diff --git a/.changes/unreleased/Under the Hood-20240519-155946.yaml b/.changes/1.9.0/Under the Hood-20240519-155946.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240519-155946.yaml rename to .changes/1.9.0/Under the Hood-20240519-155946.yaml diff --git a/.changes/unreleased/Under the Hood-20240529-102814.yaml b/.changes/1.9.0/Under the Hood-20240529-102814.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240529-102814.yaml rename to .changes/1.9.0/Under the Hood-20240529-102814.yaml diff --git a/.changes/unreleased/Under the Hood-20240618-140652.yaml b/.changes/1.9.0/Under the Hood-20240618-140652.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240618-140652.yaml rename to .changes/1.9.0/Under the Hood-20240618-140652.yaml diff --git a/.changes/unreleased/Under the Hood-20240701-131750.yaml b/.changes/1.9.0/Under the Hood-20240701-131750.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240701-131750.yaml rename to .changes/1.9.0/Under the Hood-20240701-131750.yaml diff --git a/.changes/unreleased/Under the Hood-20240716-184859.yaml b/.changes/1.9.0/Under the Hood-20240716-184859.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240716-184859.yaml rename to .changes/1.9.0/Under the Hood-20240716-184859.yaml diff --git a/.changes/unreleased/Under the Hood-20240716-205703.yaml b/.changes/1.9.0/Under the Hood-20240716-205703.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240716-205703.yaml rename to .changes/1.9.0/Under the Hood-20240716-205703.yaml diff --git a/.changes/unreleased/Under the Hood-20240806-155406.yaml b/.changes/1.9.0/Under the Hood-20240806-155406.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240806-155406.yaml rename to .changes/1.9.0/Under the Hood-20240806-155406.yaml diff --git a/.changes/unreleased/Under the Hood-20240807-155652.yaml b/.changes/1.9.0/Under the Hood-20240807-155652.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240807-155652.yaml rename to .changes/1.9.0/Under the Hood-20240807-155652.yaml diff --git a/.changes/unreleased/Under the Hood-20240809-130234.yaml b/.changes/1.9.0/Under the Hood-20240809-130234.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240809-130234.yaml rename to .changes/1.9.0/Under the Hood-20240809-130234.yaml diff --git a/.changes/unreleased/Under the Hood-20240821-095516.yaml b/.changes/1.9.0/Under the Hood-20240821-095516.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240821-095516.yaml rename to .changes/1.9.0/Under the Hood-20240821-095516.yaml diff --git a/.changes/unreleased/Under the Hood-20240827-105014.yaml b/.changes/1.9.0/Under the Hood-20240827-105014.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240827-105014.yaml rename to .changes/1.9.0/Under the Hood-20240827-105014.yaml diff --git a/.changes/unreleased/Under the Hood-20240827-113123.yaml b/.changes/1.9.0/Under the Hood-20240827-113123.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240827-113123.yaml rename to .changes/1.9.0/Under the Hood-20240827-113123.yaml diff --git a/.changes/unreleased/Under the Hood-20240827-114810.yaml b/.changes/1.9.0/Under the Hood-20240827-114810.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240827-114810.yaml rename to .changes/1.9.0/Under the Hood-20240827-114810.yaml diff --git a/.changes/unreleased/Under the Hood-20240911-162730.yaml b/.changes/1.9.0/Under the Hood-20240911-162730.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240911-162730.yaml rename to .changes/1.9.0/Under the Hood-20240911-162730.yaml diff --git a/.changes/unreleased/Under the Hood-20240913-213312.yaml b/.changes/1.9.0/Under the Hood-20240913-213312.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240913-213312.yaml rename to .changes/1.9.0/Under the Hood-20240913-213312.yaml diff --git a/.changes/unreleased/Under the Hood-20240916-102201.yaml b/.changes/1.9.0/Under the Hood-20240916-102201.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240916-102201.yaml rename to .changes/1.9.0/Under the Hood-20240916-102201.yaml diff --git a/.changes/unreleased/Under the Hood-20240918-170325.yaml b/.changes/1.9.0/Under the Hood-20240918-170325.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240918-170325.yaml rename to .changes/1.9.0/Under the Hood-20240918-170325.yaml diff --git a/.changes/unreleased/Under the Hood-20240926-143448.yaml b/.changes/1.9.0/Under the Hood-20240926-143448.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240926-143448.yaml rename to .changes/1.9.0/Under the Hood-20240926-143448.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 900460abb2e..e9e505c6c13 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,149 @@ - "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-b1 - October 01, 2024 + +### Breaking Changes + +- Fix changing the current working directory when using dpt deps, clean and init. ([#8997](https://github.com/dbt-labs/dbt-core/issues/8997)) + +### Features + +- serialize inferred primary key ([#9824](https://github.com/dbt-labs/dbt-core/issues/9824)) +- Add unit_test: selection method ([#10053](https://github.com/dbt-labs/dbt-core/issues/10053)) +- Maximally parallelize dbt clone in clone command" ([#7914](https://github.com/dbt-labs/dbt-core/issues/7914)) +- Add --host flag to dbt docs serve, defaulting to '127.0.0.1' ([#10229](https://github.com/dbt-labs/dbt-core/issues/10229)) +- Update data_test to accept arbitrary config options ([#10197](https://github.com/dbt-labs/dbt-core/issues/10197)) +- add pre_model and post_model hook calls to data and unit tests to be able to provide extra config options ([#10198](https://github.com/dbt-labs/dbt-core/issues/10198)) +- add --empty value to jinja context as flags.EMPTY ([#10317](https://github.com/dbt-labs/dbt-core/issues/10317)) +- Warning message for snapshot timestamp data types ([#10234](https://github.com/dbt-labs/dbt-core/issues/10234)) +- Support cumulative_type_params & sub-daily granularities in semantic manifest. ([#10360](https://github.com/dbt-labs/dbt-core/issues/10360)) +- Add time_granularity to metric spec. ([#10376](https://github.com/dbt-labs/dbt-core/issues/10376)) +- Support standard schema/database fields for snapshots ([#10301](https://github.com/dbt-labs/dbt-core/issues/10301)) +- Support ref and source in foreign key constraint expressions, bump dbt-common minimum to 1.6 ([#8062](https://github.com/dbt-labs/dbt-core/issues/8062)) +- Support new semantic layer time spine configs to enable sub-daily granularity. ([#10475](https://github.com/dbt-labs/dbt-core/issues/10475)) +- Include models that depend on changed vars in state:modified, add state:modified.vars selection method ([#4304](https://github.com/dbt-labs/dbt-core/issues/4304)) +- Add support for behavior flags ([#10618](https://github.com/dbt-labs/dbt-core/issues/10618)) +- Enable `--resource-type` and `--exclude-resource-type` CLI flags and environment variables for `dbt test` ([#10656](https://github.com/dbt-labs/dbt-core/issues/10656)) +- Allow configuring snapshot column names ([#10185](https://github.com/dbt-labs/dbt-core/issues/10185)) +- Add custom_granularities to YAML spec for time spines. ([#9265](https://github.com/dbt-labs/dbt-core/issues/9265)) +- Add basic functionality for creating microbatch incremental models ([#9490](https://github.com/dbt-labs/dbt-core/issues/9490), [#10635](https://github.com/dbt-labs/dbt-core/issues/10635), [#10637](https://github.com/dbt-labs/dbt-core/issues/10637), [#10638](https://github.com/dbt-labs/dbt-core/issues/10638), [#10636](https://github.com/dbt-labs/dbt-core/issues/10636), [#10662](https://github.com/dbt-labs/dbt-core/issues/10662), [#10639](https://github.com/dbt-labs/dbt-core/issues/10639)) +- Execute microbatch models in batches ([#10700](https://github.com/dbt-labs/dbt-core/issues/10700)) +- Create 'skip_nodes_if_on_run_start_fails' behavior change flag ([#7387](https://github.com/dbt-labs/dbt-core/issues/7387)) +- Allow snapshots to be defined in YAML. ([#10246](https://github.com/dbt-labs/dbt-core/issues/10246)) +- Write microbatch compiled/run targets to separate files, one per batch ([#10714](https://github.com/dbt-labs/dbt-core/issues/10714)) +- Track incremental_strategy as part of model_run tracking event ([#10761](https://github.com/dbt-labs/dbt-core/issues/10761)) +- Support required 'begin' config for microbatch models ([#10701](https://github.com/dbt-labs/dbt-core/issues/10701)) +- Parse-time validation of microbatch configs: require event_time, batch_size, lookback and validate input event_time ([#10709](https://github.com/dbt-labs/dbt-core/issues/10709)) +- Added the --inline-direct parameter to 'dbt show' ([#10770](https://github.com/dbt-labs/dbt-core/issues/10770)) +- Enable `retry` support for microbatch models ([#10715](https://github.com/dbt-labs/dbt-core/issues/10715), [#10729](https://github.com/dbt-labs/dbt-core/issues/10729)) +- Use unrendered database and schema source properties during state:modified, behind state_modified_compare_more_unrendered_values behavoiur flag ([#9573](https://github.com/dbt-labs/dbt-core/issues/9573)) +- Ensure microbatch models respect `full_refresh` model config ([#10785](https://github.com/dbt-labs/dbt-core/issues/10785)) +- Adds validations for custom_granularities to ensure unique naming. ([#9265](https://github.com/dbt-labs/dbt-core/issues/9265)) + +### Fixes + +- Remove unused check_new method ([#7586](https://github.com/dbt-labs/dbt-core/issues/7586)) +- Test case for `merge_exclude_columns` ([#8267](https://github.com/dbt-labs/dbt-core/issues/8267)) +- Convert "Skipping model due to fail_fast" message to DEBUG level ([#8774](https://github.com/dbt-labs/dbt-core/issues/8774)) +- Restore previous behavior for --favor-state: only favor defer_relation if not selected in current command" ([#10107](https://github.com/dbt-labs/dbt-core/issues/10107)) +- Unit test fixture (csv) returns null for empty value ([#9881](https://github.com/dbt-labs/dbt-core/issues/9881)) +- Fix json format log and --quiet for ls and jinja print by converting print call to fire events ([#8756](https://github.com/dbt-labs/dbt-core/issues/8756)) +- Add resource type to saved_query ([#10168](https://github.com/dbt-labs/dbt-core/issues/10168)) +- Fix: Order-insensitive unit test equality assertion for expected/actual with multiple nulls ([#10167](https://github.com/dbt-labs/dbt-core/issues/10167)) +- Renaming or removing a contracted model should raise a BreakingChange warning/error ([#10116](https://github.com/dbt-labs/dbt-core/issues/10116)) +- prefer disabled project nodes to external node ([#10224](https://github.com/dbt-labs/dbt-core/issues/10224)) +- Fix issues with selectors and inline nodes ([#8943](https://github.com/dbt-labs/dbt-core/issues/8943), [#9269](https://github.com/dbt-labs/dbt-core/issues/9269)) +- Fix snapshot config to work in yaml files ([#4000](https://github.com/dbt-labs/dbt-core/issues/4000)) +- Improve handling of error when loading schema file list ([#10284](https://github.com/dbt-labs/dbt-core/issues/10284)) +- Use model alias for the CTE identifier generated during ephemeral materialization ([#5273](https://github.com/dbt-labs/dbt-core/issues/5273)) +- Implement state:modified for saved queries ([#10294](https://github.com/dbt-labs/dbt-core/issues/10294)) +- Saved Query node fail during skip ([#10029](https://github.com/dbt-labs/dbt-core/issues/10029)) +- DOn't warn on `unit_test` config paths that are properly used ([#10311](https://github.com/dbt-labs/dbt-core/issues/10311)) +- Fix setting `silence` of `warn_error_options` via `dbt_project.yaml` flags ([#10160](https://github.com/dbt-labs/dbt-core/issues/10160)) +- Attempt to provide test fixture tables with all values to set types correctly for comparisong with source tables ([#10365](https://github.com/dbt-labs/dbt-core/issues/10365)) +- Limit data_tests deprecation to root_project ([#9835](https://github.com/dbt-labs/dbt-core/issues/9835)) +- CLI flags should take precedence over env var flags ([#10304](https://github.com/dbt-labs/dbt-core/issues/10304)) +- Fix typing for artifact schemas ([#10442](https://github.com/dbt-labs/dbt-core/issues/10442)) +- Fix over deletion of generated_metrics in partial parsing ([#10450](https://github.com/dbt-labs/dbt-core/issues/10450)) +- Fix error constructing warn_error_options ([#10452](https://github.com/dbt-labs/dbt-core/issues/10452)) +- Do not update varchar column definitions if a contract exists ([#10362](https://github.com/dbt-labs/dbt-core/issues/10362)) +- fix all_constraints access, disabled node parsing of non-uniquely named resources ([#10509](https://github.com/dbt-labs/dbt-core/issues/10509)) +- respect --quiet and --warn-error-options for flag deprecations ([#10105](https://github.com/dbt-labs/dbt-core/issues/10105)) +- Propagate measure label when using create_metrics ([#10536](https://github.com/dbt-labs/dbt-core/issues/10536)) +- Fix state:modified check for exports ([#10138](https://github.com/dbt-labs/dbt-core/issues/10138)) +- Filter out empty nodes after graph selection to support consistent selection of nodes that depend on upstream public models ([#8987](https://github.com/dbt-labs/dbt-core/issues/8987)) +- Late render pre- and post-hooks configs in properties / schema YAML files ([#10603](https://github.com/dbt-labs/dbt-core/issues/10603)) +- Allow the use of env_var function in certain macros in which it was previously unavailable. ([#10609](https://github.com/dbt-labs/dbt-core/issues/10609)) +- Remove deprecation for tests: to data_tests: change ([#10564](https://github.com/dbt-labs/dbt-core/issues/10564)) +- Fix `--resource-type test` for `dbt list` and `dbt build` ([#10730](https://github.com/dbt-labs/dbt-core/issues/10730)) +- Fix unit tests for incremental model with alias ([#10754](https://github.com/dbt-labs/dbt-core/issues/10754)) +- Allow singular tests to be documented in properties.yml ([#9005](https://github.com/dbt-labs/dbt-core/issues/9005)) +- Ignore --empty in unit test ref/source rendering ([#10516](https://github.com/dbt-labs/dbt-core/issues/10516)) +- Ignore rendered jinja in configs for state:modified, behind state_modified_compare_more_unrendered_values behaviour flag ([#9564](https://github.com/dbt-labs/dbt-core/issues/9564)) +- Improve performance of infer primary key ([#10781](https://github.com/dbt-labs/dbt-core/issues/10781)) +- Attempt to skip saved query processing when no semantic manifest changes ([#10563](https://github.com/dbt-labs/dbt-core/issues/10563)) +- Ensure dbt retry of microbatch models doesn't lose prior successful state ([#10800](https://github.com/dbt-labs/dbt-core/issues/10800)) + +### Docs + +- Enable display of unit tests ([dbt-docs/#501](https://github.com/dbt-labs/dbt-docs/issues/501)) +- Unit tests not rendering ([dbt-docs/#506](https://github.com/dbt-labs/dbt-docs/issues/506)) +- Add support for Saved Query node ([dbt-docs/#486](https://github.com/dbt-labs/dbt-docs/issues/486)) +- Fix npm security vulnerabilities as of June 2024 ([dbt-docs/#513](https://github.com/dbt-labs/dbt-docs/issues/513)) + +### Under the Hood + +- Clear error message for Private package in dbt-core ([#10083](https://github.com/dbt-labs/dbt-core/issues/10083)) +- Enable use of context in serialization ([#10093](https://github.com/dbt-labs/dbt-core/issues/10093)) +- Make RSS high water mark measurement more accurate on Linux ([#10177](https://github.com/dbt-labs/dbt-core/issues/10177)) +- Enable record filtering by type. ([#10240](https://github.com/dbt-labs/dbt-core/issues/10240)) +- Remove IntermediateSnapshotNode ([#10326](https://github.com/dbt-labs/dbt-core/issues/10326)) +- Additional logging for skipped ephemeral models ([#10389](https://github.com/dbt-labs/dbt-core/issues/10389)) +- bump black to 24.3.0 ([#10454](https://github.com/dbt-labs/dbt-core/issues/10454)) +- generate protos with protoc version 5.26.1 ([#10457](https://github.com/dbt-labs/dbt-core/issues/10457)) +- Move from minimal-snowplow-tracker fork back to snowplow-tracker ([#8409](https://github.com/dbt-labs/dbt-core/issues/8409)) +- Add group info to RunResultError, RunResultFailure, RunResultWarning log lines ([#](https://github.com/dbt-labs/dbt-core/issues/)) +- Improve speed of tree traversal when finding children, increasing build speed for some selectors ([#10434](https://github.com/dbt-labs/dbt-core/issues/10434)) +- Add test for sources tables with quotes ([#10582](https://github.com/dbt-labs/dbt-core/issues/10582)) +- Additional type hints for `core/dbt/version.py` ([#10612](https://github.com/dbt-labs/dbt-core/issues/10612)) +- Fix typing issues in core/dbt/contracts/sql.py ([#10614](https://github.com/dbt-labs/dbt-core/issues/10614)) +- Fix type errors in `dbt/core/task/clean.py` ([#10616](https://github.com/dbt-labs/dbt-core/issues/10616)) +- Add Snowplow tracking for behavior flag deprecations ([#10552](https://github.com/dbt-labs/dbt-core/issues/10552)) +- Add test utility patch_microbatch_end_time for adapters testing ([#10713](https://github.com/dbt-labs/dbt-core/issues/10713)) +- Replace `TestSelector` with `ResourceTypeSelector` ([#10718](https://github.com/dbt-labs/dbt-core/issues/10718)) +- Standardize returning `ResourceTypeSelector` instances in `dbt list` and `dbt build` ([#10739](https://github.com/dbt-labs/dbt-core/issues/10739)) +- Add group metadata info to LogModelResult and LogTestResult ([#10775](https://github.com/dbt-labs/dbt-core/issues/10775)) + +### Dependencies + +- Remove logbook dependency ([#8027](https://github.com/dbt-labs/dbt-core/issues/8027)) +- Increase supported version range for dbt-semantic-interfaces. Needed to support custom calendar features. ([#9265](https://github.com/dbt-labs/dbt-core/issues/9265)) + +### Security + +- Explicitly bind to localhost in docs serve ([#10209](https://github.com/dbt-labs/dbt-core/issues/10209)) + +### Contributors +- [@McKnight-42](https://github.com/McKnight-42) ([#10197](https://github.com/dbt-labs/dbt-core/issues/10197), [#10198](https://github.com/dbt-labs/dbt-core/issues/10198)) +- [@TowardOliver](https://github.com/TowardOliver) ([#10656](https://github.com/dbt-labs/dbt-core/issues/10656)) +- [@aliceliu](https://github.com/aliceliu) ([#10536](https://github.com/dbt-labs/dbt-core/issues/10536), [#10138](https://github.com/dbt-labs/dbt-core/issues/10138)) +- [@courtneyholcomb](https://github.com/courtneyholcomb) ([#10360](https://github.com/dbt-labs/dbt-core/issues/10360), [#10376](https://github.com/dbt-labs/dbt-core/issues/10376), [#10475](https://github.com/dbt-labs/dbt-core/issues/10475), [#9265](https://github.com/dbt-labs/dbt-core/issues/9265), [#9265](https://github.com/dbt-labs/dbt-core/issues/9265), [#9265](https://github.com/dbt-labs/dbt-core/issues/9265)) +- [@dave-connors-3](https://github.com/dave-connors-3) ([#9824](https://github.com/dbt-labs/dbt-core/issues/9824)) +- [@jeancochrane](https://github.com/jeancochrane) ([#5273](https://github.com/dbt-labs/dbt-core/issues/5273)) +- [@katsugeneration](https://github.com/katsugeneration) ([#10754](https://github.com/dbt-labs/dbt-core/issues/10754)) +- [@kevinneville](https://github.com/kevinneville) ([#7586](https://github.com/dbt-labs/dbt-core/issues/7586)) +- [@nakamichiworks](https://github.com/nakamichiworks) ([#10442](https://github.com/dbt-labs/dbt-core/issues/10442)) +- [@rariyama](https://github.com/rariyama) ([#8997](https://github.com/dbt-labs/dbt-core/issues/8997)) +- [@scottgigante,nevdelap](https://github.com/scottgigante,nevdelap) ([#8774](https://github.com/dbt-labs/dbt-core/issues/8774)) +- [@ttusing](https://github.com/ttusing) ([#10434](https://github.com/dbt-labs/dbt-core/issues/10434)) + + ## Previous Releases For information on prior major and minor releases, see their changelogs: -* [1.8](https://github.com/dbt-labs/dbt-core/blob/1.8.latest/CHANGELOG.md) * [1.7](https://github.com/dbt-labs/dbt-core/blob/1.7.latest/CHANGELOG.md) * [1.6](https://github.com/dbt-labs/dbt-core/blob/1.6.latest/CHANGELOG.md) * [1.5](https://github.com/dbt-labs/dbt-core/blob/1.5.latest/CHANGELOG.md) diff --git a/core/dbt/version.py b/core/dbt/version.py index 475e98e9d56..4ae62762c07 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.0a1" +__version__ = "1.9.0b1" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index b31b69dc408..04e7632a2fc 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.9.0a1" +package_version = "1.9.0b1" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications."""