Skip to content

v3.0.2

Choose a tag to compare

@bcblr1993 bcblr1993 released this 17 Nov 09:43
· 9 commits to main since this release

AetherRoute v3.0.2 (Build 2026111702)

核心修复与可靠性升级 / Fixes & Reliability Improvements

  • 订阅规则集作用域隔离与旧版 providers.json 无损升级迁移 / Subscription Rule-Provider Isolation & Legacy Migration
    • 将订阅配置内声明的 http rule-providers 彻底隔离至独立的配置暂存库(staged-profile-providers.json 与 <id>.staged.dat),防止其以全局 PROXY 默认目标注入到运行规则最前端抢占原有 RULE-SET,...,DIRECT 策略,并杜绝跨订阅切换或 iCloud 同步污染。
    • 为 v3.0.0/v3.0.1 升级场景补齐全链路迁移与只读兜底防线(reconcileLegacyProfileProviders、custom-provider-ids.json、migrated-legacy-provider-ids.json、ProfileOverrideCompiler 与 DomesticRoutingOptimizer 只读过滤、ProfileCloudSyncManager 清理空状态回写):无须联网即可自动剥离旧版 providers.json 中的订阅污染条目与遗留未哈希缓存并阻断陈旧 iCloud 同步复活,同时严格保护用户自建的全局规则集。
  • 异常刷新间隔溢出防护与停用网络服务代理恢复 / Interval Bounds Check & Disabled Service Proxy Restore
    • 在订阅解析、增量刷新与规则集编辑保存链路引入 sanitizedIntervalSeconds 边界校验,安全拦截 -1 及超过 UInt32.max(如 4294967296)的异常 interval 并回退默认值,杜绝 SIGTRAP 进程崩溃。
    • 修复 SystemProxyConfigurator.restorePendingIfNeeded() 跳过 *ServiceName 已停用网络服务并丢弃备份的缺陷:现统一恢复已停用服务的系统代理并在命令失败时保留备份,彻底消除重启用网络服务后遗留失效本机代理的问题。
  • Actor 下载重入校验与唯一哈希暂存文件名 / Actor Reentrancy Guards & Hashed Staged File Names
    • RuleProviderEngine 与 ProxyProviderEngine 在所有跨 await 网络响应路径引入版本代数与身份快照比对,丢弃针对已删除、停用或已编辑条目的迟到响应;规则集与代理集合暂存文件名统一追加 SHA-256 短哈希并迁移清理旧未哈希文件,消除特殊符号(如 "Ads/A" 与 "Ads A")及 APFS 大小写覆盖冲突。

全量验证结论 / Release Qualification & Verification

  • TDD, Fast Lane & Local Regression Suites:
    • Added TDD suites in ProviderAndSystemProxyAuditFixesTests (initially 4 failed methods + SIGTRAP exit 133 pre-fix, plus 20 assertion failures on legacy upgrade migration pre-fix -> 7/7 PASS) and MacFuncLifecycleAndV3FixTests (18/19 failed initially & 19/20 pre-migration-fix -> 20/20 PASS).
    • ./scripts/test_fast_lane.sh passed all 14/14 steps in 69s (engine-unit: 579 passed, 0 failed, 24 ignored; engine_capabilities.py: outbound=18 rules=37 networks=12 plugins=3; differential-e2e: 10/10); full ./scripts/test.sh under set -o pipefail passed with 0 failures (AetherRouteTests.xctest: 707 XCTests + 143 Swift Testing across 22 suites; AetherRouteTransparentProxySupportTests.xctest: 109; AetherRouteFlowCoreBridgeTests.xctest: 27; AllowLAN: 20/20; 11 Sparkle debounce scenarios; 16 manual-node protocols; 63 protocol inputs).
  • Dual-Fingerprint Interop, Real-Site ECH & 43-Node Protocol Lab (Core/Engine 33c68e0):
    • Default-fingerprint and Chrome-fingerprint 12-protocol interop both passed 11/11 suites (68 case passes, 34 cert rejections each); Chrome real_site_tests (9 real sites + Cloudflare ECH) passed 2/2; 43-node protocol-lab differential vs Mihomo on vm:macos27 achieved both_ok=42, both_fail=1 (wireguard unavailable on both sides) with ours_missing=0, ours_fail=0, mihomo_fail=0.
  • 6-Dimension Tart VM Matrix, Remote ARM64 & UI/Memory Budget Gate (vm:macos27, 51m 39s):
    • 6-dimension matrix across tun/{rule,global,direct} and transparent/{rule,global,direct}: 160 PASS / 0 FAIL / 50 SKIP, 3/3 PASS on all 5 Transparent Proxy gates; remote ARM64 fast gate passed (flow_engine_mibps=3078.699, packet_engine_mibps=3005.824).
    • UI & Memory Budget Gate (300s showcase + 300s large, status=passed): showcase (420 switches) p50=85.7 ms / p95=115.8 ms / max=191.8 ms, memory 73 MB / 86 MB / +2 MB; large (420 switches) p50=85.2 ms / p95=121.1 ms / max=203.1 ms, memory 71 MB / 84 MB / +2 MB.
  • Notarized Candidate Runtime Evidence & Live Upgrade (vm:macos27):
    • Bound to notarized stable candidate DMG (7597c08a9f43a53c2cc27b07b2d3ba169ea66f585135f654c2c7f4f7db23a756): TUN (50s idle PASS, 2 MiB upload 10.644364s, NIC switch 2/2/5/3/2/4 s <= 15s) & Transparent Proxy (50s idle PASS, 2 MiB upload 5.535196s, NIC switch 1/3/0/1/2/0 s <= 15s); live v3.0.1 -> v3.0.2 DMG overwrite upgrade verified (VM_301_TO_302_UPGRADE_OK).

校验信息 / Checksums

  • AetherRoute-3.0.2-build-2026111702-arm64.dmg (Developer ID Signed, Apple Notarized & Stapled):
    • SHA-256: 4df8fd2b4ea4ddd9ffe953cc59105f912f796acd2f07cc3592d0d16e77f16ded
    • Size: 31,485,566 bytes
    • Sparkle Ed25519 Signature: MyOpNLhrQUjFNyd7WPkP09JoVPjwUDCkTbc4cwLWmZldjChUdFgqZzhNSEy+h+/ZBxy9up4WixtepexTC+gJDw==