Files
Google Open Source BotGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
04f0019988 Version Packages (#10004)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-28 14:05:35 -07:00

28 KiB

@firebase/messaging

0.13.0

Minor Changes

  • 3b337b9 #9917 - Add new API and deprecate old API for creating and deleting fcm registration

Patch Changes

  • a1a2455 #9916 - Fix delivery metrics Firelog flushing when BigQuery export is enabled: schedule the first flush immediately (next timer tick) instead of waiting a full LOG_INTERVAL_IN_MS, start processing only when there are queued events (so enabling export with an empty queue does not arm a day-long idle timer that blocks later stageLog flushes), and ensure staging a log starts the service when needed. When export is disabled, clear any queued events and cancel pending flush timers immediately (rather than waiting for the background loop).

  • Updated dependencies [3b337b9]:

0.12.26

Patch Changes

0.12.25

Patch Changes

0.12.24

Patch Changes

0.12.23

Patch Changes

0.12.22

Patch Changes

0.12.21

Patch Changes

0.12.20

Patch Changes

0.12.19

Patch Changes

0.12.18

Patch Changes

0.12.17

Patch Changes

0.12.16

Patch Changes

0.12.15

Patch Changes

  • 1294e64c8 #8661 (fixes #7784) - Fix an issue where PushManager.subscribe() is called too soon after registering the default service worker.

0.12.14

Patch Changes

0.12.13

Patch Changes

0.12.12

Patch Changes

  • d6fa58854 #8534 - The logging endpoint has been updated to ensure proper logging of WebPush entries. This resolves an issue where BigQuery logs were missing WebPush data. The payload structure has also been updated in alignment with the latest logging requirements as specified in go/firelog.

0.12.11

Patch Changes

0.12.10

Patch Changes

0.12.9

Patch Changes

0.12.8

Patch Changes

  • f1a57d00d #8141 - Revised token update logic to keep existing tokens during update failures, preventing unnecessary deletions for transient issues.

0.12.7

Patch Changes

0.12.6

Patch Changes

0.12.5

Patch Changes

  • b782bb270 #7788 - Tag product id for internal big query metric logging.

0.12.4

Patch Changes

0.12.3

Patch Changes

0.12.2

Patch Changes

0.12.1

Patch Changes

0.12.0

Minor Changes

Patch Changes

0.11.0

Minor Changes

  • 9e9ee7ba3 #6728 - Expose 'icon' field from the Firebase Messaging SDK as part of the 'notification' payload

0.10.0

Minor Changes

  • 4b9da74db #6722 - Expose 'icon' field from the Firebase Messaging SDK as part of the 'notification' payload

Patch Changes

0.9.19

Patch Changes

0.9.18

Patch Changes

0.9.17

Patch Changes

0.9.16

Patch Changes

0.9.15

Patch Changes

0.9.14

Patch Changes

0.9.13

Patch Changes

0.9.12

Patch Changes

0.9.11

Patch Changes

0.9.10

Patch Changes

0.9.9

Patch Changes

  • b3e4af842 #6030 - Await on onBackgroundMessage to fix silent warning issue.

0.9.8

Patch Changes

  • 0a04a1c06 #5957 (fixes #5868) - Fix uncaught rejection in isSupported() if environment does not support IndexedDB's open() method.

0.9.7

Patch Changes

  • 93e6126b3 #5901 - Changed messaging exports paths to always point to cjs bundles when in a Node.js context.

0.9.6

Patch Changes

  • 88d43ec00 #5884 - Add a CJS bundle for messaging/sw. This enables some SSR frameworks to run their Node.js pipelines without erroring.

0.9.5

Patch Changes

0.9.4

Patch Changes

0.9.3

Patch Changes

0.9.2

Patch Changes

0.9.1

Patch Changes

0.9.0

Minor Changes

Patch Changes

0.8.0

Minor Changes

  • d0710d500 #5139 - Allows retrieval of messageId from MessagePayload.

Patch Changes

0.7.15

Patch Changes

0.7.14

Patch Changes

0.7.13

Patch Changes

0.7.12

Patch Changes

0.7.11

Patch Changes

0.7.10

Patch Changes

0.7.9

Patch Changes

0.7.8

Patch Changes

0.7.7

Patch Changes

0.7.6

Patch Changes

0.7.5

Patch Changes

0.7.4

Patch Changes

0.7.3

Patch Changes

0.7.2

Patch Changes

0.7.1

Patch Changes

0.7.0

Minor Changes

  • 29327b21 #3234 - Add getToken(options:{serviceWorkerRegistration, vapidKey}),onBackgroundMessage. Deprecate setBackgroundMessageHandler, onTokenRefresh, useVapidKey, useServiceWorker, getToken.

    Add Typing MessagePayload, NotificationPayload, FcmOptions.

Patch Changes

0.6.21

Patch Changes

0.6.20

Patch Changes

  • 17c628eb #3312 Thanks @Feiyang1! - Fixed an issue where we try to update token for every getToken() call because we don't save the updated token in the IndexedDB.

0.6.11

  • [fixed] Fixed an issue introduced in [email protected], when FCM switched to provide base64-encoded VAPID key to PushManager for push subscription. For backward compatibility, the SDK has switched back to using VAPID key in type ArrayBuffer.