PackageTrack
Sign in Get early access

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 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 58
  1. 8.0.2 11 Aug 2026
    Release notes

    August 10 2026

    Fixed

    • Fixes precision issues in web for history related endpoints that return bare large integers. Fixed the following issues reported by @aovooyov: #152.
    Open source →
  2. 8.0.1 21 Jul 2026
    Release notes

    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.
    Open source →
  3. 8.0.0 06 Jul 2026
    Release notes

    July 06 2026

    Added

    • BREAKING CHANGES: added support for h2 protocol using http2 package.
    Open source →
  4. 7.1.0 26 Feb 2026
    Release notes

    February 25 2026

    Added

    • Migration from dart html package to web for wasm compatibility.
    Open source →
  5. 7.0.1 17 Nov 2025
    Release notes

    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.
    Open source →
  6. 7.0.0 28 Oct 2025
    Release notes

    October 28 2025

    Added

    • BREAKING CHANGES: The 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.

    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.
    Open source →
  7. 6.0.2 23 Oct 2025
    Release notes

    October 20 2025

    Fixed

    • Fixes issue of delete message with from and to parameters. To delete range of message(s).
    Open source →
  8. 6.0.1 19 Aug 2025
    Release notes

    August 19 2025

    Fixed

    • Fixes package compatibility issues with web builds.

    Modified

    • Allow global custom logger to be ILogger based.
    • Upgrade outdated dependencies.
    Open source →
  9. 6.0.0 06 Aug 2025
    Release notes

    August 06 2025

    Added

    • BREAKING CHANGES: Added support for RetryPolicy.none() to disable retry for subscription.

    Modified

    • Enhanced logging using standardized logging practices.
    Open source →
  10. 5.2.1 23 Jul 2025
    Release notes

    June 25 2025

    Fixed

    • Update and validation for custom field 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.
    Open source →
  11. 5.2.0 12 Mar 2025
    Release notes

    March 12 2025

    Added

    • Added Support of eTag for AppContext setUUIDMetadata and setChannelMetadata APIs.
    Open source →
  12. 5.1.1 20 Jan 2025
    Release notes

    January 20 2025

    Fixed

    • Fixes issue of getting error for setUUIDMetadata call without custom field.
    Open source →
  13. 5.1.0 18 Dec 2024
    Release notes

    December 18 2024

    Added

    • Added support for status and type fields in AppContext APIs.
    Open source →
  14. 5.0.0 12 Dec 2024
    Release notes

    December 10 2024

    Added

    • BREAKING CHANGES: support for customMessageType in subscription, history, publish, signal and files features.
    Open source →
  15. 4.3.4 15 Apr 2024
    Release notes

    April 15 2024

    Fixed

    • Fixes issue of parsing invalid presence data (which are not from pubnub server) in subscription.
    Open source →
  16. 4.3.3 28 Mar 2024
    Release notes

    March 28 2024

    Added

    • Added support for pagination params for listChannels api of push notification devices.
    Open source →
  17. 4.3.2 22 Jan 2024
    Release notes

    January 22 2024

    Fixed

    • Fixes issue of getting signature mismatch exception while publishing encrypted data.
    Open source →
  18. 4.3.1 27 Nov 2023
    Release notes

    November 27 2023

    Fixed

    • Handle unencrypted message while getting messages with cryptoModule configured.
    Open source →
  19. 4.3.0 16 Oct 2023
    Release notes

    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.
    Open source →
  20. 4.2.4 27 Jul 2023
    Release notes

    July 27 2023

    Fixed

    • Fixes issue of missing decrypt function in batch history api.
    Open source →
  21. 4.2.3 18 May 2023
    Release notes

    May 18 2023

    Fixed

    • Fixes issue of losing timetoken value precision in web environment. Fixed the following issues reported by @RicharC293: #110.
    Open source →
  22. 4.2.2 14 Nov 2022
    Release notes

    November 14 2022

    Added

    • Support for Flutter 3.

    Fixed

    • Fixes issue of having old version of xml package dependency. Fixed the following issues reported by @panalgin: #94.
    Open source →
  23. 4.2.1 12 Jul 2022
    Release notes

    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.
    Open source →
  24. 4.1.3 21 Apr 2022
    Release notes

    April 21 2022

    Fixed

    • Fixes issue of fetchMessages with false includeUUID response parse error. Fixed the following issues reported by @linsdev: #89.
    • Fixes issue of publish file message not triggered on browser.
    Open source →
  25. 4.1.2 07 Apr 2022
    Release notes

    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.
    Open source →
  26. 4.1.1 05 Apr 2022
    Release notes

    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.
    Open source →
  27. 4.1.0 16 Dec 2021
    Release notes

    December 16 2021

    Added

    • Added support for Revoke Token feature.
    Open source →
  28. 4.0.0 22 Nov 2021
    Release notes

    November 22 2021

    Added

    • Adds PAM v3 support with grantToken and setToken.
    • 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.
    Open source →
  29. 4.0.0-beta.2 25 Oct 2021 pre-release

    Nothing published for this version

  30. 4.0.0-beta.1 21 Jun 2021 pre-release

    Nothing published for this version

  31. 4.0.0-beta.0 07 May 2021 pre-release

    Nothing published for this version

  32. 3.2.0 11 Mar 2021

    Nothing published for this version

  33. 3.1.0 16 Feb 2021

    Nothing published for this version

  34. 3.0.2 12 Oct 2020

    Nothing published for this version

  35. 3.0.1 12 Oct 2020

    Nothing published for this version

  36. 3.0.0 08 Oct 2020
    Release notes

    October 8 2020

    Full Changelog

    • ⭐️️ 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.
    Open source →
  37. 3.0.0-rc.2 29 Sep 2020 pre-release

    Nothing published for this version

  38. 3.0.0-rc.1 28 Sep 2020 pre-release

    Nothing published for this version

  39. 3.0.0-rc 25 Sep 2020 pre-release

    Nothing published for this version

  40. 2.0.1 07 Sep 2020
    Release notes

    September 7 2020

    Full Changelog

    • 🐛 Fixes issue of upgrade failure. Fixed the following issues reported by @devopsokdone: #14.
    Open source →
  41. 2.0.0 31 Aug 2020
    Release notes

    August 31 2020

    Full Changelog

    • 🌟️ 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, objects and 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.
    Open source →
  42. 1.4.4 18 Aug 2020
    Release notes

    August 19 2020

    Full Changelog

    • 🌟️ 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.
    Open source →
  43. 1.4.3 05 Aug 2020
    Release notes

    August 5 2020

    Full Changelog

    • 🐛 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.
    Open source →
  44. 1.4.2 27 Jul 2020
    Release notes

    July 27 2020

    Full Changelog

    • 🐛 Fixes issue of invalid type argument for fcm push gateway type. Fixed the following issues reported by @vikram25897: #10.
    Open source →
  45. 1.4.1 24 Jul 2020
    Release notes

    July 24 2020

    Full Changelog

    • 🐛 Fixes issue of missing exposed MessageType enum.
    Open source →
  46. 1.4.0 23 Jul 2020
    Release notes

    July 23 2020

    Full Changelog

    • 🌟️ Add file apis to support file feature.
    • ⭐️️ Add support for random initialization vector for messages and file.
    Open source →
  47. 1.3.0 25 Jun 2020
    Release notes

    June 25 2020

    Full Changelog

    • 🌟️ Add message encryption support.
    Open source →
  48. 1.2.0 10 Jun 2020
    Release notes

    June 10 2020

    Full Changelog

    • 🌟️ Add simplified Objects API support with UUID and Channel metadata / membership management.
    • 🐛 Fixes missing PushGateway type support of fcm for Push Notification.
    Open source →
  49. 1.1.3 11 May 2020
    Release notes

    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.
    Open source →
  50. 1.1.2 06 May 2020
    Release notes

    May 6 2020

    Full Changelog

    • 🐛 Fixes issues of missing types for objects and push-notification. Fixed the following issues reported by @pushpendraKh: #5.
    Open source →
  51. 1.1.1 06 May 2020
    Release notes

    May 6 2020

    Full Changelog

    • 🐛 Expose missing types.
    Open source →
  52. 1.1.0 05 May 2020
    Release notes

    May 5 2020

    Full Changelog

    • ⭐️️ 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.
    Open source →
  53. 1.0.5 04 May 2020
    Release notes

    May 4 2020

    • 🐛 Fix wrong API Uri in Push Notifications. Fixed the following issues reported by @aadil058: #2.
    • 🐛 Fix Subscription.unsubscribe to correctly close the messages stream. Fixed the following issues reported by @are: #3.
    Open source →
  54. 1.0.4 27 Apr 2020
    Release notes

    April 27 2020

    • 🌟️ Add HereNow to PresenceDx, usable as pubnub.hereNow().
    • 🐛 Fix subscribe withPresence: true not properly forwarding messages when used with wildcard channels.
    Open source →
  55. 1.0.3 22 Apr 2020
    Release notes

    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.
    Open source →
  56. 1.0.2 17 Apr 2020
    Release notes

    April 18 2020

    Full Changelog

    • ⭐️️ Add backward synchronization to private repository for pubspec.yaml and lib/src/core/core.dart.
    • ⭐️️ Prevent tests from breaking when version is bumped.
    Open source →
  57. 0.1.1 15 Oct 2016

    Nothing published for this version

  58. 0.1.0 14 Oct 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive