Changelog for PubNub Python-Twisted SDK

v9.1.0

November 19, 2024
Added
  • Add custom message type support for the following APIs: Publish, signal, share file, subscribe and history.

v9.0.0

October 2, 2024
Added
  • BREAKING CHANGES: Automatic reconnecting for subscribe with exponential backoff is now enabled by default.
  • Access manager v2 endpoints (grant and audit) will no longer be supported after December 31, 2024, and will be removed without further notice. Refer to the documentation to learn more.
  • BREAKING CHANGES: Once used to instantiate PubNub, the configuration object (PNConfiguration instance) becomes immutable. You will receive exceptions if you rely on modifying the configuration after the PubNub instance is created. Refer to the documentation to learn more.
Modified
  • Type hints for parameters and return values are now added to provide a better developer experience.
  • All endpoints are now accessible through the builder pattern and named parameters, providing a more flexible experience suitable for custom solutions.

v8.1.0

August 13, 2024
Added
  • Option to lock PNConfiguration mutability. Note that mutable config will be deprecated in future major releases.
Fixed
  • Fix for routing crypto module if custom one was defined.
Modified
  • Additional Examples.

v8.0.0

May 9, 2024
Added
  • A new version of subscription and presence handling is enabled by default (enableEventEngine flag is set to true). Please consult the documentation for new PNStatus values that are emitted for subscriptions, as code changes might be required to support this change.
  • Channels, ChannelGroups, ChannelMetadata and UserMetadata.

v7.4.4

April 10, 2024
Fixed
  • Fix compatibility issues between EventEngine and Asyncio subscription manager.

v7.4.3

March 28, 2024
Fixed
  • Fixes in the thread based subscription managers causing to duplicate subscription calls.

v7.4.2

March 7, 2024
Fixed
  • Add missing status and type fields in app context. Now they are included, by default, in the response for getting channel/uuid metadata .

v7.4.1

February 26, 2024
Fixed
  • Fixes AsyncioTelemetryManager to avoid creating a task every second.

v7.4.0

February 8, 2024
Added
  • Optional Event Engine for Subscribe Loop.

v7.3.2

November 27, 2023
Fixed
  • Gracefully handle decrypting an unencrypted method. If a decryption error occurs when trying to decrypt plain text, the plain text message will be returned and an error field will be set in the response. This works for both history and subscription messages.

v7.3.1

October 30, 2023
Fixed
  • Changed license type from MIT to PubNub Software Development Kit License.

v7.3.0

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.

7.2.0

July 6, 2023
Added
  • Introduced option to select ciphering method for encoding messages and files. The default behavior is unchanged. More can be read [in this comment](https://github.com/pubnub/python/pull/156#issuecomment-1623307799).

7.1.0

January 17, 2023
Added
  • Add optional TTL parameter for publish endpoint.

7.0.2

November 24, 2022
Fixed
  • This change fixes typo in consumer models user and space resulting in setting invalid flags for the request.
  • This change fixes error in calling and returning value of status.is_error() method.
  • This change adds additional informations to PyPi package. Informations include URLs to source code and documentation, required python version (at least 3.7) and updates a list of supported python versions (removed 3.6 and added 3.10).

7.0.1

October 5, 2022
Fixed
  • Remove deprecation warning of Event.is_set and Thread.deamon.

7.0.0

August 23, 2022
Modified
  • Update build process to include python v3.10-dev and remove v3.6.
  • Fix of randomly failing tests of where_now feature.

v6.5.1

August 2, 2022
Fixed
  • Fix bugs in Spaces Membership endpoints.

v6.5.0

July 27, 2022
Added
  • Grant token now supports Users and Spaces.

v6.4.1

July 14, 2022
Fixed
  • This addresses the issue #130 - a problem with importing module.

v6.4.0

July 13, 2022
Added
  • Spaces Users and Membership endpoint implementation. This functionality is hidden behind a feature flag. By default it is disabled. To enable it there should be an environment variable named PN_ENABLE_ENTITIES set to True.

v6.3.3

June 25, 2022
Fixed
  • Fixed error which happened when random initialization vector has been used. Request path was encrypted two times, once to prepare signage and second one when sending the request.
  • Fixed exception while receiving empty message field in FileMessageResult.

v6.3.2

May 16, 2022
Fixed
  • Fix issue with signing objects requests containing filter.

v6.3.1

April 27, 2022
Fixed
  • This issue was mentioned in issue #118 and replaces PR #119 to match our PR policy.

v6.3.0

April 1, 2022
Added
  • Add methods to include additional fields in fetch_messages.

v6.2.0

March 21, 2022
Added
  • Add methods to change use compression option on chosen endpoints.

v6.1.0

March 1, 2022
Added
  • Add config option to set Content-Encoding to 'gzip'.

v6.0.1

February 1, 2022
Fixed
  • Remove unwanted output while calling fetch_messages.

v6.0.0

January 13, 2022
Modified
  • BREAKING CHANGES: uuid is required parameter while creating an instance of PubNub.

v5.5.0

December 16, 2021
Added
  • Revoke token functionality.

v5.4.0

October 7, 2021
Added
  • Parse_token method refactored.

v5.3.1

September 9, 2021
Added
  • Grant result object __str__ message unified.

v5.3.0

September 8, 2021
Added
  • Extend grant_token method to enable control of Objects API permission. Enhance granularity of permission control to enable permissions per UUID.

v5.2.1

September 6, 2021
Fixed
  • Encoding of the double quote character fixed.

v5.2.0

August 31, 2021
Added
  • PAMv3 support for Objects_v2 added (beta). Furthermore PAMv3 tokens can now be used within other PubNub features.

v5.1.4

June 29, 2021
Added
  • SDK metadata was added. Additionally, example code for the FastAPI integration was added.

v5.1.3

April 26, 2021
Fixed
  • Disabling default request headers within the Endpoint.

v5.1.2

April 15, 2021
Fixed
  • Request headers required by the Grant Token functionality added.

v5.1.1

March 29, 2021
Fixed
  • Multiple community Pull Requests for Asyncio related code applied.

v5.1.0

March 8, 2021
Added
  • BREAKING CHANGE: Add randomized initialization vector usage by default for data encryption / decryption in publish / subscribe / history API calls.

v5.0.1

February 4, 2021
Added
  • User defined 'origin'(custom domain) value was not used in all required places within this SDK.

v5.0.0

January 21, 2021
Modified
  • Support for Python 2.7 was removed, support for the contemporary versions of Python was added. Apart from bringing the whole SDK up to date, support for Tornado and Twisted was removed and dependencies were simplified.

v4.8.1

January 18, 2021
Added
  • New v3 History endpoint allows to fetch 100 messages per channel.

v4.8.0

December 9, 2020
Added
  • Objects v2 implementation added to the PythonSDK with additional improvements to the test isolation within whole test suite.

v4.7.0

November 19, 2020
Fixed
  • Within this release problems with double PAM calls encoding and Publish oriented bugs were fixed.

v4.6.1

October 27, 2020
Fixed
  • Passing uuid to the get_state endpoint call added.

v4.6.0

October 22, 2020
Added
  • File Upload added to the Python SDK.

v4.5.4

September 29, 2020
Added
  • Add suppress_leave_events configuration option which can be used to opt-out presence leave call on unsubscribe.
Modified
  • Log out message decryption error and pass received message with PNDecryptionErrorCategory category to status listeners.

v4.5.3

August 10, 2020
Modified
  • 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
Fixed
  • 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 4, 2020
Fixed
  • Using SSL by default from the Python SDK to be more consistent and encourage best practices.

v4.5.0

February 27, 2020
Added
  • Implemented Objects Filtering API

v4.4.0

February 20, 2020
Added
  • Add support for APNS2 Push API

v4.3.0

January 28, 2020
Added
  • 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

January 9, 2020
Fixed
  • Excluded the tilde symbol from being encoded by the url_encode method to fix invalid PAM signature issue.

v4.2.0

December 24, 2019
Modified
  • Introduced delete permission to Grant endpoint. Migrated to v2 endpoints for old PAM methods.
  • Resolved warnings caused by the use of deprecated methods.
Added
  • Added TokenManager and GrantToken method.
Fixed
  • Removed Audit tests.
  • Resolved incorrectly reported SDK version.

v4.1.7

December 2, 2019
Modified
  • Add users join, leave and timeout fields to interval event

v4.1.6

August 24, 2019
Modified
  • implement Objects API

v4.1.5

August 9, 2019
Modified
  • implement Signal

v4.1.4

April 10, 2019
Modified
  • implement Fire

v4.1.3

February 25, 2019
Modified
  • implement history Message Counts

v4.1.2

September 20, 2018
Modified
  • Rename await to pn_await

v4.1.1

September 11, 2018
Modified
  • Rename async to pn_async

v4.1.0

January 18, 2018
Modified
  • Add history delete
  • Add telemetry manager
Fixed
  • Fix linter warnings
  • Fix plugins versions and remove unused plugins

v4.0.13

June 14, 2017
Modified
  • Added daemon option for PNConfig

v4.0.12

Fixed
  • Fixed issues with managing push notifications

v4.0.11

May 22, 2017
Fixed
  • Fix typo on announce_status.

v4.0.10

March 23, 2017
Fixed
  • Fix aiohttp v1.x.x and v2.x.x compatibility

v4.0.9

March 10, 2017
Fixed
  • Fix missing encoder for path elements
Added

    v4.0.8

    February 17, 2017
    Added
    • Support log_verbosity in pnconfiguration to enable HTTP logging.

    v4.0.7

    February 5, 2017
    Fixed
    • Handle interval presence messages gracefully if they do not contain a UUID.
    Added
    • Support custom cryptography module when using GAE
    Modified
    • designate the request thread as non-daemon to keep the SDK running.

    v4.0.6

    January 21, 2017
    Fixed
    • Fix on state object type definition.

    v4.0.5

    January 4, 2017
    Modified
    • 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

    December 21, 2016
    Modified
    • Add reconnection managers

    v4.0.3

    Modified
    • do not strip plus sign when encoding message.

    v4.0.2

    November 14, 2016
    Modified
    • Adjusting maximum pool size for requests installations
    • Adding Publisher UUID

    v4.0.1

    November 8, 2016
    Modified
    • Fixing up packaging configuration for py3

    v4.0.0

    November 2, 2016
    Modified
    • Initial Release
    Last updated on
    On this page