[PR #282] Make notice about leading zeros clearer #6935

Open
opened 2026-06-18 22:24:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/semver/semver/pull/282
Author: @zudov
Created: 11/17/2015
Status: 🔄 Open

Base: masterHead: patch-1


📝 Commits (1)

  • f642454 Make notice about leading zeros clearer

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 semver.md (+2 -2)

📄 Description

It was very unclear to me that "must not contain leading zeroes" is referring to "non-negative integers" rather than to "A normal version number".

First (correct) interpretation would disallow 1.01.1, second (incorrect) would disallow 0.1.0.

I tried to make it more explicit here.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/semver/semver/pull/282 **Author:** [@zudov](https://github.com/zudov) **Created:** 11/17/2015 **Status:** 🔄 Open **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`f642454`](https://github.com/semver/semver/commit/f6424542c4a691cfe9ff012dbf645c56b21c9cde) Make notice about leading zeros clearer ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `semver.md` (+2 -2) </details> ### 📄 Description It was very unclear to me that "must not contain leading zeroes" is referring to "non-negative integers" rather than to "A normal version number". First (correct) interpretation would disallow 1.01.1, second (incorrect) would disallow 0.1.0. I tried to make it more explicit here. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-18 22:24:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#6935