Skip to content

fix(util/semver): reject empty constraint for Maven#350

Merged
cuixq merged 2 commits into
google:mainfrom
cuixq:constraint
May 29, 2026
Merged

fix(util/semver): reject empty constraint for Maven#350
cuixq merged 2 commits into
google:mainfrom
cuixq:constraint

Conversation

@cuixq
Copy link
Copy Markdown
Collaborator

@cuixq cuixq commented May 29, 2026

This PR rejects empty version constraints for Maven in ParseConstraint. In Maven projects, omitting a version is invalid, so previously treating it as valid or falling back to unsupported syntax is incorrect.

@cuixq cuixq requested review from distractible and slugclub May 29, 2026 05:23
@cuixq cuixq merged commit cf1e78d into google:main May 29, 2026
7 checks passed
@cuixq cuixq deleted the constraint branch May 29, 2026 05:26
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.

2 participants