Replace internal terminology in docs and error messages
Remove all user-facing references to the internal `legacyDNSMode` variable
name. Error messages now reuse the deprecated.Note.MessageWithLink() method
to provide consistent deprecation text with migration URLs. Other internal
jargon ("consume response state", "response_*") is replaced with
user-friendly descriptions.
Add two migration guide entries under 1.14.0: one for strategy → rule items,
one for address filter fields → evaluate with match_response.
This commit is contained in:
@@ -17,30 +17,28 @@ TLS 中的内联 ACME 选项(`tls.acme`)已废弃,
|
||||
#### DNS 规则动作中的 `strategy`
|
||||
|
||||
DNS 规则动作中的 `strategy` 已废弃,
|
||||
且仅在 `legacyDNSMode` 中可用。
|
||||
参阅[迁移指南](/zh/migration/#迁移-dns-规则动作-strategy-到规则项)。
|
||||
|
||||
旧字段将在 sing-box 1.16.0 中被移除。
|
||||
|
||||
#### DNS 规则中的 `ip_accept_any`
|
||||
|
||||
DNS 规则中的 `ip_accept_any` 已废弃,
|
||||
且仅在 `legacyDNSMode` 中可用。
|
||||
请使用 `match_response` 和响应项替代。
|
||||
参阅[迁移指南](/zh/migration/#迁移地址筛选字段到响应匹配)。
|
||||
|
||||
旧字段将在 sing-box 1.16.0 中被移除。
|
||||
|
||||
#### DNS 规则中的 `rule_set_ip_cidr_accept_empty`
|
||||
|
||||
DNS 规则中的 `rule_set_ip_cidr_accept_empty` 已废弃,
|
||||
且仅在 `legacyDNSMode` 中可用。
|
||||
参阅[迁移指南](/zh/migration/#迁移地址筛选字段到响应匹配)。
|
||||
|
||||
旧字段将在 sing-box 1.16.0 中被移除。
|
||||
|
||||
#### 旧的地址筛选 DNS 规则项
|
||||
#### 地址筛选 DNS 规则项
|
||||
|
||||
旧的地址筛选 DNS 规则项(不使用 `match_response` 的 `ip_cidr`、`ip_is_private`)已废弃,
|
||||
且仅在 `legacyDNSMode` 中可用。
|
||||
请使用 `match_response` 和 `evaluate` 动作替代。
|
||||
地址筛选 DNS 规则项(不使用 `match_response` 的 `ip_cidr`、`ip_is_private`)已废弃,
|
||||
参阅[迁移指南](/zh/migration/#迁移地址筛选字段到响应匹配)。
|
||||
|
||||
旧行为将在 sing-box 1.16.0 中被移除。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user