Questions tagged [versioning]

Versioning is the way changes to programs deemed worthy of release are notated.

Filter by
Sorted by
Tagged with
1
vote
0answers
28 views

Managing application versions using Conan and RPM

I have a shared object that I developed. This shared object is packaged in two forms, a Conan package, and an RPM. It is a Qt project, so it has a .pro file associated with it. Up until now, we ...
2
votes
1answer
91 views

Dependency management for facades/adapters to cloud services (SemVer?)

Suppose I have a library, that basically works as a facade to some cloud service (e.g. JavaScript API that wraps around network calls to some RESTfull service). And once that service introduces a ...
-1
votes
3answers
155 views

How to do versioning for stored procedure?

Is there any way to create versioning for stored procedures? I have created an api which fetches data from a database using store procedures. This api is being consumed from a mobile app. I released ...
0
votes
1answer
159 views

Microservices Versioning - Design Pattern

I have a few questions regarding the versioning in the microservices architecture: Let's say there are three services - S1, S2, S3 S1 calls S2 and S3 to generate a response R1. Service S2 generates ...
-1
votes
1answer
67 views

How to handle major changes (cross-cutting concerns) in REST API?

Let's say we have a REST API application A consumed by other 30 applications. Application "A" uses a cross-cutting security implementation using a Security NuGet package 1.0. All minor/major changes ...
0
votes
0answers
17 views

How to manage versioning of different artifacts when using Maven and GitlabCI?

I have been using Maven for almost a year and have recently started using GitLab CICD. I am trying to develop CIs for the build and deployment of microservices. Each microservice is packed in a docker ...
0
votes
1answer
23 views

How to handle adding new field / partial data update for a gRPC API?

Assuming we have following message that will be used to update data and it just got updated to version 2. message HelloRequest { string name = 1; // version 1 bool is_valid = 2; // version 2 } ...
1
vote
1answer
47 views

Front-end supporting multiple back-end versions - Maintaining backward compatibility

I know it's a broad question so I'll try to be as specific as possible. This question is probably as much an "organisational" question as a technical one. Our company is selling our software/platform ...
2
votes
5answers
669 views

Release branches and trunk versioning

We are using version in following format: Major.Minor.Bugfix.Test Development for upcoming release is going on in the trunk. When enough features are done we are creating a new release branch: 1.1,...
7
votes
4answers
1k views

How to handle version number in code, across branches?

I'm working on a PHP app, using three main branches: 'master' (current stable release), 'bugfix' (for patches) and 'next' (for next minor version). We store the current version number in the code - ...
131
votes
6answers
104k views

How do you achieve a numeric versioning scheme with Git?

My organization is considering moving from SVN to Git. One argument against moving is as follows: How do we do versioning? We have an SDK distribution based on the NetBeans Platform. As the SVN ...
1
vote
1answer
99 views

NuGet versioning with gitflow

Some background information to our actual situation. We are migrating from TFS VC to git. We've a ASP .NET Web API with many different Controller Libraries (>30 assemblies). Many of them are ...
1
vote
1answer
290 views

How to structure your URIs?

I am making a web UI and an HTTP API for editing JSON documents in collaboration (role and versioning system). There are several types of JSON documents. Each type is described by a JSON schema, let'...
40
votes
7answers
44k views

When do you change your major/minor/patch version number?

Possible Duplicate: What “version naming convention” do you use? Do you change your major/minor/patch version numbers right before you release or right after? Example: You just ...
2
votes
2answers
66 views

How to manage updates after a release?

I wonder how should we manage the commits we make AFTER a version is released, according to SEMVER. For example, I just released 1.0.1, now I have 2 choices: Immediately change version to 1.0.2 and ...
1
vote
1answer
110 views

Using semantic version with trunk based development for Python package

I am trying to understand trunk based development with semantic versioning for a Python project. Has anyone had any experience of adopting a trunk based development with semantic versioning for ...
4
votes
2answers
1k views

What is a predictable versioning strategy for a monorepo using semver?

To simplify deployment and project management tasks I maintain a monorepo containing several packages that each have a semver version. To be clear, I don't mean several repositories managed from one ...
2
votes
1answer
50 views

Versioning an Application VS Versioning an Executable/Library

I'm trying to pass a point to my team whereas there are two different kind of "programs" we can serve : applications and executables/librairies. An application in this sense is dependent on other ...
6
votes
4answers
599 views

Am I right in writing our own database migration/versioning software?

I have started work on writing a tool to version the database schemas we use at work and enable migrations under version control. My first research into existing tools turned out to be too cursory due ...
3
votes
1answer
124 views

Semantic Versioning - going from one major version to another?

How should versions be bumped during development between two major versions? For example let say I have version 1.5.0 and my target is to release new major version that will be incompatible with major ...
4
votes
1answer
243 views

How to properly version an API?

I'm designing an API for our web application, that will be consumed by mobile developers that will create our mobile app. I chose to document it using Swagger / OpenAPI 3.0.0. I'm surprised that ...
4
votes
1answer
197 views

What would be the pros and cons of requiring major versions to be forward compatible? [closed]

So I was learning about forward compatibility, and I was wondering if you could warn a "dependent" that a dependency is backward compatible, but not forward compatible*, and vice-versa. The SemVer ...
3
votes
5answers
442 views

Versioning: Where exactly in the code or repository should I write the version number?

Right now I'm doing this: Update the readme to include the new version number and what it does. Commit the version number in git commit message (i.e git commit -m "1.2.1: this does that"). Push the ...
-2
votes
2answers
147 views

How to handle multiple versions of binary file format

I'm writing a reader for the custom binary file format used in one game. The format has multiple versions for example: struct FileHeader { ushort version; uint fieldX; // version 1 uint ...
-1
votes
1answer
83 views

Is there a best practice for storing certificates (e.g. x509), which include private keys, used in unit tests?

In a software library, I wrote, large parts of the code use x509 certificates for various puprposes like signing documents digitally. Is there a best practice for storing test certificates used for ...
-1
votes
1answer
77 views

How to use Semantic Versioning on Existing Multi Component Codebase?

I am working on a multi contributor project, having ~2500 Commits. It has multiple components, i.e. Frontend, Backend and Data Processor/DB Ingestion. Now that we are expecting more contributors, a ...
4
votes
3answers
169 views

Versioning depending on Third parties

I have a question about versioning when I depend on a third party (TP) project's versioning. Our current process is to release a new version every time TP creates a release with security fixes. The ...
0
votes
0answers
51 views

WebAPI Versioning practice - Common version to all controllers

I am using Microsoft.AspNet.WebApi.Versioning for versioning my WebAPI project. I already used version through the header with CustomControllerSelector class. After learning this package, I am ...
3
votes
4answers
2k views

Should versions be bumped in dev branches or master branch?

I have released API 1.0.0 in the master branch (default branch). Since then I have separately branched to branches api2/foo and api2/bar, both containing backwards-incompatible changes. The API ...
14
votes
1answer
166k views

Summary of differences between Java versions? [closed]

What are the major differences in between Java version in terms of software development? Where can one find a summary of the most important changes related to programming? The Release Notes such as ...
-2
votes
3answers
124 views

Is there any rule of thumb regarding which version of Android you should target, minus the current version?

I am working on an Android app, and trying to figure out which version I should target. The current version is 28, so I figure that targeting any version of that minus 3 (ie >= 25) seems reasonable, ...
1
vote
1answer
91 views

Sould i tag a hotfix release in production using GIT scm

We have weekly planned release cycle. Following standard semantic versioning system. Like first week V3.0.0, next V3.0.1 patch release, next week V3.1.0 minor release. Apart from the above planned ...
-1
votes
1answer
111 views

Is there a difference between older versions of the JDK and newer versions that might make learning an older version bad? [closed]

Are there significant differences between, say, JDK 7 and JDK 11 (which latter I believe is the newest version of the JDK), where significance is defined by a change which might make someone who has ...
0
votes
2answers
101 views

Besides the obvious is there any good reason to version separate components under one general release?

I am working at a company that deals with software specifically designed for 3rd-party customers in a Business-To-Business scheme. We have variations of a large software, that for every customer get ...
1
vote
3answers
70 views

Versioning different flavors built from shared source

I need advice on how to version builds based on shared and separate codes at the same time. I have a gradle project with multiple flavors. Large part of the code is shared. Some parts are flavor ...
1
vote
2answers
193 views

Storing config in source control, but a different version for each developer

We have a developer toolchain, governed by a config file. Each developer can have their own version of the config file. What is a good way to store separate versions of that config for each developer ...
2
votes
3answers
65 views

Using data to maintain compatibility when evolving RESTful service

I've been reading up on API versioning for REST APIs. Most of the articles I've come across (here's an example) seem to focus on two options: URI based versioning, e.g. v1/my_resource/ Media Type ...
5
votes
3answers
1k views

Semantic versions/versions for web applications

So I've been researching and looking into versioning my applications correctly rather than coming up with my own scheme. Semantic versioning is a popular option as many of you probably know, but my ...
-3
votes
1answer
40 views

Software Platform/Framework Backwards Compatibility with Extensions

How do software platforms/frameworks test for backwards compatibility with third party extensions? For instance, say I have a framework that many third party extensions rely on, and I want to make a ...
7
votes
3answers
277 views

Interoperability between client and server versions

Similar question: How do you handle versioning in a multi-sided project? Since the question above was asked almost 4 years ago, I was wondering if any new ideas have emerged . - We have a situation ...
3
votes
2answers
121 views

Code quality on backports branch with limitted lifespan

JuliaLang just hit version 1.0 the other week I and many other package maintainers have thus updated out packages to work with julia 0.7 (the transitional release) and 1.0. In doing so, we've often ...
1
vote
1answer
297 views

Semantic versioning for content websites

How applicable is it to adapt SemVer for content-centric websites (ie/ not web apps)? Most of the SemVer 2.0.0 specifications able to translate into such type of websites however it becomes vagues ...
2
votes
2answers
604 views

Internal REST API versioning strategy

We are developing internal api's for integrating the server side logic (backend) with frontend (web, mobile etc). We have a java stack in our backend and front end is coded in react and react native. ...
-5
votes
1answer
68 views

What's the `__version_info__ ` function in a PyPi package?

What's the __version_info__ function? I am reading a open source library uritemplate, I found: __version__ = '3.0.0' __version_info__ = tuple(int(i) for i in __version__.split('.') if i.isdigit()) ...
139
votes
9answers
15k views

Maintain hundreds of customized branches over master branch

Currently we have one master branch for our PHP application in a shared repository. We have more than 500 clients who are subscribers of our software, most of whom have some customization for ...
2
votes
1answer
77 views

Version number for multiple softwares coming from same code base

We currently have a big code base from which we can generate 5 differents softwares. The code base is composed of around 20 submodules which are used (or not) by each software. Keeping a semver for ...
1
vote
1answer
254 views

Avoid or minimize merge conflicts while using NuGet and GitFlow

Here's our problem - we have several solutions with multiple projects using our own nuget packages. We're following GitFlow, but not SemVer. Every time we're developing bigger feature or epic we want ...
0
votes
1answer
127 views

My team is working on the second version of software, but we are still in alpha. How should we version it?

So this is a little complicated. We are trying to follow semantic versioning (x.y.z) but we are having trouble agreeing with each other on what numbers we should start at. We inherited a product, let'...
3
votes
1answer
309 views

How to improve my workflow (git, symfony, composer, bower, grunt)?

It's time to improve my workflow. I never had the responsibility of setting up the infrastructure, managing git, versions or releases. For me it was simple push/pull most of the time and I think, the ...
-1
votes
1answer
214 views

Multi module project version management

I have a CMake multi module project made of a library and an executable. Both the root project and each sub module has its own version (major.minor.patch). I would like to know how to handle each ...