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
0 answers

how to release a minor version of npmjs package from an old version

I have a private package in npm which is very frequently updated, and i want to do a minor change on one of theprevious versionsof the package. for example my current version is 1.14.0 and i want to make change on top of 1.11.1, so that all the…
Amit Pandey
  • 274
  • 4
  • 16
0
votes
0 answers

How to version my Java Services like REST API versioning

I need a way to version my java service to be versioned like REST. I want to use the Semantic Versioning and manage my java api lifecycle same as REST. Example:- String runService(String serviceVersion, String inputToService...) and based on the…
0
votes
0 answers

Semver: Is it acceptable for "latest pre-release" package to be older than "latest stable?"

According to semver.org, there are conventions for pre-release and stable version numbers, but I haven't found conventions for NPM distribution tags. Since we can only apply a single NPM distribution tag with npm publish or with package.json's…
bbrennan
  • 41
  • 3
0
votes
1 answer

Increment GitVersion per build

Talking about UseGitVersion@5 Azure DevOps task, which is a wrapper around the actual GitVersion tool. I looked at the various GitVersion configuration options, but I could not find anything that will increment per build. Not per commit, per build.…
Remus Rusanu
  • 288,378
  • 40
  • 442
  • 569
0
votes
0 answers

npm install got different versions according to node-semver

I found a case that npm dependency selection didn't follow node-semver. I was trying to install superagent@1.8.5, and here is the dependency tree I got from npm ls: └─┬ superagent@1.8.5 ├── component-emitter@1.2.1 ├── cookiejar@2.0.6 ├─┬…
Victor Liu
  • 53
  • 3
0
votes
0 answers

Why does node semver use 'latest' in dist-tags as max version for satisfied versions?

I was trying to figure out how npm install select versions for dependencies, here is my finding: rollup-plugin-uglify@3.0.0 has dependencies as follow: dependencies: { uglify-es: "^3.3.7" } After I install, this is the result from npm ls: └─┬…
Victor Liu
  • 53
  • 3
0
votes
0 answers

gitversion reports different on windows than on mac. Why?

It's so simple: I am trying to use gitversion to manage semver and I am getting completely different behavior on the same repo/branch/commit between windows and mac. I am hoping someone can explain because I can't manage a version bump without it.…
Christian Bongiorno
  • 5,150
  • 3
  • 38
  • 76
0
votes
1 answer

What's the right maven command for releasing from release branch to master with gitflow-maven-plugin?

I'm testing versioning in IntelliJ with gitflow-maven-plugin, I wanted to update major and minor manually: mvn -B gitflow:release-start -DcommitDevelopmentVersionAtStart=true -DversionDigitToIncrement=0 After this command, a new release branch…
wawawa
  • 2,835
  • 6
  • 44
  • 105
0
votes
1 answer

How can I change 'MAJOR' AND 'MINOR' with gitflow-maven-plugin

I'm currently learning Maven and I've been doing some testing with gitflow-maven-plugin, I have set up and get it work, now it can change the last digit of the versioning (so if the release version for master branch is 1.0.0, develop version is…
0
votes
1 answer

peer dependencies issue and token issue when installing semantic-release/gitlab

I'm currently learning how to use semantic-release/gitlab to get automate versioning after pushing to my branch, but when I tried the command below in bash:(directory is in my project folder) npm install -g semantic-release/gitlab I got warning npm…
0
votes
0 answers

Why does package.lock file requirements section change when the related package stays the same?

How is this package-lock.json change possible: Before: ... "chokidar": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", …
0
votes
0 answers

How to get latest patch of a Helm chart

I have following syntax in my requirements.yaml # umbrella/requirements.yaml dependencies: - name: my-chart version: ~1.0 repository: "@my-repo" I want to receive all the patches of my-chart every time I run helm dependency update.…
ntviet18
  • 752
  • 1
  • 10
  • 26
0
votes
2 answers

How to handle project versioning for pre production?

My team and I have been working on a project that is due to release early next year. A burning question that has been plaguing us is how to handle preproduction releases. For example, we have dev and staging environments that we deploy to…
Munsterberg
  • 758
  • 4
  • 17
  • 37
0
votes
0 answers

Would updating return types from `any` to specific types be a breaking change?

Suppose an API client returned Promise from all its methods. Then, it's updated to return specific types instead. Would this call for a major version bump or a minor version bump under semantic versioning? Note: Some users were already…
Scott Rudiger
  • 1,224
  • 12
  • 16
0
votes
1 answer

After complete rewrite should I restart the version numbers or should continue?

I made a Laravel app as a side project and the final version was 2.6.4 I choosed to rewrite it completely and rename. I changed blade templating to Vue.js, made a better Model and Controller structure, etc. Should the new version be 1.0 or 3.0