singbox_mm 0.1.6
singbox_mm: ^0.1.6 copied to clipboard
Flutter VPN plugin with sing-box runtime bridge, routing presets, and anti-throttling config builder.
0.1.6 #
- Hardened WebSocket parser/config generation to reduce strict CDN
404handshake failures. - Disabled WebSocket Early Data by default in generated transport:
now emits
max_early_data: 0and omitsearly_data_header_name. - Added WS path sanitization for parser+builder:
strips control characters, normalizes leading
//to/, and removesed/ehquery hints. - Expanded WS host extraction aliases across parsers (
host,ws_host,ws-host,authority,:authority, and header-map forms). - Added optional explicit empty ALPN parsing support (
alpn=none|empty|off|false|0->tls.alpn=[]) for strict WS/TLS endpoints. - Added/updated regression tests for WS path/host normalization and early-data-disabled transport output.
0.1.5 #
- Fixed domain-bootstrap DNS handling for strict FakeIP mode by extracting bootstrap hosts from more config fields (transport headers and extra host hints), preventing outbound server-domain resolution loops.
- Made QUIC/UDP route blocking protocol-aware:
UDP-native profiles (
hysteria2,tuic,wireguard, and QUIC transport) are no longer blocked by generic UDP/443 + QUIC deny rules. - Added a hardened silent-packet-loss resilience path in managed mode with
new health-check options:
silentPacketLossTimeoutandfailoverOnSilentPacketLoss. - Increased health monitor responsiveness by evaluating health checks on each configured tick interval (instead of skipping stable ticks).
- Kept WS
alpn=http/1.1compatibility strict by strippingtls.utlsto avoid accidental HTTP/2 negotiation on CDN WebSocket links. - Added regression tests for: DNS bootstrap ordering and extra-host extraction, protocol-aware QUIC blocking behavior, and WS ALPN compatibility.
0.1.4 #
- Maintenance release to refresh package metadata and publication pipeline.
- Updated README install snippet to the latest published version line.
0.1.3 #
- Improved Android native ping reliability by adding a hard timeout wrapper, preventing occasional long stalls during DNS/socket connect checks.
- Refined Android foreground notification text:
title now shows profile label directly and traffic content uses compact
↑ / ↓speed indicators. - Added Android native page-size verification script
(
tool/check_android_page_size.sh) and integrated it intotool/quality_gate.shandtool/fetch_singbox_libbox_android.sh.
0.1.2 #
- Improved endpoint-pool ping throughput with bounded parallel probing (up to 4 concurrent workers) while preserving deterministic result order.
- Reduced Android stats stream overhead with payload de-duplication plus heartbeat emission (every 5s) for UI freshness.
- Fixed disconnected stats semantics so totals/speeds reset to
0while VPN is not connected. - Clarified
Extremepreset compatibility in docs: onlyVLESS-Reality,Hysteria2, andTUICare allowed; incompatible profiles are blocked withEXTREME_PRESET_PROTOCOL_BLOCKED. - Updated example app connect UX:
when
Extremeis selected with an incompatible manual link, users are prompted to switch toAggressivebefore connect. - Fixed Android strict-Private-DNS compatibility priority:
private DNS host rules are now prepended so they win over global DNS
interception rules (prevents
PRIVATE_DNS_BROKENregressions with custom providers like AdGuard). - Fixed Android TUN DNS behavior under strict Private DNS: keep core-provided TUN DNS when present, and use bootstrap DNS only as fallback.
- Expanded dartdoc coverage for public API surfaces and top-level exports to improve pub.dev documentation scoring.
0.1.1 #
- Updated package links to the correct GitHub repository (
homepage,repository,issue_tracker,documentation). - Fixed pub.dev publish size-limit issue by excluding emulator JNI ABIs
(
x86,x86_64) from published package contents. - Added/clarified release docs: Android size/distribution notes, support section, and publish checklist.
- Added complete MIT
LICENSEtext and third-party attribution file (THIRD_PARTY_NOTICES.md).
0.1.0 #
- Replaced template plugin with full
sign-boxfocused VPN API. - Added typed profile, routing, throttle, runtime, and stats models.
- Added
SingboxFeatureSettingsto support dashboard-style advanced settings: route, DNS, inbound, TLS tricks, WARP, misc, and raw config patch hooks. - Added ping check support (
pingProfile,pingEndpointPool) and optional ping-driven auto-failover (VpnHealthCheckOptions.pingEnabled). - Added UI-friendly endpoint summary extraction APIs:
extractConfigLinkSummaryandextractSubscriptionSummaries. - Added explicit UX connection APIs:
connectManualProfile,connectManualConfigLink, andconnectAutoSubscription. - Added GFW hardened preset pack (
GfwPresetPack) with four modes:compatibility,balanced,aggressive, andextreme. - Added preset-aware connect helpers:
connectManualWithPreset,connectManualConfigLinkWithPreset,connectAutoWithPreset, andlistGfwPresetPacks. - Tuned GFW preset defaults for wider core compatibility by disabling
tcp_brutalin built-in presets. - Added endpoint switching helpers:
selectEndpoint(manual) andselectBestEndpointByPing(auto). - Added connectivity-probe driven health checks and failover controls:
connectivityProbeEnabled,connectivityProbeUrl,connectivityProbeTimeout, andfailoverOnConnectivityFailure. - Improved diagnostics for standalone profiles (without endpoint pool).
- Added
SingboxConfigBuilderfor tun inbound, DNS, route, and anti-throttling options. - Implemented Android method/event bridge with VPN permission flow and process lifecycle.
- Implemented iOS method/event bridge with explicit Network Extension requirement signaling.
- Updated example app and tests for the new API.
- Added Android ABI-aware asset extraction options for
sing-boxbinary bootstrapping. - Added parser support for additional share-link formats and profiles:
hysteria2,tuic,wireguard(wireguard://,wg://,wg-quick), andssh. - Added encrypted
sbmm://secure-link wrapper codec. - Added runtime capability guard helpers (including WireGuard checks for newer core versions).
- Added split-tunneling controls and richer detailed connection state snapshots.
- Improved Android notification/status UX with live
Up/Downspeeds and session duration display. - Improved Android service resilience for background/process restart scenarios.