Releases: zhaojh329/lua-eco
Releases · zhaojh329/lua-eco
v3.9.0
Features
- use lua5.4 (Jianhui Zhao)
- bump version 3.9.0 (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)
v3.5.1
Features
- file: add support linux inotify (Jianhui Zhao)
Bug Fixes
- file: remove unused require for 'bufio' (Jianhui Zhao)
Performance Improvements
- improve random seed (Jianhui Zhao)
v3.5.0
Features
- bump version 3.5.0 (Jianhui Zhao)
Bug Fixes
- http: Fix parse HTTP/1.0 in
recv_status_line
(Jianhui Zhao) - ssl: Add compatibility with Mbed TLS 3.0.0 (Jianhui Zhao)
Code Refactoring
- mqtt: reimplemented in pure lua (Jianhui Zhao)
Performance Improvements
- Reduce the memory usage (Jianhui Zhao)
Chores
- examples: Adjust the directory organizational structure (Jianhui Zhao)