Skip to content

Latest commit

 

History

History
567 lines (296 loc) · 16.9 KB

CHANGELOG.md

File metadata and controls

567 lines (296 loc) · 16.9 KB

v9.0.0

October 02 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 09 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 07 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 08 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 06 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.

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). Fixed the following issues reported by @Saluev, @natekspencer and @andriyor: #145, #102 and #115.

7.0.1

October 05 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 02 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. Fixed the following issues reported by @tjazsilovsek and @tjazsilovsek: #118 and #119.

v6.3.0

April 01 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 01 2022

Added

  • Add config option to set Content-Encoding to 'gzip'.

v6.0.1

February 01 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

  • 🌟️ Revoke token functionality.

v5.4.0

December 16 2021

Full Changelog

  • 🌟️ Parse_token method refactored.

Full Changelog

  • 🌟️ Grant result object str message unified.

Full Changelog

  • 🌟️ Extend grant_token method to enable control of Objects API permission. Enhance granularity of permission control to enable permissions per UUID.

Full Changelog

  • 🐛 Encoding of the double quote character fixed.

Full Changelog

  • 🌟️ PAMv3 support for Objects_v2 added (beta). Furthermore PAMv3 tokens can now be used within other PubNub features.

Full Changelog

  • 🌟️ SDK metadata was added. Additionally, example code for the FastAPI integration was added.

Full Changelog

  • 🐛 Disabling default request headers within the Endpoint.

Full Changelog

  • 🐛 Request headers required by the Grant Token functionality added.

Full Changelog

  • 🐛 Multiple community Pull Requests for Asyncio related code applied.

Full Changelog

  • 🌟️ BREAKING CHANGE: Add randomized initialization vector usage by default for data encryption / decryption in publish / subscribe / history API calls.

Full Changelog

  • 🌟️ User defined 'origin'(custom domain) value was not used in all required places within this SDK.

Full Changelog

  • ⭐️️ 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.

Full Changelog

  • 🌟️ New v3 History endpoint allows to fetch 100 messages per channel.

Full Changelog

  • 🌟️ Objects v2 implementation added to the PythonSDK with additional improvements to the test isolation within whole test suite.

Full Changelog

  • 🐛 Within this release problems with double PAM calls encoding and Publish oriented bugs were fixed.

Full Changelog

  • 🐛 Passing uuid to the get_state endpoint call added.

Full Changelog

  • 🌟️ File Upload added to the Python SDK.
  • ⭐️️ Fix spelling typos in .pubnub.yml file. Addresses the following PRs from @samiahmedsiddiqui: #92.

Full Changelog

  • 🌟️ Add suppress_leave_events configuration option which can be used to opt-out presence leave call on unsubscribe.
  • ⭐️️ Log out message decryption error and pass received message with PNDecryptionErrorCategory category to status listeners.

Full Changelog

  • ⭐️️ Allocating separate thread that basically waits certain amount of time to clean telemetry data is a waste of memory/OS data strucutres. Clening mentioned data can be incorporated into regular logic.

Full Changelog

  • 🐛 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.
  • 🐛 Using SSL by default from the Python SDK to be more consistent and encourage best practices.

Full Changelog

  • 🌟 Implemented Objects Filtering API

Full Changelog

  • 🌟 Add support for APNS2 Push API

Full Changelog

  • 🌟 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()

Full Changelog

  • 🐛Excluded the tilde symbol from being encoded by the url_encode method to fix invalid PAM signature issue.

Full Changelog

  • 🌟 Introduced delete permission to Grant endpoint. Migrated to v2 enpdoints for old PAM methods.
  • 🌟 Added TokenManager and GrantToken method.
  • 🌟Resolved warnings caused by the use of deprecated methods.
  • 🐛Removed Audit tests.
  • 🐛Resolved incorrectly reported SDK version.

Full Changelog

  • 🌟Add users join, leave and timeout fields to interval event

Full Changelog

  • 🐛implement Objects API

Full Changelog

  • 🐛implement signal

Full Changelog

  • 🐛implement fire

Full Changelog

  • 🐛Implement history message counts

Full Changelog

  • 🐛Rename await to pn_await

Full Changelog

  • 🐛Rename async to pn_async

Full Changelog

  • 🐛Add telemetry manager
  • 🌟Fix plugins versions and remove unused plugins
  • 🌟Add history delete

Full Changelog

  • 🐛Fixed issues with managing push notifications

Full Changelog

  • 🐛Fix typo on announce_status.

Full Changelog

  • 🐛Fix aiohttp v1.x.x and v2.x.x compatibility

Full Changelog

  • 🐛Fix missing encoder for path elements
  • 🌟

Full Changelog

  • 🌟Support log_verbosity in pnconfiguration to enable HTTP logging.

Full Changelog

  • 🐛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.

Full Changelog

  • 🐛Fix on state object type definition.

Full Changelog

  • ⭐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

Full Changelog

  • ⭐Add reconnection managers

Full Changelog

  • ⭐do not strip plus sign when encoding message.

Full Changelog

  • ⭐Adjusting maximum pool size for requests installations

  • ⭐Adding Publsher UUID

Full Changelog

  • ⭐Fixing up packaging configuration for py3
  • ⭐Initial Release