SelectChangelog for Python SDK

These docs are for version 3.9.0 of the Python SDK. To check out the docs for the latest version Click Here.
 

PubNub 4.0 for Python is our latest and greatest! Please click here for our PubNub 4.0 for Python docs and SDK.

PubNub 3.x for Python will encounter End Of Life (EOL) July 1st, 2017. All users currently on 3.x should begin migrating to 4.x. The 3.x SDK will continue to work. We will no longer support it and if you run into an issue, we will request that you upgrade to the latest version before solving the issue.

If you have questions about the PubNub for Python SDK, please contact us at support@pubnub.com.


Modified
  • Dropping support for python 3.2, cascading from requests.

  • Adding super-admin mode, allowing the server to perform auth restricted operations without self-grant

Modified
  • Removing PubNub connection handling from using the global directive to allow multiple instances to run.

Modified
  • Increasing maximum pool of connections and adjusting cryptodome package dependency.

Fixed
  • Fixing bug with state setting and subscribe confirmation.

Added
  • Mobile Gateway Functions.

  • Here Now for channel groups.

  • no-rep, store and fire().

Modified
  • Adding .stop() method for base python async operations to exit the listener.

Fixed
  • fixed issues in receiving gzipped response for twisted.

  • fix for non reporting of dns lookup failure.

  • fix in time method.

Modified
  • increased timeout to 15 sec.

Fixed
  • added state and here_now.

Added
  • added presence heartbeat support.

Fixed
  • fix for decryption bug in history API.

  • fixed method arguments bug for presence API.

  • fix for issue where error callback not invoked for presence.

  • fix for grant API with python 3.

Modified
  • module name changed to pubnub ( it was Pubnub earlier ), developers need to do from pubnub import Pubnub, instead of from Pubnub import Pubnub now.

  • subscribe_sync removed.

Added
  • added state support in subscribe and here now.

  • added include_token option to history.

Added
  • Channel Groups functionality.

Modified
  • Added Python Echo Server example.

Fixed
  • Added missing timeout keyword arg.

Fixed
  • Added patch to handle quick net calls in Azure environments.

  • Presence fixes.

  • added daemon flag.

Added
  • Added pnsdk URL param to each request.

Modified
  • Added grant/revoke/audit examples to README.

  • Can now pass init vars via the CL on console.

  • Enable subscribing to "-pnpres" channel on console.

Fixed
  • Fixed erroneous "Connected" error condition in console.

  • Fixed UI issue of bracket color on console.

Added
  • Added subscribe_sync method.

Modified
  • renamed pres_uuid argument for Pubnub constructor to uuid.

Added
  • Async subscribe allows for MX, unsubscribe calls.

Modified
  • New method signatures -- be sure to check migration doc if upgrading.