Remove deprecated config fields (proxyUrl, sslKeyPemPath, sslCertPemPath) in 3.0

オープン
#1,545 コメント 1 件 リアクション 1 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@re-vlad がすでに取り組んでいます。

2026年6月29日 から。

評価

この issue はまだ評価されていません。

説明

enhancement

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 c48d0bf but reverted in 4234c16 to keep #1514 non-breaking.

Scope

  • Drop proxyUrl, sslKeyPemPath, sslCertPemPath from config.schema.json.
  • Regenerate src/config/generated/config.ts.
  • Remove the legacy fallback logic in src/config/index.ts (mergeConfigurations, getProxyUrl, getTLSKeyPemPath, getTLSCertPemPath).
  • Simplify FullGitProxyConfig to plain Required<GitProxyConfig> (drop OptionalTopLevelConfigKey).
  • 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時間
マージ済み PR(30日)
39

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

finos/git-proxy のほかの issue

finos/git-proxy の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。