682 questions
0
votes
0
answers
70
views
How to use semver with npm and a private repository
I'm trying to include a private repository, that I own, in a package.json using the semver syntax like so:
"dependencies": {
"nwm-common-react": "git+https://gitlab.com/...
0
votes
0
answers
33
views
How to handle semantic versioning when cloud and on-prem branches diverge?
I'm working on a project that maintains two active release branches:
10.0.x → for on-prem deployments
10.1.x → for cloud deployments
We have an automated system that merges changes from the on-prem ...
0
votes
0
answers
159
views
How to override default GitVersion behavior to bump version using both tags and commit messages (GitFlow mode)
I'm using GitVersion with the default GitFlow workflow (workflow: GitFlow/v1), and I want to leverage both:
Use annotated Git tags (e.g. v1.2.0) to create stable releases
Use +semver: in commit ...
0
votes
0
answers
37
views
JSPM Install command does not download dependencies in "overrides" section mentioned in project root/package.json
I (new to js) need to do a security fix regarding a transitive dependency in one of our projects. The lodash transitive dependency version in babel-core dependency is being highlighted as version that ...
-2
votes
1
answer
82
views
Doesn't package-lock.json lose its purpose if we all use package-lock.json?
This is a follow-up question to an answer of a similar question asking whether package-lock.json is redundant if we only specify exact versions in package.json.
The answer states that package-lock....
0
votes
1
answer
183
views
How do I get unpinned major and minor version tags for my repo using release-please?
I am using release please to generate releases and it's making tags like v3.2.1
However, I am finding it tedious to have to manually update the versions with every bugfix. Is it possible to get ...
1
vote
1
answer
270
views
How do I create major and minor tags for components using release-please?
I have a monorepo with multiple components that I would like to version separately with unpinned major and minor versions.
My directory is like
packages/
package1/
package2/
and each package is ...
0
votes
1
answer
177
views
How to regex in semantic versioning in flux image policy for "v2.2.9a"
I want the flux to be able to read and triggers with versioning such as v2.2.9, v2.2.9a, v2.2.9b
Currently it was working for v2.2.9, v2.3.0 but not when appending alphabet at the end.
kind: ...
1
vote
1
answer
57
views
Go module publishing: tag is posted on Github but the Go toolchain does not see it
I have a tool written in Go that I publish on Github with periodic revisions. The toolchain version is 1.23 and when I am ready to release a new version, I tag it in Git as vX.Y.Z and push to Github, ...
1
vote
1
answer
149
views
Semantic versioning and the experimental API element
I version my APIs (of various types: REST, Java, etc.) according to the rules of semantic versioning (for REST API specifying the version in the OAS in the version field of the Info Object; for Java ...
3
votes
2
answers
94
views
Is it safe to import nuget package with wildcard instead of patch version in production?
I would like to import some third party nuget package into my project. The latest package version is 2.3.4.5
Would it be safe if I import this packages as 2.3.* so that I benefit from patches to be ...
2
votes
1
answer
95
views
Is there any gradle plugin for checking versions of transitive dependency?
We have a modular project and dependency looks like this
core
level_1-app depends on core
level_2-app depends on level_1-app
level_3_1-app depends on level_2-app
level_3_2-app depends on level_2-app
...
3
votes
1
answer
93
views
What are the semantics of an underspecified exact version pin in Cargo?
Consider an entry in the [dependencies] section of Cargo.toml file as follows:
[dependencies]
thingy = "=1.2"
So, this is a comparison requirement, and it is an "equals" ...
1
vote
2
answers
174
views
How to force renovate to set azure pipeline task from "x@1" to "x@2" instead of "[email protected]"
[CONTEXT]
I use renovate (azure-pipeline manager) to update my YML azure pipelines tasks.
[NEED]
If my pipeline calls my-task@1, I don't want a PR that sets [email protected], I want to keep this notation ...
0
votes
1
answer
83
views
Why does my package version resolve to an older version with the caret?
I tried searching about this, but it's a tough topic to search, or there isn't anything. Sorry if I'm duplicating.
When working with other developers, we tend to name our npm package versions ...
1
vote
0
answers
39
views
How to move an interface to an upstream package in PHP
Suppose that in a PHP library package I have this:
namespace Upstream {
class Thing {
}
}
And in another library package, which depends on Upstream, I have this:
namespace Library {
...
1
vote
2
answers
169
views
Can changing impl Trait to generic in function argument be a breaking change?
Is it possible that changing function argument type from impl Trait to a generic is a breaking change? The Rust Reference states that:
Note: For function parameters, generic type parameters and impl ...
0
votes
1
answer
80
views
Semver: Automate tagging and push with Jenkins
My default/base docker image on my project builds tag 1.0.0. My goal is to automate that with a semver versioning on my Jenkins build so on my next build , tag and push, the next version should be 1.1....
0
votes
1
answer
57
views
Add a dependency with exact semver constraint through npm CLI
Is it possible to add the specified semver range of the installed package from CLI rather than editing package.json manually?
The following command:
npm i --save-peer react@">= 18" svelte@...
2
votes
0
answers
166
views
.NET build failing during getting Nuget packages from Artifactory repo
I'm setting up Jenkins build pipeline for .NET Core. The build step is failing because it can't get all dependent Nuget packages from our local Artificatory repo. I assume that in general the process ...
1
vote
1
answer
86
views
NPM Version Range Grammar not regular?
When specifying required versions of a dependency in npm, we can specify ranges of versions. For example:
1.2.7 || >=1.2.9 <2.0.0
Specification:
https://github.com/npm/node-semver?tab=readme-ov-...
2
votes
1
answer
208
views
How do minor/patch upgrades in exposed dependencies affect SemVer?
The SemVer Specification details what to do when dependencies are changed without updating the public API. What exactly constitutes a change to the "public API", however, is still unclear to ...
1
vote
0
answers
42
views
Which versioning convention does git --sort use?
When you look online for versioning best practices, it almost always comes up with SemVer, or PEP440 for python packages.
My question is: which versioning convention does git follow, when, for example,...
0
votes
2
answers
2k
views
Semantic Versioning - pre release
I have latest release version ex. v1.6.0 (master)
then I create new prerelease and it automatically creates pre release + tag
v1.6.0-develop.1 (develop branch)
the problem is that in github releases ...
0
votes
1
answer
50
views
How to produce same versions with Jenkins and local builds
I intend to use semver2.0 with + added as metadata for main branch.
eg: on main 1.2.3+20241202121212
eg: on release 1.2.3
I will provide major,mino,patch as a parameter to Jenkins.
My problem is, how ...
0
votes
0
answers
117
views
Change description missing in git releases triggered by semantic release
I recently implemented semantic-release and versioning plugins in my application to streamline versioning, tagging, and releases. Below is my releaserc.yml configuration:
branches:
- '+([0-9])?(.{+([...
0
votes
1
answer
704
views
How to manage non-semver dependencies in Renovate?
I'v got the following python dependencies to manage with renovate, but I can't get a valid configuration that updates all the dependencies.
opentelemetry-api==1.21.0
opentelemetry-semantic-conventions=...
1
vote
1
answer
196
views
Flutter - How to get the build number of the app?
I understand the usage of package_info_plus package and I am able to get the version number correctly.
The issue here is that the Build number of our application is decided by Github Runner on release ...
0
votes
1
answer
173
views
standard-version not counting features correctly
I'm using conventional-changelog's standard-version to manage semantic versioning and generate my CHANGELOG.md in my application.
I've already made my first release, which means my app's version is ...
4
votes
2
answers
185
views
How can I use a trait from a transitive dependency in Rust?
How can I use a trait from a transitive dependency crate in my application?
Here's a minimal illustrative example of the problem I've run into:
In Cargo.toml, I have:
[dependencies]
mersenne_twister = ...
1
vote
1
answer
2k
views
python-semantic-release doesn't recognise gitlab
I tried to set up my repo to automatically trigger versioning increase based on commit.
But it doesn't seem to recognise that it's on Gitlab.
Here's the logs of the latest run:
semantic-release -vv ...
0
votes
1
answer
237
views
Calculate and apply Git Tag for different Repo in Azure pipelines
Currently we have two repo one for Infra related and one for Source code. when I want to calculate its calculating against Infra branch because that's where its actually running. How can I calculate ...
0
votes
0
answers
224
views
How yarn.lock knows what version to resolve?
I have a project with several microservices, each of them have a package.json.
In all of them I have a sequelize package that I want to be updated to the latest minor/patch version, so I used the ...
0
votes
1
answer
684
views
Increase version number with each git commit
I would like to automate assigning version number with each git commit, according to major.minor.patch scheme.
For instance, start with commit version 1.0.0. The next commit will be version 1.0.1, and ...
0
votes
1
answer
219
views
Setting semantic version for iOS flutter bundle
I have a build pipeline, that builds up flutter application, for both iOS and android.
For android I have no issues in running below command:
flutter build appbundle --build-number "202312001&...
-1
votes
1
answer
309
views
Sorting mixed format version tags in Node.js
I'm attempting to sort a list of tags in order to find the highest tag number. The tags are from a third-party source like Dockerhub, and are in a mixed format (not all semver) i.e.
const tagList = ['...
2
votes
3
answers
1k
views
Semver comparison using JQ
I have a array that looks like this:
[
{
"id": 1,
"version": "2.3.4"
},
{
"id": 2,
"version": "1.4.4"
},
{
&...
-1
votes
1
answer
1k
views
What is best practice for patching a prior release?
I'm working on a project where we need to patch an old version of our library. We publish/release this package to GitHub Package Registry and (needless to say) use semantic versioning. This is our ...
0
votes
1
answer
93
views
Cargo does not match `rend = "^0.5"` against 0.5.0-pre2
I added the following line in my Cargo.toml:
rkyv = { git = "https://github.com/rkyv/rkyv", rev = "e2b0241a209e70e2fdd7ec43386ee72e2021d1a8" }
where e2b024 depends on
rend = { ...
0
votes
1
answer
94
views
In semantic versioning, which version is updated when a module adds compatibility without any breaking changes?
I had an npm module that was not compatible with React 18 and Next.js. Now, I have made changes to certain sections to ensure compatibility with these packages, without causing any breaking changes ...
-1
votes
2
answers
86
views
How to get next nearest version using batch file | Software versioning
I am looking for a batch file script that can get me previous available version from a list of versions string.
Example:
ListOfVersion: "16.5.0.0,16.5.1.0,16.5.2.0,16.6.0.0,17.2.0.0"
...
1
vote
1
answer
803
views
Github support of Semver patterns
What I am trying to do:
I am trying to set up a deployment environment tag rule in Github with the recommended Semver regex pattern on the bottom of page here: https://semver.org/
Issue I am ...
1
vote
0
answers
40
views
Versioning Assemblies across two different Product Versions in parallel
Suppose I have a piece of software which I'm about to release but am making some final changes for - the release version of this product will be 1.3. The next planned release of this product will be ...
0
votes
1
answer
225
views
Which version of the application will Google Play provide to users as an update?
A mental situation:
There is a v1.0.0 version of the app in Play Market
I'm releasing version v1.0.1 of the app (in Play Market, the update is apparently for everyone)
Some users are not able to ...
0
votes
0
answers
179
views
Python packaging semantic versioning >= vs. ~= in requirements.txt
I have a general question about handling versions in requirements.txt of my package foo. I cannot decide if >= or ~= is better.
assume pandas~=1.3.3 in requirements.txt of my package foo
in this ...
0
votes
0
answers
290
views
How to use azure devops pipeline counter in bash?
I want to use a counter to have unique build numbers in case my version string has not changed.
This is my config:
- task: Bash@3
name: GetSemVer
displayName: Get semantic version
inputs:...
3
votes
1
answer
2k
views
postgres error: mergejoin input data is out of order
I have two tables in my postgres database, relations and versioninfo:
postgres=# \d+ relations
Table "public.relations"
...
0
votes
1
answer
3k
views
Lerna problem using conventional commits with an existing project
I've been manually managing my package versions and changelog.md file up to the 5.2.0. Now I'm trying to integrate Lerna to manage my package but facing an issue while doing that.
Issue: lerna version ...
0
votes
1
answer
71
views
Error while changing data type of a column using alter column in postgresql
I have a table where columns are like this:
system_name varchar(255),
from_package_name varchar(255),
from_version varchar(255)
The from_version column is of varying characters type right now which ...
0
votes
0
answers
650
views
Updating dependencies of my nuget package is a breaking change
When I create some nuget (N1) that uses other nugets (N2), I reference it with floating version (e.g. 3.). I do this so that whoever uses my nuget (N1) will get the latest minor of the dependencies (...