Skip to content

tauri-utils@2.9.3

Jun 17, 2026
  • c2b8f4783 (#15373 by @MavenRain) Improve diagnostics for invalid plugin and permission identifiers.

    The Identifier deserializer now wraps the inner error with the offending identifier string so the message reads invalid 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 reads failed 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.

  • 2783e6079 (#15481 by @thanhtoantnt) Fix Number::Int being silently coerced to Number::Float on serde_json round-trip.

    From<serde_json::Value> for Value was checking as_f64() first, which succeeds for every integer that fits in an f64, so integer JSON numbers were always deserialized as Number::Float. The check order is now as_i64()as_u64() (cast to i64, wrapping for values above i64::MAX) → as_f64(), matching serde_json's own visitor convention.


© 2026 Tauri Contributors. CC-BY / MIT