[nanomsg] Re: Status

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: Dirkjan Ochtman <dirkjan@xxxxxxxxxx>
  • Date: Tue, 04 Mar 2014 10:07:50 +0100

Yes. That's it.

Martin

On 2014-03-04 10:06, Dirkjan Ochtman wrote:
On Tue, Mar 4, 2014 at 10:01 AM, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:
4. Bump ABI version as appropriate (see the docs on versioning).

Sorry, not clear on this. When is an ABI bump appropriate? I figure
this is a bugfix release, so we don't need one, but you did bump it
for 0.2. Where are these docs on versioning?

First of all the ABI version is different from the package version. ABI version describes backward and forward compatibiliy of the library, while package version is more business-like (e.g. 1.0 is the first stable version
or similar).

For the details on the ABI versioning have a look here:

http://www.sourceware.org/autobook/autobook/autobook_91.html

In this case, I believe, we are fully backward compatible, but there's a new
functionality, so all the three numbers have to be incremented.

So,

diff --git a/src/nn.h b/src/nn.h
index 1370d2d..3fc3126 100644
--- a/src/nn.h
+++ b/src/nn.h
@@ -67,13 +67,13 @@ extern "C" {
/* www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
 */

 /*  The current interface version. */
-#define NN_VERSION_CURRENT 0
+#define NN_VERSION_CURRENT 1

 /*  The latest revision of the current interface. */
-#define NN_VERSION_REVISION 1
+#define NN_VERSION_REVISION 2

 /*  How many past interface versions are still supported. */
-#define NN_VERSION_AGE 0
+#define NN_VERSION_AGE 1


/******************************************************************************/
 /*  Errors.
        */

Like that?

Cheers,

Dirkjan

Other related posts: