Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(master): release 0.4.1 #74

Merged

Conversation

kercylan98
Copy link
Owner

@kercylan98 kercylan98 commented Dec 25, 2023

🤖 I have created a release beep boop

0.4.1 (2023-12-25)

Other | 其他更改

  • 示例及 buffer README.md 更新 (c3e1581)
  • 移除 writeloop 的 defer recover 行为,发生未处理错误将不再 panic,更改为输出 Error 日志 (32576fb)

Features | 新特性

  • compress 新增 tar 和 zip 解压缩函数 (6bd987f)
  • huge 包新增 Float 实现 (af189ab)
  • server 包增加消息统计相关函数 (05aeed0)
  • server 包新增 WithDisableAutomaticReleaseShunt 可选项,可禁止分流渠道自动释放。增加 ReleaseShunt、HasShunt、GetShuntNum 等函数。优化系统分流渠道将不再能够被释放 (d9ef347)
  • space.RoomController 支持设置房主 (a269845)

Bug Fixes | 修复

  • lockstep 定时器导致空指针问题处理 (ceffa2e)
  • 修复 space.RoomManager.AssumeControl 函数编译错误的问题 (3f099e6)

Docs | 文档优化

  • activity 和 fight 包文档优化 (7693518)
  • game 文档错误修正 (e43185f)
  • 优化 aoi、arrangement、buffer、combination、compress 包文档 (1afae90)
  • 增加 lockstep 包 README.md 文档 (aebdb53)
  • 增加 space 包 README.md 文档,优化 room 相关内容可读性 (9d9f7a3)
  • 增加 writeloop 文档 (307e500)
  • 补充 writeloop 的 README.md 相关的 Channel 部分 (610ee0d)

Code Refactoring | 重构

  • server.Server 兼容新的 concurrent.Pool 和 buffer.Unbounded (eb28d42)
  • writeloop.WriteLoop 更名为 Unbounded,新增基于 chan 实现的 WriteLoop (4b85cea)
  • 优化 concurrent.Pool 的实现,移除构造函数中对 size 的要求。更改为使用 sync.Pool 的内置实现 (3877b28)
  • 移除不再适用的 game.Player 和 builtin 包 (7b4d6bc)

Performance Improvements | 性能优化

  • 去除 buffer.Unbounded 不必要的构造函数和 nil 字段 (7111350)
  • 更改 server 和 conn 的消息实现为 channel (d27fa7c)

Tests | 新增或优化测试用例

  • concurrent.Pool 增加测试用例 (8f4e652)
  • writeloop 包增加测试用例 (f52d73e)
  • 增加 buffer.Unbounded 测试用例 (cc5274c)

This PR was generated with Release Please. See documentation.

@kercylan98 kercylan98 merged commit 702e8e7 into master Dec 25, 2023
6 checks passed
@kercylan98
Copy link
Owner Author

🤖 Release is at https://github.com/kercylan98/minotaur/releases/tag/v0.4.1 🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant