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

go.mod: go get github.com/apparentlymart/go-versions@v1.0.2 #35181

Merged
merged 1 commit into from
May 24, 2024

Conversation

apparentlymart
Copy link
Member

@apparentlymart apparentlymart commented May 18, 2024

This includes a fix in the handling of conflicting constraints referring to prereleases, like "1.0.0-beta.1, !1.0.0-beta.1".

Previously the library would incorrectly treat that as a positive match, rather than having the negative override the positive as happens in all other cases.

(More info in the upstream PR apparentlymart/go-versions#5 )

This fixes #33452 .


This library appears as a transitive dependency of the remote state backend and legacy modules just due to referring to a main module package that itself uses go-versions.

As far as I can tell, the backends and legacy modules don't actually exercise any of the functionality that would use this package and so I don't expect this change to affect the remote state backends at all. Therefore I'm not asking the backend maintainers to review/test this one.

This includes a fix in the handling of conflicting constraints referring
to prereleases, like "1.0.0-beta.1, !1.0.0-beta.1".

Previously the library would incorrectly treat that as a positive match,
rather than having the negative override the positive as happens in all
other cases.
@apparentlymart apparentlymart requested review from a team as code owners May 18, 2024 00:51
@apparentlymart apparentlymart requested review from a team and removed request for a team May 18, 2024 00:51
@apparentlymart apparentlymart self-assigned this May 18, 2024
@apparentlymart apparentlymart merged commit 91c88f4 into main May 24, 2024
10 checks passed
@apparentlymart apparentlymart deleted the f-upgrade-go-versions branch May 24, 2024 17:26
Copy link

Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terraform provider version constraint resolution for NOT prerelease
2 participants