Questions tagged [semantic-versioning]

Semantic Versioning is a community-driven version-numbering standard. Use this tag to indicate the software versioning concepts defined at http://semver.org.

Semantic Versioning is a conceptual software scheme which defines concepts of API compatibility and a specific, strict set of versioning rules intended to avoid dependency hell.

A number of software packages have made a commitment to apply the concepts of Semantic Versioning, or help to enforce its rules. For example: , and other package managers often help manage software dependencies using these rules.

Not all software versioning applies these semantics, which can lead to confusion. Semantic Versioning 2.0.0, the current specification, was originally written by Tom Preston-Werner, and is a community based effort hosted at https://github.com/semver/semver.

664 questions
0
votes
1 answer

Parsing a JSON file and comparing semvers

I have a json file that looks roughly something like this. { "foo" : { "name" : "bar", "dev-master" : {}, "3.0-dev" : {}, "2.4" : {}, "master" : {}, } } I would like to know if there is a solution to parse…
arbi-g11324115
  • 193
  • 1
  • 2
  • 13
0
votes
2 answers

Bumping versions of modules with maven

I have a big multi-module maven project (tens of modules, 4 nesting levels). Every module has it's own semantic version (can be SNAPSHOT or not). I want to find the way to bump every module major version automatically with one command or script to…
dds
  • 2,335
  • 1
  • 31
  • 45
0
votes
1 answer

ReactJS version is <1. is it production-ready (main API immutable on version bump)?

As the title said, I was considering using React in a production-ready project (in particular: Meteor's Material-ui module). As it's not even at v1.0 then is it stable enough to use in production? What downsides are there to using a <1.0 version?
dragonmnl
  • 14,578
  • 33
  • 84
  • 129
0
votes
1 answer

What is a best practice to fix a bug in an old release version?

I have a GitHub project with few releases: 1.0 1.5 2.0 2.1 I was asked to fix a bug in version 1.5. What is the best practice to do it? Shall I check out the 1.5, fix the bug and push it as 1.5.1? Is this a proper way?
S Panfilov
  • 16,641
  • 17
  • 74
  • 96
0
votes
1 answer

npm nested dependency not latest version

In my Node.js project, I have a dependency gulp which has a dependency vinyl-fs which has a dependency glob-watcher which has a dependency gaze. glob-watcher is version 0.0.6 has its gaze dependency set to ^0.5.1. According to this post the ^…
Jackson
  • 9,188
  • 6
  • 52
  • 77
0
votes
1 answer

Should database schema changes increment the major version in Semantic Versioning?

Semantic Versioning 2.0.0 says: For this system to work, you first need to declare a public API My web application does not expose any public API, however it uses a database. Can the database schema be considered as the public API and then should…
Adam Siemion
  • 15,569
  • 7
  • 58
  • 92
0
votes
1 answer

ES5 - Parse script version from src path

I was hoping someone already had this done but what I'm trying to do is output a list of semantic versions of various javascript libraries. Let's assume I have the the following…
Blake Niemyjski
  • 3,432
  • 3
  • 25
  • 41
0
votes
1 answer

Get last git tag from a given tag

Given a git tag (ex. v.0.1.0) I would like a bash command that will give me the previous chronological tag (ex. v.0.0.5). Here I'm using semver for version control and you can see that I can't just decrement the numbers. I need the previous last tag…
ThomasReggi
  • 55,053
  • 85
  • 237
  • 424
0
votes
1 answer

npm semver version invalid issue with grunt installation

While installing grunt, one of the errors is unmet dependency semver@4 i am using node@0.10.33, npm@1.4.28 i run two commands and it shows two versions and one is invalid npm list -g and in the tree it shows semver@2.3.0 invalid now i run npm view…
Sagi_Avinash_Varma
  • 1,489
  • 11
  • 23
0
votes
0 answers

Trying to share Gulp project with a friend

I have made a gulp project and I am trying to share it with a friend. Its a simple css grid with gulp tasks integrated. You can download the package here: https://www.dropbox.com/s/od1dsh75tegbq24/projectfolder.zip?dl=1 When you unzip the package…
Jabba Da Hoot
  • 794
  • 2
  • 7
  • 16
0
votes
1 answer

How to add last-modified/version for PHP code block using PHPDoc?

I'm developing a WP theme and I'm commenting my PHP code using PHPDoc. I would like to add versions of large code blocks, so the customer knows when it's updated. Let's say I release initial version 1.0.0, then I update some code in version 1.0.2.…
Spiridon
  • 13
  • 3
0
votes
1 answer

Versioning of ActiveX COM DLL with Semantic Versioning but GUID per MAJOR.MINOR?

Long story short, I'm the maintainer of a VisualBasic 6 project that products an ActiveX COM DLL that is used internally by ~50 other software packages that have internal uses in the organization. For the last couple years we have been following the…
robodude666
  • 178
  • 1
  • 13
0
votes
1 answer

How do I check for compatibility between versions with the npm semver module?

Using the semver package I didn't see a simple way to check if I need a version of a library whether I have a compatible version. That made me wonder if I'm missing something obvious since it would seem like a common operation. According to the…
gman
  • 100,619
  • 31
  • 269
  • 393
0
votes
1 answer

rpm spec file: what will happen if I change Version from 2 numbers to semantic-versioning (3 numbers)

I'm building my own rpm's. For now I have build versions 0.1, 0.2 etc. I would like to use semantic versioning. Now I wonder how the dependencies will work out when I change that? Suppose I have old version 0.5 and new version 0.6.0; how will the…
Chris Maes
  • 35,025
  • 12
  • 111
  • 136
0
votes
1 answer

How to increase the semantic version number?

I use semver spec 2.0. What should be the version number increments when the current version 2.0.0-beta.1 is has already been distributed. Now, a bug is fixed. If version 2.0.1-beta.1 or 2.0.0-beta.2 be better?
Manuel
  • 125
  • 3
  • 7