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

How to implement semantic versioning in GitHub Actions workflow?

I would like to semantic versioning my docker images which are built and pushed to GitHub Container Registry by the GitHub Action. I found a satisfying solution here: https://stackoverflow.com/a/69059228/12877180 According to the solution I…
0
votes
2 answers

Will npm try to avoid installing a deprecated package version?

I could not find any documentation which says that npm will not try to install a deprecated package version. example: 2.0.0-beta.2 2.0.0-beta.5 2.0.0-rc.9 So if I install ^2.0.0-beta.2, it will resolve to 2.0.0-rc.9 And if I deprecate…
Abhijeet Ahuja
  • 5,596
  • 5
  • 42
  • 50
0
votes
1 answer

Semantic versioning: Am I allowed to move git tags to a different commit?

Let's say I tagged commit A of my library with tag v1.0.0. Now, I make a minor fix in the API documentation, let's say, fixing a typo. I commit this change, so new commit B now comes right after A. Am I allowed to move the v1.0.0 tag to commit B,…
Amplify
  • 865
  • 1
  • 8
  • 18
0
votes
2 answers

Next semantic version php

Hi I would like to update a semantic version number using php for a three digit system in string form. An example : '1.0.0' => function => '1.0.1' '1.0.12' => function => '1.0.13' Does anyone know a solution to this problem? Thanks in advance
Jip Helsen
  • 1,034
  • 4
  • 15
  • 30
0
votes
1 answer

Can I use the word "Gamma" instead of "rc" in semantic versioning?

Since rc (aka release candidate) comes after beta, can I call it gamma instead? (because gamma comes after beta) Here's an example : Original : v1.2.3-rc.2 Modified : v1.2.3-gamma.2 Thanks in advance :)
KornLS
  • 85
  • 2
  • 7
0
votes
1 answer

Is there an option that can show me what semantic versions of a particular npm package will resolve to?

For instance, say I have "foo: ^1.0.0" listed in my package.json and that project's released versions are [1.0.0, 1.1.0, 1.2.0, 2.0.0]. I want to find out what ^1.0.0 resolves to without installing or looking it up manually. Does a tool for this…
0
votes
0 answers

What are the third and fourth numbers in the preview versions of Microsoft nuget packages?

For example, on nuget.org there are these preview packages published for System.Text.Json: 6.0.0-rc.2.21480.5 6.0.0-rc.1.21451.13…
redcalx
  • 8,177
  • 4
  • 56
  • 105
0
votes
1 answer

How do I trigger release pipeline with continuous deployment?

The title is not the best, I agree, please read more details to understand what I mean... I have a project/repository which has following properties: Commit messages are following Conventional Commits Result of above: there is not single place in…
0
votes
1 answer

How does pipenv determine package versions to install?

I have a Pipenv file which looks something like this [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] antlr4-python3-runtime = "4.8" numpy = "1.19.3" ... However, when I create the environment by running pipenv…
andrea
  • 482
  • 5
  • 22
0
votes
2 answers

How can I mark an API as deleted in doxygen

I'm using doxygen for my C++ project document generation. I would like to delete some redundant API, and I would like to keep these APIs in header file and document, deleting thei implementation, and how can I use doxygen command, to mark these APIs…
ChrisZZ
  • 1,521
  • 2
  • 17
  • 24
0
votes
0 answers

NPM version mismatch when using caret (^) or tilde (~)

I have a main application with a package.json: { name: "My App", "dependencies": { "@myGroup/someLib: "0.2.0" "@myGroup/common: "0.10.0" --> The version is fixed. } } Here is the package.json of my lib: { name: "@myGroup/someLib", …
bokzor
  • 413
  • 7
  • 19
0
votes
1 answer

How best to do bitbucket pipeline automatic versioning?

These days at work, I was asked if it was possible to do automated pipeline versioning. After researching about I found some examples using date versioning, like:2021.21.09.153507 My sh that performs the versioning: git pull --rebase origin dev npm…
0
votes
1 answer

Semver: Introduced new redirect in web app, do I need to increment the major version?

I am unsure when to increment patch, minor and major using semantic versioning. If I introduce a new redirect that is performed when a session (a user) is in a specific state, is this considered a incompatible API change which requires me to…
0
votes
0 answers

Behavioral difference between `^x` and `^x.x.x`

I want to allow yarn to update to all newer minor + patch versions, so I am using the caret. If the latest version of "my-package" is "3.3.3", what are the behavioral differences between "my-package": "^3" and "my-package": "^3.2.1"? If there is…
Shanimal
  • 11,517
  • 7
  • 63
  • 76
0
votes
1 answer

Generating resources with frontend-maven-plugin throws NoSuchFileException for semver when the file does exist

I am using the frontend-maven-plugin to run npm commands during the build process. The npm commands run fine, but the build fails when trying to copy resources: [DEBUG] file semver has a filtered file extension [DEBUG] Using 'UTF-8' encoding to copy…
SelketDaly
  • 539
  • 1
  • 5
  • 20