[PR #5054] [MERGED] fix(subClashService): improve merging of clash rules in YAML #5761

Closed
opened 2026-11-02 04:03:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/5054
Author: @shazzreab
Created: 6/7/2026
Status: ✅ Merged
Merged: 6/8/2026
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (1)

  • a6cf22b fix(subClashService): improve merging of clash rules in YAML

📊 Changes

1 file changed (+7 additions, -3 deletions)

View changed files

📝 sub/subClashService.go (+7 -3)

📄 Description

Summary

improve merging of clash rules in YAML

Why

Currently, the Clash/Mihomo Global Routing Rules feature in 3x-ui only preserves the rules section and strips away other top-level configurations like rule-providers.
Closes #5044

Type of change

  • New feature

Areas affected

  • Subscription (Clash)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/5054 **Author:** [@shazzreab](https://github.com/shazzreab) **Created:** 6/7/2026 **Status:** ✅ Merged **Merged:** 6/8/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`a6cf22b`](https://github.com/MHSanaei/3x-ui/commit/a6cf22b2825774fb5f215a50761a04085487883f) fix(subClashService): improve merging of clash rules in YAML ### 📊 Changes **1 file changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `sub/subClashService.go` (+7 -3) </details> ### 📄 Description ## Summary improve merging of clash rules in YAML ## Why Currently, the Clash/Mihomo Global Routing Rules feature in 3x-ui only preserves the rules section and strips away other top-level configurations like rule-providers. Closes #5044 ## Type of change - [x] New feature ## Areas affected - [x] Subscription (Clash) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:03:54 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5761
No description provided.