Releases: vansour/ghproxy
Releases · vansour/ghproxy
v1.2.2
ghproxy 1.2.2 发布说明
发布目标
1.2.2 版本主要用于收口前一轮按阶段推进的修复工作,重点覆盖以下四个方向:
- Registry 鉴权链路的安全边界收紧
- 配置能力与状态可观测性补齐
- 热点路径的性能与稳定性优化
- 前端状态页在异常返回下的鲁棒性增强
重点变更
1. Registry 鉴权安全收口
- 加强
WWW-AuthenticateBearer challenge 解析,兼容多 challenge、引号参数和更复杂的 header 结构。 - 对 Bearer
realm增加 host 校验,避免根据异常上游响应发起越权 token 请求。 - 为 challenge 解析与
realm边界补齐回归测试。
2. 配置与状态接口增强
- 扩展环境变量覆盖范围,补齐
debug.*、registry.readiness_depends_on_registry、server.pool.*、cache.*等关键配置项。 - 扩展
/api/config返回内容,明确暴露缓存规则、连接池参数和调试开关等非敏感运行配置。 - 扩展
/api/stats返回内容,补充 registry upstream、token 请求与缓存相关摘要,便于状态页直接排障。 - 更新 README 中的配置与 API 文档,使其与实现保持一致。
3. 性能与稳定性优化
- 将限流内部结构调整为基于队列的滑动窗口,降低热点 IP 下的清理成本与锁竞争。
- Registry manifest 数据链路改为
Bytes直传,减少不必要的字符串转换和中间复制。 - 优化缓存统计刷新与周期任务触发逻辑,减少
/api/stats对主请求路径的干扰。
4. 前端契约与容错提升
- 为前端 API 客户端增加运行时响应校验,降低前后端字段漂移造成的静默故障。
- 修复非 JSON、空响应和异常 JSON 结构下的报错与降级逻辑。
- 增强状态页在部分接口失败场景下的可用性,保留可展示的健康数据并给出可读错误信息。
- 补充前端测试覆盖上述异常分支。
升级与验证建议
- 重新构建前端静态资源与后端二进制,确保版本号和接口契约一致。
- 至少执行以下校验:
cargo test -p ghproxy --quietnpm test --prefix frontendnpm run build --prefix frontend
- 如通过 tag 发布,使用
v1.2.2作为 release tag。
gh-proxy 1.2.1
gh-proxy 1.2.1
Release Metadata
- Tag:
v1.2.1 - Commit:
aa599f8feat: publish GitHub releases from release workflow - Commit Date:
2026-03-12T17:29:24+08:00 - Primary Image:
ghcr.io/vansour/gh-proxy:1.2.1 - Digest:
sha256:b754ad79b2b592fe4b106c9d01495d63305e89fed4cbffe42b5541e721ce06f3 - Previous Tag: none
- Compare: initial release history for
v1.2.1
Published Container Tags
ghcr.io/vansour/gh-proxy:1.2.1ghcr.io/vansour/gh-proxy:v1.2.1ghcr.io/vansour/gh-proxy:1.2ghcr.io/vansour/gh-proxy:1ghcr.io/vansour/gh-proxy:latestghcr.io/vansour/gh-proxy:sha-aa599f8
Full Commit Log
- 1c9eeea update
- 17afb91 update
- 2ba8caf update
- 4cfe25b update
- 28cc11b update
- 2211a34 update
- 2c14107 update
- 64a0aa1 update
- 69eec38 update
- 225102e update
- 479c774 update
- 84d31b9 update
- 8d5bae8 update
- 24b4445 update
- 245a353 update
- b5756f3 update
- cdb1fad update
- 25a631b update
- 65bb6ce update
- 572ccc9 update
- 3b868c6 update
- 1a6f1b7 update
- 0d17d0e update
- fbba37f update
- b6a322d update
- 87f98bb update
- 4cfc392 update
- 243d2c8 update
- b513236 update
- bf61129 update
- 265c78c update
- 5f3d6aa update
- fe4633d update
- d1e788b update
- 62caab9 update
- 463f10d update
- ae45a73 update
- 042152f update
- fc6ee6d update
- 8020726 update
- 9224a68 update
- 643d847 update
- 5959133 update
- 3f0bedf update
- 5274a02 update
- 3d4a864 update
- 5308395 update
- 01f2d3c update
- d51a391 update
- c6e5fd4 update
- 8f2210a update
- 62bea07 Handle lossy conversion when proxying response text
- ead08ca Merge pull request #2 from vansour/codex/refactor-process_shell_script_bytes-and-process_html_bytes
- 82db595 Adjust GitHub Accept header handling
- d0a347f Merge pull request #3 from vansour/codex/modify-apply_github_headers-signature
- d7a15b3 Preserve request bodies across redirects
- 1f3c556 Merge pull request #4 from vansour/codex/refactor-redirect-handling-in-proxy_request
- 5674c0a update
- 1c93d54 update
- 4872bab update
- 401f31d License
- e934816 Flatten handlers module layout
- 1bd711c v1.0.1
- 4820f4d Initial plan
- 21bc79a Add CI workflow and fix clippy warnings
- 7b9bce3 Add development guidelines and CI badge to README
- 5f32910 v1.0.1
- eca782e v1.0.2
- d339b66 v1.0.2
- e4d1be2 v1.0.3
- 5e26ade update
- 74af21a v1.0.4
- 72891c3 v1.0.4
- f8eab13 v1.0.4
- 295e213 v1.0.5
- 5294ea0 v1.0.5
- d2839a2 v1.0.5
- d393551 v1.0.5
- ab09da0 v1.0.5
- 7eebdb0 v1.0.5
- c318a1b v1.0.5
- 4929ade v1.0.5
- dd77149 Optimize blacklist cache access
- 73b41a2 Merge pull request #7 from vansour/codex/identify-optimizatio...