chore: release packages (#389)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
afdeb00b4d
commit
4cf868a769
@@ -1,5 +1,19 @@
|
||||
# @esengine/server
|
||||
|
||||
## 1.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#388](https://github.com/esengine/esengine/pull/388) [`afdeb00`](https://github.com/esengine/esengine/commit/afdeb00b4df9427e7f03b91558bf95804a837b70) Thanks [@esengine](https://github.com/esengine)! - feat(server): 添加可插拔速率限制系统 | add pluggable rate limiting system
|
||||
- 新增令牌桶策略 (`TokenBucketStrategy`) - 推荐用于一般场景
|
||||
- 新增滑动窗口策略 (`SlidingWindowStrategy`) - 精确跟踪
|
||||
- 新增固定窗口策略 (`FixedWindowStrategy`) - 简单高效
|
||||
- 新增房间速率限制 mixin (`withRateLimit`)
|
||||
- 新增速率限制装饰器 (`@rateLimit`, `@noRateLimit`)
|
||||
- 新增按消息类型限流装饰器 (`@rateLimitMessage`, `@noRateLimitMessage`)
|
||||
- 支持与认证系统组合使用
|
||||
- 导出路径: `@esengine/server/ratelimit`
|
||||
|
||||
## 1.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@esengine/server",
|
||||
"version": "1.2.0",
|
||||
"version": "1.3.0",
|
||||
"description": "Game server framework for ESEngine with file-based routing",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
|
||||
Reference in New Issue
Block a user