Releases: zhaojh329/lua-eco
Releases · zhaojh329/lua-eco
v3.14.0
Features
- nl80211: add support keep info elems in scan result (Jianhui Zhao)
- nl80211: Add IE support to scan requests (Jianhui Zhao)
- net: introduce net module with initial ping support (Jianhui Zhao)
- netlink: Add support route (Jianhui Zhao)
- http: add method
redirectfor connection (Jianhui Zhao) - http: add field
query_stringfor connection (Jianhui Zhao) - bump version 3.14.0 (Jianhui Zhao)
Bug Fixes
- examples: Fix usage of
sys.sh(Jianhui Zhao) - socket: return closed status instead of discarding it (Jianhui Zhao)
- nl80211: Fix freq_to_channel (Jianhui Zhao)
- dns: Fix parse /etc/resolv.conf (Jianhui Zhao)
Styles
- nl80211: parse BSS IEs using named IEEE 802.11 element constants (Jianhui Zhao)
Performance Improvements
- nl80211: optimize code (Jianhui Zhao)
- http: Add
Content-Length: 0if no content (Jianhui Zhao)
v3.13.0
Features
- sys: Add new method
getpwnam(Jianhui Zhao) - bump version 3.13.0 (Jianhui Zhao)
Bug Fixes
- mqtt: Fix MQTT ping response timeout race condition (Jianhui Zhao)
v3.12.0
Features
- socket: add support socketpair (Jianhui Zhao)
- add a new module
shared(Jianhui Zhao) - add field
raw_pathin http server (Jianhui Zhao) - file: skip
.and..forfile.dir()(Jianhui Zhao) - file: add new method
walkto traversal directory (Jianhui Zhao) - nl80211: add method
get_link(Jianhui Zhao) - nl80211: add method
get_surveys(Jianhui Zhao) - bump version 3.12.0 (Jianhui Zhao)
Bug Fixes
- ssl: Set the server_name before the handshake (Jianhui Zhao)
v3.11.0
Features
- sys: add support environment for
exec(Jianhui Zhao)
Bug Fixes
- file: Fix double free in
file.dir(Jianhui Zhao) - ubus: Fix crash (Jianhui Zhao)
Performance Improvements
- file: Extend the file lock detection interval to 0.1s. (Jianhui Zhao)
- improve parse args for
sys.exec(Jianhui Zhao)
v3.10.0
Features
- file: add a method
mkdir(Jianhui Zhao) - add a new module
uci(Jianhui Zhao) - add support sethook for all coroutines (Jianhui Zhao)
- add support
to-be-closed(Jianhui Zhao) - bump version 3.10.0 (Jianhui Zhao)
Bug Fixes
- file: fix the return value of
writefile(Jianhui Zhao) - socket: Return the correct error for
lua_acceptk(Jianhui Zhao) - handle error for some examples (Jianhui Zhao)
- ssl: add TLS 1.3 ciphers for mbedtls #10 (Jianhui Zhao)
- ssl: mbedtls: disable TLS 1.3 in client mode when skipping verification (Jianhui Zhao)
Performance Improvements
- mqtt: improve the timeout handling process (Jianhui Zhao)
- http: optimization of WebSocket key generation (Jianhui Zhao)
- mqtt: increase retransmit interval to 5.0s (Jianhui Zhao)
- sleep timer for each coroutine are allocated as needed. (Jianhui Zhao)
- simplify code and enhance performance (Jianhui Zhao)
- ubus: improve timeout setting (Jianhui Zhao)
- ubus: Optimize the retrieval of callback functions (Jianhui Zhao)
Chores
- rename some functions name (Jianhui Zhao)
- ubus: Adjust the code to make it easier to hook (Jianhui Zhao)
v3.9.0
Features
- use lua5.4 (Jianhui Zhao)
- mqtt: add method
close(Jianhui Zhao) - bump version 3.9.0 (Jianhui Zhao)
Bug Fixes
- resume
coyielded for reading inclosemethod (Jianhui Zhao)
Chores
- update README (Jianhui Zhao)
v3.8.0
Features
- socket: add support set address for socket option
packet_add_membership(Jianhui Zhao) - ubus: Add support get object signatures (Jianhui Zhao)
- ubus: add support publish/subscriber. (Jianhui Zhao)
- sync: add support
mutex(Jianhui Zhao) - socket: add support writing data to a socket in an exclusive manner. (Jianhui Zhao)
- bump version 3.8.0 (Jianhui Zhao)
Bug Fixes
- ubus: fix lua_ubus_subscribe (Jianhui Zhao)
- mqtt: fix typo in MQTT packet handler function name (Jianhui Zhao)
- ssl: forgot stop
iowatcher onlua_ssl_free(Jianhui Zhao)
Styles
- pretty func name (Jianhui Zhao)
Performance Improvements
- ubus: reduce calls to
lua_push_ubus_ctx(Jianhui Zhao) - time: reimplement the
sleepoperation. (Jianhui Zhao) - ubus: Reduce duplicate code (Jianhui Zhao)
- Simplify the function
eco_new_metatable(Jianhui Zhao)
Chores
- move ubus examples in ubus sub directory. (Jianhui Zhao)
- more comments (Jianhui Zhao)
- reorganize sync examples (Jianhui Zhao)
- use 500KB payload size for mqtt test (Jianhui Zhao)
v3.7.0
Features
- socket: add support set
SO_BROADCAST(Jianhui Zhao) - hash: add support sha256 (Jianhui Zhao)
- hash: add support hmac (Jianhui Zhao)
- sys: Add a method
shto run shell cmd simply (Jianhui Zhao) - bump version 3.7.0 (Jianhui Zhao)
v3.6.2
Features
- dns: add support lookup from
/etc/hosts(Jianhui Zhao) - bump version 3.6.2 (Jianhui Zhao)
Bug Fixes
- file: Fix file descriptor leak in
file.sync(Jianhui Zhao)
Performance Improvements
- return clearer error messages for
sys.exec(Jianhui Zhao)
Chores
- rename method
releasetocloseforsys.exec. (Jianhui Zhao)
v3.6.1
Features
- ip: Check the mac address format in
link.set(Jianhui Zhao) - add a new module
channelsimilar to Golang's channel (Jianhui Zhao) - set so version for libeco.so (Jianhui Zhao)
- bump version 3.6.0 (Jianhui Zhao)
Bug Fixes
- call
uloop_doneafterubus_connect_ctx(Jianhui Zhao) - Fix link libraries in CMakeLists (Jianhui Zhao)