Skip to content

Releases: alliedtelesis/apteryx

v5.22

16 Aug 02:03
Compare
Choose a tag to compare
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

21 Jul 00:58
Compare
Choose a tag to compare
No need to traverse direct matches

v5.20

09 Jul 23:18
Compare
Choose a tag to compare
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

30 Jun 00:12
Compare
Choose a tag to compare
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

30 May 23:56
Compare
Choose a tag to compare
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

15 Mar 01:12
Compare
Choose a tag to compare
Support proxy query and full root node query

Also fix a couple of memory leaks in query.

v5.16

08 Mar 03:10
Compare
Choose a tag to compare
Make code to avoid values on non query leaves more readable

v5.15: apteryx_refresh: Handle apteryx_refresh callbacks with a new function

05 Aug 00:21
Compare
Choose a tag to compare
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

11 Jul 21:23
Compare
Choose a tag to compare
New unit tests shed some light on what cb_gather_search should have
bene.

v5.13

22 Jun 23:27
Compare
Choose a tag to compare
Add comments to cb_gather_search and apteryx_query