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 manage artefact versioning for npm packages in development for angular project or libraries?

Semantic versioning is recommended for angular libraries. But how is versioning handled for library builds that are under development? In a development branch, when I make a commit, the CI triggers the build and publishes the package to my Artifact…
0
votes
0 answers

When I am installing expo on my pc, it is showing a error

I have installed node on E dir and I am installing expo for react-native E:>npm i -g expo-cli npm ERR! code ETARGET npm ERR! notarget No matching version found for semver@^7.3.5. npm ERR! notarget In most cases you or one of your dependencies are…
0
votes
0 answers

Semantic versioning in npm

I am reading this npm docs about semantic versioning. I have seen that this syntax is used to tell npm what packages to install. Patch releases: 1.0 or 1.0.x or ~1.0.4 Minor releases: 1 or 1.x or ^1.0.4 Major releases: * or x So my question…
YulePale
  • 6,688
  • 16
  • 46
  • 95
0
votes
1 answer

How should the version look when artifacts are relased?

I'm working on my project's versioning and I want to adopt the guidelines from here. I just have one question that either I didn't get or the material didn't cover. How should the release version look? My understanding is that having a pre-release…
Vivere
  • 1,919
  • 4
  • 16
  • 35
0
votes
2 answers

Setup @semantic-release for considering 'refactor' commits in the CHANGELOG

Using @semantic-release I'd like to consider refactor changes for both, triggering a new release and write down in the CHANGELOG.md file. So far, I've included refactor commits at "@semantic-release/commit-analyzer" so they are triggering a patch…
Manu Artero
  • 9,238
  • 6
  • 58
  • 73
0
votes
1 answer

How does Apache felix baseline plugin calculate required version change?

I added a single method definition in a interface and I am getting a baseline error with a suggestion asking me for a major version change. I want to ask how does it calculate whether a major or minor change is required? adding one line method…
Praveen Kumar
  • 222
  • 3
  • 6
0
votes
1 answer

SemVer and 0.x.y Releases on GitHub

Why do some GitHub repos have 0.x.y releases if version 1.0.0 is the first public API release per SemVer2? Isn't 0.x.y development before the first complete working code you want to release to the public (i.e. wouldn't anything pre-1.0 not be…
adam.hendry
  • 4,458
  • 5
  • 24
  • 51
0
votes
0 answers

When using GitVersion in TeamCity, how do I get it to include build metadata in the TC Build number

I've followed the GitVersion instructions for TeamCity and what that gives me is a build number like this: This is nearly perfect, except that occasionally (for example if I re-run the build manually), GitVersion computes the exact same build…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
0
votes
1 answer

How to use semantic versioning when compatibility differs between parts of a project

Suppose a project that consists of multiple parts A file format definition A library to interact with the file format A CLI utility application that uses the library to perform tasks I can do non-backwards compatible changes to (3) without…
user877329
  • 6,717
  • 8
  • 46
  • 88
0
votes
1 answer

SemVer: Do different results for the same seed warrant a major change?

Say I have written a piece of software (in R, for didactic purposes) which is following the Semantic Versioning Specification. This is the content of version 1.0.0 of the software: funk <- function(x) { jitter(x) } Which works so…
Waldir Leoncio
  • 10,853
  • 19
  • 77
  • 107
0
votes
1 answer

Could a patch include an addition in SemVer?

I'm trying to adopt a version control system for a python package I'm working on (I'm very new to these systems), and I have been reading up on semantic versioning. I like the system a lot, but there are situations in which I have some second…
Luke Poeppel
  • 143
  • 1
  • 10
0
votes
1 answer

Get array of latest minor versions from array

I have this array of semver versions: let versions = ['4.5.0', '4.5.1', '4.5.2', '4.6.0', '4.6.1', '4.6.2', '4.7.0', '4.7.1', '4.8.0', '4.8.1'] I want to filter this array and keep only the latest patch versions based on minor and major…
MrWakeCZ
  • 3
  • 2
0
votes
2 answers

Is maven release plugin following conventional commit format?

I am planning to configure semantic versioning for maven project and for CI. Is maven release plugin following conventional commit format? So it will increase the major.minor.patch as per commit message and update changelog.md. Something similar to…
0
votes
1 answer

How do I update only *minor* version-bumps of installed Homebrew packages?

I would like to filter brew upgrade (which, by default, upgrades all installed packages to their latest versions) to only automatically update the 'chaff' - any packages which saw minor bumps, for which I am too lazy to read changenotes or worry…
ELLIOTTCABLE
  • 17,185
  • 12
  • 62
  • 78
0
votes
1 answer

GitVersion and NuGet - Unexpected Version Ordering

I have a project that is packaged up using nuget and saved to DevOps Artifacts. I have a current develop version of say 1.0.0-alpha.1 and I create a new branch feature/Branch1. The build process runs and creates a new version 1.0.0-branch1 and, if I…
Stuart Hemming
  • 1,553
  • 2
  • 21
  • 44