Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (3045) is ready to test on iOS.
What to Test:
- $httpClient 新增 insecure 参数,用于 HTTPS 请求跳过证书检查
- 优化了 RULE-SET 规则集的索引建立,减少了建立过程的内存占用,避免处理大规则集时内存突发超限
Surge 5 5.21.0 (3045) is ready to test on iOS.
What to Test:
- $httpClient 新增 insecure 参数,用于 HTTPS 请求跳过证书检查
- 优化了 RULE-SET 规则集的索引建立,减少了建立过程的内存占用,避免处理大规则集时内存突发超限
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.4-2578
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Version 5.4.4-2578
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (3046) is ready to test on iOS.
What to Test:
Surge 脚本现在支持双引擎
1. JaveScriptCore (engine=jsc,之前版本使用的引擎)
优点:
- 引擎初始化速度快,调用时开销低(延迟低)
缺点:
- 由于 JSC 执行时存在于 NE 进程内部,回导致 Surge NE 进程内存用量大幅提高,可能导致因为内存超限而被系统终止。
2. WebView (engine=webview,最近版本使用的引擎)
优点:
- 由于 WebView 的实际运行环境为另一个独立进程,这使得脚本的执行对 NE 进程的内存占用几乎没有影响,不会造成 Surge NE 进程因内存用量问题被终止。
- WebView 的 JS 执行环境可以使用 JIT,对于复杂的或 CPU 密集型脚本执行效率有大幅提升。
- 可以使用 WebAPI。
缺点:
- 引擎的初始化时间开销略高
- 当需要在脚本和 Surge 间传递大量数据时,由于涉及跨进程通信,效率较低,在使用 binary-body-mode 处理较大请求时比较明显。
使用推荐:
1. 对于经常被调用的小型、简单脚本,如 Rule、DNS 类型脚本,建议使用 JSC。
2. 对于复杂的、内存用量高的脚本(如对 MB 量级的 Body 进行 JSON 解析),建议使用 WebView。
配置方法:
在脚本配置行中加入参数:engine,可配置为 auto,jsc,webview
- 默认为 auto,在 webview 可用的环境下总是使用 webview
- 如果脚本中使用了 WebAPI,应主动配置为 webview,这样在不支持 webview 的环境下,执行该脚本时将给予用户提示。
引擎可用性:
- iOS:JSC 与 WebView
- macOS
- macOS 10.15 及以下版本:仅 JSC
- macOS 11.0 及以上版本:JSC 与 WebView
- tvOS:仅 JSC
Surge 5 5.21.0 (3046) is ready to test on iOS.
What to Test:
Surge 脚本现在支持双引擎
1. JaveScriptCore (engine=jsc,之前版本使用的引擎)
优点:
- 引擎初始化速度快,调用时开销低(延迟低)
缺点:
- 由于 JSC 执行时存在于 NE 进程内部,回导致 Surge NE 进程内存用量大幅提高,可能导致因为内存超限而被系统终止。
2. WebView (engine=webview,最近版本使用的引擎)
优点:
- 由于 WebView 的实际运行环境为另一个独立进程,这使得脚本的执行对 NE 进程的内存占用几乎没有影响,不会造成 Surge NE 进程因内存用量问题被终止。
- WebView 的 JS 执行环境可以使用 JIT,对于复杂的或 CPU 密集型脚本执行效率有大幅提升。
- 可以使用 WebAPI。
缺点:
- 引擎的初始化时间开销略高
- 当需要在脚本和 Surge 间传递大量数据时,由于涉及跨进程通信,效率较低,在使用 binary-body-mode 处理较大请求时比较明显。
使用推荐:
1. 对于经常被调用的小型、简单脚本,如 Rule、DNS 类型脚本,建议使用 JSC。
2. 对于复杂的、内存用量高的脚本(如对 MB 量级的 Body 进行 JSON 解析),建议使用 WebView。
配置方法:
在脚本配置行中加入参数:engine,可配置为 auto,jsc,webview
- 默认为 auto,在 webview 可用的环境下总是使用 webview
- 如果脚本中使用了 WebAPI,应主动配置为 webview,这样在不支持 webview 的环境下,执行该脚本时将给予用户提示。
引擎可用性:
- iOS:JSC 与 WebView
- macOS
- macOS 10.15 及以下版本:仅 JSC
- macOS 11.0 及以上版本:JSC 与 WebView
- tvOS:仅 JSC
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.4-2579
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Version 5.4.4-2579
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (3047) is ready to test on iOS.
What to Test:
- 修正在大型规则集(>50条规则)中,IP-CIDR 规则掩码为 32 时不生效的问题
Surge 5 5.21.0 (3047) is ready to test on iOS.
What to Test:
- 修正在大型规则集(>50条规则)中,IP-CIDR 规则掩码为 32 时不生效的问题
Forwarded from Surge's Changelog
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.4-2580
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Version 5.4.4-2580
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Forwarded from Surge's Changelog
#tvOS #TestFlight
Surge 5 5.21.0 (3050) is ready to test on tvOS.
What to Test:
- 优化 Ponte server 逻辑,在更新外部地址后,如果 iCloud 更新失败,将持续重试(旧版只会重试一次)
Surge 5 5.21.0 (3050) is ready to test on tvOS.
What to Test:
- 优化 Ponte server 逻辑,在更新外部地址后,如果 iCloud 更新失败,将持续重试(旧版只会重试一次)
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.4-2581
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Version 5.4.4-2581
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Forwarded from Surge's Changelog
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (3052) is ready to test on iOS.
What to Test:
- 脚本新增参数
- $environment.device-model
- $httpClient 新增参数 `auto-cookie` 与 `auto-redirect`
以上更新详见文档:https://manual.nssurge.com/scripting/common.html
- iOS 版本编辑单条规则后,notification 相关参数将会保留
- 修正编辑脚本内容后,需要重启才可以重新加载的问题
- 修正 iOS 17.4 下无法通过小组件切换出站模式的问题
Surge 5 5.21.0 (3052) is ready to test on iOS.
What to Test:
- 脚本新增参数
- $environment.device-model
- $httpClient 新增参数 `auto-cookie` 与 `auto-redirect`
以上更新详见文档:https://manual.nssurge.com/scripting/common.html
- iOS 版本编辑单条规则后,notification 相关参数将会保留
- 修正编辑脚本内容后,需要重启才可以重新加载的问题
- 修正 iOS 17.4 下无法通过小组件切换出站模式的问题
Nssurge
Basic · GitBook
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.4-2582
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Version 5.4.4-2582
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (3054) is ready to test on iOS.
What to Test:
- 再次修正编辑脚本内容后,需要重启才可以重新加载的问题
- 提高了 TUIC 和 Hysteria2 协议对服务端的兼容性,现在遇到未正确实现 Full-Cone 的服务端程序也可以也可以使用 UDP 了
Surge 5 5.21.0 (3054) is ready to test on iOS.
What to Test:
- 再次修正编辑脚本内容后,需要重启才可以重新加载的问题
- 提高了 TUIC 和 Hysteria2 协议对服务端的兼容性,现在遇到未正确实现 Full-Cone 的服务端程序也可以也可以使用 UDP 了
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.4-2583
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Version 5.4.4-2583
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (3055) is ready to test on iOS.
What to Test:
- 调整外部资源的缓存加载策略
- 调整 FINAL 规则的配置页面
- 其他细节调整
- 文案补全
5.9.0 RC1
Surge 5 5.21.0 (3055) is ready to test on iOS.
What to Test:
- 调整外部资源的缓存加载策略
- 调整 FINAL 规则的配置页面
- 其他细节调整
- 文案补全
5.9.0 RC1
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.4-2585
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Version 5.4.4-2585
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- Improve compatibility with HomeKit Accessory Protocol in gateway mode.
- Bug fixes.
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.5.0-2586
#### Module
- Added several new official modules; official modules can now be dynamically updated.
- Modules have a new classification field for convenient access and categorization in the UI.
- Modules now accept parameter tables, supporting multiple parameters. Parameters will be used to modify module content through text replacement.
#### Script
- New script execution engine. Optimized execution performance and memory usage.
- $httpClient has added several practical parameters.
For more details on the updates above, see the documentation.
#### Enhancements
- New parameter: always-raw-tcp-keywords. For usage, refer to documentation.
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- The UI can now maintain pure empty lines from original configurations after editing.
### Fixes
- Corrected a detail issue with QUIC flow control and optimized latency performance for Ponte/TUIC/Hysteria2 protocols.
- Other bug fixes.
Version 5.5.0-2586
#### Module
- Added several new official modules; official modules can now be dynamically updated.
- Modules have a new classification field for convenient access and categorization in the UI.
- Modules now accept parameter tables, supporting multiple parameters. Parameters will be used to modify module content through text replacement.
#### Script
- New script execution engine. Optimized execution performance and memory usage.
- $httpClient has added several practical parameters.
For more details on the updates above, see the documentation.
#### Enhancements
- New parameter: always-raw-tcp-keywords. For usage, refer to documentation.
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- The UI can now maintain pure empty lines from original configurations after editing.
### Fixes
- Corrected a detail issue with QUIC flow control and optimized latency performance for Ponte/TUIC/Hysteria2 protocols.
- Other bug fixes.
Forwarded from Surge's Changelog
Forwarded from Surge's Changelog
#tvOS #TestFlight
Surge 5 5.21.0 (3059) is ready to test on tvOS.
What to Test:
使用旧版本 SDK 重新编译,以解决旧版 tvOS 无法运行的问题
Surge 5 5.21.0 (3059) is ready to test on tvOS.
What to Test:
使用旧版本 SDK 重新编译,以解决旧版 tvOS 无法运行的问题
Forwarded from Surge's Changelog
#Mac #Release
Version 5.5.0-2586
#### Module
- Added several new official modules; official modules can now be dynamically updated.
- Modules have a new classification field for convenient access and categorization in the UI.
- Modules now accept parameter tables, supporting multiple parameters. Parameters will be used to modify module content through text replacement.
#### Script
- New script execution engine. Optimized execution performance and memory usage.
- $httpClient has added several practical parameters.
For more details on the updates above, see the documentation.
#### Enhancements
- New parameter: always-raw-tcp-keywords. For usage, refer to documentation.
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- The UI can now maintain pure empty lines from original configurations after editing.
### Fixes
- Corrected a detail issue with QUIC flow control and optimized latency performance for Ponte/TUIC/Hysteria2 protocols.
- Other bug fixes.
Version 5.5.0-2586
#### Module
- Added several new official modules; official modules can now be dynamically updated.
- Modules have a new classification field for convenient access and categorization in the UI.
- Modules now accept parameter tables, supporting multiple parameters. Parameters will be used to modify module content through text replacement.
#### Script
- New script execution engine. Optimized execution performance and memory usage.
- $httpClient has added several practical parameters.
For more details on the updates above, see the documentation.
#### Enhancements
- New parameter: always-raw-tcp-keywords. For usage, refer to documentation.
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- The UI can now maintain pure empty lines from original configurations after editing.
### Fixes
- Corrected a detail issue with QUIC flow control and optimized latency performance for Ponte/TUIC/Hysteria2 protocols.
- Other bug fixes.
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.5.0-2588
#### Module
- Added several new official modules; official modules can now be dynamically updated.
- Modules have a new classification field for convenient access and categorization in the UI.
- Modules now accept parameter tables, supporting multiple parameters. Parameters will be used to modify module content through text replacement.
#### Script
- New script execution engine. Optimized execution performance and memory usage.
- $httpClient has added several practical parameters.
For more details on the updates above, see the documentation.
#### Enhancements
- New parameter: always-raw-tcp-keywords. For usage, refer to documentation.
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- The UI can now maintain pure empty lines from original configurations after editing.
### Fixes
- Corrected a detail issue with QUIC flow control and optimized latency performance for Ponte/TUIC/Hysteria2 protocols.
- Other bug fixes.
Version 5.5.0-2588
#### Module
- Added several new official modules; official modules can now be dynamically updated.
- Modules have a new classification field for convenient access and categorization in the UI.
- Modules now accept parameter tables, supporting multiple parameters. Parameters will be used to modify module content through text replacement.
#### Script
- New script execution engine. Optimized execution performance and memory usage.
- $httpClient has added several practical parameters.
For more details on the updates above, see the documentation.
#### Enhancements
- New parameter: always-raw-tcp-keywords. For usage, refer to documentation.
- Added SRC-PORT rule for matching client port numbers.
- IN-PORT/SRC-PORT/DEST-PORT three rules are categorized as port number rule types, supporting three kinds of expressions:
- Directly writing the port number, such as IN-PORT,6153
- Port number closed interval: such as DEST-PORT,10000-20000
- Using >, <, <=, >= operators, such as SRC-PORT,>=50000
- The UI can now maintain pure empty lines from original configurations after editing.
### Fixes
- Corrected a detail issue with QUIC flow control and optimized latency performance for Ponte/TUIC/Hysteria2 protocols.
- Other bug fixes.