Files
sing-box/docs
世界 b0c6762bc1 route: merge rule_set branches into outer rules
Treat rule_set items as merged branches instead of standalone boolean
sub-items.

Evaluate each branch inside a referenced rule-set as if it were merged
into the outer rule and keep OR semantics between branches. This lets
outer grouped fields satisfy matching groups inside a branch without
introducing a standalone outer fallback or cross-branch state union.

Keep inherited grouped state outside inverted default and logical
branches. Negated rule-set branches now evaluate !(...) against their
own conditions and only reapply the outer grouped match after negation
succeeds, so configs like outer-group && !inner-condition continue to
work.

Add regression tests for same-group merged matches, cross-group and
extra-AND failures, DNS merged-branch behaviour, and inverted merged
branches. Update the route and DNS rule docs to clarify that rule-set
branches merge into the outer rule while keeping OR semantics between
branches.
2026-03-25 14:00:29 +08:00
..
2023-03-05 23:37:12 +08:00
2025-12-14 00:09:19 +08:00
2026-01-17 04:54:18 +08:00
2026-03-15 17:56:37 +08:00
2022-07-08 18:41:18 +08:00
2025-07-08 13:12:19 +08:00
2024-09-13 10:09:08 +08:00
2024-08-19 06:39:33 +08:00
2024-08-19 06:39:33 +08:00