SEMVER

package.json

MAJOR . MINOR . PATCH

1   .  3  .   1

breaking

change

new

feature

bug

fix

breaking . feature . fix

incompatible API changes

add backwards-compatible functionality

make backwards-compatible bug fix

0.1.0

0.2.0

1.0.0

1.0.1

1.1.0

1.1.1

2.0.0

↩︎ anything can happen

↩︎ move into production

↩︎ squash a bug

↩︎ backwards-comp feature

↩︎ squash a bug

↩︎ breaking feature

DEV

npm init

breaking . feature . fix

~

tilde

^

caret

~2.1.3  

2.1.4

2.1.5

2.2.0

3.0.0

^2.1.3  

2.1.4

2.1.5

2.2.0

3.0.0

--save

using caret with DEV versions

^0.2.4

~0.2.4

more conservative behavior

breaking . feature . fix

~

^

*

--save

semver

By jontejada

semver

  • 173
Loading comments...

More from jontejada