-
Notifications
You must be signed in to change notification settings - Fork 46
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
System.OverflowException: 'Prerelease identifier 'xxx' was too large for Int32 in version 'xxx'.' #73
Comments
The semver spec does not give an upper limit to numeric prerelease identifiers nor for the major, minor, or patch. However, for ease of developer use In the mean time, I would suggest turning it into an alphanumeric prerelease identifier following the ISO 8601 standard (e.g. |
Yeah, I am encountering the same issue with the patch number. I would definitely be interested in a fix. |
@damepatr To help me understand the use case and how to best address it, how are you getting patch numbers so high? Also, what is the highest patch number you would anticipate needing? |
I used the date and time to create a patch number similar to the following: I know that this probably isn't a best practice. I was just testing some of my own code and I noticed that |
At the moment, I'm not certain. I may not need a larger patch number. |
A preview of this feature has been released in the |
This has been fixed on master and will be included in v3.0.0 |
Is there a timeline on when 3.x is expected to be released? 3.0.0-beta.1 has been out for close to a year now. We have a internal guideline to not use pre-releases in our customer-facing software. |
I've just answered this in #83 . I'll try to get it out on or before 2024-09-30. |
An example version: "1.0.0-202208281200".
I don't see the spec limits pre-release numeric parts to 2^31 range.
The text was updated successfully, but these errors were encountered: