Semantic Versioning Specification (SemVer) 9.entry #132

Closed
opened 2026-02-17 11:19:57 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @muzir on GitHub (May 9, 2014).

At examples of this entry; there is an example version like "1.0.0-0.3.7" but isn't it a conflict with " Numeric identifiers MUST NOT include leading zeroes" sentence at the same entry? Because this example pre-release is starting with "0" after "-" symbol.

Originally created by @muzir on GitHub (May 9, 2014). At examples of this entry; there is an example version like "1.0.0-0.3.7" but isn't it a conflict with " Numeric identifiers MUST NOT include leading zeroes" sentence at the same entry? Because this example pre-release is starting with "0" after "-" symbol.
Author
Owner

@crazedsanity commented on GitHub (May 9, 2014):

It's not a conflict: the version after the dash (0.3.7) has a major version of 0 (zero), minor version of 3, patch of 7. It's perfectly valid to have a zero as any of the version bits.

@crazedsanity commented on GitHub (May 9, 2014): It's not a conflict: the version after the dash (0.3.7) has a major version of 0 (zero), minor version of 3, patch of 7. It's perfectly valid to have a zero as any of the version bits.
Author
Owner

@FichteFoll commented on GitHub (May 9, 2014):

No, the zero in this case is a number by itself. What the clause excludes is things like 01.

@FichteFoll commented on GitHub (May 9, 2014): No, the zero in this case is a number by itself. What the clause excludes is things like `01`.
Author
Owner

@jeffhandley commented on GitHub (Jul 9, 2014):

Sounds like this can be closed, @Haacked.

@jeffhandley commented on GitHub (Jul 9, 2014): Sounds like this can be closed, @Haacked.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#132