breaking compatibility for 2.12.0

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat Feb 5 12:33:12 CET 2011


On 02/03/2011 03:54 PM, Werner Koch wrote:
> On Wed,  2 Feb 2011 10:38, nmav at gnutls.org said:
> 
>> It seems that with the changes occurred in 2.11.x breaking of
>> backwards compatibility is required, i.e. removal of some 
>> functions. Those were exporting/depending on internal data, that
> If you really want to break ABI compatibility, please make that clear
> to the users by bumping the version number (e.g. to 3).  Only
> changing the SO name is technically okay but it comes as a surprise.

Indeed. We'll think about it.

> Please also consider that GnuTLS is used by too many projects to
> allow for an easy API break.  A better strategy is to warn the user
> for a few years that those functions will eventually be removed.

The problem is that the discussed functions cannot be supported any
more, and were not actually widely used. For the commonly used functions
we mark them as deprecated and leave a compatibility layer.

regards,
Nikos




More information about the Gnutls-devel mailing list