[GH-ISSUE #326] Prefix Info #1103

Closed
opened 2026-04-16 10:21:00 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @johnrs on GitHub (Jul 22, 2016).
Original GitHub issue: https://github.com/semver/semver/issues/326

I often see SemVar strings prefixed by a program or module name. Something like: "MyProg-v1.2.3".

I was wondering if this was currently allowed by the spec, in which case what delimiter character should be used? If not, would it be worth allowing for?

Originally created by @johnrs on GitHub (Jul 22, 2016). Original GitHub issue: https://github.com/semver/semver/issues/326 I often see SemVar strings prefixed by a program or module name. Something like: "MyProg-v1.2.3". I was wondering if this was currently allowed by the spec, in which case what delimiter character should be used? If not, would it be worth allowing for?
Author
Owner

@haacked commented on GitHub (Jul 23, 2016):

No, SemVer only covers the version. What that string denotes is typically a package/library/program name and version. So the SemVer part is 1.2.3 and only covers that part.

<!-- gh-comment-id:234695086 --> @haacked commented on GitHub (Jul 23, 2016): No, SemVer only covers the version. What that string denotes is typically a package/library/program name and version. So the SemVer part is `1.2.3` and only covers that part.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#1103