tauri-utils@2.9.3
Enhancements
Section titled “Enhancements”-
c2b8f4783(#15373 by @MavenRain) Improve diagnostics for invalid plugin and permission identifiers.The
Identifierdeserializer now wraps the inner error with the offending identifier string so the message readsinvalid plugin or permission identifier '<value>': ..., surfacing the bad entry without requiring a grep through the file.The previous parse failure (
failed to parse JSON: identifiers can only include lowercase ASCII, hyphens which are not leading or trailing, and a single colon if using a prefix at line 16 column 23) now readsfailed to parse JSON: invalid plugin or permission identifier 'sqlite_proxy:allow-foo': identifiers can only include lowercase ASCII, hyphens which are not leading or trailing, and a single colon if using a prefix at line 16 column 23.
Bug Fixes
Section titled “Bug Fixes”-
2783e6079(#15481 by @thanhtoantnt) FixNumber::Intbeing silently coerced toNumber::Floatonserde_jsonround-trip.From<serde_json::Value> for Valuewas checkingas_f64()first, which succeeds for every integer that fits in an f64, so integer JSON numbers were always deserialized asNumber::Float. The check order is nowas_i64()→as_u64()(cast toi64, wrapping for values abovei64::MAX) →as_f64(), matching serde_json's own visitor convention.
© 2026 Tauri Contributors. CC-BY / MIT