dbt Core v1.12.7 introduces runtime attributes and behavior flags alongside multiple important bug fixes for git dependency handling, metadata freshness, and JSON schema validation. These updates improve stability and precision for complex enterprise dbt workflows.
Upgrade to benefit from fixes for state comparison stringification, schema scoping, and git package credential handling.
📊 Product & Engineering Leads
Enhancements expand platform validation capabilities and improve error messaging for snapshot warnings.
⚙️ DevOps & Security
CI/CD pipelines relying on git-based dependencies and freshness checks will see improved reliability and compatibility.
✨ New Features & Capabilities (2)
Extend RunResult with the state_decision_id attribute
Add the builtin_macros_prefer_overrides behavior flag to control macro search priority
⚡ Performance & Enhancements (3)
Scope relation-cache population in compile/show/docs generate to selected nodes' schemas to honor --cache-selected-only
Recognize Databricks Python model config keys and use_materialization_v2 in JSON schema validation
Accept dbt v2-only info_schema, check-paths, and checks keys in dbt_project.yml with informational notes
🔧 Bug Fixes & Patches (4)
Fall back to per-source freshness checks when batch metadata freshness computation fails
Fix statically_parse_unrendered_config stringifying list/dict config values to prevent false positives in state:modified comparisons
Supply credentials for dbt deps git packages through a git credential helper and during git reset --hard operations
Ignore unsupported manifest resource types like dbt v2 checks when loading a manifest for --state and --defer
📄 View Raw Release Notes (Original Developer Log)
## dbt-core 1.12.7 - November 12, 2026
### Features
- Extend RunResult with the state_decision_id attribute ([#0](https://github.com/dbt-labs/dbt-core/issues/0))
### Fixes
- Fall back to per-source freshness checks when batch metadata freshness computation fails, instead of skipping every selected source now that `skip_nodes_if_on_run_start_fails` defaults to True ([#15634](https://github.com/dbt-labs/dbt-core/issues/15634))
- Scope relation-cache population in `compile`/`show`/`docs generate` to the selected nodes' schemas so `--cache-selected-only` is honored (previously only `run` respected the flag) ([#12944](https://github.com/dbt-labs/dbt-core/issues/12944))
- Fix `statically_parse_unrendered_config` stringifying list/dict config values, which caused false positives in `state:modified` comparisons across different dbt versions. ([#16133](https://github.com/dbt-labs/dbt-core/issues/16133))
- Reword the snapshot timestamp data type mismatch warning to identify hard-delete timestamps as the affected columns and to recommend overriding the `snapshot_get_time` macro, instead of incorrectly suggesting a change to the snapshot's `updated_at` config ([#fs-14450](https://github.com/dbt-labs/dbt-core/issues/fs-14450))
- Recognize Databricks Python model config keys (`access_control_list`, `notebook_access_control_list`) in jsonschema validation so they no longer raise spurious `CustomKeyInConfigDeprecation` warnings (dbt-databricks#1661) ([#N/A](https://github.com/dbt-labs/dbt-core/issues/N/A))
- Add the `builtin_macros_prefer_overrides` behavior flag (default false). When enabled and the macro search package is itself internal (e.g. dbt or dbt_postgres, as for builtin macros run via `adapter.execute_macro`), the adapter override is preferred over the base dbt implementation and a root-project macro always wins. It is off by default because a root-project macro that shares a builtin's name can otherwise hijack calls made inside dbt's own macros. ([#16540](https://github.com/dbt-labs/dbt-core/issues/16540))
- Accept the dbt v2-only `info_schema`, `check-paths` and `checks` keys in dbt_project.yml, ignoring them with a note that they are specific to the dbt v2 engine ([#16640](https://github.com/dbt-labs/dbt-core/issues/16640))
- Ignore manifest nodes with resource types dbt-core doesn't support, such as dbt v2 checks, when loading a manifest for --state and --defer ([#16849](https://github.com/dbt-labs/dbt-core/issues/16849))
- Supply credentials for `dbt deps` git packages through a git credential helper instead of embedding them in the clone URL, so clones of redirecting repositories keep working with libcurl 7.81.0-1ubuntu1.30 and later ([#16861](https://github.com/dbt-labs/dbt-core/issues/16861))
- Recognize Databricks use_materialization_v2 config in JSON schema validation ([#16879](https://github.com/dbt-labs/dbt-core/issues/16879))
- Fix `dbt deps` failing with "could not read Username" when installing a git package from a `subdirectory` with credentials in the URL, by supplying credentials to the checkout's `git reset --hard` as well ([#16861](https://github.com/dbt-labs/dbt-core/issues/16861))
- Recognize supported dbt State configurations on snapshots and data tests during JSON schema validation ([#N/A](https://github.com/dbt-labs/dbt-core/issues/N/A))
### Dependencies
- Bump dbt-core-experimental-parser lowerbound to 2.0.11 ([#17117](https://github.com/dbt-labs/dbt-core/issues/17117))
### Contributors
- [@HannanNaeem](https://github.com/HannanNaeem) ([#fs-14450](https://github.com/dbt-labs/dbt-core/issues/fs-14450))
- [@aagarg](https://github.com/aagarg) ([#16133](https://github.com/dbt-labs/dbt-core/issues/16133))
- [@aahel](https://github.com/aahel) ([#16640](https://github.com/dbt-labs/dbt-core/issues/16640), [#16849](https://github.com/dbt-labs/dbt-core/issues/16849))
- [@ash2shukla](https://github.com/ash2shukla) ([#16861](https://github.com/dbt-labs/dbt-core/issues/16861), [#16861](https://github.com/dbt-labs/dbt-core/issues/16861))
- [@claude](https://github.com/claude) ([#12944](https://github.com/dbt-labs/dbt-core/issues/12944))
- [@dataders](https://github.com/dataders) ([#12944](https://github.com/dbt-labs/dbt-core/issues/12944), [#N/A](https://github.com/dbt-labs/dbt-core/issues/N/A))
- [@izeigerman](https://github.com/izeigerman) ([#0](https://github.com/dbt-labs/dbt-core/issues/0))
- [@ota2000](https://github.com/ota2000) ([#15634](https://github.com/dbt-labs/dbt-core/issues/15634))
- [@piotrbator2](https://github.com/piotrbator2) ([#16540](https://github.com/dbt-labs/dbt-core/issues/16540))
- [@sd-db](https://github.com/sd-db) ([#N/A](https://github.com/dbt-labs/dbt-core/issues/N/A))
- [@tauhid621](https://github.com/tauhid621) ([#16540](https://github.com/dbt-labs/dbt-core/issues/16540), [#16879](https://github.com/dbt-labs/dbt-core/issues/16879), [#17117](https://github.com/dbt-labs/dbt-core/issues/17117))