Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: python
version: 10.8.0
version: 10.8.1
schema: 1
scm: github.com/pubnub/python
sdks:
Expand All @@ -18,7 +18,7 @@ sdks:
distributions:
- distribution-type: library
distribution-repository: package
package-name: pubnub-10.8.0
package-name: pubnub-10.8.1
location: https://pypi.org/project/pubnub/
supported-platforms:
supported-operating-systems:
Expand Down Expand Up @@ -94,8 +94,8 @@ sdks:
-
distribution-type: library
distribution-repository: git release
package-name: pubnub-10.8.0
location: https://github.com/pubnub/python/releases/download/10.8.0/pubnub-10.8.0.tar.gz
package-name: pubnub-10.8.1
location: https://github.com/pubnub/python/releases/download/10.8.1/pubnub-10.8.1.tar.gz
supported-platforms:
supported-operating-systems:
Linux:
Expand Down Expand Up @@ -169,6 +169,11 @@ sdks:
license-url: https://github.com/encode/httpx/blob/master/LICENSE.md
is-required: Required
changelog:
- date: 2026-10-26
version: 10.8.1
changes:
- type: bug
text: "Reject uuids combined with channels or groups (grant-v2)."
- date: 2026-10-19
version: 10.8.0
changes:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 10.8.1
October 26 2026

#### Fixed
- Reject uuids combined with channels or groups (grant-v2).

## 10.8.0
October 19 2026

Expand Down
2 changes: 1 addition & 1 deletion pubnub/endpoints/access/grant.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def validate_params(self):
self.validate_publish_key()
# self.validate_channels_and_groups()

if self._channels and self._groups and self._uuids:
if self._uuids and (self._channels or self._groups):
raise PubNubException(
pn_error=PNERR_PAM_INVALID_ARGUMENTS,
errormsg="Grants for channels or channelGroups can't be changed together with grants for UUIDs")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='pubnub',
version='10.8.0',
version='10.8.1',
description='PubNub Real-time push service in the cloud',
author='PubNub',
author_email='support@pubnub.com',
Expand Down
Loading