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.7.0
version: 10.7.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.7.0
package-name: pubnub-10.7.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.7.0
location: https://github.com/pubnub/python/releases/download/10.7.0/pubnub-10.7.0.tar.gz
package-name: pubnub-10.7.1
location: https://github.com/pubnub/python/releases/download/10.7.1/pubnub-10.7.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-06-15
version: 10.7.1
changes:
- type: bug
text: "Drop operation identifier from request handler debug logs."
- date: 2026-06-08
version: 10.7.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.7.1
June 15 2026

#### Fixed
- Drop operation identifier from request handler debug logs.

## 10.7.0
June 08 2026

Expand Down
2 changes: 1 addition & 1 deletion pubnub/request_handlers/async_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async def async_request(self, options_func, cancellation_event):
else:
data = "N/A"

logger.debug("[%s %s] %s" % (options.operation_type, response_info.http_version, data))
logger.debug("[%s] %s", response_info.http_version, data)

if response.status not in (200, 307, 204):

Expand Down
2 changes: 1 addition & 1 deletion pubnub/request_handlers/async_httpx.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ async def async_request(self, options_func, cancellation_event):
else:
data = "N/A"

logger.debug("[%s %s] %s" % (options.operation_type, response_info.http_version, data))
logger.debug("[%s] %s", response_info.http_version, data)

if response.status_code not in (200, 307, 204):

Expand Down
6 changes: 3 additions & 3 deletions pubnub/request_handlers/httpx.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,13 +436,13 @@ def _invoke_request(self, p_options, e_options, base_origin):
res = session.request(**args)

try:
logger.debug("[%s %s] %s" % (e_options.operation_type, res.http_version, res.text))
logger.debug("[%s] %s", res.http_version, res.text)
except httpx.ResponseNotRead:
content = res.content.decode('utf-8', errors='ignore')
logger.debug("[%s %s] %s" % (e_options.operation_type, res.http_version, content))
logger.debug("[%s] %s", res.http_version, content)
except Exception as e:
msg = "(content access failed: %s)" % str(e)
logger.debug("[%s %s] %s" % (e_options.operation_type, res.http_version, msg))
logger.debug("[%s] %s", res.http_version, msg)

except httpx.ConnectError as e:
if use_watchdog and self._watchdog.triggered:
Expand Down
2 changes: 1 addition & 1 deletion pubnub/request_handlers/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def _invoke_request(self, p_options, e_options, base_origin):
f"HTTP/{res.raw.version // 10}.{res.raw.version % 10}"
if res.raw and res.raw.version else "unknown"
)
logger.debug("[%s %s] %s" % (e_options.operation_type, http_ver, res.text))
logger.debug("[%s] %s", http_ver, res.text)

except requests.exceptions.ConnectionError as e:
raise PubNubException(
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.7.0',
version='10.7.1',
description='PubNub Real-time push service in the cloud',
author='PubNub',
author_email='support@pubnub.com',
Expand Down
Loading