Skip to content

fix: add correct constraints for pre-release versions#5348

Merged
lpil merged 4 commits into
gleam-lang:mainfrom
ankddev:rc-constraints
Feb 25, 2026
Merged

fix: add correct constraints for pre-release versions#5348
lpil merged 4 commits into
gleam-lang:mainfrom
ankddev:rc-constraints

Conversation

@ankddev

@ankddev ankddev commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

Closes #4220. It's very simple fix, I've just replaced manual version construction with Display implementation for Version.


  • The changes in this PR have been discussed beforehand in an issue
  • The issue for this PR has been linked
  • Tests have been added for new behaviour
  • The changelog has been updated for any user-facing changes

@lpil lpil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! Thank you!

Could we also extract the range generation to a function and write some tests for that please 🙏

Comment thread compiler-cli/src/add.rs Outdated
Signed-off-by: Andrey <andrekabatareika@gmail.com>
Signed-off-by: Andrey <andrekabatareika@gmail.com>
@ankddev
ankddev requested a review from lpil February 19, 2026 13:56
@ankddev

ankddev commented Feb 19, 2026

Copy link
Copy Markdown
Contributor Author

@lpil I think that it's done now. I've created a new function in add.rs (don't like the name, to be honest) and two tests

@lpil lpil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!!!

@lpil
lpil merged commit 2cb0a11 into gleam-lang:main Feb 25, 2026
12 checks passed
@ankddev
ankddev deleted the rc-constraints branch February 25, 2026 17:11
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.

gleam add adds incorrect constraint for release candidate versions

3 participants