mirror of
https://github.com/alireza0/s-ui.git
synced 2026-11-21 15:40:12 +00:00
One-shot migration over the stored config and TLS rows, guarded by a setting so it runs once: - dns.independent_cache is dropped (1.14 reads it only to warn; the value is never passed to the DNS client) - experimental.cache_file.store_rdrc becomes store_dns - route.rule_set[].download_detour becomes the http_client 1.14 builds for it - inline tls.acme becomes tls.certificate_provider with type "acme" Legacy DNS address filters and the `strategy` DNS rule action are NOT migrated automatically. Converting them means inserting evaluate rules and reordering, which changes how names resolve, so they are logged with the upstream migration link for the operator to handle. Tests cover each rewrite, that unrelated options survive, that a config with nothing to migrate is left byte-identical, and that the migrated shapes build a box with no deprecation warning. |
||
|---|---|---|
| .. | ||
| model | ||
| backup.go | ||
| db.go | ||
| migration_singbox114.go | ||
| migration_singbox114_test.go | ||