NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #3071 most downloaded on pub.dev
PubNub SDK for Dart lang (with Flutter support) that allows you to create real-time applications
Latest stable
9.2.0
Last release 13 days ago
09 Nov 2026
Release timing varies
gaps range from 2 weeks to 4 months
Nearly every release is documented
notes for 51 of 56 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
62 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
CryptoModule.aesCbcCryptoModule and CryptoModule.legacyCryptoModule decrypt AES-256-GCM (ACGM) message and file payloads alongside AES-CBC and legacy
November 09 2026
CryptoModule.aesCbcCryptoModule and CryptoModule.legacyCryptoModule decrypt AES-256-GCM (ACGM) message and file payloads alongside AES-CBC and legacy content. Encryption is unchanged, and AES-GCM encryption is not available.November 9, 2026
| Type | Changes |
|---|---|
| Added | • CryptoModule.aesCbcCryptoModule and CryptoModule.legacyCryptoModule decrypt AES-256-GCM (ACGM) message and file payloads alongside AES-CBC and legacy content. Encryption is unchanged, and AES-GCM encryption is not available. |
support for category permissions in grantToken api
support for category permissions in grantToken api
Update example.dart including PR#148 changes
readme file updates
readme file update with package name line correction
Fix badge formatting in README.md
PubNub SDK v9.1.0 release.
Co-authored-by: PubNub Release Bot 120067856+pubnub-release-bot@users.noreply.github.com
Your coding agent can read these notes before it upgrades. Set up the MCP server →
October 13 2026
October 12, 2026
| Type | Changes |
|---|---|
| Added | • Support for PAM v3 category permissions, so grant tokens can allow listing all channel and uuid metadata. |
| Modified | • Update example code to use updated client configurations. |
Added dataSync feature support.
October 07 2026
October 7, 2026
| Type | Changes |
|---|---|
| Added | • Added dataSync feature support. |
| Modified | • Subscription has separate streams based on event types. |
Pubspec file updates with repository, topics details.
September 21 2026
September 21, 2026
| Type | Changes |
|---|---|
| Modified | • Pubspec file updates with repository, topics details. |
Fixes precision issues in web for history related endpoints that return bare large integers. Fixed the following issues reported by @aovooyov: #152.
August 11 2026
August 10, 2026
| Type | Changes |
|---|---|
| Fixed | • Fixes precision issues in web for history related endpoints that return bare large integers. |
Added deprecation warning for legacy cryptor configuration, cipherKey initialisation at Keyset level.
July 21 2026
July 20, 2026
| Type | Changes |
|---|---|
| Fixed | • Added deprecation warning for legacy cryptor configuration, cipherKey initialisation at Keyset level.<br/>• Refactored exception handling in cryptors without revealing extensive details of failure. |
BREAKING CHANGES: added support for h2 protocol using http2 package.
July 06 2026
July 6, 2026
| Type | Changes |
|---|---|
| Added | • BREAKING CHANGES: added support for h2 protocol using http2 package. |
Migration from dart html package to web for wasm compatibility.
February 26 2026
February 25 2026
February 25, 2026
| Type | Changes |
|---|---|
| Added | • Migration from dart html package to web for wasm compatibility. |
Remove invalid switch cases for null message type which was causing issue with web assembly build. Fixed the following issues reported by @Ali-Toosi:
November 18 2025
November 17, 2025
| Type | Changes |
|---|---|
| Modified | • Remove invalid switch cases for null message type which was causing issue with web assembly build. |
hereNow update with limit and offset, subscribe issue fix, error hand…
hereNow update with limit and offset, subscribe issue fix, error hand…
October 28 2025
hereNow method will return a maximum of 1000 occupants per channel. Previously, it was returning all occupants without limit parameter support. Use pagination through offset when more than 1000 occupants present in channel.subscribe() called on inactive or errored subscrption.Fixes issue of delete message with from and to parameters. To delete range of message(s).
October 23 2025
from and to parameters. To delete range of message(s).October 20 2025
from and to parameters. To delete range of message(s).October 20, 2025
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of delete message with from and to parameters. To delete range of message(s). |
upgrade dependencies added web compatibility test
upgrade dependencies
added web compatibility test
allowing customerLogger to ILogger interface instead only StreamLogger
refactor: define parameter toJson() for logging information about input parameters
update codeowner list
refactor(log): allowing custom non stream logger,
keeping default logger enabled when custom logger provided.
PubNub SDK v6.0.1 release.
Co-authored-by: Mohit Tejani mohit.tejani@Mohits-MacBook-Pro.local
Co-authored-by: PubNub Release Bot 120067856+pubnub-release-bot@users.noreply.github.com
August 19 2025
August 19, 2025
| Type | Changes |
|---|---|
| Fixed | • Fixes package compatibility issues with web builds. |
| Modified | • Allow global custom logger to be ILogger based.<br/>• Upgrade outdated dependencies. |
refactor(log): improved logging with instance level logging enable fe…
refactor(log): improved logging with instance level logging enable fe…
August 06 2025
RetryPolicy.none() to disable retry for subscription.August 6, 2025
| Type | Changes |
|---|---|
| Added | • Added support for RetryPolicy.none() to disable retry for subscription.<br/>• BREAKING CHANGES: The default retry policy has been changed from applying to all operations to now applying only to the subscription feature. |
| Modified | • Enhanced logging using standardized logging practices. |
Update and validation for custom field data type of app context apis to prevent accepting non scalar value.
June 25 2025
custom field data type of app context apis to prevent accepting non scalar value.June 25, 2025
| Type | Changes |
|---|---|
| Fixed | • Update and validation for custom field data type of app context apis to prevent accepting non scalar value.<br/>• Added validation for channel and file names to prevent potential various path traversal techniques. |
Added Support of eTag for AppContext setUUIDMetadata and setChannelMetadata APIs.
March 12 2025
eTag for AppContext setUUIDMetadata and setChannelMetadata APIs.March 12, 2025
| Type | Changes |
|---|---|
| Added | • Added Support of eTag for AppContext setUUIDMetadata and setChannelMetadata APIs. |
Fixes issue of getting error for setUUIDMetadata call without custom field.
January 20 2025
custom field.January 20, 2025
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of getting error for setUUIDMetadata call without custom field. |
Added support for status and type fields in AppContext APIs.
December 18 2024
status and type fields in AppContext APIs.December 18, 2024
| Type | Changes |
|---|---|
| Added | • Added support for status and type fields in AppContext APIs. |
BREAKING CHANGES: support for customMessageType in subscription, history, publish, signal and files features.
December 10 2024
December 10, 2024
| Type | Changes |
|---|---|
| Added | • BREAKING CHANGES: Default retry policy for subscription is set to Exponential.<br/>• support for customMessageType in subscription, history, publish, signal and files features. |
| Fixed | • Limiting delay to maximum allowable value for Linear retry policy. |
Fixes issue of parsing invalid presence data (which are not from pubnub server) in subscription.
April 15 2024
April 15, 2024
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of parsing invalid presence data (which are not from pubnub server) in subscription. |
Added support for pagination params for listChannels api of push notification devices.
March 28 2024
March 28, 2024
| Type | Changes |
|---|---|
| Added | • Added support for pagination params for listChannels API of push notification devices. |
Fixes issue of getting signature mismatch exception while publishing encrypted data.
January 22 2024
January 22, 2024
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of getting signature mismatch exception while publishing encrypted data. |
Handle unencrypted message while getting messages with cryptoModule configured.
November 27 2023
November 27, 2023
| Type | Changes |
|---|---|
| Fixed | • Handle unencrypted message while getting messages with cryptoModule configured. |
Add crypto module that allows configure SDK to encrypt and decrypt messages.
October 16 2023
October 16, 2023
| Type | Changes |
|---|---|
| Added | • Add crypto module that allows configure SDK to encrypt and decrypt messages. |
| Fixed | • Improved security of crypto implementation by adding enhanced AES-CBC cryptor. |
Fixes issue of missing decrypt function in batch history api.
July 27 2023
July 27, 2023
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of missing decrypt function in batch history api. |
Fixes issue of losing timetoken value precision in web environment. Fixed the following issues reported by @RicharC293: #110.
May 18 2023
May 18, 2023
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of losing timetoken value precision in web environment. |
Fixes issue of having old version of xml package dependency. Fixed the following issues reported by @panalgin: #94.
November 14 2022
November 14, 2022
| Type | Changes |
|---|---|
| Added | • Support for Flutter 3. |
| Fixed | • Fixes issue of having old version of xml package dependency. |
Support for fire in publish feature.
July 12 2022
July 12, 2022
| Type | Changes |
|---|---|
| Added | • Support for fire in publish feature.<br/>• Allow to specify access rights for user and space in grantToken request.<br/>• Allow users to specify userId instead of uuid. |
Fixes issue of fetchMessages with false includeUUID response parse error. Fixed the following issues reported by @linsdev: #89.
April 21 2022
fetchMessages with false includeUUID response parse error. Fixed the following issues reported by @linsdev: #89.April 21, 2022
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of fetchMessages with false includeUUID response parse error.<br/>• Fixes issue of publish file message not triggered on browser. |
Adds a fix that prevents the SDK from adding forbidden headers in browser environments.
April 07 2022
April 6, 2022
| Type | Changes |
|---|---|
| Fixed | • Adds a fix that prevents the SDK from adding forbidden headers in browser environments.<br/>• Fixes getFileUrl method by adding uuid in query parameters. |
Fixes an issue in JS build of Dart SDK, where request bodies were improperly encoded and sent without a correct header.
April 05 2022
April 4, 2022
| Type | Changes |
|---|---|
| Fixed | • Fixes an issue in JS build of Dart SDK, where request bodies were improperly encoded and sent without a correct header. |
Added support for Revoke Token feature.
December 16 2021
December 16, 2021
| Type | Changes |
|---|---|
| Added | • Added support for Revoke Token feature. |
Adds PAM v3 support with grantToken and setToken.
November 22 2021
grantToken and setToken.November 22, 2021
| Type | Changes |
|---|---|
| Added | • Adds PAM v3 support with grantToken and setToken.<br/>• After subscribe loop fails, call restore to restart it. |
| Fixed | • Subscribe loop no longer throws on unrecoverable failure, instead waits for restart.<br/>• Adds more diagnostics for network module.<br/>• WhenStarts future no longer throws and is now based on a stream.<br/>• Networking should now release all resources after a failure.<br/>• Fixes issue of Signature mismatch with PAM enabled keysets.<br/>• Fixes issue of message decryption with subscription. |
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
🌟️ Adds signature generation and Objects v2 for PAM Grant call.
February 16 2021
February 16, 2021
| Type | Changes |
|---|---|
| Added | • Adds signature generation and Objects v2 for PAM Grant call.<br/>• Refactors networking module to use native dart:io. |
| Fixed | • Fixes few typos and a bug with BatchHistory meta param.<br/>• Fixes an issue with default params for HereNow call.<br/>• Fixes an issue with encoding of uri query parameters.<br/>• Fixes message decryption in subscribe loop. |
Nothing published for this version
Nothing published for this version
⭐️️ Subscribe loop is now written using async generator and should be easier to debug.
October 8 2020
October 8, 2020
| Type | Changes |
|---|---|
| Modified | • Subscribe loop is now written using async generator and should be easier to debug.<br/>• Exports now are more comprehensive and clear, documentation clarity has been improved. |
| Fixed | • Removes additional query params from AWS calls.<br/>• Fixes a bunch of issues with incorrect arguments passed in.<br/>• Adds additional diagnostics to the networking module. |
Nothing published for this version
Nothing published for this version
Nothing published for this version
🐛 Fixes issue of upgrade failure. Fixed the following issues reported by @devopsokdone: #14.
September 7 2020
September 7, 2020
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of upgrade failure. |
🌟️ Refactors networking module to allow additional flexibility.
August 31 2020
batch, objects and other APIs from the PubNub class. Fixed the following issues reported by @devopsokdone: #11.August 31, 2020
| Type | Changes |
|---|---|
| Added | • Refactors networking module to allow additional flexibility.<br/>• Adds supervisor module that allows reconnection, retry and other additional, cross module functionalities.<br/>• Adds meta parameter to publish call and makes publish using GET instead of POST. |
| Fixed | • Exposes batch, objects and other APIs from the PubNub class.<br/>• Fixes a typo in BatchHistory where timetoken was returned null. |
🌟️ Add flags in history v3 for including messageType and uuid.
August 19 2020
August 19, 2020
| Type | Changes |
|---|---|
| Added | • Add flags in history v3 for including messageType and uuid.<br/>• Add support for fetch history with message actions. |
| Modified | • Refactor for error message parsing for files. |
🐛 Fixes issue of exception from server when publishKey os null with publish call.
August 5 2020
August 5, 2020
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of exception from server when publishKey is null with publish call.<br/>• Fixes missing url component in file publish message for sendFile and support for message encryption. |
🐛 Fixes issue of invalid type argument for fcm push gateway type. Fixed the following issues reported by @vikram25897: #10.
July 27 2020
July 27, 2020
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of invalid type argument for fcm push gateway type. |
🐛 Fixes issue of missing exposed MessageType enum.
July 24, 2020
| Type | Changes |
|---|---|
| Fixed | • Fixes issue of missing exposed MessageType enum. |
🌟️ Add file apis to support file feature.
July 23 2020
July 23, 2020
| Type | Changes |
|---|---|
| Added | • Add file apis to support file feature. |
| Modified | • Add support for random initialization vector for messages and file. |
🌟️ Add message encryption support.
🌟️ Add simplified Objects API support with UUID and Channel metadata / membership management.
June 10 2020
June 10, 2020
| Type | Changes |
|---|---|
| Added | • Add simplified Objects API support with UUID and Channel metadata / membership management. |
| Fixed | • Fixes missing PushGateway type support of fcm for Push Notification. |
🐛 Fixes unsubscribeAll so its no longer modifying subscription list during iteration. Fixed the following issues reported by @pushpendraKh: #6.
May 11 2020
May 11, 2020
| Type | Changes |
|---|---|
| Fixed | • Fixes unsubscribeAll so its no longer modifying subscription list during iteration.<br/>• Fixes exports to include presence and channel group results. |
🐛 Fixes issues of missing types for objects and push-notification. Fixed the following issues reported by @pushpendraKh: #5.
May 6 2020
May 6, 2020
| Type | Changes |
|---|---|
| Fixed | • Fixes issues of missing types for objects and push-notification. |
May 6 2020 Full Changelog - 🐛 Expose missing types.
⭐️️ Bumps cbor package version and fixes analyzer warnings.
May 5 2020
May 5, 2020
| Type | Changes |
|---|---|
| Fixed | • Refactors logging to rely on Zones.<br/>• Fixes issues with resubscribing and improves injectLogger. |
🐛 Fix wrong API Uri in Push Notifications. Fixed the following issues reported by @aadil058: #2.
May 4 2020
May 4, 2020
| Type | Changes |
|---|---|
| Fixed | • Fix wrong API Uri in Push Notifications.<br/>• Fix Subscription.unsubscribe to correctly close the messages stream. |
🌟️ Add HereNow to PresenceDx, usable as pubnub.hereNow().
April 27 2020
pubnub.hereNow().withPresence: true not properly forwarding messages when used with wildcard channels.April 27, 2020
| Type | Changes |
|---|---|
| Added | • Add HereNow to PresenceDx, usable as pubnub.hereNow(). |
| Fixed | • Fix subscribe withPresence: true not properly forwarding messages when used with wildcard channels. |
⭐️️ Fix a typo in UserDx docstring.
April 22 2020
April 22, 2020
| Type | Changes |
|---|---|
| Fixed | • Change all Symbols to Strings to support Flutter better, fix a typo in SubscribeParams preventing subscribe from working. |
⭐️️ Add backward synchronization to private repository for pubspec.yaml and lib/src/core/core.dart.
April 18 2020
pubspec.yaml and lib/src/core/core.dart.April 18, 2020
| Type | Changes |
|---|---|
| Modified | • Add backward synchronization to private repository for pubspec.yaml and lib/src/core/core.dart.<br/>• Prevent tests from breaking when version is bumped. |
One column per quarter.