Releases: zhaojh329/lua-eco
Releases · zhaojh329/lua-eco
v2.3.0
Features
- use SPDX-License-Identifier (Jianhui Zhao)
- mqtt: remove reconnect (Jianhui Zhao)
- hex: support separator for encode (Jianhui Zhao)
- socket: add new function: inet_ntop (Jianhui Zhao)
- network: bind
if_nametoindex
andif_indextoname
(Jianhui Zhao) - socket: support netlink (Jianhui Zhao)
- socket: export some address family constants. (Jianhui Zhao)
- struct: converts between Lua values and C structs represented as binary data. (Jianhui Zhao)
- support netlink (Jianhui Zhao)
- genl: puting genlmsghdr use default version 1 (Jianhui Zhao)
- genl: wrap methods: get_family_byname and get_family_byid (Jianhui Zhao)
- genl: cache family info (Jianhui Zhao)
- genl: wrap methods: get_family_id and get_group_id (Jianhui Zhao)
- netlink: add methods to get attr with signed number (Jianhui Zhao)
- netlink: support put nested attributes (Jianhui Zhao)
- netlink: support nl80211 (Jianhui Zhao)
- bump version 2.3.0 (Jianhui Zhao)
Bug Fixes
- examples: fix usage of timer (Jianhui Zhao)
- examples: add delay before reconnect for mqtt.lua (Jianhui Zhao)
- websocket: fix check http version (Jianhui Zhao)
- ssl: Fix 'Bad write retry' after pending SSL write and buffer reclaim. (Jianhui Zhao)
- mqtt: segment fault due to write on closed socket (Jianhui Zhao)
- mqtt: connect abnormal on mqtts (Jianhui Zhao)
- mqtt: remove unused variable (Jianhui Zhao)
- network: fix luaopen_eco_network (Jianhui Zhao)
- compatible 32 bits lua_Integer (Jianhui Zhao)
- ubus: rename lua_pushuint to lua_pushint (Jianhui Zhao)
- example: remove needless code for genl_family_dump.lua (Jianhui Zhao)
- example: verify genl cmd for genl_family_dump.lua (Jianhui Zhao)
- netlink: put_attr_u32 and put_attr_u64 (Jianhui Zhao)
- struct: fix build error for '__WORDSIZE' undeclared (Jianhui Zhao)
- mqtt: remove unused require 'eco.sys' (Jianhui Zhao)
- fix(#2): build fail on Lua5.4 (Jianhui Zhao)
Performance Improvements
- dns: improve code (Jianhui Zhao)
- network: improve if_nametoindex (Jianhui Zhao)
- use sys.uptime() instead of time.now() to calculate deadtime (Jianhui Zhao)
v2.2.0
Features
- http: check if head sent in method
add_header
(Jianhui Zhao) - http: Send default content if the user has no interaction (Jianhui Zhao)
- Bump version 2.2.0 (Jianhui Zhao)
Code Refactoring
- refactor timer (Jianhui Zhao)
v2.1.0
- http: use recvfull for read_body (Jianhui Zhao)
- http: check code for send_error (Jianhui Zhao)
- network: new module (Jianhui Zhao)
- http: fix read_body (Jianhui Zhao)
- file: add some functions (Jianhui Zhao)
- file: return kibibytes for statvfs (Jianhui Zhao)
- http: fix check err for accept (Jianhui Zhao)
- file: bind
lseek
andfstat
(Jianhui Zhao) - ssl: support
sendfile
(Jianhui Zhao) - time: support more features for timer (Jianhui Zhao)
- socket: set option
ipv6_v6only
if provided for listen (Jianhui Zhao) - sync: Add waitgroup module implementation inspired by Go language (Jianhui Zhao)
- ssl: update from upstream (Jianhui Zhao)
- time: Ensure compatibility with Lua 5.4 for
unpack
(Jianhui Zhao) - time: don't start timer automatically. (Jianhui Zhao)
- time: return self in timer's
at
method. (Jianhui Zhao)
v2.0.0
Refacter
- refacter (Jianhui Zhao)
Features
- support http/https
- support mqtt
- support websocket
- support bufio similar to go's bufio
- support general io watcher for any file io
- support synchronize between coroutines
v1.0.0
Initial commit Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>