dbt-labs / docs.getdbt.com

The code behind docs.getdbt.com
https://docs.getdbt.com/
Apache License 2.0
113 stars 861 forks source link

Update documentation on yml version defaults #5672

Closed LeoTheGriff closed 1 week ago

LeoTheGriff commented 2 weeks ago

What are you changing in this pull request and why?

The config-version documentation is not clear about what the default value is. It states that the parameter is optional and that the old version, version 1, is not in use. This implies that the default version should be 2, but the default is explicitly stated here as version 1.

## Default
Without this configuration, dbt will assume your dbt_project.yml uses the version 1 syntax, which was deprecated in dbt v0.19.0.

As per PR https://github.com/dbt-labs/dbt-core/pull/7060, the default version is in-fact version 2, so this documentation needs to be updated.

Checklist

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 19, 2024 9:37am
LeoTheGriff commented 1 week ago

I assume the PRs that are failing are to do with managing PRs, not to functionality. Please let me know if any actions are required from me.