v0.1.22
Fixed
- Tauri 2 plugin name mismatch (#56) —
PluginBuilder::new("allframe")did not match theallframe-tauriidentifier derived from the crate name. Every IPC call failed with"allframe.allframe_call not allowed. Plugin not found". Fixed by aligning the plugin name toallframe-tauri.
Added
PLUGIN_NAMEconstant — Publicallframe_tauri::PLUGIN_NAMEensures the plugin identifier stays in sync with the crate-derived ACL name.#[allframe_handler]attribute macro — Suppresses falsedead_codewarnings on handler functions that the compiler can't trace throughrouter.register()calls. Validates: must beasync;streaminghandlers must haveStreamSender.register_handlers!macro — Bulk-registers handler functions where each is referenced by path, making usage visible torustc's dead-code analysis.
Changed
- Event prefix:
allframe:stream:*→allframe-tauri:stream:*,allframe:boot-progress→allframe-tauri:boot-progress - Frontend invoke:
plugin:allframe|*→plugin:allframe-tauri|* - Capability:
allframe:default→allframe-tauri:default
Migration
See CHANGELOG for full migration instructions.