mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 06:56:36 +08:00
migrate
This commit is contained in:
@@ -21,6 +21,7 @@ sidebar: false
|
||||
- 将 `openflare-server` 后端业务域迁移至 `Wavelet/internal/apps/openflare/`,通过 `/api/*` legacy 兼容层保持旧前端 API 路径不变。
|
||||
- 新增 OpenFlare 业务表 goose 迁移(`of_options`、`of_origins`、`of_proxy_routes`、`of_nodes`、`of_waf_*`、`of_tls_*`、`of_config_versions`、`of_pages_*`、`of_apply_logs` 等)。
|
||||
- 重叠职能复用 Wavelet 内置用户/OAuth/Cap/认证源能力;新增 `integration` 包覆盖认证、核心链路、安全、Agent 协议集成测试。
|
||||
- 修复 Wavelet 引入 `openflare` 模块后 `gomodule/redigo v2.0.0+incompatible` 导致 `redistore` 编译失败的问题。
|
||||
|
||||
## [v2.3.4] - 2026-06-17
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
go test ./internal/apps/openflare/... -count=1 # 全部通过
|
||||
```
|
||||
|
||||
**已知问题**:`go build ./...` 因 `github.com/boj/redistore` 与 `go-redis/v9` 版本不兼容失败(Wavelet 既有依赖问题,与 OpenFlare 迁移无关)。OpenFlare 包与 integration 测试均可独立编译通过。
|
||||
**依赖修复(2026-06-19)**:`replace github.com/rain-kl/openflare => ../` 会引入 OpenFlare 根 `go.mod` 的 `gomodule/redigo v2.0.0+incompatible`,与 `gin-contrib/sessions/redistore` 不兼容。已在 `Wavelet/go.mod` 添加 `exclude` 并锁定 `redigo v1.9.3`,`go build ./...` 正常。
|
||||
|
||||
## 源代码参考
|
||||
|
||||
|
||||
Reference in New Issue
Block a user