Skip to content

Releases: AVSystem/avs_commons

avs_commons 5.4.7

12 Nov 13:20
Compare
Choose a tag to compare

Improvements

  • Improved the coverage script and switched to lcov.

Bugfixes

  • Fixed command passed to popen() call in MbedTLS + TLS 1.3 tests to make it work on macOS

avs_commons 5.4.5

28 May 09:36
Compare
Choose a tag to compare

Improvements

  • Added support for Mbed TLS 3.6

avs_commons 5.4.4

12 Apr 09:14
Compare
Choose a tag to compare

Features

  • Added custom base64 encoding without null terminating
  • Added API to modify extended attributes in Certificate Signing Request

avs_commons 5.4.3

16 Feb 10:28
Compare
Choose a tag to compare

Improvements

  • Optimized "Out of memory" logs in favor of a smaller flash memory footprint

Bugfixes

  • Fixed "unused assignment" warning generated by static analyzers when compiling
    against Mbed TLS 3.x

avs_commons 5.4.2

21 Nov 16:34
Compare
Choose a tag to compare

Features

  • Refactored the PRNG integration in the Mbed TLS backend so that the PSA RNG
    API can be used if CTR-DRBG and/or entropy APIs are disabled

Bugfixes

  • Additional validation in avs_persistence_string() to avoid restoring a
    string with superfluous data after the nullbyte

avs_commons 5.4.1

09 Oct 10:39
Compare
Choose a tag to compare

Bugfixes

  • Fixes in CMake scripts when searching for mbed TLS in the case when MBEDTLS_ROOT_DIR, CMAKE_FIND_ROOT_PATH and CMAKE_FIND_ROOT_PATH_MODE_* are all specified explicitly
  • Fixes in some #ifdef directives that caused compilation failures when AVS_COMMONS_WITH_AVS_CRYPTO_PSK was disabled

avs_commons 5.4.0

07 Sep 12:05
Compare
Choose a tag to compare

BREAKING CHANGES

  • Default POSIX socket implementation now doesn't include errno.h if
    definition of EDOM (available by e.g. including lwIP's lwip/errno.h)
    is included in AVS_COMMONS_POSIX_COMPAT_HEADER.

Improvements

  • Made MD5 length define publicly visible (for easier avs_stream_md5 usage)
  • Made (D)TLS session resumption and persistence possible on Mbed TLS 3.0+ even
    when MBEDTLS_SSL_SRV_C is disabled

Bugfixes

  • Added missing null guards in (D)TLS socket implementations so that all methods
    are now safe to call in any state
  • When using lwIP, default POSIX socket implementation and appropriate compat
    header now include lwIP's lwip/errno.h instead of system errno.h

avs_commons 5.3.1

12 Jun 13:07
Compare
Choose a tag to compare

Features

  • Added AVS_NET_SOCKET_OPT_PREFERRED_ADDR_FAMILY and
    AVS_NET_SOCKET_OPT_FORCED_ADDR_FAMILY options that allow setting address
    family configuration of an already created socket
  • Automatically upgrading IPv4 sockets to IPv6 when connecting is now possible
  • Added AVS_UNIT_MOCK_DECLARE() and AVS_UNIT_MOCK_DEFINE() to facilitate
    declaring mocked functions with external linkage

Improvements

  • Slightly changed the semantics of avs_sched_run(), to fix erroneous
    behavior on platforms with low-resolution system clocks

avs_commons 5.3.0

10 Mar 13:07
Compare
Choose a tag to compare

Features

  • Added the AVS_COMMONS_NET_POSIX_AVS_SOCKET_WITHOUT_IN6_V4MAPPED_SUPPORT
    configuration option that improves dual-stack IPv4+IPv6 connectivity on
    platforms that do not support IPv4-mapped IPv6 addresses (::ffff:0:0/96)

Improvements

  • Trivial fixes to silence warnings on certain commercial compilers
    (contributed by Flonidan A/S)
  • Removed usages of most deprecated Mbed TLS and OpenSSL APIs

avs_commons 5.2.0

21 Feb 09:39
Compare
Choose a tag to compare

BREAKING CHANGES

  • Removed avs_unit_memstream that is now unused

Features

  • Added persistence of DTLS context state related to the Connection ID extension
    and the related AVS_NET_SOCKET_OPT_CONNECTION_ID_RESUMED option
  • Added option to set avs_log logging level in compile time. If
    AVS_COMMONS_WITH_EXTERNAL_LOG_LEVELS_HEADER is specified, inactive logs will
    be removed during compile time
  • Added option to disable log level check in runtime, if active the macros
    avs_log_set_level and avs_log_set_default_level are not available

Improvements

  • Avoid calling avs_net_socket_send() with zero-length buffers when using
    avs_stream_netbuf

Bugfixes

  • Fixed out_message_finished and out_bytes_read not being set when
    read is called with a NULL buffer in avs_stream_inbuf