# Migration Context: dbt Core v0.20 -> v0.21 # Generated by Changelogs.us: 2026-11-30T03:04:47.283381+00:00 # Target Version: v0.21.1 # Upgrade Command: N/A # Breaking Changes: 2 # Security Fixes: 0 ## Executive Summary Upgrading dbt Core from 0.20 to 0.21 involves 2 releases with risk rating Moderate. ## Breaking Changes List: - [vv0.21.0] Breaking changes - Rename source freshness command, add full node selection, and align selection syntax with other tasks ([#2987](https://github.com/dbt-labs/dbt/issues/2987), [#3554](https://github.com/dbt-labs/dbt/pull/3554)): - [vv0.21.0] - **Breaking:** Turn off transactions and turn on `autocommit` by default. Within dbt materializations, wrap DML statements in explicit `begin` and `commit`. Note that it is not recommended to run DML statements outside of dbt materialization logic. If you do this, despite our recommendation, you will need to wrap those statements in explicit `begin` and `commit`. Note also that this may affect user-space code that depends on transactions, such as pre-hooks and post-hooks that specify `transaction: true` or `transaction: false`. We recommend removing those references to transactions. ([#2748](: ## Instructions for AI Assistant: When migrating user code from dbt Core 0.20 to 0.21, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv0.21.1 idioms.