From 321315aee81480ea4c6c6ee71403c7d5d429c186 Mon Sep 17 00:00:00 2001 From: dextertd Date: Fri, 19 May 2023 20:07:10 +0100 Subject: [PATCH 1/2] update version & changelog --- CHANGELOG.md | 18 ++++++++++++------ pybit/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 595b1b3..1db3ad8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,14 +6,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased -- Remove unnecessary `print` statements in two methods -- Add extra logging (log response headers) when passing `log_requests=True` -- Fix API rate limit handling +## [5.3.0] - 2023-05-19 +### Added +- Multiple symbol support for WebSocket topics (pass `symbol` as a list) +- Extra logging (log response headers) when passing `log_requests=True` +- Argument `return_response_headers` for `HTTP` to allow returning the response headers to the user + +### Modified - Add response headers to exceptions -- Add argument `return_response_headers` to allow returning the response headers to the user + +### Fixed - Update PyPI package's python version so that only =>3.9 is supported to prevent the error: `TypeError: 'type' object is not subscriptable` -- Add multiple symbol support for WebSocket topics (pass `symbol` as a list) +- Fix API rate limit handling +- Remove unnecessary `print` statements in two methods + ## [5.2.0] - 2023-04-18 ### Added diff --git a/pybit/__init__.py b/pybit/__init__.py index 221603a..01997c3 100644 --- a/pybit/__init__.py +++ b/pybit/__init__.py @@ -1 +1 @@ -VERSION = "5.2.0" +VERSION = "5.3.0" diff --git a/setup.py b/setup.py index 9f271c0..de11b52 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='pybit', - version='5.2.0', + version='5.3.0', description='Python3 Bybit HTTP/WebSocket API Connector', long_description=long_description, long_description_content_type="text/markdown", From c8d0c70bdc6c89712222a394269784b414d3796e Mon Sep 17 00:00:00 2001 From: dextertd Date: Fri, 19 May 2023 20:10:02 +0100 Subject: [PATCH 2/2] update contributors --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 157ea3b..f403ef4 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
APF20

💻
Cameron Harder-Hutton

💻
Tom Rumpf

💻 +
OnJohn

💻
Todd Conley

🤔