Skip to main content

Questions tagged [backwards-compatibility]

Backward compatibility refers to a software or hardware system that can successfully use interfaces and data from earlier versions of the system.

backwards-compatibility
0 votes
0 answers
40 views

Writing backwards-compatible python 3.12 code that uses the @override decorator [duplicate]

I have certain python-3.12 code that I want to test for versions >= python-3.8. This is the sample code that I have: from typing import override ... class Base: ... def some_method(self, ...
Suhas Srivastava's user avatar
0 votes
0 answers
54 views

.NET8 vs .NET Core 3.1 compatibility

Is it ok to create a test project in .NET 8 for an application that targets .NET Core 3.1? If no, should both be 3.1? I have an existing application that targets .NET Core 3.1 and now want to add ...
Davia's user avatar
  • 109
3 votes
1 answer
80 views

Compatibility of Jar compiled with newer JDK

I have a maven project using Java 17. The maven-compiler-pugin is set to <release>17</release>. If I build this project with a newer JDK version (for example 21), will the produced Jar ...
Robert P's user avatar
  • 9,713
0 votes
0 answers
19 views

libcurl, backwards ABI compatibility and runtime overloading vs. LD_PRELOAD/DYLD_INSERT_LIBRARIES

I am tinkering with the MacPorts "base" layer, in particular the interface that its "Pextlib" package for Tcl provides to libcurl. MacPorts has an up-to-date port for curl, but its ...
RJVB's user avatar
  • 734
1 vote
1 answer
30 views

Backward-compatible SQL query against database with new table

Let's have several Oracle databases and suppose we create table t with columns a, b in some of them. How to develop an SQL query which can be successfully run against all databases such that on ...
Tomáš Záluský's user avatar
5 votes
1 answer
304 views

Virtual threads in Java with backwards compatibility

I am writing a library that makes extensive use of threading and would likely benefit from virtual threads in Java 21+. However, the library must also work for earlier versions of Java (possibly back ...
mikera's user avatar
  • 106k
0 votes
1 answer
191 views

Qt 5 project won't compile in Qt 6 despite core5compat and QT_DISABLE_DEPRECATED_BEFORE

My computer has recently undergone a fresh install on Debian 12 after some mayhem in updating Ubuntu. I reinstalled Qt Creator and Qt6.6. I opened several old projects that used to work under Qt5....
Julien's user avatar
  • 1
1 vote
2 answers
55 views

Can an app build on windows server 2019 run on windows server 2016

I have an app that was built on windows server 2019, using Visual Studio 2019. It fails to run on windows server 2016. Is there a way to get this app to run on windows server 2016?
Zdenik's user avatar
  • 426
0 votes
0 answers
51 views

what is the most compatible GDB version to use with Nemiver?

what is the most compatible GDB version to use with Nemiver? or how to prevent the "freezing" below? I am getting this on debug log when nemiver stops in a break point but doesnt really stop:...
Aquarius Power's user avatar
0 votes
1 answer
304 views

Angular 17 component library for Angular 16 apps

Working on an Angular component library @carbon/charts-angular that is a thin wrapper for another component library that is vanilla JavaScript (@carbon/charts). The code for each component has not ...
nstuyvesant's user avatar
  • 1,467
1 vote
0 answers
35 views

How would you structure a codebase that consumes multiple versions of same API?

Image that we have some hardware and it has an API which is versioned based on its operating system version. If operating system is updated there is a chance that an API has changed (endpoints changed,...
Tomas Jablonskis's user avatar
0 votes
0 answers
888 views

Is there an Android annotation (@RequiresApi >= xxx or desugared-library-version >= y.z)?

This is a follow-up-question to Is there an annotation that denotes a max Android API version? Is there an Android annotation that produces a compiler error if neither @RequiresApi(xxx) nor @...
k3b's user avatar
  • 14.7k
1 vote
0 answers
59 views

Java Json schema validator along with evolution of the schema

We need to Store some JSON messages which has to follow schema that we are going to process (from a Java Application, if that matters). The concern is the schema can also be evolved over time and we ...
Amila Banuka Amarasinghe's user avatar
1 vote
1 answer
173 views

Get effect of regex /a prior to Perl 5.14

I'm working on some code with unusually high backward compatibility requirements: it must work correctly by Perl >= 5.6.0 (yes, you read that right, 5.6.0) and cannot safely assume the existence of ...
zwol's user avatar
  • 139k
2 votes
1 answer
69 views

How to add new pure virtual method to class in a migration-friendly way?

Situation: We have a C++ library "L" with a class X that has already some pure virtual methods. The library "L" provides all derived classes for X that are needed in production ...
Dirk Herrmann's user avatar

15 30 50 per page
1
2 3 4 5
72