Skip to content

v0.1.22

Choose a tag to compare

@decebal decebal released this 19 Mar 11:11
· 19 commits to main since this release
3201730

Fixed

  • Tauri 2 plugin name mismatch (#56) — PluginBuilder::new("allframe") did not match the allframe-tauri identifier derived from the crate name. Every IPC call failed with "allframe.allframe_call not allowed. Plugin not found". Fixed by aligning the plugin name to allframe-tauri.

Added

  • PLUGIN_NAME constant — Public allframe_tauri::PLUGIN_NAME ensures the plugin identifier stays in sync with the crate-derived ACL name.
  • #[allframe_handler] attribute macro — Suppresses false dead_code warnings on handler functions that the compiler can't trace through router.register() calls. Validates: must be async; streaming handlers must have StreamSender.
  • register_handlers! macro — Bulk-registers handler functions where each is referenced by path, making usage visible to rustc's dead-code analysis.

Changed

  • Event prefix: allframe:stream:*allframe-tauri:stream:*, allframe:boot-progressallframe-tauri:boot-progress
  • Frontend invoke: plugin:allframe|*plugin:allframe-tauri|*
  • Capability: allframe:defaultallframe-tauri:default

Migration

See CHANGELOG for full migration instructions.