github tauri-apps/plugins-workspace notification-js-v2.5.0
notification-js v2.5.0

one month ago

[2.5.0]

  • c8c373b4 Fixed broken mobile APIs:

    • channels() invoked the listChannels command, which the allow-list-channels permission does not match; it now invokes list_channels.
    • Unregistering an onNotificationReceived or onAction listener invokes the remove_listener command, which had no permission. It is now declared and part of the default permission set (allow-remove-listener).
    • cancelAll() was rejected on Android and iOS, which required the list of notifications to cancel. It now cancels every pending notification.
    • active() resolved with { values: [...] } instead of an array on Android.
  • 684feb25 (#3617) Fixed isPermissionGranted() always resolving to false on Windows. The initialization script short-circuited the permission check to avoid invoking the backend, but read the permission back before it had been set, so it settled on denied instead of granted.

  • 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.

PNPM Publish

npm warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository" was changed from a string to an object
npm warn publish "repository.url" was normalized to "git+https://github.com/tauri-apps/plugins-workspace.git"
npm notice
npm notice 📦  @tauri-apps/plugin-notification@2.5.0
npm notice Tarball Contents
npm notice 888B LICENSE.spdx
npm notice 4.2kB README.md
npm notice 15.7kB dist-js/index.cjs
npm notice 24.6kB dist-js/index.d.ts
npm notice 15.2kB dist-js/index.js
npm notice 11B dist-js/init.d.ts
npm notice 663B package.json
npm notice Tarball Details
npm notice name: @tauri-apps/plugin-notification
npm notice version: 2.5.0
npm notice filename: tauri-apps-plugin-notification-2.5.0.tgz
npm notice package size: 10.2 kB
npm notice unpacked size: 61.3 kB
npm notice shasum: 43e0a77d8dcd916919ad7aa268f61b76f44f9bc6
npm notice integrity: sha512-S19zXtRLX1Yry[...]dEGCn5wfCm3zw==
npm notice total files: 7
npm notice
npm notice npm tokens that bypass 2FA are being restricted for account changes and direct publishing. Learn how to prepare: https://gh.io/npm-gat-bypass2fa-deprecation
npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
npm notice publish Signed provenance statement with source and build information from GitHub Actions
npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=2969525048
npm notice Your package is being processed and may take a few minutes to become available.
+ @tauri-apps/plugin-notification@2.5.0

Don't miss a new plugins-workspace release

NewReleases is sending notifications on new releases.