Skip to content

Commit

Permalink
Merge pull request #279 from binance/rc-3.5.1
Browse files Browse the repository at this point in the history
v3.5.1 release
  • Loading branch information
alplabin committed Nov 17, 2023
2 parents 75c5d53 + 9d8898a commit 9209cfc
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.5.1 - 2023-11-17
### Fixed
- Set the default timeout value to None in WebSocket clients

## 3.5.0 - 2023-10-26
### Changed
- Add timeout parameter to Websocket clients
Expand Down
2 changes: 1 addition & 1 deletion binance/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.5.0"
__version__ = "3.5.1"
1 change: 0 additions & 1 deletion binance/lib/constants.py

This file was deleted.

3 changes: 1 addition & 2 deletions binance/websocket/spot/websocket_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Optional

from binance.websocket.websocket_client import BinanceWebsocketClient
from binance.lib.constants import WEBSOCKET_TIMEOUT_IN_SECONDS


class SpotWebsocketAPIClient(BinanceWebsocketClient):
Expand All @@ -16,7 +15,7 @@ def __init__(
on_error=None,
on_ping=None,
on_pong=None,
timeout=WEBSOCKET_TIMEOUT_IN_SECONDS,
timeout=None,
logger=None,
proxies: Optional[dict] = None,
):
Expand Down
3 changes: 1 addition & 2 deletions binance/websocket/spot/websocket_stream.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Optional

from binance.websocket.websocket_client import BinanceWebsocketClient
from binance.lib.constants import WEBSOCKET_TIMEOUT_IN_SECONDS


class SpotWebsocketStreamClient(BinanceWebsocketClient):
Expand All @@ -15,7 +14,7 @@ def __init__(
on_ping=None,
on_pong=None,
is_combined=False,
timeout=WEBSOCKET_TIMEOUT_IN_SECONDS,
timeout=None,
logger=None,
proxies: Optional[dict] = None,
):
Expand Down
9 changes: 9 additions & 0 deletions docs/source/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
Changelog
=========

3.5.1 - 2023-11-17
------------------

Fixed
^^^^^^^

* Set the default timeout value to None in WebSocket clients


3.5.0 - 2023-10-26
------------------

Expand Down

0 comments on commit 9209cfc

Please sign in to comment.