Skip to content

Releases: aceld/zinx

v1.2.6

09 Aug 02:42
fbd7000
Compare
Choose a tag to compare

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
    Added isClose method check in connection to prevent program panic when c.ctx is absent
    by @yunxi177 in #330

New Contributors

Full Changelog: v1.2.5...v1.2.6

Zinx v1.2.5 (Stable)

06 May 06:32
879a33e
Compare
Choose a tag to compare

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

12 Dec 06:34
37b8d8e
Compare
Choose a tag to compare

Update

  1. KCP Protocol Support (KCP快速UDP协议支持) #256
  2. Shard lock Map (部分model 互斥升级为Shard lock) #250
  3. Connection with CAS (Connection模块部分协程同步采用CAS机制) #285
  4. Use env replace flag(环境变量ENV模式取代flag模式)#280
  5. Reduce buffer allocation times to improve efficiency(减少缓冲区分配时间以提高效率) #258
  6. golangci-lint Support #237
  7. Make the hash algorithm in shardLock more abstract #273
  8. Lowest go version 1.17 (兼容最低go版本1.17) #276 #278

Fix

  1. Fix userWorker client divide 0 #263
  2. Fix panic error when writing to an empty channel. (解决connection模块写时,出现往空的channel写的panic错误) #286
  3. Fix the problem of incompatibility between heartbeat and new routing(修复心跳和新路由不兼容的问题 )#226

新增日志存储策略-压缩

12 May 11:58
eb06d0b
Compare
Choose a tag to compare

1、按照天进行日志分割;
2、也可以按照单个文件大小分割;
3、可以设置日志存储天数,默认31天;
4、日志压缩zip保存

新增日志存储策略

10 May 04:54
Compare
Choose a tag to compare

1、按照天进行日志分割;
2、也可以按照单个文件大小分割;
3、可以设置日志存储天数,默认31天

v1.1.18

10 May 03:34
Compare
Choose a tag to compare

新增日志存储机制,按照天数、按大小分割存储并管理删除

zinx HeartBeat,Interceptor stable version

27 Mar 10:54
Compare
Choose a tag to compare
  • 新增Zinx心跳检测机制
  • 新增Zinx拦截器能力
  • 新增Zinx调试tcp工具
  • 新增Zinx自定义报文能力

v1.1.8

23 Mar 01:49
Compare
Choose a tag to compare

v1.1.8

v1.1.2

20 Mar 08:46
Compare
Choose a tag to compare
add zinx decoder module

v1.1.1

13 Mar 11:47
bea1a6d
Compare
Choose a tag to compare
  1. Added tlv and htlv+crc protocol en/decode,most protocol can be adapted;
  2. Added example and README.MD to show how to use;
  3. Through tens of thousands of stress tests