Surge Channel
4.68K subscribers
31 photos
1 video
6 files
864 links
Surge唯一官方频道:https://t.me/SurgeTestFlightFeed

以下为第三方创建:
群连接 https://t.me/+TO9iLpyTE1FjZTM1
群频道 https://t.me/+nZUgB3lPosQ2Y2Y1
Download Telegram
Forwarded from Surge's Changelog
#Mac #Beta

Version 5.4.4-2565

- 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.4.4-2566

- 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 (3033) is ready to test on iOS.

What to Test:

修正脚本环境 $httpAPI 和 $utils 丢失的问题
Forwarded from Surge's Changelog
#Mac #Beta

Version 5.4.4-2571

- 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 (3036) is ready to test on iOS.

What to Test:

问题修正:
- $httpClient 返回的 error 由 null 变为了 undefined
- $persistentStore.write 传入 null 会导致崩溃
Forwarded from Surge's Changelog
#Mac #Beta

Version 5.4.4-2572

- 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 (3037) is ready to test on iOS.

What to Test:

- 大幅优化了处理较大 HTTP body 时的性能
Forwarded from Surge's Changelog
#iOS #TestFlight

Surge 5 5.21.0 (3038) is ready to test on iOS.

What to Test:

Bug fixes
Forwarded from Surge's Changelog
#Mac #Beta

Version 5.4.4-2574

- 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 (3039) is ready to test on iOS.

What to Test:

- 优化 JS 引擎调度策略,提升性能
- 修正一些脚本的无效参数类型调用导致的崩溃
- 新增动态资源管理页面,用于确认各项可更新的资源版本以及手动进行更新
Forwarded from Surge's Changelog
#Mac #Beta

Version 5.4.4-2575

- 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 (3042) is ready to test on iOS.

What to Test:

- 脚本引擎支持并发运行,将自动根据 CPU 核心数量优化调度,提高脚本并发执行时的性能
- 修正 QUIC 类协议上次更新后引入的一个小问题
Forwarded from Surge's Changelog
#iOS #TestFlight

Surge 5 5.21.0 (3044) is ready to test on iOS.

What to Test:

- 修正使用 Hysteria2 时可能出现的一个崩溃
- 修正并发执行脚本时日志可能出现交叠的问题
Forwarded from Surge's Changelog
#Mac #Beta

Version 5.4.4-2576

- 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.4.4-2577

- 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 (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.
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
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.
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 时不生效的问题
Forwarded from Surge's Changelog
#tvOS #TestFlight

Surge 5 5.21.0 (3048) is ready to test on tvOS.

What to Test:

- 同步 iOS 版本更新