Releases: zhaojh329/lua-eco
Releases · zhaojh329/lua-eco
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)
v3.4.1
Features
- bump version 3.4.1 (Jianhui Zhao)
Bug Fixes
- socket: fix panic while send on a closed socket. (Jianhui Zhao)
- md5: Add some header file and macro for MD5. (Jianhui Zhao)
v3.4.0
Features
- Add an example for icmp6 (Jianhui Zhao)
- socket: add support multicast (Jianhui Zhao)
- socket: Add support send and recv in a socket concurrently (Jianhui Zhao)
- socket: automatically detects the IP address type for connect (Jianhui Zhao)
- bump version 3.4.0 (Jianhui Zhao)
Bug Fixes
- examples: fix typo (Jianhui Zhao)
- ip: Fix parse ipv6 address (Jianhui Zhao)
- socket:
ev_io
andev_timer
should be stoped inclose
. (Jianhui Zhao) - http.client: remove unnecessary code (Jianhui Zhao)
- log: Fix compilation with musl libc 1.2.5 (Jianhui Zhao)
- socket: Fix return value of
send
andsendfile
(Jianhui Zhao) - socket: force schedule lua coroutine in
send
function. (Jianhui Zhao)
Performance Improvements
- ubus: use ligh userdata instead of userdata for alloc defered request. (Jianhui Zhao)