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

^ in package.json to get latest version of a library

Can I use caret ^ in package json for a library and expect it to pull the latest version. For eg "express": "^2.17.1", can the caret here used to pull the latest stable version which is lets say "4.17.1"
Mythpills
  • 143
  • 1
  • 2
  • 11
0
votes
1 answer

Parsing Semantic Version using Antlr

I translated the SemVer 2 BNF grammar to the following Antlr grammar. grammar SemVer; @header { package com.me.semver; } semVer : normal ('-' preRelease)? ('+' build)? ; normal : major '.' minor '.' patch ; major : NUM ; minor : NUM ; patch : NUM…
Abhijit Sarkar
  • 21,927
  • 20
  • 110
  • 219
0
votes
0 answers

How Microsoft applies versioning for nuget packages

I have tried to find out how Microsoft applies versioning in their NuGet packages (i.e. https://www.nuget.org/packages/System.Text.Json) but there are a couple of numbers I can't figure out where they come from. If we take these packages from…
sergi
  • 1,049
  • 2
  • 12
  • 22
0
votes
0 answers

Does the introduction of authentication justify a major-version bump according to Semantic-Versioning?

semver.org states: Given a version number MAJOR.MINOR.PATCH, increment the [..] MAJOR version when you make incompatible API changes I have a Maven-Plugin, that gathers some data and sends it (via REST) to a server component. Unsecured until…
Andy
  • 1,964
  • 1
  • 15
  • 29
0
votes
1 answer

Github Status Check for Versioning

Im trying to achieve the following scenario. Our developers maintain a version.plist file in the repo. Lets consider master has version 1.1.1. (Follow semver 2.0 specs) When a dev A works on a feature, he creates PR and updates version to 1.2.1. I…
0
votes
1 answer

How should I bump my app version while still in initial developments using SemVer?

Following the SemVer guidelines with x.y.z, I know I should start my developments with version 0.1.0 and do the following in case of: Breaking change: increment y instead of x (which shall remain to 0 until the first production release). Feature:…
ttous
  • 336
  • 1
  • 3
  • 12
0
votes
0 answers

Error: Cannot find module 'semver' Require stack: - having troubles with npm on windows

C:\Users\blobr>npm -v internal/modules/cjs/loader.js:968 throw err; ^ Error: Cannot find module 'semver' Require stack: - C:\Users\blobr\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js -…
0
votes
1 answer

Manual Tagging Master Commits required for GitVersionTask

Does GitversionTask require manually tagging commits on the master branch? Would this typically be done on the build server that completes the pull request? When we have master on 1.1.4 and then merge a release branch 1.2.0-FeatureA, I'd expect…
0
votes
1 answer

What version scheme is this alpine version following?

I was playing around with a script that allows me to find out the OS version of docker images. Trying the latter on alpine:edge returned this 3.13.0_alpha20200626. Printing /etc/os-release outputs the following / # cat /etc/os-release NAME="Alpine…
0
votes
0 answers

How to publish packages with + sign in the version (Semver 2.0.0) to npm?

I see semver 2.0.0 supports versions like 1.0.0-beta+1.1. Here are the valid versions according to semver 2.0.0: https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string But when i try to publish this package. I see…
Kashyap
  • 178
  • 1
  • 2
  • 11
0
votes
0 answers

angular deployment - deploy modules with semantic version

We have a single repo for our angular application, with 4 different teams working on their respective modules. The problem is that the master branch is used to deploy the application on different environments. For example dev , qa, and uat all use…
0
votes
0 answers

How To Handle Shared Library Version Bump In a Multi Repo?

Little context - today I have a monolith application that I am planning to split into micro-services due to it's growth and the need to partial re-deployments. I'm designing a development process where I have a number micro-services in a multi repo…
0
votes
1 answer

Is publishing a package to npm necessary when a file that is ignored by npm is changed and published to GitHub?

The project contains a test folder that is ignored by npm but is not ignored by GitHub. When a change occurs in a file under the test folder, should it be also published to npm in order to keep versions matching? Also, in that case, semantic…
onurcipe
  • 43
  • 6
0
votes
1 answer

Determining release date of a (web) software

Is there any technique to determine the release date of a software. I don't want to use crawler or something similiar, because I have more than 300 softwares in my dataset. For example I want to determine the release date of Modernizr 3.1.4.
0
votes
1 answer

Push version Number to git/azure devops automatically

I have these three commands in my package.json { "build-major": "npm version major --no-git-tag-version && node ./replace.build.js && node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --base-href /QMobile/", …
saikiran
  • 2,247
  • 5
  • 27
  • 42