s-ui/database
Alireza Ahmadi f41da0dfdd database: migrate options deprecated in sing-box 1.14
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.
2026-08-31 14:06:23 +02:00
..
model fix tls nil pointer #1198 2026-07-17 22:19:01 +02:00
backup.go fix: SQLite connection leak causing unbounded memory growth 2026-05-07 12:30:59 +08:00
db.go database: migrate options deprecated in sing-box 1.14 2026-08-31 14:06:23 +02:00
migration_singbox114.go database: migrate options deprecated in sing-box 1.14 2026-08-31 14:06:23 +02:00
migration_singbox114_test.go database: migrate options deprecated in sing-box 1.14 2026-08-31 14:06:23 +02:00