pubnub
PubNub SDK for Dart lang (with Flutter support) that allows you to create real-time applications
8.0.2
10K downloads/mo
#2910 most downloaded on pub.dev
What this package is like to depend on
Last release 13 days ago
11 Aug 2026
Release timing varies
gaps range from 2 weeks to 4 months
Most releases are documented
notes for 46 of 52 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
58 releases · first in 2016
7 releases in the last 12 months
see the full history below
Release timeline
58 releases · Oct 2016 to Aug 2026Releases
latest 58-
8.0.211 Aug 2026 -
8.0.121 Jul 2026Release notes
Open source →July 20 2026
Fixed
- Added deprecation warning for legacy cryptor configuration, cipherKey initialisation at Keyset level.
- Refactored exception handling in cryptors without revealing extensive details of failure.
-
8.0.006 Jul 2026Release notes
Open source →July 06 2026
Added
- BREAKING CHANGES: added support for h2 protocol using http2 package.
-
7.1.026 Feb 2026Release notes
Open source →February 25 2026
Added
- Migration from dart html package to web for wasm compatibility.
-
7.0.117 Nov 2025Release notes
Open source →November 17 2025
Modified
- Remove invalid switch cases for null message type which was causing issue with web assembly build. Fixed the following issues reported by @Ali-Toosi: #145.
-
7.0.028 Oct 2025Release notes
Open source →October 28 2025
Added
- BREAKING CHANGES: The
hereNowmethod 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.
Fixed
- Fixes issue of not getting proper error details when file upload fails.
- Fixes issue of no-op when
subscribe()called on inactive or errored subscrption. - Fixes issue of generate upload file url to incorporate token when configured or set explicitly.
- Discard use of gcm and replaced with fcm for push notification service type of google.
Modified
- Pubnub access manager tests.
- BREAKING CHANGES: The
-
6.0.223 Oct 2025Release notes
Open source →October 20 2025
Fixed
- Fixes issue of delete message with
fromandtoparameters. To delete range of message(s).
- Fixes issue of delete message with
-
6.0.119 Aug 2025Release notes
Open source →August 19 2025
Fixed
- Fixes package compatibility issues with web builds.
Modified
- Allow global custom logger to be ILogger based.
- Upgrade outdated dependencies.
-
6.0.006 Aug 2025Release notes
Open source →August 06 2025
Added
- BREAKING CHANGES: Added support for
RetryPolicy.none()to disable retry for subscription.
Modified
- Enhanced logging using standardized logging practices.
- BREAKING CHANGES: Added support for
-
5.2.123 Jul 2025Release notes
Open source →June 25 2025
Fixed
- Update and validation for
customfield data type of app context apis to prevent accepting non scalar value. - Added validation for channel and file names to prevent potential various path traversal techniques.
- Update and validation for
-
5.2.012 Mar 2025Release notes
Open source →March 12 2025
Added
- Added Support of
eTagfor AppContextsetUUIDMetadataandsetChannelMetadataAPIs.
- Added Support of
-
5.1.120 Jan 2025Release notes
Open source →January 20 2025
Fixed
- Fixes issue of getting error for setUUIDMetadata call without
customfield.
- Fixes issue of getting error for setUUIDMetadata call without
-
5.1.018 Dec 2024Release notes
Open source →December 18 2024
Added
- Added support for
statusandtypefields in AppContext APIs.
- Added support for
-
5.0.012 Dec 2024Release notes
Open source →December 10 2024
Added
- BREAKING CHANGES: support for customMessageType in subscription, history, publish, signal and files features.
-
4.3.415 Apr 2024Release notes
Open source →April 15 2024
Fixed
- Fixes issue of parsing invalid presence data (which are not from pubnub server) in subscription.
-
4.3.328 Mar 2024Release notes
Open source →March 28 2024
Added
- Added support for pagination params for listChannels api of push notification devices.
-
4.3.222 Jan 2024Release notes
Open source →January 22 2024
Fixed
- Fixes issue of getting signature mismatch exception while publishing encrypted data.
-
4.3.127 Nov 2023Release notes
Open source →November 27 2023
Fixed
- Handle unencrypted message while getting messages with cryptoModule configured.
-
4.3.016 Oct 2023Release notes
Open source →October 16 2023
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.
-
4.2.427 Jul 2023Release notes
Open source →July 27 2023
Fixed
- Fixes issue of missing decrypt function in batch history api.
-
4.2.318 May 2023Release notes
Open source →May 18 2023
Fixed
- Fixes issue of losing timetoken value precision in web environment. Fixed the following issues reported by @RicharC293: #110.
-
4.2.214 Nov 2022 -
4.2.112 Jul 2022Release notes
Open source →July 12 2022
Added
- Support for fire in publish feature.
- Allow to specify access rights for user and space in grantToken request.
- Allow users to specify userId instead of uuid.
-
4.1.321 Apr 2022 -
4.1.207 Apr 2022Release notes
Open source →April 06 2022
Fixed
- Adds a fix that prevents the SDK from adding forbidden headers in browser environments.
- Fixes getFileUrl method by adding uuid in query parameters.
-
4.1.105 Apr 2022Release notes
Open source →April 04 2022
Fixed
- Fixes an issue in JS build of Dart SDK, where request bodies were improperly encoded and sent without a correct header.
-
4.1.016 Dec 2021 -
4.0.022 Nov 2021Release notes
Open source →November 22 2021
Added
- Adds PAM v3 support with
grantTokenandsetToken. - After subscribe loop fails, call restore to restart it.
Fixed
- Subscribe loop no longer throws on unrecoverable failure, instead waits for restart. Fixed the following issues reported by @willbryant: #63.
- Adds more diagnostics for network module. Fixed the following issues reported by @willbryant: #65.
- WhenStarts future no longer throws and is now based on a stream. Fixed the following issues reported by @willbryant: #64.
- Networking should now release all resources after a failure. Fixed the following issues reported by @aadil058: #62.
- Fixes issue of Signature mismatch with PAM enabled keysets. Fixed the following issues reported by @mahmoudsalah37: #50.
- Fixes issue of message decryption with subscription. Fixed the following issues reported by @TabooSun: #46.
- Adds PAM v3 support with
-
4.0.0-beta.225 Oct 2021 pre-releaseNothing published for this version
-
4.0.0-beta.121 Jun 2021 pre-releaseNothing published for this version
-
4.0.0-beta.007 May 2021 pre-releaseNothing published for this version
-
3.2.011 Mar 2021Nothing published for this version
-
3.1.016 Feb 2021Nothing published for this version
-
3.0.212 Oct 2020Nothing published for this version
-
3.0.112 Oct 2020Nothing published for this version
-
3.0.008 Oct 2020Release notes
Open source →October 8 2020
- ⭐️️ Subscribe loop is now written using async generator and should be easier to debug.
- ⭐️️ Exports now are more comprehensive and clear, documentation clarity has been improved.
- 🐛 Removes additional query params from AWS calls.
- 🐛 Fixes a bunch of issues with incorrect arguments passed in.
- 🐛 Adds additional diagnostics to the networking module.
-
3.0.0-rc.229 Sep 2020 pre-releaseNothing published for this version
-
3.0.0-rc.128 Sep 2020 pre-releaseNothing published for this version
-
3.0.0-rc25 Sep 2020 pre-releaseNothing published for this version
-
2.0.107 Sep 2020Release notes
Open source →September 7 2020
- 🐛 Fixes issue of upgrade failure. Fixed the following issues reported by @devopsokdone: #14.
-
2.0.031 Aug 2020Release notes
Open source →August 31 2020
- 🌟️ Refactors networking module to allow additional flexibility.
- 🌟️ Adds supervisor module that allows reconnection, retry and other additional, cross module functionalities.
- 🌟️ Adds meta parameter to publish call and makes publish using GET instead of POST.
- 🐛 Exposes
batch,objectsand other APIs from the PubNub class. Fixed the following issues reported by @devopsokdone: #11. - 🐛 Fixes a typo in BatchHistory where timetoken was returned null. Fixed the following issues reported by @devopsokdone: #13.
-
1.4.418 Aug 2020Release notes
Open source →August 19 2020
- 🌟️ Add flags in history v3 for including messageType and uuid.
- 🌟️ Add support for fetch history with message actions. Fixed the following issues reported by @edissonaguilar: #12.
- ⭐️️ Refactor for error message parsing for files.
-
1.4.305 Aug 2020Release notes
Open source →August 5 2020
- 🐛 Fixes issue of exception from server when publishKey os null with publish call.
- 🐛 Fixes missing url component in file publish message for sendFile and support for message encryption.
-
1.4.227 Jul 2020Release notes
Open source →July 27 2020
- 🐛 Fixes issue of invalid type argument for fcm push gateway type. Fixed the following issues reported by @vikram25897: #10.
-
1.4.124 Jul 2020Release notes
Open source → -
1.4.023 Jul 2020Release notes
Open source →July 23 2020
- 🌟️ Add file apis to support file feature.
- ⭐️️ Add support for random initialization vector for messages and file.
-
1.3.025 Jun 2020 -
1.2.010 Jun 2020Release notes
Open source →June 10 2020
- 🌟️ Add simplified Objects API support with UUID and Channel metadata / membership management.
- 🐛 Fixes missing PushGateway type support of fcm for Push Notification.
-
1.1.311 May 2020Release notes
Open source →May 11 2020
- 🐛 Fixes unsubscribeAll so its no longer modifying subscription list during iteration. Fixed the following issues reported by @pushpendraKh: #6.
- 🐛 Fixes exports to include presence and channel group results.
-
1.1.206 May 2020Release notes
Open source →May 6 2020
- 🐛 Fixes issues of missing types for objects and push-notification. Fixed the following issues reported by @pushpendraKh: #5.
-
1.1.106 May 2020 -
1.1.005 May 2020Release notes
Open source →May 5 2020
- ⭐️️ Bumps cbor package version and fixes analyzer warnings.
- ⭐️️ Removes many dependencies that are unnecessary.
- ⭐️️ Build_runner is no longer necessary to use.
- 🐛 Refactors logging to rely on Zones.
- 🐛 Fixes issues with resubscribing and improves injectLogger.
-
1.0.504 May 2020 -
1.0.427 Apr 2020Release notes
Open source →April 27 2020
- 🌟️ Add HereNow to PresenceDx, usable as
pubnub.hereNow(). - 🐛 Fix subscribe
withPresence: truenot properly forwarding messages when used with wildcard channels.
- 🌟️ Add HereNow to PresenceDx, usable as
-
1.0.322 Apr 2020Release notes
Open source →April 22 2020
- ⭐️️ Fix a typo in UserDx docstring.
- 🐛 Change all Symbols to Strings to support Flutter better, fix a typo in SubscribeParams preventing subscribe from working.
-
1.0.217 Apr 2020Release notes
Open source →April 18 2020
- ⭐️️ Add backward synchronization to private repository for
pubspec.yamlandlib/src/core/core.dart. - ⭐️️ Prevent tests from breaking when version is bumped.
- ⭐️️ Add backward synchronization to private repository for
-
0.1.115 Oct 2016Nothing published for this version
-
0.1.014 Oct 2016Nothing published for this version