Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.5.1 release #279

Merged
merged 2 commits into from
Nov 17, 2023
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
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
Loading