Files
tauri-plugins-workspace/plugins/notification/CHANGELOG.md
T
github-actions[bot] 6bbd44d4ef publish new versions (#3675)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-10 12:50:18 -03:00

18 KiB

Changelog

[2.6.0]

  • 42ae8b45 (#3684) On iOS, mark the plugin's init_plugin_* entry point public so release builds made with Xcode 27 keep it global and link.

feat

  • 46381516 (#3671) Report actions on desktop: a click on a notification (tap) or on one of the actions of its action type reaches onAction and the new Rust Notification::on_action, which also works on mobile. registerActionTypes, removeActive (Linux and the BSDs) and the listener commands no longer fail with "command not found" on desktop.

    The onAction callback is now typed with the new ActionPerformed interface, which is what every platform sends, instead of Options. Callbacks annotated with Options must be updated.

[2.5.1]

  • 569ee82c Fix the docs.rs build for Android: the build script now detects docs.rs through the DOCS_RS environment variable, since cfg(docsrs) is never set for build scripts.

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

[2.4.0]

  • db9c5998 (#3531 by @Legend-Master) Fix missing consumer-rules.pro on Gradle v9.
  • 304292d7 (#2805 by @Innominus) - Add Rust builders for mobile notification action types.
    • Fix Android action-group entries being stored under the action type ID instead of sequential indices, causing later actions to overwrite earlier ones.

[2.3.3]

  • 93426f85 Fixed an issue that caused docs.rs builds to fail. No user facing changes.

[2.3.2]

[2.3.1]

[2.3.0]

[2.2.3]

  • f634e524 This is an "empty" release to update the plugins' source files on crates.io and docs.rs. This should fix docs.rs build failures for projects using tauri plugins as dependencies.

[2.2.2]

  • a1b3fa27 (#2515 by @FabianLars) Re-exported the Geolocation, Haptics, Notification, and Os structs so that they show up on docs.rs.

[2.2.1]

[2.2.0]

  • 3a79266b (#2173 by @FabianLars) Bumped all plugins to v2.2.0. From now, the versions for the Rust and JavaScript packages of each plugin will be in sync with each other.

[2.0.1]

[2.0.0]

  • e2c4dfb6 Update to tauri v2 stable release.

[2.0.0-rc.5]

[2.0.0-rc.4]

[2.0.0-rc.1]

  • e2e97db5 (#1701 by @lucasfernog) Use PermissionState from the tauri crate, which now also includes a "prompt with rationale" variant for Android (returned when your app must explain to the user why it needs the permission).
  • e2e97db5 (#1701 by @lucasfernog) Breaking change: The permission type when using the API is now 'granted' | 'denied' | 'prompt' | 'prompt-with-rationale' instead of 'granted' | 'denied' | 'default' for consistency with Rust types. When using the window.Notification API the type is unchanged to match the Web API type.
  • e2e97db5 (#1701 by @lucasfernog) Update to tauri 2.0.0-rc.8

[2.0.0-rc.2]

[2.0.0-rc.1]

changes

[2.0.0-rc.0]

[2.0.0-beta.8]

[2.0.0-beta.11]

  • 725ff429 (#1556 by @FabianLars) Fixed an issue that caused the notification plugin's initialization script to cause the WebView on Windows to throw a STATUS_ACCESS_VIOLATION error on remote websites.

[2.0.0-beta.7]

[2.0.0-beta.6]

[2.0.0-beta.8]

[2.0.0-beta.5]

[2.0.0-beta.4]

[2.0.0-beta.3]

[2.0.0-beta.4]

[2.0.0-beta.3]

  • a04ea2f(#1071) The global API script is now only added to the binary when the withGlobalTauri config is true.
  • 62ce5df(#1096) Fix development mode check to set the app ID on macOS.

[2.0.0-beta.2]

[2.0.0-beta.1]

[2.0.0-beta.0]

  • d198c01(#862) Update to tauri beta.
  • 1b1d795(#874) Export the missing Schedule class.
  • 8dea78a(#909) Fixes deserialization and implementation bugs with scheduled notifications on Android.

[2.0.0-alpha.5]

  • 387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.13.

[2.0.0-alpha.4]

  • 387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.12.

[2.0.0-alpha.3]

  • e438e0a(#676) Update to @tauri-apps/api v2.0.0-alpha.11.

[2.0.0-alpha.2]

  • 5c13736(#673) Update to @tauri-apps/api v2.0.0-alpha.9.

[2.0.0-alpha.3]

[2.0.0-alpha.1]

[2.0.0-alpha.1]

  • d8b4aca(#414) Use window.__TAURI_INVOKE__ instead of window.__TAURI__ in init.js, fixes usage in apps without withGlobalTauri enabled.
  • 7d71ad4 Play a default sound when showing a notification on Windows.

[2.0.0-alpha.0]

[2.0.0-alpha.0]