Skip to content

Releases: DMSQ-creator/ProxySwitch

🎉 v7.7.0 - 全球化更新:新增多语言支持与手动切换

03 Jan 08:15
1a39f27

Choose a tag to compare

[中文] 🎉 v7.7.0 - 全球化更新:新增多语言支持与手动切换

本次更新为 ProxySwitch 带来了完整的国际化(i18n)支持,并针对全球用户优化了使用体验。

🌍 新增功能

  • 多语言架构 (i18n):我们彻底重构了代码,现在插件支持多语言显示。
  • 新增语言支持
    • 🇺🇸 英语(English):完整覆盖。
    • 🇷🇺 俄语 (Russian):完整覆盖。
    • 🇪🇸 西班牙语 (Spanish):完整覆盖。
  • 手动语言切换:在“通用设置”页面中增加了 语言选择器。现在您可以强制指定插件语言(中文/英文/俄语/西语),不再强制跟随浏览器系统语言。

[English] 🎉 v7.7.0 - Going Global: Multi-language Support

This update brings full Internationalization (i18n) support to ProxySwitch, optimizing the experience for users worldwide.

🌍 New Features

  • i18n Architecture: We have refactored the codebase to fully support localization.
  • New Languages Added:
    • 🇺🇸 English: Full support.
    • 🇷🇺 Russian: Full support.
    • 🇪🇸 Spanish: Full support.
  • Manual Language Switcher: Added a Language Selector in the "General Settings" page. You can now manually force the extension language (English/Chinese/Russian/Spanish) instead of relying solely on the system language.

v7.6.8

31 Dec 08:00
adc8bf5

Choose a tag to compare

v7.6.8 更新日志

本次更新主要集中在符合 Chrome 应用商店的安全政策要求,对核心功能进行了透明化重构,并修复了多个影响体验的界面 Bug。

🛡️ 合规性与核心变更

  • GFWList 策略调整:为符合商店关于“远程代码”的政策,移除了所有内置和硬编码的 GFWList 规则源地址。现在用户需要手动在设置页填入信任的规则 URL。
  • 云端备份重构:完全重写了云同步功能(GitHub Gist / WebDAV)。
    • 配置文件现在以 纯文本 JSON 格式直接存储,移除了之前的 Base64 编码处理。
    • 极大地提高了数据透明度,彻底消除了“代码混淆”的嫌疑。
    • 注意:由于格式变更,旧版本的备份文件将不再被支持,请更新后重新执行备份。

🐛 问题修复

  • 弹窗逻辑修复:修复了在无效页面(如新标签页、设置页、空白页)打开扩展弹窗时,仍然显示“加入代理列表”按钮的问题。现在这些按钮会在不支持的页面自动隐藏,防止误触报错。
  • 服务器校验增强:修复了添加服务器时可以保存空地址的 Bug。现在对服务器地址(Host)和端口(Port)进行了严格的非空校验。
  • 设置页渲染修复:修复了因界面重构(移除下拉菜单)导致 options.js 出现的初始化报错问题。

📝 改进与优化

  • 仓库链接修正:修正了“通用设置 - 关于”页面中指向 GitHub 仓库的链接,确保用户能正确访问项目主页。

v7.6.8 Release Notes

This update focuses on compliance with Chrome Web Store security policies, refactoring core features for transparency, and fixing several UI bugs.

🛡️ Compliance & Core Changes

  • GFWList Source Policy Change: To comply with store policies regarding "Remote Hosted Code," all built-in and hardcoded GFWList URLs have been removed. Users must now manually input their preferred rule source URL in the settings.
  • Cloud Backup Refactoring: Completely rewrote the Cloud Sync feature (GitHub Gist / WebDAV).
    • Configuration is now saved as Plain Text JSON directly, removing the previous Base64 encoding.
    • This improves data transparency and eliminates any suspicion of "obfuscated code."
    • Note: Due to format changes, backups from previous versions are no longer supported. Please perform a new backup after updating.

🐛 Bug Fixes

  • Popup UI Logic: Fixed an issue where "Add Rule" buttons were visible on invalid pages (e.g., New Tab, Settings, blank pages). These buttons now auto-hide on unsupported pages to prevent console errors.
  • Server Validation: Fixed a bug that allowed saving empty server addresses. Added strict validation for Host and Port inputs.
  • Options Page Rendering: Fixed a script initialization error in options.js caused by recent UI changes (removal of the dropdown menu).

📝 Improvements

  • Repository Link: Corrected the project repository link in the "General Settings - About" section.

v7.6.6

25 Dec 09:19
f811d77

Choose a tag to compare

v7.6.6 更新日志

本次更新主要解决了 图标状态不同步点击图标卡顿 两个核心问题。

🚨 核心修复

  • 修复图标切换失效:彻底修复了切换代理模式(如从“自动”切换到“全局”或“直连”)时,浏览器扩展图标颜色没有实时变化的 Bug。现在切换模式,图标会立即响应。
  • 修复死循环卡顿:修复了扩展在后台因为反复写入配置而进入死循环(Infinite Loop)的问题,解决了点击扩展图标出现卡死、白屏或弹窗延迟的严重性能故障。

✨ 体验优化

  • 规则实时生效:修复了在弹窗中添加/删除域名规则时,图标需要刷新页面才会变色的问题。现在添加黑白名单,图标状态毫秒级实时更新。
  • 解决图标粘连:修复了自动模式下分配的图标在切换到其他模式后依然“粘”在当前标签页上的问题。

⚙️ 功能更新

  • GFWList 预览:设置页面新增 GFWList 规则内容的预览功能(支持折叠/展开)。
  • 设置页优化:优化了 GFWList 自定义 URL 的输入保存逻辑,并修复了刷新页面后回显错误的问题。
  • IO 读写优化:优化底层存储逻辑,仅在配置真正变更时写入硬盘,大幅降低资源占用。

v7.6.6 Changelog

This update resolves critical issues regarding Icon Synchronization and Performance Freezes.

🚨 Critical Fixes

  • Fixed Icon Switching: Resolved the issue where the extension icon color did not update immediately when switching proxy modes (e.g., from Auto to Global). The icon now reflects the correct mode instantly.
  • Fixed UI Freezing: Fixed a "Recursive Loop" bug in the background script that caused the popup to freeze or show a blank screen when clicked.

✨ Improvements

  • Real-time Rule Updates: Fixed the delay when adding/removing rules via the Popup. The icon status now updates instantly without requiring a page refresh.
  • Sticky Icon Fix: Resolved an issue where tab-specific icons (from Auto mode) persisted even after switching to Global or Direct mode.

⚙️ Other Changes

  • GFWList Preview: Added a collapsible preview section in the Options page to view current GFWList rules.
  • Options Page: Improved the custom GFWList URL input logic and fixed display issues after reloading.
  • I/O Optimization: Optimized storage logic to reduce I/O overhead significantly.

v7.6.5

24 Dec 06:42
37c35f8

Choose a tag to compare

ProxySwitch v7.6.5

本次更新主要集中在术语的规范化与代码逻辑的精简,旨在提供更准确的功能描述并提升扩展的运行稳定性。

🇨🇳 中文更新说明

✨ 变更与优化

  • 术语规范化:将所有“云同步”相关的文案更正为 “云端备份” (Cloud Backup)。
    • 说明:当前功能机制为“备份与还原”(Backup & Restore),而非多设备间的实时双向同步。更名旨在降低用户误解,明确功能定义。
  • 设置优化:将“自动同步”选项重命名为“自动上传 (变更时)”,更准确地描述了数据流向。

🛠 修复与维护

  • 权限精简:移除了 manifest.json 中多余的权限声明,遵循最小权限原则,提升安全性。
  • 代码修复:删除了 background.js 中一处会导致报错的冗余 sendMessage 调用,修复了控制台可能出现的错误提示。
  • UI 微调:统一了选项页面(Options Page)侧边栏与标题栏的文案显示。

🇺🇸 English Release Notes

✨ Improvements

  • Terminology Standardization: Renamed "Cloud Sync" to "Cloud Backup" across the extension.
    • Reason: To accurately reflect the mechanism (Backup & Restore) rather than real-time bi-directional syncing, ensuring users have the correct expectations.
  • UI Text Updates: Renamed the "Auto Sync" option to "Auto Upload (on change)" for better clarity.

🛠 Fixes & Maintenance

  • Permission Cleanup: Removed unused permissions from manifest.json to adhere to the principle of least privilege.
  • Bug Fix: Removed a redundant sendMessage call in background.js that was causing potential runtime errors in the console.
  • UI Adjustments: Unified terminology in the Options page sidebar and headers.

v7.6.3

23 Dec 16:18
977a455

Choose a tag to compare

v7.6.3 - Silk Smooth Experience (丝滑体验更新)

更新日志:

中文

本次更新专注于视觉稳定性与性能优化,带来了如 SwitchyOmega 般丝滑的图标切换体验。

🚀 核心变更:

  • 彻底修复图标闪烁: 采用“全局底色 + 预渲染”策略,彻底解决了网页加载或跳转时图标会闪烁回默认 Logo 的问题。
  • 优化的自动模式视觉反馈:
    • ⚪️ 灰色 A: 自动模式待机中,当前网站走直连(降低视觉干扰)。
    • 🟢 绿色 A: 自动模式工作中,当前网站走代理(命中 GFWList 或自定义规则)。
  • 性能提升: 启动时预先渲染所有状态图标,不再在每次页面加载时重复绘图,显著降低资源消耗。

English

This update focuses on visual stability and performance improvements, bringing a "SwitchyOmega-like" smooth experience.

🚀 Key Changes:

  • No More Flickering: Completely eliminated the icon flickering issue when loading pages or switching tabs. The extension now uses a "Global Base Icon" strategy combined with pre-rendering.
  • Smart Auto Mode Icons:
    • ⚪️ Grey 'A': Auto Mode is active, but the current site is accessed Directly (reduces visual distraction).
    • 🟢 Green 'A': Auto Mode is active, and the current site is Proxied (clear feedback).
  • Performance Optimization: Icons are now pre-rendered using OffscreenCanvas at startup, reducing CPU usage during navigation.

v7.6.2 - UI Enhancements & Stability Fixes / 界面增强与稳定性修复

23 Dec 15:37
9b674b9

Choose a tag to compare

📝 Release Notes / 更新日志

🇨🇳 中文说明

本次更新主要完善了设置页面的功能体验,并修正了 GFWList 的解析策略以提升稳定性。

✨ 新增功能 (New Features)

  • 📜 规则预览:在“GFWList 智能规则库”卡片下方增加了折叠式预览区,现在可以直观地查看当前已下载生效的规则内容。
  • ℹ️ 关于信息:在“通用设置”中新增了关于卡片,展示项目版本、版权信息及 GitHub 仓库链接。
  • 🔢 动态版本:设置页面的版本号现已改为自动读取,确保显示永远准确。

🐛 修复与优化 (Fixes & Improvements)

  • 💾 配置保存修复:修复了“自定义 GFWList URL”输入框不自动保存的问题。现在输入内容会实时写入本地存储,防止云端同步时丢失 URL。

🇺🇸 English Description

This update focuses on UI enhancements in the options page and stability improvements for GFWList parsing.

✨ New Features

  • 📜 Rule Preview: Added a collapsible preview area under the GFWList section to view currently loaded domains.
  • ℹ️ About Section: Added a new "About" card in General Settings displaying version info, copyright, and repository links.
  • 🔢 Dynamic Versioning: Version numbers in the UI are now dynamically fetched from manifest.json.

🐛 Fixes & Improvements

  • 💾 Input Saving: Fixed an issue where the "Custom GFWList URL" input was not auto-saving. Changes are now saved in real-time.

v7.6.1 - 修复云端同步与界面显示问题 / Sync & UI Fixes

23 Dec 11:32
6b21440

Choose a tag to compare

本次更新主要修复了云端同步自定义 GFWList 配置的问题,并改进了设置页面的交互体验。

✨ 改进与修复

  • 🐛 修复同步数据丢失问题:修复了在设置页面输入“自定义 GFWList URL”时,数据未实时保存到本地存储,导致上传到云端的配置中 URL 为空的问题。现在输入框内容会即时保存。
  • 💄 修复界面回显问题:修复了从云端“下载覆盖”配置后,设置页面未能立即显示自定义 URL 的 Bug。现在下载完成后,界面会自动切换到自定义模式并填充正确的 URL。
  • ⚡️ 内部优化:优化了设置页面(Options Page)底部的版本号显示逻辑,改为自动读取 manifest.json,不再需要手动硬编码。

⬇️ 如何更新

  • Chrome 商店用户:请等待商店自动推送更新。
  • 开发者模式用户:下载最新源码包,在扩展管理页面点击“重新加载”即可。

This release focuses on fixing synchronization issues with custom GFWList configurations and improving the options page experience.

✨ What's Changed

  • 🐛 Fixed Sync Issue: Fixed a bug where the "Custom GFWList URL" was not being saved to local storage in real-time, resulting in empty URLs when uploading config to the cloud. Input is now saved immediately as you type.
  • 💄 Fixed UI Rendering: Fixed an issue where the Options page failed to display the custom URL immediately after downloading configuration from the cloud. The UI now correctly switches to custom mode and populates the URL field upon download.
  • ⚡️ Improvement: The version number in the Options page footer is now dynamically fetched from manifest.json, ensuring it's always accurate.

v7.6.0

23 Dec 09:11
1822c3c

Choose a tag to compare

ProxySwitch v7.6.0 更新日志

  • 全新 UI 重构:采用现代化的“白底+彩色边框”设计,视觉清爽,高度紧凑 (370px),提升交互效率。
  • 🚀 新增“系统代理”模式:支持一键切换至系统默认代理设置。
  • 🎨 动态品牌图标:扩展栏图标现在采用圆角矩形设计(Squircle),并根据状态变色(蓝/绿/紫/灰),与 Logo 风格完美统一。
  • ⏱️ 临时规则回归:在 Popup 面板新增“临时”按钮,可快速添加单次会话有效的代理规则(橙色状态)。
  • 🌈 状态可视化分级
    • 🟢 绿色:自动分流 (GFWList)
    • 🔵 蓝色:直连 (白名单)
    • 🟣 紫色:强制代理 (黑名单)
    • 🟠 橙色:临时规则
  • 🐛 Bug 修复:修复了状态切换时的类名冲突问题,优化了按钮点击逻辑。

v7.5.0

17 Dec 09:12
ae3ae4e

Choose a tag to compare

v7.5.0 - 核心匹配引擎升级与功能优化

本次更新将版本号升级至 7.5,重点重构了 GFWList 规则的解析逻辑,并大幅增强了网络连通性测试工具的实用性。

🚨 升级后必读 / Action Required

升级插件后,请务必执行一次规则更新:

  1. 设置中心 -> GFWList 智能规则库
  2. 点击 “🔄 立即更新规则库”
    (此操作将应用新的解析引擎,清洗本地缓存中的无效规则)

✨ 新特性与改进 (New Features & Improvements)

  • 🛡️ GFWList 解析引擎重构 (Core Upgrade)

    • 重新设计了规则清洗逻辑,彻底解决了部分域名(如 .google.com)因格式问题导致的 PAC 脚本匹配失效。
    • 解决痛点: 修复了“插件图标显示绿色(命中)但网页无法打开”的顽固问题,显著提升自动分流模式的稳定性。
  • 📶 连通性测试工具升级 (Connectivity Test)

    • 智能模式检测: 在测试前会自动检查当前代理模式。如果处于“直连”或“系统代理”模式,将弹出警告,防止误测本地网络延迟。
    • 超时熔断机制: 新增 5 秒超时限制,防止在网络不通时导致界面卡死。
    • 协议优化: 测试目标调整为 HTTP 协议,消除了因代理服务器证书问题导致的虚假测试失败。
  • ⚡ 体验优化

    • 优化了 UI 交互反馈,提升操作流畅度。

🇬🇧 English Release Notes

v7.5.0 - Core Matching Engine Upgrade

This major update refactors the GFWList parsing logic and significantly improves the connectivity testing tool.

🚨 Action Required

After updating, please manually refresh the rule list:

  1. Go to Options -> GFWList.
  2. Click "🔄 Update Now".
    (This is required to apply the new parsing logic to your local cache)

Change Log

  • 🛡️ Refactored GFWList Parsing (Core Fix):

    • Redesigned the rule cleaning logic to automatically strip invalid characters (like leading dots).
    • Fixed: Solved the critical issue where google.com would show as "Matched" in the UI but fail to connect in PAC mode.
  • 📶 Enhanced Latency Test:

    • Mode Awareness: Now warns you if you try to test latency while in "Direct" mode.
    • Timeout Protection: Added a 5-second timeout to prevent UI freezing during network errors.
    • Protocol Update: Switched to HTTP endpoint to avoid SSL handshake errors during proxy testing.

v7.4.1

16 Dec 08:19
a9fb145

Choose a tag to compare

🚀 ProxySwitch v7.4.1 - 主要协议​​更新和性能修复

这是一个重要的累积更新版本,带来了全协议支持、显著的性能优化以及多项核心 Bug 修复。

✨ 新功能与改进 (New Features)

  • 全协议支持 (Full Protocol Support): 新增对 HTTPS (TLS Encrypted Proxy)SOCKS4 协议的支持。现在支持 HTTP, HTTPS, SOCKS4, SOCKS5 全系代理协议。
  • 中文域名支持 (Chinese Domain Support): 引入自动 Punycode 转码机制。添加中文域名(如 *.百度.com)时会自动转换为 ASCII 格式,彻底解决中文导致 PAC 脚本崩溃的问题。

⚡ 性能优化 (Performance)

  • 消除 DNS 阻塞 (Fix DNS Blocking): 重构了 PAC 脚本中的 isInNet 逻辑。增加了 IP 正则预检测,仅对 IP 地址进行网段匹配,避免了访问普通域名时触发不必要的 DNS 解析,显著提升网页加载速度。

🐛 问题修复 (Bug Fixes)

  • 修复图标状态显示 (Fix Icon Status): 修复了“自动分流”模式下,命中规则后图标仍然显示为灰色(未匹配)的问题。现在图标会准确反映代理状态(绿色/橙色)。
  • 修复 PAC 编码错误: 解决了 PAC 脚本中包含非 ASCII 字符(如中文注释)导致扩展报错的问题。
  • 优化域名匹配逻辑: 完善了后台的通配符匹配算法,确保 *.example.com 能正确匹配所有子域名和多级父域名。
  • 延迟测试逻辑修正: 在测试服务器延迟时增加当前模式检测,防止用户在直连模式下误测本地网速。
  • GFWList 解析增强: 优化正则算法,更精准地提取 AutoProxy 格式中的有效域名。

🛡️ 安全性 (Security)

  • 防 XSS 注入: 在选项页渲染规则列表时,将 innerHTML 替换为安全的 textContent,防止恶意配置文件导致脚本注入攻击。

ProxySwitch v7.4.1

Major update bringing full protocol support, significant performance improvements, and critical bug fixes.

✨ New Features

  • Expanded Protocols: Added support for HTTPS (TLS) and SOCKS4, alongside existing SOCKS5/HTTP.
  • Punycode Support: Automatic transcoding for Chinese domains (e.g., *.中文.com) to ensure PAC stability.

⚡ Performance

  • DNS Blocking Fix: Optimized PAC logic. isInNet function is now guarded by a Regex check, triggering only for IP addresses. This eliminates unnecessary DNS resolution latency for domain requests.

🐛 Bug Fixes

  • Icon Status: Fixed a bug where the toolbar icon remained gray even when a rule was matched. It now correctly turns green/orange.
  • Matching Logic: Updated background algorithms to correctly handle *. wildcard rules recursively.
  • PAC Encoding: Resolved critical errors caused by non-ASCII characters in the PAC script.
  • GFWList: Improved parsing accuracy for AutoProxy rules.

🛡️ Security

  • XSS Prevention: Switched to safe DOM rendering methods (textContent) in the Options page.