Releases: zhaojh329/lua-eco
Releases · zhaojh329/lua-eco
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
co
yielded for reading inclose
method (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
io
watcher 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
sleep
operation. (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
sh
to 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
release
toclose
forsys.exec
. (Jianhui Zhao)
v3.6.1
Features
- ip: Check the mac address format in
link.set
(Jianhui Zhao) - add a new module
channel
similar 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_done
afterubus_connect_ctx
(Jianhui Zhao) - Fix link libraries in CMakeLists (Jianhui Zhao)
v3.6.0
Features
- socket: Enhance support for
AF_PACKET
(Jianhui Zhao) - socket: Add some constants for ICMP and ICMPv6 (Jianhui Zhao)
- socket: Add constant
ICMP_REDIRECT
for ICMP (Jianhui Zhao) - socket: Add some constants
ARPHRD_*
(Jianhui Zhao) - packet: Add module for low-level packet construction and parsing (Jianhui Zhao)
- bump version 3.6.0 (Jianhui Zhao)
Bug Fixes
- eco: Fix parse args for script (Jianhui Zhao)
- socket: check whether the device exists in
bind
method (Jianhui Zhao) - ip-link: add
type
field inlink_get
(Jianhui Zhao) - examples: Print the IP address of the real peer (Jianhui Zhao)
Styles
- fix
eco.c
(Jianhui Zhao)
Chores
- examples: Move ping examples to icmp subfolder (Jianhui Zhao)
v3.5.3
Features
- nl80211: add support passive scan (Jianhui Zhao)
- socket: bind
htonl
,htons
,ntohl
,ntohs
(Jianhui Zhao) - bump version 3.5.3 (Jianhui Zhao)
Bug Fixes
- nl80211: Fixed a variable name written incorrectly (Jianhui Zhao)
- rtnl: Add Linux kernel version check for IFA_RT_PRIORITY (Jianhui Zhao)
Continuous Integration
- build on pull_request (Jianhui Zhao)
v3.5.2
Features
- bufio: add support return partial data received (Jianhui Zhao)
- sync: add return value for cond:signal and cond:broadcast (Jianhui Zhao)
- add support
lightuserdata
forstack_dump
(Jianhui Zhao) - bump version 3.5.2 (Jianhui Zhao)
Bug Fixes
- close socket when returned from function. (Jianhui Zhao)
- log: Fix set log path abnormal (Jianhui Zhao)
Commits
- af8d9da: fix(ssl) see zhaojh329/ssl/pull/7 (Jianhui Zhao)