Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [versioning]

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

3
votes
5answers
314 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 ...
4
votes
1answer
105 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 ...
-2
votes
2answers
125 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
78 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
47 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
163 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
23 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 ...
1
vote
1answer
51 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
98 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
96 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
65 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
155 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
53 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 ...
2
votes
2answers
565 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 ...
-3
votes
1answer
38 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
216 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 ...
0
votes
1answer
163 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 ...
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 ...
-2
votes
3answers
116 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, ...
2
votes
1answer
75 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 ...
-5
votes
1answer
56 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()) ...
2
votes
1answer
72 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
188 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
0answers
37 views

Is re-using parts of older mapper/parser versions advisable?

Context I'm working on an app that uses the JSON format for persistence on a web server. The app is in production and features are being added over time, so from time to time there's some additional ...
0
votes
1answer
125 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
4answers
408 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,...
-1
votes
1answer
167 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 ...
0
votes
0answers
26 views

How to organize classes which should reflect different versions of standard?

I have some standard which changes in time. Let's say I have std_v1, std_v2 and std_v3. Those standards have a lot of common parts with some little differences, possible additions and deletions. On ...
5
votes
2answers
726 views

C# Names of Namespaces with version suffix

In official Microsoft docs: ✓ DO use a stable, version-independent product name at the second level of a namespace name. But in Reference Source, the following namespaces ends with Version: ...
-1
votes
1answer
57 views

Are there examples of having 2 Release version numbers for different components in the same monolithic image?

I am new to an organization that has a release version number for their vision software and a different release version number for the supporting functionality (dvr, provisioning, etc) around that ...
3
votes
2answers
606 views

Should we assign version numbers for internal releases?

In our environment: Internal releases are those which went through testing process. Builds either pass or fail. External releases are those which are delivered to users. For external releases, ...
2
votes
2answers
449 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
3answers
505 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 ...
-2
votes
2answers
162 views

What should be the version of the very first build of a software? [closed]

As the title explains the question, let's assume that we're using versioning as major.minor.revision.build. What should the initial version of a software build be? 0.0.0.1 or 0.0.0.0 or anything else?
1
vote
0answers
17 views

How can I make sure a branch gets duplicated in my development and main branches in TFVC?

I inherited a Visual Studio solution with a Main branch, a QA branch off of Main, and a DEV branch off of QA. It seems these are the only branches and they've existed for the lifespan of the solution. ...
1
vote
4answers
99 views

Suggestion REST service versioning

I want to enable versioning in my REST service via urls. Need some suggestions/feedback on which is better mechanism? <myapp_context>/v1/<sub_context> or v1/<myapp_context>/<...
-3
votes
1answer
156 views

What is structure of versioning process?

How should be represents process of versioning in developer team? Suppose that we have CI system, and we want start versioning our software. If we speak about semver, then major and minor version ...
4
votes
4answers
1k views

Binary data formats, how to make ensure you can read different format versions?

On our project we have this data format that we use to process and record data on. As of late our application changed so that many of the data formats parameters have become obsolete. Currently we ...
2
votes
3answers
523 views

How to version, with semantic version, when a bug is fixed between a stable version and unstable version

I have a doubt with semantic versioning. I'm working with semantic version like is shown in semver Imagine this scenario: A stable version, named as 1.1.0 An unstable version, named as 1.1.1-rc1 A ...
4
votes
1answer
462 views

Semantic versioning with bugfixes and new features in the same release

After reading a lot about semantic versioning I got a basic understanding of the concept but I'm not sure what's the best way to increment the version number in the following case: Let's pretend that ...
-3
votes
3answers
613 views

Software release, is it ok to skip version numbers?

So we have a code base that gradle builds into 3 different targets for 3 different clients that are from a business perspective completely separate. To simplify our release workflow, we have opted to ...
-2
votes
1answer
788 views

What are “Version.txt/Version in build script” and “Build Server versioning”?

http://gitversion.readthedocs.io/en/latest/why/ and https://github.com/GitTools/GitVersion explain the advantage of GitVersion over "Version.txt/Version in build script" and "Build Server versioning"...
0
votes
1answer
188 views

What is versioning (as in GitVersion) used for?

http://gitversion.readthedocs.io/en/latest/why/ and https://github.com/GitTools/GitVersion explain the advantage of GitVersion over "Version.txt/Version in build script" and "Build Server versioning"...
0
votes
1answer
450 views

How to handle mapping from object model to different versions of contracts or DTO's

I'm looking for patterns or best practices for maintaining different versions of an API contract. There's lots of information on the internet about how to version API's (URL's vs. headers etc), but ...
2
votes
3answers
583 views

Version number between sprints

My question is a little bit about branching, versioning and agile development in general, but the heart of all three is the version number I think. Currently, I'm using internal version numbers (e.g. ...
15
votes
3answers
1k views

Versioning REST APIs. Each API has its own version

It's very common to specify the version of REST APIs in the URL, specifically at the beginning of path, i.e. something like: POST /api/v1/accounts GET /api/v1/accounts/details However, I haven't ...
1
vote
2answers
570 views

Major version number as part of package name / namespace?

Background In a software ecosystem where different packages depend on different versions of other packages, sometimes dependency resolution ends in a version conflict. Example: Root package A ...
1
vote
2answers
293 views

What does it mean Public API in the Semantic Versioning Specification

All,We need a convention to assign a version number for our product. After I research. I found this post answer my question. And it lead me to the http://semver.org/, The Semantic Versioning ...
0
votes
2answers
65 views

Ways to version deployments of different software as one piece ?

We are C# shop (and just starting with TFS) with number of different solutions (and there are lot of them) that represent different components, that we deploy on fairly large number of production ...
5
votes
2answers
199 views

Maintaining evolving versions of interop structures and classes

A C# .NET application talks to an external component by calling a known API and marshalling interop structures from the component's response. This is already implemented and working well. However, ...