backwards-compatibility

How to specify compatibility version for dylib in iPhone projects?

I recently added a static library (mobclix) to my iPhone project which required me to set the Base SDK to 3.0. This library is claimed to be compatible with 2.2 and so far it looks like it's true. I set the project's Deployment Target to 2.2. No problems there. Now, I am also using libxml2 in this same project. Apparently, the libxml2.2...

Java 6 Source backward-compatibility and SQL

My understanding is that in order to maintain source-compatibility, Java never introduces new methods to public interfaces, as that breaks existing clients implementing the interfaces. Java Release notes states In general, the policy is as follows, except for any incompatibilities listed further below: Maintenance releas...

Staying backwards compatible with iPhone OS 2.2.1

Hi everyone! I currently have an app on the App Store that was built with version 2.2.1, i.e. where the Base SDK and the Deployment Target were both set to 2.2.1. That app runs fine. Since then I've upgraded my version of XCode to 3.1.3 and I'm working on an update to my app with the Base SDK set to 3.0 and the Deployment Target set to ...

API design: Adding a new exception type - is it safe?

Hi All, I need to change an existing service API to throw an extra exception for a scenario. The exception will be a subtype of an already thrown exception. Is it okay to do this or will it be considered backwards incompatible? I have the interface in a separate jar, so if my service throws this new exception which is a child of the al...

Git repository backwards compatibility

I just had a quick question about git - how backwards compatible are git repositories? Eg., I've created a repository using git 1.6.4 and the svn2git ruby script, but I want to put it on a machine that's running Debian Lenny, which has git 1.5.6.5. Would I still be able to interact with the repository properly? ...

Is MySQL Connector/Net backward compatible?

If I have a MySQL server 5.1, can I use all the onnectors from version 5.1 and above?: Connector/Net 6.1 Connector/Net 6.0 Connector/Net 5.2 Connector/Net 5.1 Clicking http://dev.mysql.com/downloads/connector/net/ defaults to 6.0... ...

hashlib / md5. Compatibility with python 2.4

Hi all. python 2.6 reports that the md5 module is obsolete and hashlib should be used. If I change import md5 to import hashlib I will solve for python 2.5 and python 2.6, but not for python 2.4, which has no hashlib module (leading to a ImportError, which I can catch). Now, to fix it, I could do a try/catch, and define a getMd5() func...

Few questions about PHP6

I looked at one of the post on SO about what will break when PHP6 is released. I have a few questions below about some of the stuff... 1) {} for string offsets no longer available. what does this mean? 2) [] un-deprecated for accessing characters in a string. what does this mean? 3) var will be an alias of public, and raises E_ST...

how to run my iphone 2.0 app in iphone os 2.0 and also 3.0 and above os

i have iphone with os ver. 2.0 i read that for app store all appplication must be run 3.0 os.so how could i make my application to run in both firmware.is there a way i can detect if os ver.>3.0 then run different statments alse run statments for lower than 3.0 os.currently i am using this. #if __IPHONE_3_0 cell.textLabel.text=cellValu...

Technical considerations in dropping support for old compiler versions?

I work on a project that's distributed for free in both source and binary form, since many of our users need to compile it specifically for their system. The necessitates a degree of consideration in maintaining backwards compatibility with older host systems, and primarily their compilers. Some of the cruftiest of these, such as GCC 3....

Giving version numbers that make clear when you're breaking backward compatibility

I've been working on my open source project for about 6 months, and I want to release it officially soon. The thing is, I'm quite sure that in the near future I will want to change my project in a way that will break backward compatibility, probably multiple times. (My code is a framework in which people have to build code according to a...

What is the difference, usage-wise, between defines/macros/structs and consts/funcs/classes? (C++)

I know that the difference between defines and constants is that constants have type, and that between macros and functions, functions are called, and typed, whereas macros are untyped inline. Not so much the difference between structs and classes, but I don't think there is one, besides the public/private default thing (and I'm taking ...

Is Image Magick 6.2.4 always backwardly compatible with legacy versions?

To use the PHP extension for ImageMagick, I need to upgrade my server to ImageMagick version 6.2.4. However I have some legacy code that uses version 6.0.7 I saw a slashdot comment from 2006 about ImageMagick being notoriously bad for backwards compatibility but I have no personal experience of this. Looking throught the archives it ...

In the 13 years that Java has been around, are there any specific examples of backward incompatibilities?

It has been thirteen years between the initial public release of Java 1.0 (1996) and the current stable release 1.6.0_16 (2009). During those thirteen years the following notable releases have been made: JDK 1.0 (January, 1996) JDK 1.1 (February, 1997) J2SE 1.2 (December, 1998) J2SE 1.3 (May, 2000) J2SE 1.4 (February, 2002) J2SE 5.0 (...

iBatis 3 not backward compatible?

Does anyone know why the API is not backward compatible? Is it still thread safe? Anyone know of any migration document from 2.x to 3.x? ...

Web Services API Versioning

I offer a small Web Services API to my clients which I plan to evolve over time. So I need some sort of versioning, but I can't find any information about how you do something like that. Is there a best practice? How can I keep adding new functionality without breaking compatibility with the web services consumers? ...

Will JRE 1.4 support classes compiled with Java 1.5 & 1.6?

Will code compiled using 1.5 and 1.6 run on a 1.4 JRE? We weren't sure which Java versions the 1.4 JRE supports. We know that if the code in question implements 1.5 or 1.6 supported features then it definitely won't compile... and that there are some risks with "backwards compiling" but wasn't sure if the 1.4 JRE would refuse to even ...

Known incompatibilities between Java 1.4 to Java 5

A list of potential compatibility problems is provided by Sun : http://java.sun.com/j2se/1.5.0/compatibility.html Have you encountered other problems when running/testing old-1.4-applications against Java 5 (eg. A specific library no longer working ....) ? ...

xstream > backwards compatibility when making an abstraction in the model

I have class A { @xstreamalias("obj1"); Object obj1; @xstreamalias("obj2"); Object obj2; } and I want to change to class AbstractA { @xstreamalias("obj1"); Object obj1; } class A extends AbstractA{ @xstreamalias("obj2"); Object obj2; } without loosing the contents of obj1. currently I have no trouble read...

version problem - backward compatibility subversion SVN

I've got my svn repository in a server running svn 1.4.2 but I'm using svn 1.6.5 on Ubuntu 9.10 at home. I found the svn will be corrupted when two the versions are different (at least in my case), and svn cleanup won't do the trick. I'm not sure should I install svn 1.4.2 at home as well, or is there any way around it? ...