Skip to content

v1.3.0

Choose a tag to compare

@flutter-lib flutter-lib released this 06 Sep 22:05
· 27 commits to main since this release

Dependencies

  • Upgrade sing-box core to 1.14.0: Android (libbox, jitpack) 1.13.211.14.0; Windows sing-box.exe / libcronet.dll binaries upgraded in sync

Compatibility (adapting to libbox 1.14.0 breaking API changes, aligned with upstream sing-box-for-android 1.14.0)

  • PlatformInterface: remove the deleted systemCertificates(); add default implementations for 13 new interface methods (shell / bridge / neighbor-table monitoring, etc., treated as "unsupported"); getInterfaces() now includes gateway info
  • TunOptions: dnsServerAddress changed from a single value to an iterator; openTun migrated to dnsMode + multiple DNS server writes
  • CommandServerHandler: implement triggerNativeCrash() / connectSSHAgent()
  • CommandClientHandler: implement writeOutbounds() (this plugin does not subscribe to that command; empty implementation)
  • Notification API: identifier semantics changed to a notification tag; the sendNotification channel is now derived from typeID; add cancelNotification
  • Remove the Libbox.redirectStderr() call deleted by libbox (Setup() now redirects stderr to CrashReport-<source>.log automatically)

Features

  • Configuration model extensions, adding sing-box 1.14.0 fields:
    • DnsRule: add race / rcode / tag fields; action made nullable with the RuleAction.route default removed; rules narrowed to List<DnsRule>; matchResponse relaxed to dynamic
    • RouteRule: action made nullable with the RuleAction.route default removed
    • RuleSet: add local rules (inline rule-set); remove the deprecated downloadDetour
    • Outbound: add hopInterval / hopIntervalMax / bbrProfile / disableChromeParrot / realm (Hysteria2-related) fields
    • Route / SingBox: add defaultHttpClient / httpClients fields
    • ClientGroupItem: tag / type changed to mutable fields

⚠️ Runtime behavior notes

  • sing-box 1.14.0 hard-removes the legacy DNS server format (legacy dns.servers) deprecated since 1.12: old-format configs fail immediately at startup; user configs must use the new DNS format (the new format generated by the Clash/Base64 config converters in this plugin is unaffected)