0
0
mirror of https://github.com/semver/semver.git synced 2025-08-25 07:15:30 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
Haacked
3071b5d2d5 Clarify non-empty build metadata
- Build metadata identifiers MUST not be empty.
- Changed "are" to "have" when discussing version precedence. We usually
say a version HAS a precedence not that it IS a precedence.
2013-06-10 09:43:23 -07:00
isaacs
e692c2f113 Section 10: Clarify language around build metadata precedence
They're not the 'same version', necessarily, they're the same precedence
2013-06-10 09:43:22 -07:00
Phil Haack
abdf40e7b5 Merge pull request #108 from mojombo/clarify-version-comparisons
Clarify version comparisons
2013-06-10 09:27:09 -07:00
Haacked
84c96182a5 Attempt to clarify precedence even more.
While this is implied, SemVer never really makes it clear that
1.9.0 < 2.1.1. It only specifies how each identifier is compared.

This commit attempts to clarify how the comparison of each identifier
relates to the comparison of the whole version.
2013-06-09 20:54:29 -07:00
isaacs
9dcea3c170 Section 11: A larger set of pre-release is higher
Clarifies the comparison between, eg 1.0.0-a vs 1.0.0-a.b
2013-06-09 20:13:13 -07:00
Phil Haack
62c2005379 Merge pull request #99 from mojombo/better-wording-faq
Reword scenario of accidental breaking changes
2013-05-31 23:47:21 -07:00
Haacked
ff4fb481f6 Reword scenario of accidental breaking changes
Alternate proposal to #93. This fixes #38
2013-05-31 16:53:15 -07:00
Phil Haack
7a8bae9101 Merge pull request #96 from Tieske/master
Replaces #30, pre-release versions are unstable
2013-05-31 16:46:32 -07:00
Thijs Schreijer
586f185f7a added FAQ entry regarding semver version string size. Fixes #79. 2013-05-08 10:01:50 +02:00
Thijs Schreijer
32ca3576eb updated as suggested 2013-05-07 00:06:46 +02:00
Thijs Schreijer
f5dda6ff07 Replaces #30. Updated wording as suggested 2013-05-06 22:46:57 +02:00
Phil Haack
72981408bd Merge pull request #91 from jeffhandley/issue-40-basis
Fixes #40, adding a statement about the basis of semver. From @icylace.
2013-05-06 13:02:42 -07:00
Jeff Handley
2055a0a3ac Fixes #40, adding a statement about the basis of semver. From @icylace. 2013-04-30 02:38:10 -07:00
Phil Haack
eceeff12c5 Merge pull request #77 from mojombo/build-metadata-identifier
Build metadata identifier
2013-03-20 15:00:55 -07:00
Haacked
3823b6a1e3 Add space between "hypen" and regex. 2013-03-15 11:48:47 -07:00
Phil Haack
2629b7e09c Fixed grammar mistake
Changed "be comprised of only" with the correct "comprise only".
Bonus, it's less verbose.
2013-03-13 18:27:15 -07:00
Haacked
9c5829561e Removed the plus sign and added examples
The `+` seemed out of character with the rest of the spec. Following the
example of the pre-release section, we just spell out "sign" and provide
examples for those who don't know what a plus sign is. :)
2013-03-13 14:48:25 -07:00
Haacked
5114f8543a Omit build metadata from precedence rules
Looks like a big change, but all I did was remove Build metadata from
the precedence rules.
2013-03-13 14:36:15 -07:00
Haacked
13aaadaadb Add description of build metadata
Build metadata is a completely optional way to tack on metadata to a
version  that does not affect the public API or precedence while still
be compliant with SemVer. It's not unlike a comment.

This allows folks to build on additional meaning or behavior that's
meaningful to their custom systems without making any claims about the
public version. For example, folks might use it for cache busting,
layering custom behavior on top of SemVer, bookkeeping to tie when and
where a build was made, etc.
2013-03-13 14:30:43 -07:00
jeffhandley
26e3cf8523 Removed an extraneous slash 2013-03-13 14:29:16 -07:00
jeffhandley
57fd19400f Updated to RC2, with new definition for build metadata. 2013-03-13 14:29:16 -07:00
Phil Haack
3458b0091a Merge pull request #73 from vergenzt/master
Change "be comprised of" to "comprise"
2013-03-07 19:27:30 -08:00
Tim Vergenz
43252cc87e Change "be comprised of" to "comprise" 2013-03-07 18:08:20 -08:00
Phil Haack
0229746b89 Merge pull request #21 from slippyd/master
Linking to RFC 2119
2012-12-19 17:20:58 -08:00
Phil Haack
54a1fc1b96 Change sentence to remove inapplicable "Remember"
Closes #31
2012-12-19 17:19:43 -08:00
Phil Haack
8606a7f8b9 Make version format consistent
Elsewhere in this section we use `0.y.z`. In this place, we use `0.x.x`
This commit fixes that.

Closes #18
2012-12-19 17:08:45 -08:00
Phil Haack
b40e67824e Merge pull request #59 from oguzbilgic/patch-1
Fix typo
2012-12-09 11:42:25 -08:00
Oguz Bilgic
b6decc8402 Fix typo 2012-12-09 03:52:41 -08:00
Phil Haack
c5de8d25b2 Merge pull request #54 from omasanori/unify-into-hyphen
Replace the word "dash" with "hyphen".
2012-11-15 09:11:19 -08:00
OGINO Masanori
2eb698df2b Replace the word "dash" with "hyphen".
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2012-11-13 14:55:37 +09:00
Slipp Douglas
51847ed717 Added link to IETF-hosted RFC 2119 spec.
Went with the hosted version of RFC 2119 that Wikipedia links to. It's not terribly pretty, but it works.
2012-04-12 14:25:09 -04:00
Tom Preston-Werner
3c7f2e8df7 Merge pull request #11 from joliss/wrap
Wrap a few long lines.
2012-02-26 09:48:37 -08:00
Tom Preston-Werner
f64c79d374 Dash -> hyphen. Fixes #16. 2012-02-26 09:46:41 -08:00
Jo Liss
317f556ace Wrap. 2012-01-10 14:26:32 +01:00
Tom Preston-Werner
574fa0c83a Remove redundant rule 3. Closes #7. 2011-12-22 17:03:27 -07:00
Tom Preston-Werner
24eda4f61d This is really the 2.0.0-rc.1 spec. 1.0.0 was previously released. 2011-12-07 11:58:42 +00:00
Tom Preston-Werner
71389faa25 Move pre-release and build sections to last position. 2011-11-25 14:02:24 -08:00
Tom Preston-Werner
ec092b73b3 Use new-style pre-release version rc.1 in header. 2011-11-24 11:39:57 -08:00
Tom Preston-Werner
64b84a0651 Fully specify pre-release and build versions with arbitrary dot elements. 2011-11-24 11:39:20 -08:00
Tom Preston-Werner
7092112756 Correct build precedence example. 2011-11-23 22:09:58 -08:00
Tom Preston-Werner
8e95cdbea8 Use . instead of ~ as pre-release part separator.
I realized that there is no point in using an exotic tilde when a dot will do
just fine. In addition to being simpler and less weird, this change also means
that you can tag these versions in Git, since ~ is invalid in Git tag names.
2011-11-19 12:49:38 -08:00
Tom Preston-Werner
b8f12d78c6 Mark as rc~1. 2011-11-19 12:22:20 -08:00
Tom Preston-Werner
e0f985a726 Add deprecation clarification. Closes mojombo/semver.org#24. 2011-11-19 10:26:53 -08:00
Tom Preston-Werner
5ca270cff1 New school pre-release syntax and semantics. 2011-11-17 10:51:34 -08:00
Tom Preston-Werner
dcec27f836 Version integers must be non-negative. Closes mojombo/semver.org#47. 2011-11-17 10:34:37 -08:00
Tom Preston-Werner
52c9b2b3a6 Remove SemVerTag sub-spec. It is a distraction. 2011-11-02 12:58:20 -03:00
Tom Preston-Werner
ec80195ed3 Make patch/minor version resetting explicit. 2011-09-06 23:48:42 -07:00
Tom Preston-Werner
2f4e9c18ca Add FAQ section on 0.y.z phase releases. 2011-09-06 23:44:18 -07:00
Tom Preston-Werner
92b17d297f FAQ on bufixes returning functionality to documented public API. 2011-06-20 11:29:04 -07:00
Tom Preston-Werner
05a00df02d Delimit pre-release versions by dash instead of dot. 2011-06-19 22:31:16 +02:00