From c13d79054e219a8739db4e2dda668a785211c758 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 18 May 2018 08:16:01 -0700 Subject: [PATCH] Update for 1.0.0-beta.1 We've added a new macro, NNG_RELEASE_SUFFIX. If this is not empty, then the release should be considered a pre-release, with no specific stability guarantees. --- src/nng.c | 2 +- src/nng.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/nng.c b/src/nng.c index a417fbeec..acdabe69b 100644 --- a/src/nng.c +++ b/src/nng.c @@ -1695,5 +1695,5 @@ const char * nng_version(void) { return (xstr(NNG_MAJOR_VERSION) "." xstr(NNG_MINOR_VERSION) "." xstr( - NNG_PATCH_VERSION)); + NNG_PATCH_VERSION) NNG_RELEASE_SUFFIX); } diff --git a/src/nng.h b/src/nng.h index 19823f0db..529cbe891 100644 --- a/src/nng.h +++ b/src/nng.h @@ -47,9 +47,10 @@ extern "C" { // may not necessarily match the ABI versions. Right now at // version 0, you should not be making any forward compatibility // assumptions. -#define NNG_MAJOR_VERSION 0 -#define NNG_MINOR_VERSION 9 +#define NNG_MAJOR_VERSION 1 +#define NNG_MINOR_VERSION 0 #define NNG_PATCH_VERSION 0 +#define NNG_RELEASE_SUFFIX "-beta.1" // if non-empty, this is a pre-release // Maximum length of a socket address. This includes the terminating NUL. // This limit is built into other implementations, so do not change it.