Remove deprecated config fields (proxyUrl, sslKeyPemPath, sslCertPemPath) in 3.0
维护者通常 1 天内回复
@re-vlad 已经在做这个了。
开始于 2026年6月29日。
评估
这个 Issue 还没有评估数据。
描述
Summary
Remove the deprecated top-level config fields proxyUrl, sslKeyPemPath, and sslCertPemPath from the schema, types, and config loader. These fields are already flagged deprecated: true in config.schema.json and have been superseded by upstreamProxy and tls.key / tls.cert respectively.
Why defer to 3.0
Removing these fields is a breaking change: after the upgrade, the app will fail to start unless users clean up their config files. That's not acceptable inside the 2.x line, so this work should land in the next major.
Context
- Discussed in #1514 (review thread with @jescalada).
- The removal was briefly included in #1514 as commit
c48d0bfbut reverted in 4234c16 to keep #1514 non-breaking.
Scope
- Drop
proxyUrl,sslKeyPemPath,sslCertPemPathfromconfig.schema.json. - Regenerate
src/config/generated/config.ts. - Remove the legacy fallback logic in
src/config/index.ts(mergeConfigurations,getProxyUrl,getTLSKeyPemPath,getTLSCertPemPath). - Simplify
FullGitProxyConfigto plainRequired<GitProxyConfig>(dropOptionalTopLevelConfigKey). - Update reference docs (
website/docs/configuration/reference.mdx). - Improve the config-load error message so users hitting a removed/unknown key get a clear "this field is no longer supported, use X" instead of the current misleading "expected boolean but got X" (per @jescalada's note in #1514).
Migration for users
| Deprecated field | Replacement |
|---|---|
proxyUrl |
upstreamProxy |
sslKeyPemPath |
tls.key |
sslCertPemPath |
tls.cert |
- 主要语言
- TypeScript
- 星标
- 263
- 派生
- 185
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 39
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
finos/git-proxy 的其他 Issue
-
Update the Git Proxy website homepage using flyer content可能已有人在做 @Orcus01 于 3 天前认领。 未关闭documentation good first issue help wanted
难度 2/5 1-3 小时 新手友好度 68/100
finos/git-proxy#1878 · 2 条评论 ·
维护者通常 1 天内回复
-
scanDiff ignores commitConfig.diff.block rules from the --config file可能已有人在做 @goldensyntax 于 6 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
finos/git-proxy#1874 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
checkUserPushPermission is checking the wrong user's permission to push可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug tech-debt
难度 2/5 1-3 小时 新手友好度 78/100
finos/git-proxy#1400 · 17 条评论 ·
维护者通常 1 天内回复
-
meeting
难度 1/5 1 小时以内 新手友好度 35/100
维护者通常 1 天内回复
相似的 Issue
-
area:models enhancement
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bug frontend ui
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Recording drops clicks on links, filters and checkboxes that share a form with a search field可能已有人在做 @columbia11 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
Tencent/BrowserSkill#657 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
NousResearch/hermes-agent#151711 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
维护者通常 2 天内回复