[GH-ISSUE #525] Are these versions 1.0.0 and 1.0 different? #2121

Closed
opened 2026-04-20 10:04:25 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @masoudgs on GitHub (Jul 9, 2019).
Original GitHub issue: https://github.com/semver/semver/issues/525

I'm wondering are these versions difference or not?

  • 1.0.0
  • 1.0
Originally created by @masoudgs on GitHub (Jul 9, 2019). Original GitHub issue: https://github.com/semver/semver/issues/525 I'm wondering are these versions difference or not? - 1.0.0 - 1.0
Author
Owner

@DavidFichtmueller commented on GitHub (Jul 9, 2019):

Yes they are different, as 1.0.0 is a valid SemVer whereas 1.0 is not. The patch part of the version is not optional. I hope this helps.

<!-- gh-comment-id:509647778 --> @DavidFichtmueller commented on GitHub (Jul 9, 2019): Yes they are different, as 1.0.0 is a valid SemVer whereas 1.0 is not. The patch part of the version is not optional. I hope this helps.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#2121