Numbered versions for dbt project objects and files¶
Warning
The numbered-version functionality described on this page is available only until the 2026_06 behavior change bundle is fully enabled. After
the change, dbt project objects use a single mutable live version, and any remaining versioned objects are automatically migrated. For
details, see dbt Projects on Snowflake: dbt project objects migrate to a single mutable live version.
Snowflake maintains immutable versions of dbt project objects and their source files. This versioning lets you track and manage changes throughout the development lifecycle.
Note
dbt project object versions are distinct from the dbt Core or dbt Fusion version used for execution. For more information, see Supported dbt versions for dbt Projects on Snowflake.
Snowflake identifies dbt project object versions in the dbt project stage, as shown in the following example.
snow://dbt/my_db.my_schema.my_dbt_project_object/versions/<version_id>
<version_id> can be any of the following identifiers:
| Identifier | Description |
|---|---|
VERSION$<num> | Specifies a version identifier in the form The version number begins at Snowflake increments the version identifier when you perform the following tasks:
Snowflake resets the version identifier to Warning Don’t use |
LAST | Indicates the most recent version of the dbt project object. |
FIRST | Indicates the oldest version of the dbt project object. |
<version_name_alias> | Indicates a custom version name alias that you have created for a specific version of the dbt project object
using the ALTER DBT PROJECT command with the ADD VERSION option. A version name alias always maps to a specific
version identifier, such as |
Project files stored in the dbt project stage are organized by version, with each version having its own subdirectory. For example, a dbt
project object named my_dbt_project_object with a version identifier of VERSION$3 and a dbt project file named dbt_project.yml
can be referenced as snow://dbt/my_db.my_schema.my_dbt_project_object/versions/VERSION$3/dbt_project.yml.