Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Set default dbt_version to latest and add diff logic to treat versionless and latest as equivalents #324

Merged
merged 7 commits into from
Dec 12, 2024

Conversation

csquire
Copy link
Contributor

@csquire csquire commented Dec 12, 2024

Updates the environment resource's dbt_version field to suppress the diff between versionless and latest, so they are treat as equivalents when a comparison is performed. It also updates the default value for the environment resource's dbt_version to latest, which should be backward compatible.

This change was made because the provider's acceptance tests are using versionless, and recently the dbt Cloud API began returning latest, which caused the tests to fail.

Resolves #320

@csquire csquire requested review from b-per and chasewalden December 12, 2024 20:18
@csquire csquire changed the title Set default dbt_version to latest and add diff logic to treat versionless and latest as equivalents fix: Set default dbt_version to latest and add diff logic to treat versionless and latest as equivalents Dec 12, 2024
@chasewalden chasewalden merged commit f7dab98 into dbt-labs:main Dec 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update docs to mention the new release tracks
2 participants