Share

POCO C++ Libraries

Tracker: Bugs

5 Shared Library Version - ID: 1757657
Last Update: Comment added ( cepstein )

The shared library version number used for Poco 1.3.0 was not changed from
1.2.x, despite a number of breaking changes.

This causes binaries built against the old libraries to break if they find
the new libraries at runtime.

Please modify the 'libversion' file whenever a breaking change is made
(e.g. remove functions from a class, change object hierarchy, etc.).

And I'd lobby for version *5* for the next release, since I'm already using
4 for 1.3.0 internally :-)


Caleb Epstein ( cepstein ) - 2007-07-20 16:16

5

Closed

Fixed

Nobody/Anonymous

General

Platform Specific

Public


Comments ( 2 )




Date: 2007-08-15 19:47
Sender: cepstein


"" With the current scheme, we'll have to increment the number with
"" every minor release, and we'll probably soon arrive at 10.

So? Whats wrong with that?

"" Also, there's no connection to the actual POCO version number.

Why does there need to be?

"" The traditional .so versioning scheme does not really work with POCO,
because we cannot
"" guarantee that minor bugfix releases are binary compatible.

I think "traditional" versioning where you use the same .so version number
as the library itself doesn't make a lot of sense with C++. You might want
to look at the libtool versioning guidelines for some ideas:

http://www.gnu.org/software/libtool/manual.html#Libtool-versioning

But I'd suggest just a single, monotonically increasing version number
that changes whenever a breaking change is made to an existing interface.


Date: 2007-08-08 13:14
Sender: obiltschnigProject Admin


libversion was set to 3 for 1.3.0 (it was 2 for 1.2.x).
I have set the version number for 1.3.1 to 4, since there are some minor
incompatible changes.

I am not perfectly happy with the current numbering scheme, maybe we
should adopt a different one (e.g. libPocoFoundation.so.1.3.1???) Any
comments? With the current scheme, we'll have to increment the number with
every minor release, and we'll probably soon arrive at 10. Also, there's no
connection to the actual POCO version number. The traditional .so
versioning scheme does not really work with POCO, because we cannot
guarantee that minor bugfix releases are binary compatible.



Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2007-08-08 16:32 obiltschnig
close_date - 2007-08-08 16:32 obiltschnig
resolution_id None 2007-08-08 13:14 obiltschnig