diff --git a/ChangeLog b/ChangeLog index 5ae73a51..d79d6f60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,38 @@ +2023-07-13 Olaf Bergmann + + Change summary for version 4.3.2: + + * Source files reformatted according to pre-commit rules. + * Support for RFC8613 (OSCORE). + * Support for RFC8974 (Extended Tokens). + * Support for RFC9177 (Q-Block). + * Support for latest RIOT code and new examples. + * Support for MinGW builds. + * Support for AF_UNIX sockets. + * Support for WebSockets (RFC8323). + * Support for IPv4 only and IPv6 only libcoap builds. + * Support for defining maximum logging level. + * Support for maintaining Observer requests over server restarts. + * Support for Contiki-NG. + * Support for latest LwIP, including using TinyDTLS. + * libcoap now has protocol layered support, separating out the + logical layers. Stack now is:- + - Application + - libcoap - CoAP + - libcoap - CoAP-Session + - libcoap - (D)TLS I/F using external (D)TLS Library + - libcoap - Netif + - libcoap - Sockets + - Kernel Network Stack + * Fixes CVE-2023-30362 and CVE-2023-35862. + * Reported bugs fixed. + * Examples now support separate logging levels for libcoap and (D)TLS. + * syslog LOG_ logging levels replaced with COAP_LOG_ logging levels. + * New public API functions to aid / reduce application coding. + * Remove requirement for applications to have sockaddr knowledge. + * Support for clients sending IPv4 broadcast requests. + * Documentation added and updated (Doxygen and man). + 2022-08-17 Olaf Bergmann Change summary for version 4.3.1: @@ -12,7 +47,7 @@ * Warn when Options are repeated that are not defined as being repeatable. * Support for TLS when using Mbed TLS library. - * support for Mbed TLS 3.1 + * Support for Mbed TLS 3.1 * Add in BERT support for block handling. * More rigorous error handling for Block transfers. * Support for using external or submodule TinyDTLS. @@ -61,7 +96,7 @@ * Support for Cygwin builds. * Proxy support for coap-server, enhanced coap-client capabilities * Updated async support. - * Multicast requests now randomly delayed befor ethe response is + * Multicast requests now randomly delayed before the response is sent. * Additional RFC support - RFC8768. * Mbed TLS DTLS library support. diff --git a/coap_config.h.contiki b/coap_config.h.contiki index 5c0d8fe9..d1fb0554 100644 --- a/coap_config.h.contiki +++ b/coap_config.h.contiki @@ -83,7 +83,7 @@ #define PACKAGE_NAME "libcoap" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "libcoap 4.3.0" +#define PACKAGE_STRING "libcoap 4.3.2rc1" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "libcoap" @@ -92,7 +92,7 @@ #define PACKAGE_URL "https://libcoap.net/" /* Define to the version of this package. */ -#define PACKAGE_VERSION "4.3.0" +#define PACKAGE_VERSION "4.3.2rc1" #define WITH_CONTIKI 1 diff --git a/coap_config.h.riot b/coap_config.h.riot index b1a90cee..fcad48f4 100644 --- a/coap_config.h.riot +++ b/coap_config.h.riot @@ -313,10 +313,10 @@ #define PACKAGE_NAME "libcoap" /* Define to the version of this package. */ -#define PACKAGE_VERSION "4.3.1" +#define PACKAGE_VERSION "4.3.2rc1" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "libcoap 4.3.1" +#define PACKAGE_STRING "libcoap 4.3.2rc1" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 diff --git a/coap_config.h.windows b/coap_config.h.windows index af86a43c..599a7d54 100644 --- a/coap_config.h.windows +++ b/coap_config.h.windows @@ -145,7 +145,7 @@ #define PACKAGE_NAME "libcoap" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "libcoap 4.3.1" +#define PACKAGE_STRING "libcoap 4.3.2rc1" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "libcoap" @@ -154,7 +154,7 @@ #define PACKAGE_URL "https://libcoap.net/" /* Define to the version of this package. */ -#define PACKAGE_VERSION "4.3.1" +#define PACKAGE_VERSION "4.3.2rc1" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 diff --git a/configure.ac b/configure.ac index b7a583ef..6c551891 100644 --- a/configure.ac +++ b/configure.ac @@ -15,11 +15,11 @@ # defined later. m4_define([libcoap_major_version], [4]) m4_define([libcoap_minor_version], [3]) -m4_define([libcoap_micro_version], [1]) +m4_define([libcoap_micro_version], [2]) # define an appending release state if needed, for example for pre-releases # like 'alpha' or 'rc1', for a full release keep the value empty! -m4_define([libcoap_release_state], []) +m4_define([libcoap_release_state], [rc1]) # concatenate the full libcoap version string m4_define([libcoap_version], [m4_format([%s.%s.%s%s], libcoap_major_version, libcoap_minor_version, libcoap_micro_version, libcoap_release_state)]) diff --git a/doc/Makefile.am b/doc/Makefile.am index 2967f961..d2741b2a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -18,6 +18,7 @@ EXTRA_DIST = \ docbook.local.css \ upgrade_4.2.1_4.3.0.txt \ upgrade_4.3.0_4.3.1.txt \ + upgrade_4.3.1_4.3.2.txt \ main.md \ module_api_wrap.h @@ -237,7 +238,7 @@ man-page-build: upg-page-build man-page-start done if BUILD_MANPAGES -UPG_LIST = upgrade_4.2.1_4.3.0.txt upgrade_4.3.0_4.3.1.txt +UPG_LIST = upgrade_4.2.1_4.3.0.txt upgrade_4.3.0_4.3.1.txt upgrade_4.3.1_4.3.2.txt upg-page-build: @for FILE in $(UPG_LIST) ; do \ diff --git a/doc/upgrade_4.3.1_4.3.2.txt b/doc/upgrade_4.3.1_4.3.2.txt new file mode 100644 index 00000000..19c6acea --- /dev/null +++ b/doc/upgrade_4.3.1_4.3.2.txt @@ -0,0 +1,6 @@ += Upgrade from 4.3.1 to 4.3.2 + +== Summary + +The source and binary APIs are the same for 4.3.1 and 4.3.2 with just extra +functionality making it forward, but not necessarily backward compatible. diff --git a/examples/lwip/config/coap_config.h b/examples/lwip/config/coap_config.h index 450fe652..2a878673 100644 --- a/examples/lwip/config/coap_config.h +++ b/examples/lwip/config/coap_config.h @@ -57,8 +57,8 @@ #endif #define PACKAGE_NAME "libcoap" -#define PACKAGE_VERSION "4.3.1" -#define PACKAGE_STRING "libcoap 4.3.1" +#define PACKAGE_VERSION "4.3.2rc1" +#define PACKAGE_STRING "libcoap 4.3.2rc1" #define assert(x) LWIP_ASSERT("CoAP assert failed", x) diff --git a/include/coap3/coap.h.riot b/include/coap3/coap.h.riot index 451be24a..8c09db1f 100644 --- a/include/coap3/coap.h.riot +++ b/include/coap3/coap.h.riot @@ -20,16 +20,16 @@ #define LIBCOAP_PACKAGE_NAME "libcoap" /* Define the full name and version of libcoap. */ -#define LIBCOAP_PACKAGE_STRING "libcoap 4.3.1" +#define LIBCOAP_PACKAGE_STRING "libcoap 4.3.2rc1" /* Define the home page for libcoap. */ #define LIBCOAP_PACKAGE_URL "https://libcoap.net/" /* Define the version of libcoap this file belongs to. */ -#define LIBCOAP_PACKAGE_VERSION "4.3.1" +#define LIBCOAP_PACKAGE_VERSION "4.3.2rc1" /* Define the numeric version identifier for libcoap */ -#define LIBCOAP_VERSION (4003001U) +#define LIBCOAP_VERSION (4003002U) #ifdef __cplusplus extern "C" { diff --git a/include/coap3/coap.h.windows b/include/coap3/coap.h.windows index e96b6f34..4a0d2300 100644 --- a/include/coap3/coap.h.windows +++ b/include/coap3/coap.h.windows @@ -20,16 +20,16 @@ #define LIBCOAP_PACKAGE_NAME "libcoap" /* Define the full name and version of libcoap. */ -#define LIBCOAP_PACKAGE_STRING "libcoap 4.3.1" +#define LIBCOAP_PACKAGE_STRING "libcoap 4.3.2rc1" /* Define the home page for libcoap. */ #define LIBCOAP_PACKAGE_URL "https://libcoap.net/" /* Define the version of libcoap this file belongs to. */ -#define LIBCOAP_PACKAGE_VERSION "4.3.1" +#define LIBCOAP_PACKAGE_VERSION "4.3.2rc1" /* Define the numeric version identifier for libcoap */ -#define LIBCOAP_VERSION (4003001U) +#define LIBCOAP_VERSION (4003002U) #ifdef __cplusplus extern "C" {