diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 8cd4166bf5..50960bac6e 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -90,7 +90,7 @@ jobs: generate_release_notes: true name: unicorn-binance-websocket-api prerelease: false - tag_name: 2.8.0 + tag_name: 2.8.1 token: ${{ secrets.GITHUB_TOKEN }} - name: Create PyPi Release diff --git a/CHANGELOG.md b/CHANGELOG.md index 45b1f4d5cc..2f6edf54bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p [How to upgrade to the latest version!](https://unicorn-binance-websocket-api.docs.lucit.tech/readme.html#installation-and-upgrade) -## 2.8.0.dev (development stage/unreleased/unstable) +## 2.8.1.dev (development stage/unreleased/unstable) + +## 2.8.1 +### Changed +- Log levels in `send_with_stream()` to be less verbose. +### Fixed +- `AttributeError: 'NoneType' object has no attribute 'get'` in `get_latest_version()`. ## 2.8.0 ### Added diff --git a/README.md b/README.md index 7352e84523..c0fa3172c8 100644 --- a/README.md +++ b/README.md @@ -487,10 +487,10 @@ Run in bash: `pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/$(curl -s https://api.github.com/repos/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")').tar.gz --upgrade` #### Windows -Use the below command with the version (such as 2.8.0) you determined +Use the below command with the version (such as 2.8.1) you determined [here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest): -`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.0.tar.gz --upgrade` +`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.1.tar.gz --upgrade` ### From the latest source (dev-stage) with PIP from [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api) This is not a release version and can not be considered to be stable! diff --git a/dev/set_version_config.txt b/dev/set_version_config.txt index 262874282e..58e239970c 100644 --- a/dev/set_version_config.txt +++ b/dev/set_version_config.txt @@ -1,2 +1,2 @@ -2.8.0 +2.8.1 meta.yaml,pyproject.toml,setup.py,README.md,.github/workflows/build_wheels.yml,dev/sphinx/source/conf.py,unicorn_binance_websocket_api/manager.py diff --git a/dev/sphinx/create_docs.sh b/dev/sphinx/create_docs.sh old mode 100644 new mode 100755 diff --git a/dev/sphinx/install_sphinx.sh b/dev/sphinx/install_sphinx.sh old mode 100644 new mode 100755 diff --git a/dev/sphinx/source/changelog.md b/dev/sphinx/source/changelog.md index 45b1f4d5cc..2f6edf54bd 100644 --- a/dev/sphinx/source/changelog.md +++ b/dev/sphinx/source/changelog.md @@ -9,7 +9,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p [How to upgrade to the latest version!](https://unicorn-binance-websocket-api.docs.lucit.tech/readme.html#installation-and-upgrade) -## 2.8.0.dev (development stage/unreleased/unstable) +## 2.8.1.dev (development stage/unreleased/unstable) + +## 2.8.1 +### Changed +- Log levels in `send_with_stream()` to be less verbose. +### Fixed +- `AttributeError: 'NoneType' object has no attribute 'get'` in `get_latest_version()`. ## 2.8.0 ### Added diff --git a/dev/sphinx/source/conf.py b/dev/sphinx/source/conf.py index 6bce32d40e..a9c35bd6db 100644 --- a/dev/sphinx/source/conf.py +++ b/dev/sphinx/source/conf.py @@ -27,7 +27,7 @@ # The short X.Y version version = '' # The full version, including alpha/beta/rc tags -release = '2.8.0' +release = '2.8.1' html_last_updated_fmt = "%b %d %Y at %H:%M (CET)" diff --git a/dev/sphinx/source/readme.md b/dev/sphinx/source/readme.md index 5420209b9c..c0fa3172c8 100644 --- a/dev/sphinx/source/readme.md +++ b/dev/sphinx/source/readme.md @@ -113,7 +113,7 @@ async def main(): stream_label="TRADES", process_asyncio_queue=process_asyncio_queue) while not ubwa.is_manager_stopping(): - await asyncio.sleep(1) + await asyncio.sleep(1) with BinanceWebSocketApiManager(exchange='binance.com') as ubwa: try: @@ -334,6 +334,8 @@ parameter of to control the output format. - Helpful management features like +[`clear_asyncio_queue()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.clear_asyncio_queue), +[`clear_stream_buffer()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.clear_stream_buffer), [`get_binance_api_status()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_binance_api_status), [`get_current_receiving_speed()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_current_receiving_speed), [`get_errors_from_endpoints()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_errors_from_endpoints), @@ -357,7 +359,6 @@ to control the output format. [`set_ringbuffer_error_max_size()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.set_ringbuffer_error_max_size), [`subscribe_to_stream()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.subscribe_to_stream), [`stop_stream()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.stop_stream), -[`stop_manager_with_all_streams()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.stop_manager_with_all_streams), [`unsubscribe_from_stream()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.unsubscribe_from_stream), [`wait_till_stream_has_started()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.wait_till_stream_has_started) and many more! Explore them [here](https://unicorn-binance-websocket-api.docs.lucit.tech/modules.html). @@ -404,8 +405,8 @@ If you like the project, please [![star](https://raw.githubusercontent.com/lucit [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api)! ## Live Demo -This live demo script is streaming from [binance.com](https://www.binance.com) and runs on a *cx31* virtual -machine of [HETZNER CLOUD](https://www.hetzner.com) - [get 20 EUR starting credit!](https://hetzner.cloud/?ref=rKgYRMq0l8fd) +This live demo script is streaming from [binance.com](https://www.binance.com) and runs on a *CCX13* virtual +machine of [HETZNER CLOUD](https://hetzner.cloud/?ref=rKgYRMq0l8fd) [Open live monitor!](https://www.lucit.tech/unicorn-binance-websocket-api-live-demo.html) @@ -486,25 +487,15 @@ Run in bash: `pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/$(curl -s https://api.github.com/repos/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")').tar.gz --upgrade` #### Windows -Use the below command with the version (such as 2.8.0) you determined +Use the below command with the version (such as 2.8.1) you determined [here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest): -`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.0.tar.gz --upgrade` +`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.1.tar.gz --upgrade` ### From the latest source (dev-stage) with PIP from [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api) This is not a release version and can not be considered to be stable! `pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/tarball/master --upgrade` -### [Conda environment](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html), [Virtualenv](https://virtualenv.pypa.io/en/latest/) or plain [Python](https://www.python.org) -Download the [latest release](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest) -or the [current master branch](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/master.zip) - and use: - -- ./environment.yml -- ./pyproject.toml -- ./requirements.txt -- ./setup.py - ## Change Log [https://unicorn-binance-websocket-api.docs.lucit.tech/changelog.html](https://unicorn-binance-websocket-api.docs.lucit.tech/changelog.html) diff --git a/docs/.buildinfo b/docs/.buildinfo index be6cf0a2a8..25d4f1ce53 100644 --- a/docs/.buildinfo +++ b/docs/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 2378c4895ab8bf9c492f28e3df6cc630 +config: fd133eda891a50821eb39e080c87ce22 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_modules/index.html b/docs/_modules/index.html index 4af468aa42..e66e9d0295 100644 --- a/docs/_modules/index.html +++ b/docs/_modules/index.html @@ -4,7 +4,7 @@
-