These docs are for PubNub 4.0 for Python-aiohttp V4 which is our latest and greatest! For the docs of the older versions of the SDK, please check PubNub 3.0 for Python, PubNub 3.0 for Python-Tornado and PubNub 3.0 for Python-Twisted.
If you have questions about the PubNub for Python SDK, please contact us at firstname.lastname@example.org.
v4.6.1 - Oct 27, 2020
Passing uuid to the get_state endpoint call added.
v4.6.0 - Oct 22, 2020
File Upload added to the Python SDK.
v4.5.4 - Sep 29, 2020
suppress_leave_eventsconfiguration option which can be used to opt-out presence leave call on unsubscribe.
Log out message decryption error and pass received message with
PNDecryptionErrorCategorycategory to status listeners.
v4.5.3 - Aug 10, 2020
Allocating separate thread that basically waits a certain amount of time to clean telemetry data is a waste of memory/OS data structures. Cleaning mentioned data can be incorporated into regular logic.
v4.5.2 - May 29, 2020
Fix bug with max message count parameter for Fetch Messages endpoint. Rename maximum_per_channel parameter to count for Fetch Messages, keeping the old name for compatibility.
v4.5.1 - May 04, 2020
Using SSL by default from the Python SDK to be more consistent and encourage best practices.
v4.5.0 - Feb 27, 2020
Implemented Objects Filtering API
v4.4.0 - Feb 20, 2020
Add support for APNS2 Push API
v4.3.0 - Jan 28, 2020
Implemented Message Actions API
Implemented Fetch Messages API
Added 'include_meta' to history()
Added 'include_meta' to fetch_messages()
Added 'include_message_actions' to fetch_messages()
v4.2.1 - Jan 09, 2020
Excluded the tilde symbol from being encoded by the url_encode method to fix invalid PAM signature issue.
v4.2.0 - Dec 24, 2019
Introduced delete permission to Grant endpoint. Migrated to v2 endpoints for old PAM methods.
Resolved warnings caused by the use of deprecated methods.
Added TokenManager and GrantToken method.
Removed Audit tests.
Resolved incorrectly reported SDK version.
v4.1.7 - Dec 02, 2019
Add users join, leave and timeout fields to interval event
v4.1.6 - Aug 24, 2019
implement Objects API
v4.1.5 - Aug 09, 2019
v4.1.4 - Apr 10, 2019
v4.1.3 - Feb 25, 2019
implement history Message Counts
v4.1.2 - Sep 20, 2018
Rename await to pn_await
v4.1.1 - Sep 11, 2018
Rename async to pn_async
v4.1.0 - Jan 18, 2018
Add history delete
Add telemetry manager
Fix linter warnings
Fix plugins versions and remove unused plugins
v4.0.13 - Jun 14, 2017
Added daemon option for PNConfig
Fixed issues with managing push notifications
v4.0.11 - May 22, 2017
Fix typo on announce_status.
v4.0.10 - Mar 23, 2017
Fix aiohttp v1.x.x and v2.x.x compatibility
v4.0.9 - Mar 10, 2017
Fix missing encoder for path elements
v4.0.8 - Feb 17, 2017
Support log_verbosity in pnconfiguration to enable HTTP logging.
v4.0.7 - Feb 05, 2017
Handle interval presence messages gracefully if they do not contain a UUID.
Support custom cryptography module when using GAE
designate the request thread as non-daemon to keep the SDK running.
v4.0.6 - Jan 21, 2017
Fix on state object type definition.
v4.0.5 - Jan 04, 2017
new pubnub domain
native demo app
fixed HTTPAdapter config
add a new Python 3.6.0 config to travis builds
fix blocking Ctrl+C bug
v4.0.4 - Dec 21, 2016
Add reconnection managers
do not strip plus sign when encoding message.
v4.0.2 - Nov 14, 2016
Adjusting maximum pool size for requests installations
Adding Publisher UUID
v4.0.1 - Nov 08, 2016
Fixing up packaging configuration for py3
v4.0.0 - Nov 02, 2016