Releases: johncarmack1984/tauri-typed-ipc
Releases · johncarmack1984/tauri-typed-ipc
Release list
tauri-typed-ipc-v0.1.9
Other
- emit the JSON Schema contract + a pre-invoke check into the client (#49)
tauri-typed-ipc-v0.1.8
Other
- emit the JSON Schema contract + a pre-invoke check into the client (#49)
tauri-typed-ipc-v0.1.7
tauri-typed-ipc-v0.1.6
Other
- async procedures take AppHandle and State (#42)
tauri-typed-ipc-v0.1.5
tauri-typed-ipc-v0.1.4
tauri-typed-ipc-v0.1.3
Other
- update status to 0.1.2 (#24)
tauri-typed-ipc-v0.1.2
Other
- test the mount and export examples instead of ignoring them (#20)
tauri-typed-ipc-v0.1.1
Other
- make Result<_, String> a built-in drop-in (#15)
v0.1.0
Initial release. Built on specta 2.0.0-rc.25 (pinned exactly; see the README).
Added
#[procedures]: define an IPC surface as a Rust trait, flattened into a dispatch
core plus a descriptor.handlermounts it on tauri's invoke pipeline, wire-identical
to a raw#[tauri::command](same command name, same named-argument JSON, no envelope),
so generated calls, hand-writteninvokes, and raw commands interoperate.- Sync commands by default, dispatched inline on the main thread; a single
async fn
opts that one procedure onto tauri's runtime. - Typed events in both directions via
#[derive(Event)](emitand targetedemit_to). - Typed errors: a
Result<_, E>procedure rejectsEon the wire via#[derive(Error)],
and the generated client types itscatchagainst it. - Type-matched injection of
AppHandleandtauri::State<T>(by type, never by name). - Streaming via
Channel<T>parameters. - TypeScript client generation behind the
exportfeature, with acheckmode that
fails CI when the committed client drifts from the Rust definition. ttipc-migrate: a source codemod from TauRPC to tauri-typed-ipc.