Skip to content

haptics v2.4.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 22:56
a2364a5

[2.4.0]

  • 9b29b601 Migrate the Android Gradle scripts from the deprecated kotlinOptions DSL to compilerOptions, which Kotlin Gradle Plugin 2.3+ requires, to match the Tauri 2.12 Android library and templates.
  • d869c162 Fixed a build failure when the specta feature is enabled: the Error type used the #[serde(skip)] helper attribute, which recent specta versions no longer register. It now uses #[specta(skip)].
  • ae3c808e (#3602) The plugin's global API script (used with app.withGlobalTauri) now resolves the core API from window.__TAURI__ instead of bundling its own copy of @tauri-apps/api. Values created with the core API are now accepted by plugin APIs in global mode (e.g. an Image from window.__TAURI__.image passed to clipboardManager.writeImage, which previously failed the instanceof check against the plugin's private copy), and the script is considerably smaller.
  • 9b29b601 Update MSRV to 1.90 to match tauri.
  • a87a3c7d Update documentation.

Cargo Publish

Updating crates.io index
   Packaging tauri-plugin-haptics v2.4.0 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/haptics)
    Updating crates.io index
    Packaged 43 files, 194.9KiB (60.5KiB compressed)
   Uploading tauri-plugin-haptics v2.4.0 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/haptics)
    Uploaded tauri-plugin-haptics v2.4.0 to registry `crates-io`
note: waiting for tauri-plugin-haptics v2.4.0 to be available at registry `crates-io`
help: you may press ctrl-c to skip waiting; the crate should be available shortly
   Published tauri-plugin-haptics v2.4.0 at registry `crates-io`