Compare commits

...

175 Commits

Author SHA1 Message Date
MichelleArk
cf4384da38 uncomment dbt-postgres-testing 2025-12-12 17:03:06 -05:00
Michelle Ark
71a6e53102 delete deprecated create_adapter_plugins script (#12280) 2025-12-12 17:01:18 -05:00
Michelle Ark
c4dc80dcd2 delete duplicate adapters tests (#12275) 2025-12-12 16:53:04 -05:00
Michelle Ark
8097a34726 remove snowplow telemetry schemas for < 0.11.0 versions (#12279) 2025-12-12 14:54:40 -05:00
MichelleArk
b66dff7278 move custom-hooks to scripts 2025-12-12 14:24:07 -05:00
Michelle Ark
22d21edb4b Reorganize docs/arch (#12270) 2025-12-12 10:26:23 -05:00
Michelle Ark
bef7928e22 remove unused performance CI framework (#12278) 2025-12-12 10:26:06 -05:00
Michelle Ark
c573131d91 cleanup stale test migration docs (#12274) 2025-12-11 12:19:35 -05:00
Michelle Ark
f10d84d05e move setup_db.sh to scripts, remove test dir (#12273) 2025-12-11 12:19:22 -05:00
Michelle Ark
79a4c8969e improve error message clarity when detecting nodes with spaces in name (#12272) 2025-12-11 12:15:06 -05:00
Gerda Shank
9a80308fcf Implementation of meta_get and meta_require (#12267) 2025-12-10 22:57:28 -05:00
Quigley Malcolm
7a13d08376 Ensure all recent deprecation warnings include the name in the message (#12265)
* Add event name to `message` of recently added deprecations

* Make it harder to not supply the event name to deprecation messages

* Add changie doc

* Fixup import naming
2025-12-10 13:03:24 -06:00
Colin Rogers
9e9f5b8e57 add add_catalog_integration call even if we have a pre-existing manifest (#12262)
* add add_catalog_integration call even if we have a pre-existing manifest

* add changelog
2025-12-10 09:35:39 -08:00
Michelle Ark
9cd6a23eba add compile test for batch context vars (#12261) 2025-12-09 12:08:43 -08:00
Emily Rockman
e46c37cf07 fix target file for dbt-common CI (#12258) 2025-12-08 17:15:24 -05:00
Michelle Ark
df23f398a6 set unit test config.enabled to False if it is testing a disabled model (#12251) 2025-12-08 13:27:41 -08:00
Emily Rockman
97df9278c0 Move to hatch for build tooling (#12192)
* initial hatch implmentation

* cleanup docs

* replacing makefile

* cleanup hatch commands to match adapters

reorganize more to match adapters setup

script comment

dont pip install

fix test commands

* changelog

improve changelog

* CI fix

* fix for env

* use a standard version file

* remove odd license logic

* fix bumpversion

* remove sha input

* more cleanup

* fix legacy build path

* define version for pyproject.toml

* use hatch hook for license

* remove tox

* ensure tests are split

* remove temp file for testing

* explicitly match old verion in pyproject.toml

* fix up testing

* get rid of bumpversion

* put dev_dependencies.txtin hatch

* setup.py is now dead

* set python version for local dev

* local dev fixes

* temp script to compare wheels

* parity with existing wheel builds

* Revert "temp script to compare wheels"

This reverts commit c31417a092.

* fix docker test file
2025-12-05 21:59:44 -05:00
Edgar Ramírez Mondragón
748d352b6b Address Click 8.2+ deprecation warning by using type-checking imports (#12039) 2025-12-05 13:13:25 -08:00
Michelle Ark
bbd8fa02f1 fix flaky invocation context + warn error settings in parser unit tests (#12256) 2025-12-05 10:19:08 -05:00
Emily Rockman
61009f6ba7 Tweak release for unused fields (#12209)
* point to branch:

* remove unused code paths

* make release backwards compatible

hardcode

* use correct types

* put main back
2025-12-04 09:11:59 -05:00
Emily Rockman
ee7ecdc29f Improve --add-package duplicate detection (#12239)
* optimize name matches

* changelog

* Apply suggestion from @emmyoop
2025-12-03 12:49:57 -05:00
Matt Burke
d74b58a137 Fix partial parsing bug with singular tests (#12224) 2025-12-02 14:30:47 -05:00
Michelle Ark
12b04e7d2f avoid raising custom-key-in-config-deprecation for pre/post-hook model SQL config validation (#12244) 2025-12-02 14:22:02 -05:00
Michelle Ark
5d56a052a7 Turn on jsonschema-based deprecations by default, based on adapter support (#12240) 2025-12-02 12:37:37 -05:00
Emily Rockman
62a8ea05a6 stop excluding the core team from changelogs (#12241) 2025-12-02 09:38:24 -05:00
Emily Rockman
1219bd49aa Merge pull request #12238 from dbt-labs/revert-merge
Revert merge on main
2025-12-01 14:05:11 -05:00
Emily Rockman
791d1ebdcd Revert "changelog"
This reverts commit 8ff86d35ea.
2025-12-01 13:27:03 -05:00
Emily Rockman
148b9b41a5 Revert "optimize name matches"
This reverts commit 087f8167ec.
2025-12-01 13:27:02 -05:00
Emily Rockman
d096a6776e Revert "deal with bool"
This reverts commit bcb07ceb7b.
2025-12-01 13:26:58 -05:00
Emily Rockman
8ff86d35ea changelog 2025-12-01 13:12:30 -05:00
Emily Rockman
087f8167ec optimize name matches 2025-12-01 13:12:29 -05:00
Emily Rockman
bcb07ceb7b deal with bool 2025-12-01 13:12:25 -05:00
Emily Rockman
c559848044 Fix --add-package when warn-unpinned: false present (#12233)
* add tests

fix tests

* deal with bool

* fix bug

* changelog
2025-12-01 13:03:37 -05:00
Emily Rockman
3de0160b00 stop codecov CI checks (#12235) 2025-12-01 10:25:20 -05:00
Michelle Ark
2c7f49a71e Support unit testing models that depend on source with the same name (#12220) 2025-11-28 14:32:15 -05:00
Michelle Ark
518c360a29 Avoid retrying successful run operation (#12227) 2025-11-28 14:31:53 -05:00
Emily Rockman
8cf51fddba fix local test failure (#12228)
fix comments
2025-11-28 13:28:19 -05:00
Emily Rockman
8e128eee8e Fix: Data type size/precision/scale changes incorrectly flagged as breaking for versioned models (#12219)
* add failing test

* deal with precision

partition

* changelog

* accoutn for case sensitivity

* better testing
2025-11-28 09:45:56 -05:00
Emily Rockman
94b69b1578 Fix stack traces shown for incompatible package version errors (#12218)
* add test, fix exception hierarchy

* changelog
2025-11-28 09:45:33 -05:00
Michelle Ark
0216e32c7f Add test for unit testing model that depends on input model with alias (#12217) 2025-11-26 18:25:10 -05:00
Andrey Siunov
bbd078089e Fix generation of deprecations summary (#12202) 2025-11-25 23:15:55 -06:00
Trilok Ramakrishna
575bac3172 Allow dbt deps to run when vars lack defaults in dbt_project.yml (#12171)
* Allow dbt deps to run when vars lack defaults in dbt_project.yml

* Added Changelog entry

* fixed integration tests

* fixed mypy error

* Fix: Use strict var validation by default, lenient only for dbt deps to show helpful errors

* Fixed Integration tests

* fixed nit review comments

* addressed review comments and cleaned up tests

* addressed review comments and cleaned up tests
2025-11-26 10:38:37 +05:30
Quigley Malcolm
bca2211246 Stop emitting NoNodesForSelectionCriteria three times during build command (#12204)
* Add test checking that `NoNodesForSelectionCriteria` is only fired once per invocation

* Stop emitting `NoNodesForSelectionCriteria` three times during `build` command

* update changelog

---------

Co-authored-by: Michelle Ark <MichelleArk@users.noreply.github.com>
2025-11-25 13:28:52 -06:00
Michelle Ark
0015e35a1b Correctly reference foreign key references when deferring (#12199) 2025-11-25 13:37:07 -05:00
Emily Rockman
09bce7af63 Add exception when using --state and referring to a removed test (#12203)
* add test using repro from issue

fix test

more test fixes

fix test

* error on none

* changelog

* use correct fixture pattern
2025-11-25 13:26:50 -05:00
Quigley Malcolm
cb7c4a7dce Partial Parsing support for function nodes (#12074)
* Explicitly support functions during partial parsing

* Emit a `Note` event when partial parsing is skipped due to there being no changes

* Begin testing partial parsing support of function nodes

* Add changie doc

* Move test_pp_functions to use `EventCatcher` from dbt-common

* Remove from `functions` instead of `nodes` during partial parsing function deletion

* Fix the partial parsing scheduling of function sql and yaml files

Previously we were treating the partial parsing scheduling of function
files as if they were only defined by YAML files. However functions consist
of a "raw code file" (typically a .sql file) and a YAML file. We needed
to update the the deletion handling + scheduling of functions during partial
parsing to act more similar to "mssat" files in order to achieve this.
This work was primarily done agentically, but then simplified by myself
afterwards.

* Test that changing the alias of a function doesn't require reparsing of the downstream nodes that reference it
2025-11-24 16:53:17 -06:00
Quigley Malcolm
5555a3dd25 Ensure schemas of function nodes are created when in DAG during build command (#12198)
* Add test to check that functions with not default schemas get their schemas created

* Ensure schemas of function nodes are created when in DAG during `build` command

* Add changie doc for function schema bug fix
2025-11-24 16:31:03 -06:00
Michelle Ark
0e30db4e82 restore DuplicateResourceNameError exception within a package (#12183) 2025-11-24 14:39:47 -05:00
Quigley Malcolm
b2ff6ab5a7 Fix bug function wasn't specifiable with --exlcude-resource-type flag (#12187) 2025-11-21 09:19:43 -06:00
Michelle Ark
48218be274 update jsonschemas (#12180) 2025-11-19 13:10:55 -05:00
Trilok Ramakrishna
500208c009 Use EventCatcher from dbt-common (#12177)
* removed event catcher from utils

* Remove empty utils.py after EventCatcher migration to dbt-common
2025-11-19 22:17:25 +05:30
rckahlert-posedio
0162b71e94 Prevent applying the "community" label to bot PRs (#11912) (#12173)
Bypass check as I manually checked this does not have artifact changes
2025-11-18 20:34:51 -05:00
Quigley Malcolm
811e4ee955 Support default arguments for udfs (#12175)
* Add tests to check parsing of function argument default values

* Begin allowing the specification of `default_value` on function arguments

* Validate that non-default function arguments don't come _after_ default function arguments

* Add changie doc
2025-11-18 12:23:55 -06:00
FishtownBuildBot
b79ec3c33b Cleanup main after cutting new 1.11.latest branch (#12179)
* Clean up changelog on main

* Bumping version to 1.12.0a1

* Code quality cleanup

* Update CHANGELOG.md

---------

Co-authored-by: Emily Rockman <emily.rockman@dbtlabs.com>
2025-11-18 13:13:12 -05:00
Emily Rockman
e32718e666 move full workflow into core since no one else uses it (#12178) 2025-11-18 13:12:43 -05:00
Michelle Ark
f6e0793d00 Fix 10157: macro composition in unit tests (#12168) 2025-11-18 11:34:48 -05:00
Patrick Yost
39cf2ec94f Add test coverage for SL metric parsing (#12169) 2025-11-17 17:49:42 -06:00
ddk-dbt
3caddd0b65 Pin GitHub Actions to specific SHAs (53 actions in 11 files) (#12133)
Updated action references from tags/branches to specific commit SHAs for improved security and reproducibility.
2025-11-14 10:21:55 -05:00
Patrick Yost
5dd516608b Stop allowing hyphens in metric names and add name validation tests (#12158) 2025-11-10 18:53:37 -06:00
Quigley Malcolm
11ada88e48 Stop compiling Python UDFs like they're Python Models (#12154)
* Only do special python model compilation for python models (not other python nodes)

* Test jinja compilation of python udfs

* Add changie doc
2025-11-06 18:47:47 -06:00
William Deng
b9e5c144a9 Properly propagate config for metric when created from measure (#12135)
* Propagate measure.config to metric.config when specified during create_metric:True

* changelog

* Update the metric.expr to be populated correctly according to DSI rules
2025-11-06 16:37:00 -06:00
Michelle Ark
001e729664 support DBT_ENGINE prefix for DBT_RECORDER env vars (#12149)
* support DBT_ENGINE prefix for DBT_RECORDER env vars

* changelog entry
2025-11-06 11:12:26 -06:00
Emily Rockman
7e10fc72d5 Move from setup.py to pyproject.toml (#12129)
* convert setup.py to pyproject.toml

* move dev requirements into pyproject.toml

* with setup.py gone we can install from root

* lint

cleanrly state intention to remove

* convert precommit to use dev deps

* consolidate version to pyproject.toml

* editable req

get rid of editable-req

* docs updates

* tweak configs for builds

* fix script

* changelog

* fixes to build

* revert unnecesary changes

more simplification

revert linting

more simplification

fix

don’t need it
2025-11-06 09:08:00 -05:00
Emily Rockman
c170211ce3 remove unreferenced png (#12141) 2025-11-05 12:20:44 -05:00
Emily Rockman
8e800cee4c Consolidate pre-commit config (#12140)
* use single version of tools

* isort
2025-11-05 12:20:29 -05:00
Michelle Ark
1bd81f5025 fix falsy evaluation of build_after.count (#12136) 2025-11-03 14:09:04 -05:00
Quigley Malcolm
65a122b34a Revert "Upgrade DSI to 0.10.x (#12110)" (#12132)
This reverts commit 2190fa64a3.
2025-10-30 11:02:02 -05:00
Michelle Ark
785304732f add dbt/jsonschemas to recursive-include (#12126) 2025-10-28 16:56:50 -04:00
Quigley Malcolm
4693918a0f Drop python 3.9 support (#12120)
* Update `setup.py` to drop support for python 3.9

* Update github issue templates to not use python 3.9 as an example

* Update github workflows to no longer depend on or test python 3.9

* Drop python 3.9 from the test dockerfile

* Update `CONTRIBUTING.md` to correctly list what python versions we test

* Update comment about some code specifically needed for a python 3.9.7 issue

* Update pre-commit python version comment

* Add changie doc

* Update imports from click as upgrading to python 3.10 changed some click items
2025-10-28 15:10:03 -05:00
FishtownBuildBot
96738d5edc [Automated] Merged prep-release/1.11.0b4_18884421623 into target main during release process 2025-10-28 14:32:15 -04:00
Github Build Bot
780544dc7f Bumping version to 1.11.0b4 and generate changelog 2025-10-28 18:00:58 +00:00
William Deng
2190fa64a3 Upgrade DSI to 0.10.x (#12110) 2025-10-28 10:56:00 -04:00
Michelle Ark
deb2f3e890 move jsonschemas out of dbt/include (#12121) 2025-10-28 10:31:52 -04:00
Quigley Malcolm
34f0190a14 Support the parsing of python UDFs (#12111)
* Add test to check that python UDFs can be parsed

* Add `entry_point` and `runtime_version` to function node config

These two configs are required for python UDFs in some warehouses and
may also be required for other UDF languages moving forward. The specific
adapters implementation will enforce the requirement. By default both
configs will be `None` unless set.

* Begin searching for `.py` files in `functions` directory

* Switch to using `SimpleParser` for functions

Previously we were using `SimpleSQLParser` and we were _only_ parsing
SQL files. However, we're now also parsing python files for functions.
As such it makes sense to switch to the `SimpleParser`. Functionally there
is no change bceause we re-added the `parse_file` override that `SimpleSQLParser`
had (there was nothing sql specific about it). Hence this is mostly a
symbolic change.

* Add changie doc
2025-10-27 15:14:47 -05:00
Quigley Malcolm
7f9449660e Support setting function node configs from dbt_project.yml (#12104)
* Add test which checks that function nodes can be configured from dbt_project.yml

* Support setting function node configs from dbt_project.yml

* add changie doc

* Fix unit tests to expect `functions` as part of project
2025-10-22 16:55:28 -05:00
Quigley Malcolm
ea172aa668 Make function node type a config (#12102)
* Update function node tests to look for `type` on function config

* Update `function` node to have `type` on config

* Update parsing of `function` nodes to expect `type` on the config

* Add changie doc
2025-10-21 15:36:48 -05:00
Quigley Malcolm
f0d3b8a51d Allow for configuration of function volatility (#12100)
* Add test to check that a function's volatility is configurable

* Define the `FunctionVolatility` enum type

* Add `volatility` as a configuration on function nodes

* Add changie doc
2025-10-21 14:54:01 -05:00
Quigley Malcolm
c6afa4d0f2 Test that UDFs support sources (#12079) 2025-10-21 14:52:43 -05:00
Michelle Ark
98a1b6e272 fix unit test to accept param names without DBT_ENGINE_ prefix (#12099) 2025-10-21 10:22:25 -07:00
Quigley Malcolm
d5071fa135 Tidy first fix jsonschema deprecation warning tests (#12085)
* Ensure jsonschema validation tests aren't skipping validation because postgres isn't technically supported

* Blanket accept `functions` as top level yaml key as temp fix

We for the moment can't sync over the full jsonschema from fusion,
as such this is a stop gap simply so that we don't raise deprecation
warnings if people start specifying functions.

* Move model column `meta` and `tags` into the column's config in happy path fixture
2025-10-08 11:26:05 -05:00
FishtownBuildBot
db284a14c1 [Automated] Merged prep-release/1.11.0b3_18317430095 into target main during release process 2025-10-07 11:51:09 -04:00
Github Build Bot
4017802800 Bumping version to 1.11.0b3 and generate changelog 2025-10-07 15:19:13 +00:00
Quigley Malcolm
17a8816ee3 Fix using refs in function nodes (#12078)
* Test that functions can have static refs in them

* Ensure refs are properly populated on function nodes

* Add changie doc
2025-10-06 18:32:33 -05:00
Quigley Malcolm
3bd425fdc9 Upper case function status in logs (#12077)
* Uppercase function success status in logs

* Add changie doc
2025-10-06 18:09:12 -05:00
Quigley Malcolm
db9a6e10c1 Re-comment out test generation line that I uncommented and accidentally committed (#12070) 2025-10-03 09:26:03 -05:00
Quigley Malcolm
4a78a78c2b Ability to use functions in unit tests (#12068)
* Test that functions work properly when unit testing models

* Ensure that functions properly get propagated to the `manifest` and `depends_on` of the `unit_test` node

* Update comment about `RuntimeUnitTestFunctionResolver`

* Add changie doc
2025-10-02 19:06:43 -05:00
FishtownBuildBot
5ee5bf4129 [Automated] Merged prep-release/1.11.0b2_18206467188 into target main during release process 2025-10-02 18:19:23 -04:00
Github Build Bot
ac445ca1fd Bumping version to 1.11.0b2 and generate changelog 2025-10-02 21:46:28 +00:00
Quigley Malcolm
1258728d9a Fix rendering of function relaltions when filters are at play (#12067)
* Add test to ensure that using a function with `--empty` works

* Ensure relations for functions are created with a `type` set to `function`

Previously on creation of function relations we weren't passing a `type`
value. This was problematic because in dbt-adapters we call `is_function`
(which uses the relation `type`) to determine whether a relation can be
filtered when filtering options (like `empty` or `event_time`) are present.
Because `type` wasn't set for function relations, `is_function` would
return `False` and thus in the present of a filter, we would attempt to
filter it. This would raise an error because functions can't be filtered.
Setting the type on the relation solves the issue.

* add changie doc
2025-10-02 16:30:02 -05:00
Quigley Malcolm
15722264aa Correct Function Node Property Names (#12065)
* Fix function node property names

`return_type` -> `returns`
`return_type.type` -> `returns.data_type`
`arguments[x].type` -> `arguments[x].data_type`

* Add changie doc
2025-10-02 13:46:57 -05:00
FishtownBuildBot
a6d4091b6b [Automated] Merged prep-release/1.11.0b1_18172738761 into target main during release process 2025-10-01 15:41:43 -04:00
Github Build Bot
b1b3839715 Bumping version to 1.11.0b1 and generate changelog 2025-10-01 19:08:34 +00:00
Gerda Shank
963251df4e Fix schema file patch collection (#12055) 2025-09-29 12:34:32 -04:00
Quigley Malcolm
8c929c337e Add type property to function nodes (#12057)
* Add `FunctionType` enum

* Add `type` property to `Function` resource

* Add `type` property to `ParsedFunctionPatch` and `UnparsedFunctionUpdate`

* Begin populating a function's `type` during patch parsing

* Regnerate v12 manifest to include function `type` property

* Add changie doc

* Begin testing that function node `type` property is setable and accessible

* Move comment about triggering the PathEncoder back to its proper place
2025-09-26 15:29:08 -05:00
Michelle Ark
e949d1a6f9 Validate {{ config }} in SQL for models that don't statically parse (#12053) 2025-09-26 14:58:16 -04:00
Quigley Malcolm
538de17f78 Initial Implementation of UDFs (#12054)
* Allow for the defining of basic SQL UDFs (#11957)

* Add initial definiton of the `Function` resource

* Add FunctionNode definition to graph contracts

* Add test which checks whether basic UDFs can be parsed

This test fails right now, which is intentional. This is test driven
development. Now I do work to maket the test pass :)

* Add basic function sql parser for UDFs, and plumb it through parsing code paths

* Begin populating `functions` in the ref lookup

* Begin patching `function` nodes with their yaml definitions

Of note, presently `arguments` and `return_type` aren't populating properly.
It's likely that we'll have to do additional work to the FunctionPatchParser
to get this _fully_ working.

* Increase responsibility of FunctionPatchParser to handle entire `parse_patch` of function nodes

* Fix testing suite to accomodate addition of new `function` node

* Add changie doc for new `function` node type

* Minor refactoring of `NodePatchParser.parse_patch` to reduce code duplication in `FunctionPatchParser`

* Ability to list and select function nodes (#11968)

* Begin listing `function` nodes in `list` command

* Add ability to run `list` specifying the `function` resource type

* Function nodes are support selection via: name, file path, and resource type

* Add changie doc

* Core handles lifecycle of function nodes (#12008)

* Add basic test to check that UDFs get created in data warehouse

* Add functions to the runner map of \ operation

* Add basic stub of `FunctionRunner` modeled after `SeedRunner`

* Begin using `FunctionRunner` for running `function` nodes

* Add stubbing of things to implement on `FunctionRunner`

* Initial implementation of execution of function nodes

This is largely a copy of the execution of model nodes (in run.py) but
with some abstractions into helper methods to make the body of the
`execute` function easier to follow. Of note, right now this appears to
be getting the incorrect macro from the adapter. This is likely because
for some reason the node's materialization config is being set to `view`
by default.

* Ensure parsed function nodes get the correct materialization type

* Begin generating context for `function` materialization macro

* Stub out adapter response in node result as it was causing some failures

* Correct the adapter response in the run result for functions

* Begin logging `LogFunctionResult` event for completed function nodes

* Add changie doc

* Temp update dev reqs to point at branch of dbt-adapters

* Add test `LogFunctionResult` event to serialization test

* Add `function` nodes to the `WritableManifest`

* Fix tests

* Remove no longer relevant `TODO`s from `function.py`

* Add a new macro `function()` to the jinja context for using functions (#12031)

* Update function tests to look for `functions` under `manifest.functions`

* Begin storing funciton nodes in `Manifest.functions` instead of `Manifest.nodes`

* Ensure function nodes are still included in nodes to run during `build`

* Add ability to lookup functions on the manifest

* Update patch parsing of function YAML files now that functions live on `Manifest.functions`

* Mark function nodes as no longer refable

* Ensure function nodes are still selectable

* Add `function` macro!

* Ensure functions nodes are correctly linked in the DAG

* Update jinja context tests to expect `function` macro to exist

* Fix unit tests in test suite to expect function nodes

* Add changie doc

* regen v12.json jsonschema

* Fix test `TestVerifyArtifacts::test_run_and_generate`

* Fix test `TestVerifyArtifactsReferences::test_references`

* Fix test `TestVerifyArtifactsVersions::test_versions`

* Regen manifest artifact for `TestPreviousVersionState::test_compare_state_current`

* Update `_iterate_selected_nodes` to support function nodes

* Ensure we process node functions to ensure they get added to the `depends_on`

* Take functions into account for state modified

* Regen data for `TestModifiedStateSchemaEvolution::test_modified_state_schema_evolution` test

* Default `functions` property on `WritableManifest` to a dict

I'm not sure if this is actually how we want to do this. However, without
doing this the `WritableManifest` will break on loading of older manifests
that don't have `functions`. The alternative to this would be to bump
the schema version (v12 -> v13) and create an upgrade in `upgrade_manifest.py`.

* Update UDF tests to use a more general purpose function

* Add tests ensuring UDFs can be used in models and `--inline` queries

* Correct `ParseFunctionResolver` so that the name isn't added twice to the function args spec

* Drop `functions` from `Exposure` and `Metric` definitions

* Regen v12 manifest schema

* Remove unnecessary string interpolation

* Point dev reqs back to dbt-adapters@main

* Empty commit
2025-09-26 13:41:45 -05:00
Emily Rockman
96c9d80f83 fix matrix for windows CI (#12052)
* fix matrix

* skip flaky test on windows
2025-09-25 15:06:45 -04:00
Michelle Ark
2f842055f0 Add run_started_at to manifest.json metadata (#12047) 2025-09-25 11:56:12 -04:00
Quigley Malcolm
faeee357b1 Fix script for setting up postgres development database (#12035)
* Increase shared memory size for postgres docker container

I recently started getting errors that look like
```
E           dbt_common.exceptions.base.DbtDatabaseError: Database Error
E             could not resize shared memory segment "/PostgreSQL.3814850474" to 2097152 bytes: No space left on device
```
At first I thought this was a lack of memory, disk space, or ulimit file descriptors. However
increasing all of those things did not solve the problem. I eventually found, by exec-ing into
the container and running `df -h /dev/shm && ls -lh /dev/shm` that the container only had 64MB
of memory available to it. This change increases the memory available to the container to 1GB,
which resolved the issue.

* Use `docker compose` instead of `docker-compose`

The later was docker v1, and no longer works. Use `docker compose` instead.

* Only run homebrew postgres in `setup_db.sh` if `SKIP_HOMEBREW` is not passed

Our github actions use homebrew, but our local dev uses docker. When we
were doing local development and running `make setup-db` suddenly there would
be _two_ postgres instances running. One via homebrew, and another in docker.
This was breaking the setup. Now when running `make setup-db` we skip the
homebrew relevant portions of `setup_db.sh`.

* Set more PG environment variables in `setup_db.sh`
2025-09-19 15:39:08 -05:00
Michelle Ark
bca5c4d454 Support configuring model.config.freshness.build_after.update_on without period or count (#12027) 2025-09-18 13:27:51 -04:00
Courtney Holcomb
b3d059e427 Fix legacy time spine deprecation warning logic (#12018) 2025-09-17 11:06:33 -04:00
Michelle Ark
b783c97eff propagate meta/tags on columns to top-level and config (#11992) 2025-09-15 14:53:11 -04:00
Michelle Ark
5add25db0c Guarantee instantiation result and thread_exception prior to access (#12013) 2025-09-12 15:34:34 -04:00
Michelle Ark
ad6ea20277 skip initial render of loaded_at_query when specified as config (#12010) 2025-09-12 12:53:58 -04:00
Michelle Ark
472b8057a9 manifest schema upgrade framework for state:modified (#11945) 2025-09-11 13:27:01 -04:00
Michelle Ark
2915c3e284 dbt-semantic-interfaces>=0.9.0 (#12005) 2025-09-11 10:11:41 -04:00
Michelle Ark
537daa8476 Add catalogs.yml parsing to parse, test, and snapshot (#12002) 2025-09-10 15:01:48 -04:00
dependabot[bot]
b48ad8282b Bump actions/setup-python from 5 to 6 (#11993)
* Bump actions/setup-python from 5 to 6

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add automated changelog yaml from template for bot PR

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com>
2025-09-10 10:42:21 -04:00
Michelle Ark
7cab753863 implement checked_agg_time_dimension_for_simple_metric on SemanticModel (#11995) 2025-09-10 09:57:22 -04:00
Emily Rockman
19393a8080 build git from source (#11991) 2025-09-08 14:00:28 -04:00
Taylor Brudos
1e61e3bfc6 [SECENG-10952] Add OpenSSF badge to README (#11994) 2025-09-08 10:41:11 -05:00
Michelle Ark
a9dae5cac1 update to latest jsonschemas (#11987) 2025-09-04 10:04:55 -04:00
Aksel Stokseth
15010f1e6b Support quoting.snowflake_ignore_case (#11942) 2025-09-03 17:33:22 -04:00
Michelle Ark
2564b3d1f9 Restore record functional tests (#11979) 2025-09-03 10:28:30 -04:00
Pablo Martín Calvo
34bb3f94dd fix: Properly quote event_time column names in sample mode filters (#11859)
* fix: Properly quote event_time column names in sample mode filters

When using the --sample flag with models that have camel case or
spaced column names as their event_time field, the generated SQL
would fail because column names weren't properly quoted.

This fix introduces a robust quoting system that:
- Checks column-level quote configuration first (highest precedence)
- Falls back to source-level quoting settings
- Uses the existing Column class for proper quote handling
- Centralizes the logic in a dedicated method to eliminate duplication
- Ensures sample mode works with PostgreSQL and other databases that
  require quoted identifiers for column names with spaces or special characters

Fixes issue where --sample flag fails with camel case or spaced
event_time column names.

* returning the same path that was used earlier for the event_time filed

* adding changelog

* verify cla agreement

* test: Add comprehensive tests for _resolve_event_time_field_name method

This commit adds extensive test coverage for the _resolve_event_time_field_name
method to address the PR review feedback requesting tests.

Changes:
- Add 28 parametrized test cases covering all quoting scenarios
- Test column-level vs source-level quote precedence
- Test edge cases: missing columns, empty columns dict, no quoting attributes
- Test camel case, snake case, and spaced column names
- Test both quoted and unquoted column name scenarios
- Improve method robustness with better error handling

The tests ensure the method correctly handles:
- Column-level quote settings taking precedence over source-level
- Proper fallback to source-level quoting when column-level is not set
- Edge cases where columns don't exist or have no quoting attributes
- Various column name formats (simple, camelCase, snake_case, spaced)

Fixes: Addresses PR review feedback requesting comprehensive test coverage

* style: Apply code formatting from pre-commit hooks

- Apply black formatting to providers.py and test_providers.py
- Fix trailing whitespace issues
- Add proper type guards for event_time attribute access
- Ensure all tests continue to pass after formatting changes
2025-08-27 15:34:19 -05:00
Quigley Malcolm
593a151220 Unhide sample mode CLI flag (#11960) 2025-08-27 14:10:32 -05:00
Quigley Malcolm
1a251ee081 [Tidy First] Don't allow for the direct import of versioned artifact resources in dbt-core's modules (#11952)
* Create custom hook for checking for improper imports of artifact resources

* Fix return value of `has_bad_artifact_resource_imports.py::main`

* Regex match versioned resource imports and give import in pre-commit error

* (Tidy First): Fix imports of artifact resources to not import direct versioned resources

* Add changie doc
2025-08-25 09:48:49 -05:00
Michelle Ark
9b7cf25c33 Add path MissingArgumentsPropertyInGenericTestDeprecation message (#11940) 2025-08-21 13:17:53 +02:00
Tyler Rouze
26333f7f21 feat: support nested key traversal in dbt list output (#11920)
* feat: support nested key traversal in dbt list output

* feat: support nested key traversal in dbt list output

* feat: support nested key traversal in dbt list output

* feat: support nested key traversal in dbt list output

* feat: support nested key traversal in dbt list output

* feat: support nested key traversal in dbt list output

* feat: support nested key traversal in dbt list output
2025-08-20 07:30:03 -05:00
Quigley Malcolm
9bc7333e19 Fix Dockerfile used for dockerized release image (#11937)
* Update version for libpq-dev in Dockerfile

The previous version we had for libpq-dev stopped being listed. As such
we need to change to installing a version that is still listed. Hence
we now install version 13.22-0+deb11u1

* Fix `FromAsCasing` warning in Docker file

Our docker file was raising the warning
`FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 27)`
because we were using `FROM` and `as`, and docker wants those words
to have the same casing. As such, the `as` instances have become `AS`.

* Add changie doc
2025-08-19 12:49:55 -05:00
Quigley Malcolm
ee8884731b Bump dbt adapters minimum to 1.16.5 (#11933)
* Bump `dbt-adapters` minimum to `1.16.5`

* Add changie doc
2025-08-19 09:25:30 -05:00
Colin Rogers
f1106ad61e upgrade protobuf to 6.0 (#11916)
* upgrade protobuf to 6.0

* upgrade protobuf to 6.0

* signing commits

* update dev-requirements.txt

* add changelog
2025-08-13 17:28:33 -05:00
Michelle Ark
ada5d3b82a flip require_generic_test_arguments_property behavior change flag (#11911)
* flip require_generic_test_arguments_property

* fix deprecations functional tests

* fix test_modified_state

* fix retry project

* changelog entry

* improve changelog
2025-08-11 15:09:42 -04:00
Adolfo Rodriguez
64b58ec628 Default parse-time nodes' raw_code property to "" (empty string) to comply with strict str type (#11884)
* Default parse-time nodes' raw_code property to "" (empty string) to comply with strict str type

* Changelog entry

---------

Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com>
2025-08-08 12:49:03 -04:00
Adolfo Rodriguez
1e713db2fa Avoid redundant node patch removal during partial parsing (#11887)
* Avoid redundant node patch removal during partial parsing

* Changelog entry

---------

Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com>
2025-08-08 12:48:51 -04:00
Emily Rockman
6b7b1ad74b dont use default token (#11895)
* dont use default token

swap token

* use base sha, fix status
2025-08-08 11:37:12 -04:00
Colin Rogers
3e31117ba1 call adapter.add_catalog_integration during parse_manifest (#11889)
* call adapter.add_catalog_integration during parse_manifest

* formatting

* updat retry.py

* add changie

* remove unneeded call to adapter.add_catalog_integrations
2025-08-06 10:12:45 -07:00
Michelle Ark
451b745aea Remove duplicative PropertyMovedToConfigDeprecation source freshness config move (#11880) 2025-08-05 11:10:41 -04:00
Michelle Ark
d27232a946 Raise PropertyMovedToConfigDeprecation instead of CustomTopLevelKeyDeprecation when additional attribute is a valid config (#11879) 2025-08-05 09:57:07 -04:00
Michelle Ark
b1705fb6f3 add argument values to ArgumentsPropertyInGenericTestDeprecation message (#11872) 2025-07-29 11:05:30 -04:00
Michelle Ark
0e50851fa6 deprecate modules.itertools usage (#11734) 2025-07-29 10:12:57 -04:00
Taylor Brudos
b75d5e701e Update contributing guide for signed commits requirement (#11857) 2025-07-24 13:41:00 -06:00
Michelle Ark
f8b1a6dcd1 safer handling of pre-existing config.tags on sources/tables (#11854) 2025-07-24 11:05:32 -04:00
Michelle Ark
9010537499 accept generic test args under 'args' (#11840) 2025-07-21 18:08:01 -04:00
Michelle Ark
56d3c9318b config.meta and config.tags propagation to top-level on sources and tables (#11839) 2025-07-21 14:22:01 -04:00
Michelle Ark
1fcce443ba raise MissingPlusPrefixDeprecation when missing plus-prefix, otherwise skip type-related issues in dbt_project.yml (#11825) 2025-07-15 12:41:02 -04:00
Quigley Malcolm
de03d6f44f Gate jsonschema validations by adapter support (#11828) 2025-07-15 09:55:00 -04:00
Quigley Malcolm
5db78ca6dd Some additional SL JSONSchema improvements/fixes (#11821)
* Pull in latest jsonschemas, primarily for improved SL definitions

* Improve metric definitions in happy path test fixture to be more expansive

* Add changie doc

* Fix test_list to know about new happy path fixture metrics
2025-07-14 16:12:29 -07:00
Michelle Ark
ada9e63c13 skip type checking deprecation_date on the basis of jsonschemas (#11823)
* skip type checking deprecation_date on the basis of jsonschemas

* update test
2025-07-14 16:12:15 -07:00
Colin Rogers
69d19eb5fc add merge_group event (#11824) 2025-07-14 15:09:47 -07:00
Michelle Ark
55bb3c304a update semantic layer jsonschemas (#11817) 2025-07-11 11:58:53 -04:00
Quigley Malcolm
693564de40 Make GenericJSONSchemaValidationDeprecation a "preview" deprecation (#11815)
* Make `GenericJSONSchemaValidationDeprecation` a "preview" deprecation

Making the deprecation a preview will:
1. Remove it from the summary
2. Emit it as a Note event instead of the actual deprecation event
  a. This does mean it'll still be in the logs (but as info level instead of warning)

* Update message of `GenericJSONSchemaValidationDeprecation` to state it's only possibly a deprecation

* Add changie doc

* fix GenericJSONSchemaValidationDeprecation related tests

* Add more details to `GenericJSONSchemaValidationDeprecation` message

* Fix tests related to GenericJSONSchemaValidationDeprecation
2025-07-11 09:27:07 -05:00
Quigley Malcolm
04a3df7324 Create and protect dbt engine environment variable namespace via prefix DBT_ENGINE (#11795)
* Bump dbt-protos dep min to get new env var namespace deprecation event

* Define new EnvironmentVariableNamespaceDeprecation event in core

* Add new deprecation class for EnvironmentVariableNamespaceDeprecation

* Bump dbt-common dep min to get new env var prefix definiton

* Add new `env_vars` module with function for validating dbt engine env vars

* Add changie doc

* Begin keeping a list of env vars associated with cli params

* Begin validating that only allowed engine environment variables exist

* Add some extra engine env vars found throughout the project to the known list

* Begin cross propagating dbt engine env vars with old names

If the old env var name is present, and the new one is not, set the
new one to have the value of the old one. Else, if the new one is set,
set/override old name to have the value of the new one.

There are some drawbacks to this approach. Namely, click only validates
environment variable types for the environment variables it is aware of.
Thus by using the new environment variable naming scheme for existing
environment variables (not newly added ones), we actually lose type guarantees.
This might require a rework.

* Add test for validate_engine_env_vars method

* Add unit test ensuring new engine env vars get added correctly

* Add integration test for environment variable namespace deprecation

* Move logic for propagating engine env vars to pre-flight env var setting

Previously we were attempting to set it on the flags context, but that is
_not_ the environment variable context. Instead what appears to happen is
that the environment variable context is loaded, click takes this into
consideration, and then the flags are set from click's understanding of
passed cli params + env vars.

* Get the env vars from the invocation context in `validate_engine_env_vars`

* Move `_create_engine_env_var` to `__init__` of `EngineEnvVar` data class

* Fix error type in __init__ of EngineEnvVar dataclass

* Correct grammar of EnvironmentVariableNamespaceDeprecation message
2025-07-10 13:33:37 -05:00
Courtney Holcomb
31d974f5eb Upgrade to DSI 0.9.0 for more robust saved query support (#11808)
* Upgrade to DSI 0.9.0

Note this new version has some breaking changes (changes to class names). This won't impact semantic manifest parsing. The changes in the new version will be used to support order_by and limit on saved queries.

* Changelog

* Update test saved query
2025-07-09 16:32:16 -05:00
Quigley Malcolm
c1f64e216f Move source overrides deprecation to jsonschema (#11801)
* Improve deprecation message for SourceOverrideDeprecation

* Move SourceOverrideDeprecation to jsonschema validation code path

* Update test for checking SourceOverrideDeprecation
2025-07-07 15:37:26 -05:00
Quigley Malcolm
8fa6e037d0 Update json schemas (#11800)
* Update dbt_project.yml jsonschema spec to handle nested config defs

Additionally adds some more cloud configs

* Update schema files jsonschema definition to not have `overrides` for sources

Additionally add some cloud definitions

* Add changie doc

* Update happy_path fixture to include nested config specifations in dbt_project.yml
2025-07-07 15:11:55 -05:00
Michelle Ark
e1c98e8123 debug log when node.schema is set to None (#11797) 2025-07-07 11:19:36 -04:00
Michelle Ark
9955ea760a update ModelParamUsageDeprecation message (#11793) 2025-07-02 20:18:00 -04:00
Quigley Malcolm
fdd0546700 Bump dbt-common minimum to 1.25.1 (#11790) 2025-07-02 15:02:42 -05:00
Taylor Brudos
45f21a7cda Update contributing guide for comment resolution requirement (#11787) 2025-07-02 09:53:00 -05:00
Peter Webb
f250b503d5 Source Override Deprecation (#11636)
* First draft of SourceOverrideDeprecation warning.

* Refinements and test

* Back out unneeded change`

* Fix unit test.

* add changie doc

* Bump minimum dbt-protos to 1.0.335

---------

Co-authored-by: Quigley Malcolm <quigley.malcolm@dbtlabs.com>
2025-07-01 17:08:41 -05:00
GarmashAlex
aa42ff8986 Fix broken adapters documentation link in ARCHITECTURE.md (#11777) 2025-06-30 16:33:11 -05:00
Quigley Malcolm
3c2fdfe735 Stop dynamically setting ubuntu version for main.yml and structured logging actions (#11783)
* Stop dynamically setting ubuntu version for `main.yml` and structured logging actions

These actions are important to run on community PRs. However these workflows
use `on: pull_request` instead of `on: pull_request_target`. That is intentional,
as `on: pull_request` doesn't give access to variables or secrets, and we need
to keep it that way for security purposes. The these actions were trying to access
a variable, which they don't have access to. This was a nicety for us, because
sometimes we'd delay moving to github's `ubuntu-latest`. However, the security
concern is more important, and thus we lose the variable for these workflows.

* Change `runs_on` of `artifact-reviews.yml`

* Stop dynamically setting mac and windows versions in main.yml
2025-06-30 14:34:46 -05:00
Colin Rogers
303c63ccc8 use rename instead of select api for normalizing agate table column casing (#11778)
* Revert "bump dbt-common (#11640)"

This reverts commit c6b7655b65.

* update freshness model config handling

* lower case all columns when processing unit test results

* add changelog

* swap .columns for .column_names

* use rename instead of select api for normalizing agate table column casing
2025-06-26 10:56:48 -07:00
Michelle Ark
17ec11ad30 bring in latest properties yaml and dbt project yaml jsonschemas (#11765) 2025-06-26 12:09:35 -04:00
Quigley Malcolm
65598f3dc6 Validate model sql file provided config (#11768)
* Add helper to validate model configs via jsonschema

* Store jsonschemas as module vars instead of reloading everytime

Every time we were calling a jsonschema validation, we were _reloading_
from file the underlying jsonschema. As a one off, this isn't too costly.
However, for large projects it starts to add up. By only loading each json
schema once we can save a lot of time. Calling one of the functions which
loads a jsonschema 10,000 times was costing ~3.7215 seconds. By switching
to this module var paradigm we reduced that to ~0.3743 seconds.

* Begin validating configs from model `.sql` files

It was a bit of a hunt to figure out where to do this. We couldn't do
the validating in `calculate_node_config` because that function is called
4 times per node (which is an issue of itself, but out of scope for this
work). We also couldn't do the validation where `_config_call_dict` is set
because it turns out there are multiple avenues for setting
`_config_call_dict`, which is a fun rabbit hole.

* Ensure .sql configs are validated only once

It turns out that that `update_parsed_node_config` can potentially be
called twice per model. It'll be called from either `ModelParser.render_update`
or `ModelParser.populate`, and it can additionally be called from
`PatchParser.patch_node_config` if there is a .yml definition for the
model. We only want to validate the config once, and we aren't guaranteed
to have a `PatchParser` if there is no patch for the model. Thus, we've
updated `ModelParser.populate` and `ModelParser.render_update` to
request the config validation (which by default doesn't run unless requested).

* Split out the model config specific validation from general jsonschema validation

We're validating model configs from sql files via a subschema of the main
resources jsonschema, different case logic for detecting the different
types of deprecation warnings present. Thus `validate_model_config` cannot
call `jsonschema_validate`. We could have had both logic paths exist in
`jsonschema_validate`, but it would have added another later of if/elses
and bloated the function substantially.

* Handle additional properties of sub config objects

* Give better key path information for .sql config jsonschema issues

* Add tests for validate_model_config

* Add changie doc

* Fix jsonschemas unittests to avoid catching irrelevant issues
2025-06-25 16:50:43 -05:00
Colin Rogers
240a6056fb Handle upper cased unit test results (#11769)
* Revert "bump dbt-common (#11640)"

This reverts commit c6b7655b65.

* update freshness model config handling

* lower case all columns when processing unit test results

* add changelog

* swap .columns for .column_names
2025-06-25 08:47:51 -07:00
Michelle Ark
7cd8935b13 skip health check on flaky test (#11767) 2025-06-24 15:51:59 -04:00
Michelle Ark
cd5d4be7ab bump dbt-common to 1.25.0 to access WarnErrorOptionsV2 (#11762) 2025-06-24 09:58:34 -04:00
Michelle Ark
5a23894584 add loaded_at_query and loaded_at_field to SourceConfig (#11759) 2025-06-23 16:58:30 -04:00
Quigley Malcolm
70ad9319d2 Bring back pydantic 2 support (#11756)
* Loosen pydantic maximum to <3 (allowing for pydantic 2)

* Add an internal pydantic shim for getting pydantic BaseSettings reguardless of pydantic v1 vs v2

* Add changie doc
2025-06-20 13:34:10 -05:00
Michelle Ark
8873581c5a bring in latest properties yaml and dbt project yaml jsonschemas (#11745) 2025-06-17 16:06:55 -04:00
Quigley Malcolm
1ffd059442 Bump minimum jsonschema version to 4.19.1 (#11741)
In 1.10.0 we began utilizing `jsonschema._keywords`. However, the submodule
`_keywords` wasn't added until jsonschema `4.19.1` which came out September
20th, 2023. Our jsonschema requirement was being set transitively via
dbt-common as `>=4.0,<5`. This mean people doing a _non_ fresh install of
dbt-core `1.10.0` could end up with a broken system if their existing
jsonschema dependency was anywhere in the range `>=4.0,<4.19.1`. By bumping the
minimum jsonschema version we make it such that anyone install dbt-core 1.10.1 will
automatically get there jsonschema updated (assuming they don't have an exclusionary
pin)
2025-06-16 15:00:47 -05:00
Quigley Malcolm
091ba5fe0b drop model freshness as top level model property (in favor of config freshness) (#11731)
* Begin testing that model freshness can't be set as a top level model property

* Remove ability to specify freshness as top level property of models

* Add come comments to calculate_node_config for better readability

* Drop `freshness` as a top level property of models, and let `patch_node_config` handle merging config freshness

Model freshness hasn't been released in a minor release yet, not been documented. Thus
it is safe to remove the top level property of freshness on models. Freshness will instead
be set, and gotten, from the model config. Additionally our way of calculating the
config model freshness only got the top level `+freshness` from dbt_project.yml (ignoring
any path specific definitions). By instead using the built in `calculate_node_config` (which
is eventually called by `patch_node_config`), we get all path specific freshness config handling
and it also handles the precedence of `dbt_project.yml` specification, schema file specification,
and sql file specification.

* add changie doc
2025-06-16 09:18:42 -05:00
Michelle Ark
6bbcce1f1c deprecation warnings for --models, --model, -m (#11729) 2025-06-16 10:02:37 -04:00
Michelle Ark
0fff5760ff move TestConfig.post_init logic to finalize_and_validate to respect hierarchical configs (#11730) 2025-06-12 17:01:45 -04:00
Colin Rogers
f4988c62e3 handle inline model freshness config (#11728)
* Revert "bump dbt-common (#11640)"

This reverts commit c6b7655b65.

* update freshness model config handling

* make sure ModelConfig.__pre_deserialize__ returns all nested items as dicts

* add changie
2025-06-11 08:56:30 -07:00
Quigley Malcolm
2e6d4f493d Ensure source node .freshness is equal to node's .config.freshness (#11719)
* Ensure source node `.freshness` is equal to node's `.config.freshness`

* Default source config freshness to empty spec if no freshenss spec is given

* Update contract tests for source nodes
2025-06-10 09:59:22 -05:00
Quigley Malcolm
3e593600e0 Ensure build_after is present in model freshness in parsing, otherwise skip freshness definition (#11711)
* Ensure `build_after` is present in model freshness in parsing, otherwise skip freshness definition

* add freshness model config test

* add changelog

---------

Co-authored-by: Colin <colin.rogers@dbtlabs.com>
2025-06-05 15:02:17 -05:00
Quigley Malcolm
87584c73b0 Fix null handling of source freshness and dbt_project vs schema spec precedence (#11698)
* Handle explicit setting of null for source freshness config

* Abstract out the creation of the target config

This is useful because it makes that portion of code more re-usable/portable
and makes the work we are about to do easier.

* Fix bug in `merge_source_freshness` where empty freshness was preferenced over `None`

The issue was that during merging of freshnesses, an "empty freshness", one
where all values are `None`, was being preferenced over `None`. This was
problematic because an "empty freshness" indicates that a freshness was not
specified at that level. While `None` means that the freshness was _explicitly_
set to `None`. As such we should preference the thing that was specifically set.

* Properly get dbt_project defined freshness and don't merge with schema defined freshness

Previously we were only getting the "top level" freshness from the
dbt_project.yaml. This was ignoring freshness settings for the direct,
source, and table set in the dbt_project.yaml. Additionally, we were
merging the dbt_project.yaml freshness into the schema freshness. Long
term this merging would be desireably, however before we do that we need
to ensure freshness at diffrent levels within the dbt_project.yml get
properly merged (currently the different levels clobber each other). Fixing
that is a larger issue though. So for the time being, the schema defintion
of freshness will clobber any dbt_project.yml definition of freshness.

* Add changie doc

* Fix whitespace to make code quality happy

* Set the parsed source freshness to an empty FreshnessThreshold if None

This maintains backwards compatibility
2025-05-30 10:31:40 -05:00
Colin Rogers
709bd11c71 Add file_format as CatalogWriteIntegrationConfig (#11695)
* Revert "bump dbt-common (#11640)"

This reverts commit c6b7655b65.

* add file_format as a top level config in CatalogWriteIntegrationConfig

* add changelog
2025-05-29 09:10:04 -07:00
Kshitij Aranke
f7f53732b2 Simplify logic (#11678) 2025-05-29 17:00:10 +01:00
Grace Goheen
32b8097a1f Fix weird formatting on code snippet for may 2025 roadmap post (#11692)
* May 2025 - dbt Core roadmap post

* fix formatting on roadmap post

* fix link
2025-05-28 14:33:04 -06:00
Courtney Holcomb
36f1143c31 Don't warn for metricflow_time_spine with non-day grain (#11689) 2025-05-28 15:31:09 -04:00
FishtownBuildBot
cf7a465338 Cleanup main after cutting new 1.10.latest branch (#11693)
* Clean up changelog on main

* Bumping version to 1.11.0a1

* Code quality cleanup

* add old changelogs

---------

Co-authored-by: Emily Rockman <emily.rockman@dbtlabs.com>
2025-05-28 14:11:10 -05:00
4558 changed files with 42222 additions and 79029 deletions

View File

@@ -1,37 +0,0 @@
[bumpversion]
current_version = 1.10.0b3
parse = (?P<major>[\d]+) # major version number
\.(?P<minor>[\d]+) # minor version number
\.(?P<patch>[\d]+) # patch version number
(?P<prerelease> # optional pre-release - ex: a1, b2, rc25
(?P<prekind>a|b|rc) # pre-release type
(?P<num>[\d]+) # pre-release version number
)?
( # optional nightly release indicator
\.(?P<nightly>dev[0-9]+) # ex: .dev02142023
)? # expected matches: `1.15.0`, `1.5.0a11`, `1.5.0a1.dev123`, `1.5.0.dev123457`, expected failures: `1`, `1.5`, `1.5.2-a1`, `text1.5.0`
serialize =
{major}.{minor}.{patch}{prekind}{num}.{nightly}
{major}.{minor}.{patch}.{nightly}
{major}.{minor}.{patch}{prekind}{num}
{major}.{minor}.{patch}
commit = False
tag = False
[bumpversion:part:prekind]
first_value = a
optional_value = final
values =
a
b
rc
final
[bumpversion:part:num]
first_value = 1
[bumpversion:part:nightly]
[bumpversion:file:core/setup.py]
[bumpversion:file:core/dbt/version.py]

View File

@@ -3,6 +3,9 @@
For information on prior major and minor releases, see their changelogs:
* [1.10](https://github.com/dbt-labs/dbt-core/blob/1.10.latest/CHANGELOG.md)
* [1.9](https://github.com/dbt-labs/dbt-core/blob/1.9.latest/CHANGELOG.md)
* [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)

View File

@@ -1,72 +0,0 @@
## dbt-core 1.10.0-b1 - March 12, 2025
### Breaking Changes
- Add invocations_started_at field to artifact metadata ([#11272](https://github.com/dbt-labs/dbt-core/issues/11272))
### Features
- Add new hard_deletes="new_record" mode for snapshots. ([#10235](https://github.com/dbt-labs/dbt-core/issues/10235))
- Add `batch` context object to model jinja context ([#11025](https://github.com/dbt-labs/dbt-core/issues/11025))
- Ensure pre/post hooks only run on first/last batch respectively for microbatch model batches ([#11094](https://github.com/dbt-labs/dbt-core/issues/11094), [#11104](https://github.com/dbt-labs/dbt-core/issues/11104))
- Support "tags" in Saved Queries ([#11155](https://github.com/dbt-labs/dbt-core/issues/11155))
- Calculate source freshness via a SQL query ([#8797](https://github.com/dbt-labs/dbt-core/issues/8797))
- Add freshness definition on model for adaptive job ([#11123](https://github.com/dbt-labs/dbt-core/issues/11123))
- Meta config for dimensions measures and entities ([#None](https://github.com/dbt-labs/dbt-core/issues/None))
- Add doc_blocks to manifest for nodes and columns ([#11000](https://github.com/dbt-labs/dbt-core/issues/11000), [#11001](https://github.com/dbt-labs/dbt-core/issues/11001))
- Initial implementation of sample mode ([#11227](https://github.com/dbt-labs/dbt-core/issues/11227), [#11230](https://github.com/dbt-labs/dbt-core/issues/11230), [#11231](https://github.com/dbt-labs/dbt-core/issues/11231), [#11248](https://github.com/dbt-labs/dbt-core/issues/11248), [#11252](https://github.com/dbt-labs/dbt-core/issues/11252), [#11254](https://github.com/dbt-labs/dbt-core/issues/11254), [#11258](https://github.com/dbt-labs/dbt-core/issues/11258))
- Combine `--sample` and `--sample-window` CLI params ([#11299](https://github.com/dbt-labs/dbt-core/issues/11299))
- Allow for sampling of ref'd seeds ([#11300](https://github.com/dbt-labs/dbt-core/issues/11300))
- Enable sample mode for 'build' command ([#11298](https://github.com/dbt-labs/dbt-core/issues/11298))
- Allow sampling nodes snapshots depend on and of snapshots as a dependency ([#11301](https://github.com/dbt-labs/dbt-core/issues/11301))
### Fixes
- dbt retry does not respect --threads ([#10584](https://github.com/dbt-labs/dbt-core/issues/10584))
- update adapter version messages ([#10230](https://github.com/dbt-labs/dbt-core/issues/10230))
- Catch DbtRuntimeError for hooks ([#11012](https://github.com/dbt-labs/dbt-core/issues/11012))
- Access DBUG flag more consistently with the rest of the codebase in ManifestLoader ([#11068](https://github.com/dbt-labs/dbt-core/issues/11068))
- Improve the performance characteristics of add_test_edges() ([#10950](https://github.com/dbt-labs/dbt-core/issues/10950))
- Implement partial parsing for singular data test configs in yaml files ([#10801](https://github.com/dbt-labs/dbt-core/issues/10801))
- Fix debug log messages for microbatch batch execution information ([#11111](https://github.com/dbt-labs/dbt-core/issues/11111))
- Fix running of extra "last" batch when there is only one batch ([#11112](https://github.com/dbt-labs/dbt-core/issues/11112))
- Fix interpretation of `PartialSuccess` to result in non-zero exit code ([#11114](https://github.com/dbt-labs/dbt-core/issues/11114))
- Warn about invalid usages of `concurrent_batches` config ([#11122](https://github.com/dbt-labs/dbt-core/issues/11122))
- Error writing generic test at run time ([#11110](https://github.com/dbt-labs/dbt-core/issues/11110))
- Run check_modified_contract for state:modified ([#11034](https://github.com/dbt-labs/dbt-core/issues/11034))
- Fix unrendered_config for tests from dbt_project.yml ([#11146](https://github.com/dbt-labs/dbt-core/issues/11146))
- Make partial parsing reparse referencing nodes of newly versioned models. ([#8872](https://github.com/dbt-labs/dbt-core/issues/8872))
- Ensure warning about microbatch lacking filter inputs is always fired ([#11159](https://github.com/dbt-labs/dbt-core/issues/11159))
- Fix microbatch dbt list --output json ([#10556](https://github.com/dbt-labs/dbt-core/issues/10556), [#11098](https://github.com/dbt-labs/dbt-core/issues/11098))
- Fix for custom fields in generic test config for not_null and unique tests ([#11208](https://github.com/dbt-labs/dbt-core/issues/11208))
- Loosen validation on freshness to accomodate previously wrong but harmless config. ([#11123](https://github.com/dbt-labs/dbt-core/issues/11123))
- Handle `--limit -1` properly in `ShowTaskDirect` so that it propagates None instead of a negative int ([#None](https://github.com/dbt-labs/dbt-core/issues/None))
- _get_doc_blocks is crashing parsing if .format is called ([#11310](https://github.com/dbt-labs/dbt-core/issues/11310))
- Fix microbatch execution to not block main thread nor hang ([#11243](https://github.com/dbt-labs/dbt-core/issues/11243), [#11306](https://github.com/dbt-labs/dbt-core/issues/11306))
- Fixes parsing errors when using the new YAML format for snapshots ([#11164](https://github.com/dbt-labs/dbt-core/issues/11164))
### Under the Hood
- Create a no-op exposure runner ([#](https://github.com/dbt-labs/dbt-core/issues/), [#](https://github.com/dbt-labs/dbt-core/issues/))
- Improve selection peformance by optimizing the select_children() and select_parents() functions. ([#11099](https://github.com/dbt-labs/dbt-core/issues/11099))
- Change exception type from DbtInternalException to UndefinedMacroError when macro not found in 'run operation' command ([#11192](https://github.com/dbt-labs/dbt-core/issues/11192))
- Create LogNodeResult event ([#](https://github.com/dbt-labs/dbt-core/issues/), [#](https://github.com/dbt-labs/dbt-core/issues/))
- Fix error counts for exposures ([#](https://github.com/dbt-labs/dbt-core/issues/), [#](https://github.com/dbt-labs/dbt-core/issues/))
- Misc fixes for group info in logging ([#11218](https://github.com/dbt-labs/dbt-core/issues/11218))
- Add secondary profiles to profile.py ([#XPLAT-241](https://github.com/dbt-labs/dbt-core/issues/XPLAT-241))
### Dependencies
- Upgrading dbt-semantic-interfaces to 0.8.3 for custom grain support in offset windows ([#None](https://github.com/dbt-labs/dbt-core/issues/None))
- Bump codecov/codecov-action from 4 to 5 ([#11009](https://github.com/dbt-labs/dbt-core/issues/11009))
### Contributors
- [@DevonFulcher](https://github.com/DevonFulcher) ([#None](https://github.com/dbt-labs/dbt-core/issues/None))
- [@Threynaud](https://github.com/Threynaud) ([#11068](https://github.com/dbt-labs/dbt-core/issues/11068))
- [@WilliamDee](https://github.com/WilliamDee) ([#None](https://github.com/dbt-labs/dbt-core/issues/None), [#None](https://github.com/dbt-labs/dbt-core/issues/None))
- [@amardatar](https://github.com/amardatar) ([#11164](https://github.com/dbt-labs/dbt-core/issues/11164))
- [@d-cole](https://github.com/d-cole) ([#8872](https://github.com/dbt-labs/dbt-core/issues/8872))
- [@dave-connors-3](https://github.com/dave-connors-3) ([#10230](https://github.com/dbt-labs/dbt-core/issues/10230))
- [@donjin-master](https://github.com/donjin-master) ([#10584](https://github.com/dbt-labs/dbt-core/issues/10584))
- [@internetcoffeephone](https://github.com/internetcoffeephone) ([#10556](https://github.com/dbt-labs/dbt-core/issues/10556), [#11098](https://github.com/dbt-labs/dbt-core/issues/11098))
- [@theyostalservice](https://github.com/theyostalservice) ([#11155](https://github.com/dbt-labs/dbt-core/issues/11155))

View File

@@ -1,20 +0,0 @@
## dbt-core 1.10.0-b2 - April 02, 2025
### Features
- Add opt-in validation of macro argument names and types ([#11274](https://github.com/dbt-labs/dbt-core/issues/11274))
- Add support for Python 3.13! ([#11401](https://github.com/dbt-labs/dbt-core/issues/11401))
- Support artifact upload to dbt Cloud ([#11418](https://github.com/dbt-labs/dbt-core/issues/11418))
### Fixes
- Update ConfigFolderDirectory dir to use str. ([#9768](https://github.com/dbt-labs/dbt-core/issues/9768), [#11305](https://github.com/dbt-labs/dbt-core/issues/11305))
- Fix microbatch models couting as success when only having one batch (and that batch failing) ([#11390](https://github.com/dbt-labs/dbt-core/issues/11390))
### Under the Hood
- Add node_checksum to node_info on structured logs ([#11372](https://github.com/dbt-labs/dbt-core/issues/11372))
- Parse catalogs.yml ([#XPLAT-242](https://github.com/dbt-labs/dbt-core/issues/XPLAT-242))
### Contributors
- [@thorn14](https://github.com/thorn14) ([#9768](https://github.com/dbt-labs/dbt-core/issues/9768), [#11305](https://github.com/dbt-labs/dbt-core/issues/11305))

View File

@@ -1,40 +0,0 @@
## dbt-core 1.10.0-b3 - May 14, 2025
### Breaking Changes
- Flip behavior flag `source-freshness-run-project-hooks` to true ([#11609](https://github.com/dbt-labs/dbt-core/issues/11609))
### Features
- Show summaries for deprecations and add ability to toggle seeing all deprecation violation instances ([#11429](https://github.com/dbt-labs/dbt-core/issues/11429))
- Add behavior flag for handling all warnings via warn_error logic ([#11116](https://github.com/dbt-labs/dbt-core/issues/11116))
- Basic jsonschema validation of `dbt_project.yml` ([#11503](https://github.com/dbt-labs/dbt-core/issues/11503))
- Begin checking YAML files for duplicate keys ([#11296](https://github.com/dbt-labs/dbt-core/issues/11296))
- Add deprecation warnings for unexpected blocks in jinja. ([#11393](https://github.com/dbt-labs/dbt-core/issues/11393))
- Begin validating the jsonschema of resource YAML files ([#11504](https://github.com/dbt-labs/dbt-core/issues/11504))
- Add deprecation warning for custom top level keys in YAML files. ([#11338](https://github.com/dbt-labs/dbt-core/issues/11338))
- Begin emitting deprecationw warnings for custom keys in config blocks ([#11337](https://github.com/dbt-labs/dbt-core/issues/11337))
- Begin emitting deprecation events for custom properties found in objects ([#11336](https://github.com/dbt-labs/dbt-core/issues/11336))
- Create a singular deprecations summary event ([#11536](https://github.com/dbt-labs/dbt-core/issues/11536))
- Deprecate --output/-o usage in source freshness ([#11559](https://github.com/dbt-labs/dbt-core/issues/11559))
### Fixes
- datetime.datetime.utcnow() is deprecated as of Python 3.12 ([#9791](https://github.com/dbt-labs/dbt-core/issues/9791))
- Allow copying asset when dbt docs command is run outside the dbt project ([#9308](https://github.com/dbt-labs/dbt-core/issues/9308))
- Add pre-commit installation to Docker container for testing compatibility ([#11498](https://github.com/dbt-labs/dbt-core/issues/11498))
- Fix duplicate macro error message with multiple macros and multiple patches ([#4233](https://github.com/dbt-labs/dbt-core/issues/4233))
- Fix seed path for partial parsing if project directory name changes ([#11550](https://github.com/dbt-labs/dbt-core/issues/11550))
- Add `pre-commit` installation to Docker container for testing compatibility ([#11498](https://github.com/dbt-labs/dbt-core/issues/11498))
- Ensure the right key is associatd with the `CustomKeyInConfigDeprecation` deprecation ([#11576](https://github.com/dbt-labs/dbt-core/issues/11576))
- Add tags and meta config to exposures ([#11428](https://github.com/dbt-labs/dbt-core/issues/11428))
### Under the Hood
- Add package 'name' to lock file ([#11487](https://github.com/dbt-labs/dbt-core/issues/11487))
- Allow for deprecation previews ([#11597](https://github.com/dbt-labs/dbt-core/issues/11597))
### Contributors
- [@cedric-orange](https://github.com/cedric-orange) ([#9308](https://github.com/dbt-labs/dbt-core/issues/9308))
- [@kato1208](https://github.com/kato1208) ([#11498](https://github.com/dbt-labs/dbt-core/issues/11498), [#11498](https://github.com/dbt-labs/dbt-core/issues/11498))
- [@slothkong](https://github.com/slothkong) ([#9791](https://github.com/dbt-labs/dbt-core/issues/9791))

View File

@@ -1,6 +0,0 @@
kind: Breaking Changes
body: Add invocations_started_at field to artifact metadata
time: 2025-02-10T12:33:06.722803-05:00
custom:
Author: gshank
Issue: "11272"

View File

@@ -1,6 +0,0 @@
kind: Breaking Changes
body: Flip behavior flag `source-freshness-run-project-hooks` to true
time: 2025-05-12T15:04:36.70678-05:00
custom:
Author: QMalcolm
Issue: "11609"

View File

@@ -1,6 +0,0 @@
kind: Dependencies
body: Upgrading dbt-semantic-interfaces to 0.8.3 for custom grain support in offset windows
time: 2024-11-12T16:38:15.351519-05:00
custom:
Author: WilliamDee
Issue: None

View File

@@ -1,6 +0,0 @@
kind: "Dependencies"
body: "Bump codecov/codecov-action from 4 to 5"
time: 2024-11-18T00:11:13.00000Z
custom:
Author: dependabot[bot]
Issue: 11009

View File

@@ -1,6 +0,0 @@
kind: Features
body: Add new hard_deletes="new_record" mode for snapshots.
time: 2024-11-04T12:00:53.95191-05:00
custom:
Author: peterallenwebb
Issue: "10235"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Add `batch` context object to model jinja context
time: 2024-11-21T12:56:30.715473-06:00
custom:
Author: QMalcolm
Issue: "11025"

View File

@@ -1,7 +0,0 @@
kind: Features
body: Ensure pre/post hooks only run on first/last batch respectively for microbatch
model batches
time: 2024-12-06T19:53:08.928793-06:00
custom:
Author: MichelleArk QMalcolm
Issue: 11094 11104

View File

@@ -1,6 +0,0 @@
kind: Features
body: Support "tags" in Saved Queries
time: 2024-12-16T09:54:35.327675-08:00
custom:
Author: theyostalservice
Issue: "11155"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Calculate source freshness via a SQL query
time: 2024-12-17T17:16:31.841076-08:00
custom:
Author: ChenyuLInx
Issue: "8797"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Add freshness definition on model for adaptive job
time: 2024-12-18T17:07:29.55754-08:00
custom:
Author: ChenyuLInx
Issue: "11123"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Meta config for dimensions measures and entities
time: 2025-01-06T13:28:29.176439-06:00
custom:
Author: DevonFulcher
Issue: None

View File

@@ -1,6 +0,0 @@
kind: Features
body: Add doc_blocks to manifest for nodes and columns
time: 2025-01-22T17:03:28.866522Z
custom:
Author: aranke
Issue: 11000 11001

View File

@@ -1,6 +0,0 @@
kind: Features
body: Initial implementation of sample mode
time: 2025-02-02T14:00:54.074209-06:00
custom:
Author: QMalcolm
Issue: 11227 11230 11231 11248 11252 11254 11258

View File

@@ -1,6 +0,0 @@
kind: Features
body: Combine `--sample` and `--sample-window` CLI params
time: 2025-02-12T15:56:58.546879-06:00
custom:
Author: QMalcolm
Issue: "11299"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Allow for sampling of ref'd seeds
time: 2025-02-12T17:37:43.554156-06:00
custom:
Author: QMalcolm
Issue: "11300"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Enable sample mode for 'build' command
time: 2025-02-13T18:29:32.238857-06:00
custom:
Author: QMalcolm
Issue: "11298"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Allow sampling nodes snapshots depend on and of snapshots as a dependency
time: 2025-02-14T15:29:57.118017-06:00
custom:
Author: QMalcolm
Issue: "11301"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Add opt-in validation of macro argument names and types
time: 2025-03-14T14:31:57.463865-04:00
custom:
Author: peterallenwebb
Issue: "11274"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Add support for Python 3.13!
time: 2025-03-19T15:33:56.641753-04:00
custom:
Author: peterallenwebb
Issue: "11401"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Support artifact upload to dbt Cloud
time: 2025-03-23T15:16:25.160263-07:00
custom:
Author: ChenyuLInx
Issue: "11418"

View File

@@ -1,7 +0,0 @@
kind: Features
body: Show summaries for deprecations and add ability to toggle seeing all deprecation
violation instances
time: 2025-04-03T17:46:59.684525-05:00
custom:
Author: QMalcolm
Issue: "11429"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Add behavior flag for handling all warnings via warn_error logic
time: 2025-04-10T11:10:23.344469-05:00
custom:
Author: QMalcolm
Issue: "11116"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Basic jsonschema validation of `dbt_project.yml`
time: 2025-04-14T17:12:09.351572-07:00
custom:
Author: QMalcolm
Issue: "11503"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Begin checking YAML files for duplicate keys
time: 2025-04-15T13:37:51.878256-04:00
custom:
Author: peterallenwebb QMalcolm
Issue: "11296"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Add deprecation warnings for unexpected blocks in jinja.
time: 2025-04-16T14:44:27.136199-04:00
custom:
Author: peterallenwebb
Issue: "11393"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Begin validating the jsonschema of resource YAML files
time: 2025-04-16T15:17:11.760509-07:00
custom:
Author: QMalcolm
Issue: "11504"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Add deprecation warning for custom top level keys in YAML files.
time: 2025-04-17T00:13:47.744191-04:00
custom:
Author: peterallenwebb
Issue: "11338"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Begin emitting deprecationw warnings for custom keys in config blocks
time: 2025-04-17T11:49:15.056242-07:00
custom:
Author: QMalcolm
Issue: "11337"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Begin emitting deprecation events for custom properties found in objects
time: 2025-04-18T10:42:10.048839-07:00
custom:
Author: QMalcolm
Issue: "11336"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Create a singular deprecations summary event
time: 2025-04-24T15:33:27.252763-05:00
custom:
Author: QMalcolm
Issue: "11536"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Deprecate --output/-o usage in source freshness
time: 2025-05-14T11:53:28.640657-04:00
custom:
Author: michelleark
Issue: "11559"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: datetime.datetime.utcnow() is deprecated as of Python 3.12
time: 2024-03-29T22:36:53.504295426+01:00
custom:
Author: slothkong
Issue: "9791"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: dbt retry does not respect --threads
time: 2024-08-22T12:21:32.358066+05:30
custom:
Author: donjin-master
Issue: "10584"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: update adapter version messages
time: 2024-10-25T10:43:39.274723-05:00
custom:
Author: dave-connors-3
Issue: "10230"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Catch DbtRuntimeError for hooks
time: 2024-11-21T18:17:39.753235Z
custom:
Author: aranke
Issue: "11012"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Access DBUG flag more consistently with the rest of the codebase in ManifestLoader
time: 2024-11-28T16:29:36.236729+01:00
custom:
Author: Threynaud
Issue: "11068"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Improve the performance characteristics of add_test_edges()
time: 2024-12-04T10:04:29.096231-05:00
custom:
Author: peterallenwebb
Issue: "10950"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Implement partial parsing for singular data test configs in yaml files
time: 2024-12-05T14:53:07.295536-05:00
custom:
Author: gshank
Issue: "10801"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Fix debug log messages for microbatch batch execution information
time: 2024-12-09T11:38:06.972743-06:00
custom:
Author: MichelleArk QMalcolm
Issue: "11111"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Fix running of extra "last" batch when there is only one batch
time: 2024-12-09T13:33:17.253326-06:00
custom:
Author: QMalcolm
Issue: "11112"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Fix interpretation of `PartialSuccess` to result in non-zero exit code
time: 2024-12-09T15:07:11.391313-06:00
custom:
Author: QMalcolm
Issue: "11114"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Warn about invalid usages of `concurrent_batches` config
time: 2024-12-12T11:36:11.451962-06:00
custom:
Author: QMalcolm
Issue: "11122"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Error writing generic test at run time
time: 2024-12-16T13:46:45.936573-05:00
custom:
Author: gshank
Issue: "11110"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Run check_modified_contract for state:modified
time: 2024-12-17T15:48:48.053054-05:00
custom:
Author: gshank
Issue: "11034"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Fix unrendered_config for tests from dbt_project.yml
time: 2024-12-18T11:26:40.270022-05:00
custom:
Author: gshank
Issue: "11146"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Make partial parsing reparse referencing nodes of newly versioned models.
time: 2025-01-02T14:05:43.629959-05:00
custom:
Author: d-cole
Issue: "8872"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Ensure warning about microbatch lacking filter inputs is always fired
time: 2025-01-07T17:37:19.373261-06:00
custom:
Author: QMalcolm
Issue: "11159"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Fix microbatch dbt list --output json
time: 2025-01-09T12:33:09.958795+01:00
custom:
Author: internetcoffeephone
Issue: 10556 11098

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Fix for custom fields in generic test config for not_null and unique tests
time: 2025-01-10T15:58:24.479245-05:00
custom:
Author: gshank
Issue: "11208"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Allow copying asset when dbt docs command is run outside the dbt project
time: 2025-01-16T19:26:16.160976423Z
custom:
Author: cedric-orange
Issue: "9308"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Loosen validation on freshness to accomodate previously wrong but harmless config.
time: 2025-01-28T13:55:09.318833-08:00
custom:
Author: ChenyuLInx peterallenwebb
Issue: "11123"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Handle `--limit -1` properly in `ShowTaskDirect` so that it propagates None instead of a negative int
time: 2025-02-07T13:14:24.725503-05:00
custom:
Author: WilliamDee
Issue: None

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: _get_doc_blocks is crashing parsing if .format is called
time: 2025-02-18T13:47:45.659731Z
custom:
Author: aranke
Issue: "11310"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Fix microbatch execution to not block main thread nor hang
time: 2025-03-03T13:14:40.432874-06:00
custom:
Author: QMalcolm
Issue: 11243 11306

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Fixes parsing errors when using the new YAML format for snapshots
time: 2025-03-05T11:02:57.829685Z
custom:
Author: amardatar
Issue: "11164"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Update ConfigFolderDirectory dir to use str.
time: 2025-03-26T19:42:59.335179-07:00
custom:
Author: thorn14 dbeatty10
Issue: 9768 11305

View File

@@ -1,7 +0,0 @@
kind: Fixes
body: Fix microbatch models couting as success when only having one batch (and that
batch failing)
time: 2025-03-28T17:01:42.342741-05:00
custom:
Author: QMalcolm
Issue: "11390"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Add pre-commit installation to Docker container for testing compatibility
time: 2025-04-14T17:04:57.692586656+09:00
custom:
Author: kato1208
Issue: "11498"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Fix duplicate macro error message with multiple macros and multiple patches
time: 2025-04-22T12:28:35.642843-04:00
custom:
Author: gshank
Issue: "4233"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Fix seed path for partial parsing if project directory name changes
time: 2025-04-28T14:15:28.720582-06:00
custom:
Author: aranke
Issue: "11550"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Add `pre-commit` installation to Docker container for testing compatibility
time: 2025-04-30T08:45:12.247827-06:00
custom:
Author: kato1208 dbeatty10
Issue: "11498"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Ensure the right key is associatd with the `CustomKeyInConfigDeprecation` deprecation
time: 2025-05-02T13:18:22.940373-05:00
custom:
Author: QMalcolm
Issue: "11576"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Add tags and meta config to exposures
time: 2025-05-08T14:25:42.489888+01:00
custom:
Author: aranke
Issue: "11428"

View File

@@ -1,6 +0,0 @@
kind: Under the Hood
body: Create a no-op exposure runner
time: 2024-12-02T16:47:15.766574Z
custom:
Author: aranke
Issue: ' '

View File

@@ -1,7 +0,0 @@
kind: Under the Hood
body: Improve selection peformance by optimizing the select_children() and select_parents()
functions.
time: 2024-12-05T14:31:44.584216-05:00
custom:
Author: peterallenwebb
Issue: "11099"

View File

@@ -1,7 +0,0 @@
kind: Under the Hood
body: Change exception type from DbtInternalException to UndefinedMacroError when
macro not found in 'run operation' command
time: 2025-01-07T12:39:55.234321-05:00
custom:
Author: michelleark
Issue: "11192"

View File

@@ -1,6 +0,0 @@
kind: Under the Hood
body: Create LogNodeResult event
time: 2025-01-07T20:58:38.821036Z
custom:
Author: aranke
Issue: ' '

View File

@@ -1,6 +0,0 @@
kind: Under the Hood
body: Fix error counts for exposures
time: 2025-01-10T20:20:57.01632Z
custom:
Author: aranke
Issue: ' '

View File

@@ -1,6 +0,0 @@
kind: Under the Hood
body: Misc fixes for group info in logging
time: 2025-01-17T15:22:15.497485Z
custom:
Author: aranke
Issue: '11218'

View File

@@ -1,6 +0,0 @@
kind: Under the Hood
body: Add node_checksum to node_info on structured logs
time: 2025-03-07T10:17:58.375007-05:00
custom:
Author: michelleark
Issue: "11372"

View File

@@ -1,6 +0,0 @@
kind: Under the Hood
body: Parse catalogs.yml
time: 2025-03-21T15:50:26.845279Z
custom:
Author: MichelleArk aranke
Issue: XPLAT-242

View File

@@ -1,6 +0,0 @@
kind: Under the Hood
body: Add package 'name' to lock file
time: 2025-04-11T02:16:10.314663+02:00
custom:
Author: jtcohen6
Issue: "11487"

View File

@@ -1,6 +0,0 @@
kind: Under the Hood
body: Allow for deprecation previews
time: 2025-05-08T16:21:48.811505-05:00
custom:
Author: QMalcolm
Issue: "11597"

View File

@@ -1,6 +0,0 @@
kind: Breaking Changes
body: Flip behavior flag to disallow spaces in resource names
time: 2025-05-20T13:18:30.352998-05:00
custom:
Author: QMalcolm
Issue: "11610"

View File

@@ -0,0 +1,6 @@
kind: Dependencies
body: Use EventCatcher from dbt-common instead of maintaining a local copy
time: 2025-11-18T15:53:54.284561+05:30
custom:
Author: 3loka
Issue: "12124"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Deprecate usage of `include`/`exclude` terminology with warn-error-options
time: 2025-05-22T12:00:56.315891-05:00
custom:
Author: QMalcolm
Issue: "11557"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Support description and config.meta on groups
time: 2025-05-22T16:00:50.440826-04:00
custom:
Author: michelleark
Issue: "11319"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Adding Quoting to manifest metadata
time: 2025-05-23T13:35:34.365048-07:00
custom:
Author: venkaa28
Issue: na

View File

@@ -1,6 +0,0 @@
kind: Features
body: Include event names in deprecation warning messages
time: 2025-05-26T10:09:55.012225-05:00
custom:
Author: QMalcolm
Issue: "11471"

View File

@@ -1,6 +0,0 @@
kind: Features
body: Support config on columns
time: 2025-05-26T11:22:59.767909-04:00
custom:
Author: michelleark
Issue: "11651"

View File

@@ -0,0 +1,6 @@
kind: Features
body: Support partial parsing for function nodes
time: 2025-10-06T14:03:52.258104-05:00
custom:
Author: QMalcolm
Issue: "12072"

View File

@@ -0,0 +1,6 @@
kind: Features
body: Allow for defining funciton arguments with default values
time: 2025-11-17T14:10:53.860178-06:00
custom:
Author: QMalcolm
Issue: "12044"

View File

@@ -0,0 +1,6 @@
kind: Features
body: Raise jsonschema-based deprecation warnings by default
time: 2025-12-01T16:52:09.354436-05:00
custom:
Author: michelleark
Issue: 12240

View File

@@ -0,0 +1,6 @@
kind: Features
body: ':bug: :snowman: Disable unit tests whose model is disabled'
time: 2025-12-03T12:29:26.209248-05:00
custom:
Author: michelleark
Issue: "10540"

View File

@@ -0,0 +1,6 @@
kind: Features
body: Implement config.meta_get and config.meta_require
time: 2025-12-10T20:20:01.354288-05:00
custom:
Author: gshank
Issue: "12012"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Add freshness config to sources
time: 2025-05-15T14:58:57.303237+01:00
custom:
Author: aranke
Issue: "11506"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: Add freshness config to models
time: 2025-05-20T17:08:08.281566+01:00
custom:
Author: aranke
Issue: "11506"

View File

@@ -1,6 +0,0 @@
kind: Fixes
body: require count and period on model freshness.build_after
time: 2025-05-26T21:19:29.542858-04:00
custom:
Author: michelleark
Issue: "11669"

View File

@@ -0,0 +1,6 @@
kind: Fixes
body: Address Click 8.2+ deprecation warning
time: 2025-09-22T15:17:26.983151-06:00
custom:
Author: edgarrmondragon
Issue: "12038"

View File

@@ -0,0 +1,6 @@
kind: Fixes
body: Include macros in unit test parsing
time: 2025-11-17T14:06:49.518566-05:00
custom:
Author: michelleark nathanskone
Issue: "10157"

View File

@@ -0,0 +1,6 @@
kind: Fixes
body: Allow dbt deps to run when vars lack defaults in dbt_project.yml
time: 2025-11-17T18:50:25.759091+05:30
custom:
Author: 3loka
Issue: "8913"

View File

@@ -0,0 +1,6 @@
kind: Fixes
body: Restore DuplicateResourceNameError for intra-project node name duplication, behind behavior flag `require_unique_project_resource_names`
time: 2025-11-18T17:11:06.454784-05:00
custom:
Author: michelleark
Issue: "12152"

View File

@@ -0,0 +1,6 @@
kind: Fixes
body: Allow the usage of `function` with `--exclude-resource-type` flag
time: 2025-11-19T19:50:34.703236-06:00
custom:
Author: QMalcolm
Issue: "12143"

View File

@@ -0,0 +1,6 @@
kind: Fixes
body: Fix bug where schemas of functions weren't guaranteed to exist
time: 2025-11-24T15:56:29.467004-06:00
custom:
Author: QMalcolm
Issue: "12142"

View File

@@ -0,0 +1,6 @@
kind: Fixes
body: Fix generation of deprecations summary
time: 2025-11-24T15:57:56.544123-08:00
custom:
Author: asiunov
Issue: "12146"

Some files were not shown because too many files have changed in this diff Show More