#Mac #Beta
Version 5.7.0-2691
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
Version 5.7.0-2691
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
#iOS #TestFlight
Surge 5 5.21.0 (3148) is ready to test on iOS.
What to Test:
- 修正对于非标准端口号的 HTTP 请求,各种规则匹配时行为不一致的问题,这种情况下匹配的目标 URL 必需包含端口号
- 重新了网络切换时的逻辑
- 其他问题修正
Surge 5 5.21.0 (3148) is ready to test on iOS.
What to Test:
- 修正对于非标准端口号的 HTTP 请求,各种规则匹配时行为不一致的问题,这种情况下匹配的目标 URL 必需包含端口号
- 重新了网络切换时的逻辑
- 其他问题修正
#Mac #Beta
Version 5.7.0-2692
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
Version 5.7.0-2692
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
#Mac #Beta
Version 5.7.0-2693
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
Version 5.7.0-2693
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
Forwarded from Surge TestFlight Feed
Surge iOS & Mac 更新日志
- 优化 WireGuard 失败处理
- 降低 TUIC 协议在休眠时对电量的消耗
- 请求日志系统时间统计精度提高,现在可精确到 µs 级(1s=1000ms,1ms=1000µs)
- 优化 WireGuard 失败处理
- 降低 TUIC 协议在休眠时对电量的消耗
- 请求日志系统时间统计精度提高,现在可精确到 µs 级(1s=1000ms,1ms=1000µs)
#iOS #TestFlight
Surge 5 5.21.0 (3150) is ready to test on iOS.
What to Test:
- 优化 WireGuard 失败处理
- 降低 TUIC 协议在休眠时对电量的消耗
- 请求日志系统时间统计精度提高,现在可精确到 µs 级(1s 00ms,1ms 00µs)
Surge 5 5.21.0 (3150) is ready to test on iOS.
What to Test:
- 优化 WireGuard 失败处理
- 降低 TUIC 协议在休眠时对电量的消耗
- 请求日志系统时间统计精度提高,现在可精确到 µs 级(1s 00ms,1ms 00µs)
Forwarded from Surge TestFlight Feed
已知的 Bug
新版本的时间统计中,显示的 µs 值有误,实际应为显示值 x1000。如 0.7µs 为 700µs。
新版本的时间统计中,显示的 µs 值有误,实际应为显示值 x1000。如 0.7µs 为 700µs。
#Mac #Beta
Version 5.7.0-2694
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
Version 5.7.0-2694
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
Forwarded from Surge TestFlight Feed
Surge Mac 更新日志
- 大幅优化大型域名规则集中的索引算法,测试环境下,对包含 310000 条规则的规则集进行测试(50% hit rate)
旧版本:约 2ms
- 大幅优化大型域名规则集中的索引算法,测试环境下,对包含 310000 条规则的规则集进行测试(50% hit rate)
旧版本:约 2ms
Forwarded from Surge TestFlight Feed
Surge Mac 更新日志
大幅优化大型域名规则集中的索引算法,测试环境下,对包含 310000 条规则的规则集进行测试(50% hit rate)
旧版本:2.167 ms
新版本:0.058 ms
大幅优化大型域名规则集中的索引算法,测试环境下,对包含 310000 条规则的规则集进行测试(50% hit rate)
旧版本:2.167 ms
新版本:0.058 ms
Forwarded from Surge TestFlight Feed
注:由于实际使用时存在线程调度等开销,最终的 Rule Evaluating 时间依然为 1ms 左右
#Mac #Beta
Version 5.7.0-2695
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
Version 5.7.0-2695
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
Forwarded from Surge TestFlight Feed
Surge iOS & Mac 更新日志
- 规则系统整体性能优化
- µs 时间改为 ms 的小数方式表示
- iOS 版本同步 Mac 版本的新巨型规则集索引系统,由于建立索引的内存开销较大,现在 RULE-SET 和 DOMAIN-SET 必须由主程序进行更新(主程序同样会自动执行更新)
- 修正规则集内的逻辑规则的子规则无法被规则集的 no-resolve 和 extended-matching 参数覆盖的问题
- 规则系统整体性能优化
- µs 时间改为 ms 的小数方式表示
- iOS 版本同步 Mac 版本的新巨型规则集索引系统,由于建立索引的内存开销较大,现在 RULE-SET 和 DOMAIN-SET 必须由主程序进行更新(主程序同样会自动执行更新)
- 修正规则集内的逻辑规则的子规则无法被规则集的 no-resolve 和 extended-matching 参数覆盖的问题
#iOS #TestFlight
Surge 5 5.21.0 (3151) is ready to test on iOS.
What to Test:
- 规则系统整体性能优化
- µs 时间改为 ms 的小数方式表示
- 大幅优化大型域名规则集中的索引算法,测试环境下,对包含 310000 条规则的规则集进行测试(50% hit rate)
旧版本:2.167 ms
新版本:0.058 ms
- 修正规则集内的逻辑规则的子规则无法被规则集的 no-resolve 和 extended-matching 参数覆盖的问题
Surge 5 5.21.0 (3151) is ready to test on iOS.
What to Test:
- 规则系统整体性能优化
- µs 时间改为 ms 的小数方式表示
- 大幅优化大型域名规则集中的索引算法,测试环境下,对包含 310000 条规则的规则集进行测试(50% hit rate)
旧版本:2.167 ms
新版本:0.058 ms
- 修正规则集内的逻辑规则的子规则无法被规则集的 no-resolve 和 extended-matching 参数覆盖的问题
#iOS #TestFlight
Surge 5 5.21.0 (3155) is ready to test on iOS.
What to Test:
- 优化 TUN 接管和特定 app 的性能兼容性问题
- 修正主程序完成规则集索引后,需要重启 Surge 引擎才可以进行加载的问题
- 其他细节优化
Surge 5 5.21.0 (3155) is ready to test on iOS.
What to Test:
- 优化 TUN 接管和特定 app 的性能兼容性问题
- 修正主程序完成规则集索引后,需要重启 Surge 引擎才可以进行加载的问题
- 其他细节优化
❤2
#Mac #Beta
Version 5.7.0-2697
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
Version 5.7.0-2697
### New Feature
- Smart Policy Group. Check the community documentation to learn more: https://community.nssurge.com/d/2536-smart-policy-group
#iOS #TestFlight
Surge 5 5.21.0 (3156) is ready to test on iOS.
What to Test:
- 新增低内存模式,在内存用量到达 40MB 以上后将降低减少内存用量,避免超限
- 修正 WireGuard 配置修改后需要重启才可以被应用的问题
5.11.0 RC1
Surge 5 5.21.0 (3156) is ready to test on iOS.
What to Test:
- 新增低内存模式,在内存用量到达 40MB 以上后将降低减少内存用量,避免超限
- 修正 WireGuard 配置修改后需要重启才可以被应用的问题
5.11.0 RC1
Forwarded from Surge TestFlight Feed
Surge iOS 5.11.0 & Mac 5.70 更新日志 (Preview)
### Smart Group
这是一种全新的策略组类型,由我们精心设计的算法引擎所驱动,可以自动从该策略组的子策略中选择合适的策略。Smart 策略组的目标是取代原有的自动测试组(url/load-balance/fallback),大幅优化体验的同时,尽可能减少用户需要手动干预策略组的情况,用户只需将可用策略放入该组即可。
详情请见:https://kb.nssurge.com/surge-knowledge-base/v/zh/guidelines/smart-group
### 规则系统
- 规则系统整体性能优化。
- 大幅优化大型域名规则集中的索引算法,对于十万条以上的规则集,检索效率提高了十倍以上。
- 修正规则集内的逻辑规则的子规则无法被规则集的 no-resolve 和 extended-matching 参数覆盖的问题
- 新增规则类型 DOMAIN-WILDCARD,支持 ? 与 * 匹配域名
- DOMAIN-SET 与 RULE-SET 改为强校验,当文件中包含无效行时将导致整个规则集无效,以避免误用产生问题
### IPv6
- ipv6-vif 参数行为修改,当设置为 always 时,即使未设置 ipv6=true,也会开启 IPv6 功能。
- 为 ipv6-vif=always 参数增加了警告
- 调整了自动重试机制,在非 IPv6 网络下访问 IPv6 地址不再会进入重试流程,请求会立刻失败(以此解决在非 IPv6 环境下开启 IPv6 VIF 造成部分应用卡顿的问题,如微信和淘宝,但是应用仍然会持续发出 IPv6 请求)
### 其他优化
- $notification.post 增强,新增媒体资源支持、声音提示和自动消除。
- 优化 WireGuard 失败处理
- 降低 TUIC 协议在休眠时对电量的消耗
- 请求日志系统时间统计精度提高,现在可精确到 µs 级
- 优化各种异常的重试机制,避免在出现一些特定问题时持续重试导致高资源占用。对于需要持续重试的操作(如 WireGuard 重连、Ponte 服务端上报 iCloud),现在 Surge 会在出错后的 0.1s, 0.5s, 1s, 5s, 10s, 30s 后重试。
- 优化外部资源的缓存系统
- 新增配置文件行命令 #!REQUIREMENT
- [iOS] 在发现当前网络由 Surge Mac Gateway 所接管时,现在将自动暂停 Surge iOS。(可通过 auto-suspend 选项调整行为,默认开启)
- [iOS] 优化 TUN 接管和特定 app 的性能兼容性问题
- [iOS] 优化了内存占用,不常用和巨大的脚本现在将不会被缓存至内存
- [iOS] 网络诊断页新增 SSID/BSSID,增加复制功能
- [iOS] 现在在日志界面执行日志上传时,将自动为当前运行的引擎生成最近的 verbose 日志(新版本在内存缓存了 256KB 的日志),这样在汇报问题时,直接执行上传即可,无需再使用 verbose 模式复现。
- [iOS] 对于策略组与脚本类型的外部资源,现在限制最大大小为 2MB,避免当错误配置时,导致的内存超限。
### 细节调整
- [iOS] 提高内存警告的阈值到 45MB,原为 40MB。
- 限制了脚本在 debug 模式下,可以往请求 notes 中写入的日志的长度
- 默认 UDP 测试目标改为 1.0.0.1
- 在脚本中使用 API 时如果传入了错误类型的字段,将产生脚本异常
- 当脚本已完成或超时后,未完成的 $httpClient 不再会调用回调函数
### 问题修正
- [Mac] 修正 Dashboard 查看远端设备时,无法读取截取的 HTTP Body 的问题
- [iOS] 修正在 Surge iOS 主程序和引擎都开启时,iCloud 内容发生变化可能无法被主程序所检测的问题
- 修正 Header Rewrite 规则无法根据 Host 字段进行 URL 匹配的问题
- 修正了在测试代理时,ip-version 和 tos 参数无法生效的问题
- 修正通过 HTTP-API 执行脚本时,若果错误的传入 null 会导致崩溃的问题
### Smart Group
这是一种全新的策略组类型,由我们精心设计的算法引擎所驱动,可以自动从该策略组的子策略中选择合适的策略。Smart 策略组的目标是取代原有的自动测试组(url/load-balance/fallback),大幅优化体验的同时,尽可能减少用户需要手动干预策略组的情况,用户只需将可用策略放入该组即可。
详情请见:https://kb.nssurge.com/surge-knowledge-base/v/zh/guidelines/smart-group
### 规则系统
- 规则系统整体性能优化。
- 大幅优化大型域名规则集中的索引算法,对于十万条以上的规则集,检索效率提高了十倍以上。
- 修正规则集内的逻辑规则的子规则无法被规则集的 no-resolve 和 extended-matching 参数覆盖的问题
- 新增规则类型 DOMAIN-WILDCARD,支持 ? 与 * 匹配域名
- DOMAIN-SET 与 RULE-SET 改为强校验,当文件中包含无效行时将导致整个规则集无效,以避免误用产生问题
### IPv6
- ipv6-vif 参数行为修改,当设置为 always 时,即使未设置 ipv6=true,也会开启 IPv6 功能。
- 为 ipv6-vif=always 参数增加了警告
- 调整了自动重试机制,在非 IPv6 网络下访问 IPv6 地址不再会进入重试流程,请求会立刻失败(以此解决在非 IPv6 环境下开启 IPv6 VIF 造成部分应用卡顿的问题,如微信和淘宝,但是应用仍然会持续发出 IPv6 请求)
### 其他优化
- $notification.post 增强,新增媒体资源支持、声音提示和自动消除。
- 优化 WireGuard 失败处理
- 降低 TUIC 协议在休眠时对电量的消耗
- 请求日志系统时间统计精度提高,现在可精确到 µs 级
- 优化各种异常的重试机制,避免在出现一些特定问题时持续重试导致高资源占用。对于需要持续重试的操作(如 WireGuard 重连、Ponte 服务端上报 iCloud),现在 Surge 会在出错后的 0.1s, 0.5s, 1s, 5s, 10s, 30s 后重试。
- 优化外部资源的缓存系统
- 新增配置文件行命令 #!REQUIREMENT
- [iOS] 在发现当前网络由 Surge Mac Gateway 所接管时,现在将自动暂停 Surge iOS。(可通过 auto-suspend 选项调整行为,默认开启)
- [iOS] 优化 TUN 接管和特定 app 的性能兼容性问题
- [iOS] 优化了内存占用,不常用和巨大的脚本现在将不会被缓存至内存
- [iOS] 网络诊断页新增 SSID/BSSID,增加复制功能
- [iOS] 现在在日志界面执行日志上传时,将自动为当前运行的引擎生成最近的 verbose 日志(新版本在内存缓存了 256KB 的日志),这样在汇报问题时,直接执行上传即可,无需再使用 verbose 模式复现。
- [iOS] 对于策略组与脚本类型的外部资源,现在限制最大大小为 2MB,避免当错误配置时,导致的内存超限。
### 细节调整
- [iOS] 提高内存警告的阈值到 45MB,原为 40MB。
- 限制了脚本在 debug 模式下,可以往请求 notes 中写入的日志的长度
- 默认 UDP 测试目标改为 1.0.0.1
- 在脚本中使用 API 时如果传入了错误类型的字段,将产生脚本异常
- 当脚本已完成或超时后,未完成的 $httpClient 不再会调用回调函数
### 问题修正
- [Mac] 修正 Dashboard 查看远端设备时,无法读取截取的 HTTP Body 的问题
- [iOS] 修正在 Surge iOS 主程序和引擎都开启时,iCloud 内容发生变化可能无法被主程序所检测的问题
- 修正 Header Rewrite 规则无法根据 Host 字段进行 URL 匹配的问题
- 修正了在测试代理时,ip-version 和 tos 参数无法生效的问题
- 修正通过 HTTP-API 执行脚本时,若果错误的传入 null 会导致崩溃的问题
#Mac #Beta
Version 5.7.0-2698
### Smart Group
This is a new type of policy group, driven by our carefully designed algorithm engine, which can automatically select the appropriate policy from the sub-policies of this policy group. The goal of the Smart policy group is to replace the original automatic testing groups (url/load-balance/fallback), greatly optimizing the experience while minimizing the need for manual intervention in policy groups. Users only need to put the available policies into this group.
For details, see: https://kb.nssurge.com/surge-knowledge-base/guidelines/smart-group
### Rule System
- Overall performance optimization of the rule system.
- Significant optimization of the indexing algorithm in large domain rule sets, improving the search efficiency by more than ten times for rule sets with more than 100,000 rules.
- Corrected the issue where sub-rules of logical rules within a rule set could not be covered by the
- Added a new rule type
-
### IPv6
- The behavior of the
- Added a warning for the
- Adjusted the automatic retry mechanism. Accessing IPv6 addresses in a non-IPv6 network will no longer enter the retry process, and the request will fail immediately (solving the problem of some applications stalling when IPv6 VIF is enabled in a non-IPv6 environment, but the application will still continue to send IPv6 requests).
### Other Optimizations
- Enhanced
- Optimized WireGuard failure handling.
- Reduced the power consumption of the TUIC protocol during sleep.
- Improved the precision of time statistics in the request log system, now accurate to µs level.
- Optimized various abnormal retry mechanisms, avoiding high resource usage caused by continuous retry in the face of some specific problems. For operations that need to be retried continuously (such as WireGuard reconnection, Ponte server reporting to iCloud), Surge will now retry after 0.1s, 0.5s, 1s, 5s, 10s, 30s after an error.
- Optimized the caching system for external resources.
- Added the profile line modifier
### Minor Adjustments
- Limited the length of logs that can be written to request notes in debug mode by scripts.
- Changed the default UDP test target to 1.0.0.1.
- If incorrect types of fields are passed when using API in scripts, it will result in script errors.
- After the script is completed or times out, unfinished $httpClient will no longer call the callback function.
### Issue Fixes
- Fixed the issue where the HTTP Body captured from remote devices could not be read in the Dashboard.
- Fixed the problem where Header Rewrite rules could not match URLs based on the Host field.
- Corrected the issue where ip-version and tos parameters could not take effect when testing proxies.
- Fixed the crash issue caused by mistakenly passing null when executing scripts via HTTP-API.
Version 5.7.0-2698
### Smart Group
This is a new type of policy group, driven by our carefully designed algorithm engine, which can automatically select the appropriate policy from the sub-policies of this policy group. The goal of the Smart policy group is to replace the original automatic testing groups (url/load-balance/fallback), greatly optimizing the experience while minimizing the need for manual intervention in policy groups. Users only need to put the available policies into this group.
For details, see: https://kb.nssurge.com/surge-knowledge-base/guidelines/smart-group
### Rule System
- Overall performance optimization of the rule system.
- Significant optimization of the indexing algorithm in large domain rule sets, improving the search efficiency by more than ten times for rule sets with more than 100,000 rules.
- Corrected the issue where sub-rules of logical rules within a rule set could not be covered by the
no-resolve and extended-matching parameters of the rule set.- Added a new rule type
DOMAIN-WILDCARD, supporting ? and * domain name matching.-
DOMAIN-SET and RULE-SET are changed to strict validation. If there are invalid lines in the file, the entire rule set will be invalidated to avoid problems caused by misuse.### IPv6
- The behavior of the
ipv6-vif parameter has been modified. When set to always, IPv6 functionality will be enabled even if ipv6=true is not set.- Added a warning for the
ipv6-vif=always parameter.- Adjusted the automatic retry mechanism. Accessing IPv6 addresses in a non-IPv6 network will no longer enter the retry process, and the request will fail immediately (solving the problem of some applications stalling when IPv6 VIF is enabled in a non-IPv6 environment, but the application will still continue to send IPv6 requests).
### Other Optimizations
- Enhanced
$notification.post, adding support for media resources, sound hints, and automatic dismissal.- Optimized WireGuard failure handling.
- Reduced the power consumption of the TUIC protocol during sleep.
- Improved the precision of time statistics in the request log system, now accurate to µs level.
- Optimized various abnormal retry mechanisms, avoiding high resource usage caused by continuous retry in the face of some specific problems. For operations that need to be retried continuously (such as WireGuard reconnection, Ponte server reporting to iCloud), Surge will now retry after 0.1s, 0.5s, 1s, 5s, 10s, 30s after an error.
- Optimized the caching system for external resources.
- Added the profile line modifier
#!REQUIREMENT.### Minor Adjustments
- Limited the length of logs that can be written to request notes in debug mode by scripts.
- Changed the default UDP test target to 1.0.0.1.
- If incorrect types of fields are passed when using API in scripts, it will result in script errors.
- After the script is completed or times out, unfinished $httpClient will no longer call the callback function.
### Issue Fixes
- Fixed the issue where the HTTP Body captured from remote devices could not be read in the Dashboard.
- Fixed the problem where Header Rewrite rules could not match URLs based on the Host field.
- Corrected the issue where ip-version and tos parameters could not take effect when testing proxies.
- Fixed the crash issue caused by mistakenly passing null when executing scripts via HTTP-API.
#tvOS #TestFlight
Surge 5 5.21.0 (3159) is ready to test on tvOS.
What to Test:
- 同步 iOS 版本更新
5.11.0 RC1
Surge 5 5.21.0 (3159) is ready to test on tvOS.
What to Test:
- 同步 iOS 版本更新
5.11.0 RC1
#Mac #Beta
Version 5.7.0-2699
### Smart Group
This is a new type of policy group, driven by our carefully designed algorithm engine, which can automatically select the appropriate policy from the sub-policies of this policy group. The goal of the Smart policy group is to replace the original automatic testing groups (url/load-balance/fallback), greatly optimizing the experience while minimizing the need for manual intervention in policy groups. Users only need to put the available policies into this group.
For details, see: https://kb.nssurge.com/surge-knowledge-base/guidelines/smart-group
### Rule System
- Overall performance optimization of the rule system.
- Significant optimization of the indexing algorithm in large domain rule sets, improving the search efficiency by more than ten times for rule sets with more than 100,000 rules.
- Corrected the issue where sub-rules of logical rules within a rule set could not be covered by the
- Added a new rule type
-
### IPv6
- The behavior of the
- Added a warning for the
- Adjusted the automatic retry mechanism. Accessing IPv6 addresses in a non-IPv6 network will no longer enter the retry process, and the request will fail immediately (solving the problem of some applications stalling when IPv6 VIF is enabled in a non-IPv6 environment, but the application will still continue to send IPv6 requests).
### Other Optimizations
- Enhanced
- Optimized WireGuard failure handling.
- Reduced the power consumption of the TUIC protocol during sleep.
- Improved the precision of time statistics in the request log system, now accurate to µs level.
- Optimized various abnormal retry mechanisms, avoiding high resource usage caused by continuous retry in the face of some specific problems. For operations that need to be retried continuously (such as WireGuard reconnection, Ponte server reporting to iCloud), Surge will now retry after 0.1s, 0.5s, 1s, 5s, 10s, 30s after an error.
- Optimized the caching system for external resources.
- Added the profile line modifier
### Minor Adjustments
- Limited the length of logs that can be written to request notes in debug mode by scripts.
- Changed the default UDP test target to 1.0.0.1.
- If incorrect types of fields are passed when using API in scripts, it will result in script errors.
- After the script is completed or times out, unfinished $httpClient will no longer call the callback function.
### Issue Fixes
- Fixed the issue where the HTTP Body captured from remote devices could not be read in the Dashboard.
- Fixed the problem where Header Rewrite rules could not match URLs based on the Host field.
- Corrected the issue where ip-version and tos parameters could not take effect when testing proxies.
- Fixed the crash issue caused by mistakenly passing null when executing scripts via HTTP-API.
Version 5.7.0-2699
### Smart Group
This is a new type of policy group, driven by our carefully designed algorithm engine, which can automatically select the appropriate policy from the sub-policies of this policy group. The goal of the Smart policy group is to replace the original automatic testing groups (url/load-balance/fallback), greatly optimizing the experience while minimizing the need for manual intervention in policy groups. Users only need to put the available policies into this group.
For details, see: https://kb.nssurge.com/surge-knowledge-base/guidelines/smart-group
### Rule System
- Overall performance optimization of the rule system.
- Significant optimization of the indexing algorithm in large domain rule sets, improving the search efficiency by more than ten times for rule sets with more than 100,000 rules.
- Corrected the issue where sub-rules of logical rules within a rule set could not be covered by the
no-resolve and extended-matching parameters of the rule set.- Added a new rule type
DOMAIN-WILDCARD, supporting ? and * domain name matching.-
DOMAIN-SET and RULE-SET are changed to strict validation. If there are invalid lines in the file, the entire rule set will be invalidated to avoid problems caused by misuse.### IPv6
- The behavior of the
ipv6-vif parameter has been modified. When set to always, IPv6 functionality will be enabled even if ipv6=true is not set.- Added a warning for the
ipv6-vif=always parameter.- Adjusted the automatic retry mechanism. Accessing IPv6 addresses in a non-IPv6 network will no longer enter the retry process, and the request will fail immediately (solving the problem of some applications stalling when IPv6 VIF is enabled in a non-IPv6 environment, but the application will still continue to send IPv6 requests).
### Other Optimizations
- Enhanced
$notification.post, adding support for media resources, sound hints, and automatic dismissal.- Optimized WireGuard failure handling.
- Reduced the power consumption of the TUIC protocol during sleep.
- Improved the precision of time statistics in the request log system, now accurate to µs level.
- Optimized various abnormal retry mechanisms, avoiding high resource usage caused by continuous retry in the face of some specific problems. For operations that need to be retried continuously (such as WireGuard reconnection, Ponte server reporting to iCloud), Surge will now retry after 0.1s, 0.5s, 1s, 5s, 10s, 30s after an error.
- Optimized the caching system for external resources.
- Added the profile line modifier
#!REQUIREMENT.### Minor Adjustments
- Limited the length of logs that can be written to request notes in debug mode by scripts.
- Changed the default UDP test target to 1.0.0.1.
- If incorrect types of fields are passed when using API in scripts, it will result in script errors.
- After the script is completed or times out, unfinished $httpClient will no longer call the callback function.
### Issue Fixes
- Fixed the issue where the HTTP Body captured from remote devices could not be read in the Dashboard.
- Fixed the problem where Header Rewrite rules could not match URLs based on the Host field.
- Corrected the issue where ip-version and tos parameters could not take effect when testing proxies.
- Fixed the crash issue caused by mistakenly passing null when executing scripts via HTTP-API.