sing-box/docs/configuration
世界 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
..
certificate Add Chrome Root Store certificate option 2026-01-17 05:47:54 +08:00
dns route: merge rule_set branches into outer rules 2026-03-25 14:00:29 +08:00
endpoint Add advertise tags support for Tailscale endpoint 2026-02-24 15:31:57 +08:00
experimental documentation: Fix Chinese link anchors 2026-03-16 12:24:10 +08:00
inbound documentation: Fix Chinese link anchors 2026-03-16 12:24:10 +08:00
log
ntp
outbound documentation: Fix Chinese link anchors 2026-03-16 12:24:10 +08:00
route route: merge rule_set branches into outer rules 2026-03-25 14:00:29 +08:00
rule-set documentation: Fix Chinese link anchors 2026-03-16 12:24:10 +08:00
service documentation: Fix Chinese link anchors 2026-03-16 12:24:10 +08:00
shared documentation: Fix Chinese link anchors 2026-03-16 12:24:10 +08:00
index.md Add DERP service 2025-07-08 13:14:41 +08:00
index.zh.md Add DERP service 2025-07-08 13:14:41 +08:00