Releases: alliedtelesis/apteryx
Releases · alliedtelesis/apteryx
v5.22
Make sure RPC is tidied up when shared library is unloaded When a LUA script uses the Apteryx LUA module it is possible for RPC messages to continue to arrive after the shared library has been unloaded as LUA doesn't know how to shutdown the module. This can lead to segment violations in LUA. A similar situation is possible via apteryx-xml. By flagging apteryx_shutdown_force as a destructor the RPC will be correctly shutdown as the shared library is unloaded.
v5.21
No need to traverse direct matches
v5.20
Modified to update timestamp when config tree has providers Sometimes, the "provide" could not give the latest value because the timestamp has not been updated when changed value. Also, added the unit test about updating timestamp when config tree has providers.
v5.19
Change apteryx refresh timeout return type Returning an integer type refresh timeout value causes corruption of the actual timeout value returned in apteryx.c:call_uint64_callback(). Changing the return type to uint64_t appears to fix the issue.
v5.18
Change behaviour of provide with data in the DB Previously we returned the DB data in preference to provided data. We now always return provided data if a provider exists for the path.
v5.17
Support proxy query and full root node query Also fix a couple of memory leaks in query.
v5.16
Make code to avoid values on non query leaves more readable
v5.15: apteryx_refresh: Handle apteryx_refresh callbacks with a new function
apteryx_refresh_callback function type returns a uint64_t. The call_callback function casts this to void *. On 32 bit systems, this is problematic as half of the returned uint64_t is lost. Depending on endianness, this may be the half with useful data. This patch adds a new callback calling function for uint64_t return type. If the callback is not found, it returns 0.
v5.14: Sort out cb_gather_search
New unit tests shed some light on what cb_gather_search should have bene.