-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGES - Reversed the order of calling the ``delivery_handler`` callback vs. canceling the observation when sending notifications with 4.xx or 5.xx code; this change is breaking only for direct users of ``avs_coap`` API Features - Added APIs for suspending and resuming standalone downloads as well as Firmware Update and Advanced Firmware Update PULL-mode downloads - Added standalone versions of the Security and Server object implementations, that can be customized by the end users - Added definitions for common Core Object IDs in the public API - Removed potentially faulty assertion in code generated by anjay_codegen.py - (commercial feature only) added ``anjay_sim_bootstrap_calculate_md5()`` function that allows verification whether SIM Bootstrap data has been changed (e.g. as a result of SIM OTA) Improvements - Rewritten Send-based reporting in Advanced Firmware Update in such a way that it will now work with custom implementations of the Server object - Simplified the CoAP downloader implementation so that the ``get_remote_hostname`` socket operation is no longer necessary for download resumption - Made handling of initial peer CSM messages in CoAP+TCP asynchronous - Updated the documentation with more descriptive warnings about functions that require extra care to maintain thread safety - Removed ``const`` qualifier from ``MAKE_URI_PATH()`` compound literal which triggers a plausible compiler bug on IAR EWARM v9.30 Bugfixes - Fixed a critical bug that caused Anjay to crash when sending notifications with 4.xx or 5.xx code over TCP - Fixed a regression introduced in 2.13.0 that prevented the Firmware Update and Advanced Firmware Update from compiling without the ``ANJAY_WITH_DOWNLOADER`` configuration option enabled - Fixed a condition where the Register or Update messages could be erroneously regenerated when refreshing server connections while already performing a Register or Update request - Fixed a condition where the connection could be erroneously retried automatically when a fatal failure was expected - Decoupled the ``WITH_AVS_COAP_TCP`` and ``ANJAY_WITH_LWM2M11`` configuration options so that they can be set independently as intended - Fixed the ``devconfig`` script and Github Actions configuration for better compatibility with building on macOS - Refactored TCP binding handling in integration tests for more reliability - Fixed the case where CoAP+TCP Abort message could erroneously be sent multiple times - Loosened some time constraints in Advanced Firmware Update tests - Fixed supplemental iid sort in Advanced Firmware Update - Fixed too early restart while performing an upgrade using Advanced Firmware Update module in Anjay demo app - Fixed too early persistence write while performing an upgrade using Advanced Firmware Update module in Anjay demo app
- Loading branch information
Showing
139 changed files
with
9,800 additions
and
1,202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ on: [push] | |
jobs: | ||
ubuntu1804-compilers-test: | ||
runs-on: ubuntu-latest | ||
container: avsystemembedded/anjay-travis:ubuntu-18.04-1.1 | ||
container: avsystemembedded/anjay-travis:ubuntu-18.04-1.2 | ||
env: | ||
CC: ${{ matrix.CC }} | ||
CXX: ${{ matrix.CXX }} | ||
|
@@ -37,7 +37,7 @@ jobs: | |
|
||
ubuntu2004-compilers-test: | ||
runs-on: ubuntu-latest | ||
container: avsystemembedded/anjay-travis:ubuntu-20.04-1.1 | ||
container: avsystemembedded/anjay-travis:ubuntu-20.04-1.2 | ||
env: | ||
CC: ${{ matrix.CC }} | ||
CXX: ${{ matrix.CXX }} | ||
|
@@ -68,7 +68,7 @@ jobs: | |
|
||
ubuntu2204-compilers-test: | ||
runs-on: ubuntu-latest | ||
container: avsystemembedded/anjay-travis:ubuntu-22.04-1.1 | ||
container: avsystemembedded/anjay-travis:ubuntu-22.04-1.2 | ||
env: | ||
CC: ${{ matrix.CC }} | ||
CXX: ${{ matrix.CXX }} | ||
|
@@ -110,7 +110,7 @@ jobs: | |
|
||
rockylinux9-compilers-test: | ||
runs-on: ubuntu-latest | ||
container: avsystemembedded/anjay-travis:rockylinux-9-1.1 | ||
container: avsystemembedded/anjay-travis:rockylinux-9-1.2 | ||
env: | ||
CC: ${{ matrix.CC }} | ||
CXX: ${{ matrix.CXX }} | ||
|
@@ -138,7 +138,7 @@ jobs: | |
CXX: clang++ | ||
|
||
macOS-compilers-test: | ||
runs-on: macos-11 | ||
runs-on: macos-12 | ||
env: | ||
CC: ${{ matrix.CC }} | ||
CXX: ${{ matrix.CXX }} | ||
|
@@ -149,12 +149,14 @@ jobs: | |
with: | ||
submodules: recursive | ||
- run: brew update | ||
# NOTE: latest known compatible versions are [email protected] and mbedtls--3.2.1 | ||
- run: brew install openssl mbedtls $COMPILER_VERSION | ||
- run: pip3 install sphinx sphinx-rtd-theme cbor2 aiocoap cryptography packaging requests wheel | ||
# NOTE: latest known compatible versions are [email protected] and mbedtls--3.4.0 | ||
# NOTE: try the brew install command twice to work around "brew link" errors | ||
- run: INSTALL_CMD="brew install openssl mbedtls $COMPILER_VERSION"; $INSTALL_CMD || $INSTALL_CMD | ||
# NOTE: The above command may have installed a new version of Python, that's why we launch it weirdly | ||
- run: /usr/bin/env python3 -m pip install sphinx sphinx-rtd-theme linuxdoc cbor2 aiocoap cryptography packaging requests wheel | ||
- run: env JAVA_HOME="$JAVA_HOME_17_X64" ./devconfig --with-asan --without-analysis --no-examples -DWITH_VALGRIND_TRACK_ORIGINS=OFF -DWITH_URL_CHECK=OFF -DWITH_IPV6=OFF | ||
- run: LC_ALL=C.UTF-8 make -j | ||
- run: LC_ALL=C.UTF-8 make check | ||
- run: LC_ALL=en_US.UTF-8 make -j | ||
- run: LC_ALL=en_US.UTF-8 make check | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.