Releases: aceld/zinx
v1.2.6
What's Changed
-
fix(connection): Move close
msgBuffChan
to the write side to avoid sending to a closed channel.
修复(连接): 将关闭msgBuffChan
的操作移动到写入端,以避免向已关闭的通道发送消息。
by @GStones in #321 -
增加kcp-go的 fec配置
Added FEC configuration for kcp-go
by @luodaoyi in #322 -
fix(decoder): Move decoder to interceptor head
修复(解码器): 将解码器移至拦截器头部
by @GStones in #325 -
Upgrade
golang.org/x/net
to version 0.23.0
升级golang.org/x/net
到版本 0.23.0
by @aceld in #328 -
Bump
google.golang.org/protobuf
from 1.26.0 to 1.33.0
将google.golang.org/protobuf
从 1.26.0 升级到 1.33.0
by @dependabot in #329 -
connection
isClose
方法判断,防止c.ctx
不存在导致程序 panic
AddedisClose
method check in connection to prevent program panic whenc.ctx
is absent
by @yunxi177 in #330
New Contributors
-
@dependabot made their first contribution in #329
Full Changelog: v1.2.5...v1.2.6
Zinx v1.2.5 (Stable)
Update
- LICENSE:GPL3.0 -> MIT 692cfcf
- Add a new module called RequestPool. (新增RequestPool模块) #312
- Refactor verifyLogIsolation() for a more concise expression.(重构 verifyLogIsolation() 以获得更简洁的表达式) #287
- Change SendBuffMsg() to SendToQueue() #295
- Add several configuration options for setting up KCP connections. (新增若干配置项用于设置KCP Connection) #299
- In an independent coroutine, addclosecallback() can add any number of callback methods to conn, and execute them in the order they were added when conn.stop() is called.(独立协程中,addclosecallback()可为conn添加任意个回调方法,并在conn.stop时按添加顺序执行) #301
- Update the way of cyclically registering HeartBeat routes. (更新循环注册HeartBeat路由的方式) #304
- The management of Request objects is changed to be handled by a sync pool object pool, and the usage of Request context is enhanced. (Request 对象改由sync pool 对象池管理,并且增强 Request 上下文使用) #305
- When WebSocket starts, console prompts.(websocket 启动时,控制台提示) #311
- Remove unnecessary info logs.(去除不必要的info日志) #314
Fix
- Fix [Panic]: send on closed channel. (修复极端大流量情况偶现写管道Panic错误) #318 #319
- Fix routerSlice deep copy.(修复routerSlice路由配置深拷贝问题) #294
- Fix go protobuf v1.26 msg.pb.go compatibility. #306
- Fix Request read-write lock to the lock itself instead of a pointer, reducing null safety risks. (修正Request读写机制,防止空指针风险) #307
- Fix htlv MaxFrameLength. 879a33e
Zinx v1.2.2
Update
- KCP Protocol Support (KCP快速UDP协议支持) #256
- Shard lock Map (部分model 互斥升级为Shard lock) #250
- Connection with CAS (Connection模块部分协程同步采用CAS机制) #285
- Use env replace flag(环境变量ENV模式取代flag模式)#280
- Reduce buffer allocation times to improve efficiency(减少缓冲区分配时间以提高效率) #258
- golangci-lint Support #237
- Make the hash algorithm in shardLock more abstract #273
- Lowest go version 1.17 (兼容最低go版本1.17) #276 #278
Fix
新增日志存储策略-压缩
1、按照天进行日志分割;
2、也可以按照单个文件大小分割;
3、可以设置日志存储天数,默认31天;
4、日志压缩zip保存
新增日志存储策略
v1.1.18
zinx HeartBeat,Interceptor stable version
- 新增Zinx心跳检测机制
- 新增Zinx拦截器能力
- 新增Zinx调试tcp工具
- 新增Zinx自定义报文能力