Skip to content

Commit 74e0e5d

Browse files
2.8.0 RC1
1 parent da3e2dd commit 74e0e5d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2257
-2213
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
generate_release_notes: true
9191
name: unicorn-binance-websocket-api
9292
prerelease: false
93-
tag_name: 2.7.2
93+
tag_name: 2.8.0
9494
token: ${{ secrets.GITHUB_TOKEN }}
9595

9696
- name: Create PyPi Release

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
99

1010
[How to upgrade to the latest version!](https://unicorn-binance-websocket-api.docs.lucit.tech/readme.html#installation-and-upgrade)
1111

12-
## 2.7.2.dev (development stage/unreleased/unstable)
12+
## 2.8.0.dev (development stage/unreleased/unstable)
13+
14+
## 2.8.0
1315
### Added
1416
- `clear_asyncio_queue()`
1517
### Changed
1618
- Made the logic of `is_exchange_type()` better readable.
19+
- Type of parameter `stream_buffer_name` in all methods.
1720
### Fixed
18-
- `get_latest_version()` KeyError
21+
- `get_latest_version()` KeyError.
22+
### Removed
23+
- Obsolete import `from __future__ import print_function` in `sockets.py`.
1924

2025
## 2.7.2
2126
### Fixed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,10 +486,10 @@ Run in bash:
486486
`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`
487487

488488
#### Windows
489-
Use the below command with the version (such as 2.7.2) you determined
489+
Use the below command with the version (such as 2.8.0) you determined
490490
[here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest):
491491

492-
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.7.2.tar.gz --upgrade`
492+
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.0.tar.gz --upgrade`
493493
### From the latest source (dev-stage) with PIP from [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api)
494494
This is not a release version and can not be considered to be stable!
495495

dev/set_version_config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
2.7.2
1+
2.8.0
22
meta.yaml,pyproject.toml,setup.py,README.md,.github/workflows/build_wheels.yml,dev/sphinx/source/conf.py,unicorn_binance_websocket_api/manager.py

dev/sphinx/source/changelog.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
99

1010
[How to upgrade to the latest version!](https://unicorn-binance-websocket-api.docs.lucit.tech/readme.html#installation-and-upgrade)
1111

12-
## 2.7.2.dev (development stage/unreleased/unstable)
12+
## 2.8.0.dev (development stage/unreleased/unstable)
13+
14+
## 2.8.0
15+
### Added
16+
- `clear_asyncio_queue()`
17+
### Changed
18+
- Made the logic of `is_exchange_type()` better readable.
19+
- Type of parameter `stream_buffer_name` in all methods.
20+
### Fixed
21+
- `get_latest_version()` KeyError.
22+
### Removed
23+
- Obsolete import `from __future__ import print_function` in `sockets.py`.
1324

1425
## 2.7.2
1526
### Fixed

dev/sphinx/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# The short X.Y version
2828
version = ''
2929
# The full version, including alpha/beta/rc tags
30-
release = '2.7.2'
30+
release = '2.8.0'
3131

3232
html_last_updated_fmt = "%b %d %Y at %H:%M (CET)"
3333

dev/sphinx/source/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,10 +486,10 @@ Run in bash:
486486
`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`
487487

488488
#### Windows
489-
Use the below command with the version (such as 2.7.2) you determined
489+
Use the below command with the version (such as 2.8.0) you determined
490490
[here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest):
491491

492-
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.7.2.tar.gz --upgrade`
492+
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.0.tar.gz --upgrade`
493493
### From the latest source (dev-stage) with PIP from [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api)
494494
This is not a release version and can not be considered to be stable!
495495

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 2388cf749599782cc97e4320c09ba519
3+
config: 2378c4895ab8bf9c492f28e3df6cc630
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_modules/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Overview: module code &#8212; unicorn-binance-websocket-api 2.7.2 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Overview: module code &#8212; unicorn-binance-websocket-api 2.8.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
88

99
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=92fd9be5" />
1010
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=fdf8e9ae" />
@@ -254,7 +254,7 @@ <h3>Navigation</h3>
254254
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
255255
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
256256
See <a href="/license.html">License</a> for more information.<br />
257-
Last updated on May 15 2024 at 09:17 (CET).
257+
Last updated on May 16 2024 at 22:48 (CET).
258258
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
259259
<br />
260260
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.

docs/_modules/unicorn_binance_websocket_api/api.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>unicorn_binance_websocket_api.api &#8212; unicorn-binance-websocket-api 2.7.1 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>unicorn_binance_websocket_api.api &#8212; unicorn-binance-websocket-api 2.8.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
88

99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=92fd9be5" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/pydoctheme.css?v=fdf8e9ae" />
@@ -146,6 +146,7 @@ <h3>Navigation</h3>
146146
<h1>Source code for unicorn_binance_websocket_api.api</h1><div class="highlight"><pre>
147147
<span></span><span class="ch">#!/usr/bin/env python3</span>
148148
<span class="c1"># -*- coding: utf-8 -*-</span>
149+
<span class="c1"># ¯\_(ツ)_/¯</span>
149150
<span class="c1">#</span>
150151
<span class="c1"># File: unicorn_binance_websocket_api/api.py</span>
151152
<span class="c1">#</span>
@@ -170,6 +171,7 @@ <h1>Source code for unicorn_binance_websocket_api.api</h1><div class="highlight"
170171
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Literal</span>
171172
<span class="k">except</span> <span class="ne">ImportError</span><span class="p">:</span>
172173
<span class="kn">from</span> <span class="nn">typing_extensions</span> <span class="kn">import</span> <span class="n">Literal</span>
174+
173175
<span class="kn">import</span> <span class="nn">copy</span>
174176
<span class="kn">import</span> <span class="nn">logging</span>
175177
<span class="kn">import</span> <span class="nn">threading</span>
@@ -2239,7 +2241,7 @@ <h3>Navigation</h3>
22392241
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
22402242
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
22412243
See <a href="/license.html">License</a> for more information.<br />
2242-
Last updated on May 14 2024 at 21:10 (CET).
2244+
Last updated on May 16 2024 at 22:48 (CET).
22432245
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
22442246
<br />
22452247
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.

docs/_modules/unicorn_binance_websocket_api/connection.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>unicorn_binance_websocket_api.connection &#8212; unicorn-binance-websocket-api 2.7.1 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>unicorn_binance_websocket_api.connection &#8212; unicorn-binance-websocket-api 2.8.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
88

99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=92fd9be5" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/pydoctheme.css?v=fdf8e9ae" />
@@ -146,6 +146,7 @@ <h3>Navigation</h3>
146146
<h1>Source code for unicorn_binance_websocket_api.connection</h1><div class="highlight"><pre>
147147
<span></span><span class="ch">#!/usr/bin/env python3</span>
148148
<span class="c1"># -*- coding: utf-8 -*-</span>
149+
<span class="c1"># ¯\_(ツ)_/¯</span>
149150
<span class="c1">#</span>
150151
<span class="c1"># File: unicorn_binance_websocket_api/connection.py</span>
151152
<span class="c1">#</span>
@@ -166,13 +167,15 @@ <h1>Source code for unicorn_binance_websocket_api.connection</h1><div class="hig
166167

167168
<span class="kn">from</span> <span class="nn">.exceptions</span> <span class="kn">import</span> <span class="o">*</span>
168169
<span class="kn">from</span> <span class="nn">urllib.parse</span> <span class="kn">import</span> <span class="n">urlparse</span>
170+
169171
<span class="kn">import</span> <span class="nn">asyncio</span>
170172
<span class="kn">import</span> <span class="nn">copy</span>
171173
<span class="kn">import</span> <span class="nn">logging</span>
172174
<span class="kn">import</span> <span class="nn">socks</span> <span class="c1"># PySocks https://pypi.org/project/PySocks/</span>
173175
<span class="kn">import</span> <span class="nn">sys</span>
174176
<span class="kn">import</span> <span class="nn">websockets</span>
175177

178+
176179
<span class="n">__logger__</span><span class="p">:</span> <span class="n">logging</span><span class="o">.</span><span class="n">getLogger</span> <span class="o">=</span> <span class="n">logging</span><span class="o">.</span><span class="n">getLogger</span><span class="p">(</span><span class="s2">&quot;unicorn_binance_websocket_api&quot;</span><span class="p">)</span>
177180

178181
<span class="n">logger</span> <span class="o">=</span> <span class="n">__logger__</span>
@@ -466,7 +469,7 @@ <h3>Navigation</h3>
466469
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
467470
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
468471
See <a href="/license.html">License</a> for more information.<br />
469-
Last updated on May 14 2024 at 21:10 (CET).
472+
Last updated on May 16 2024 at 22:48 (CET).
470473
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
471474
<br />
472475
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.

docs/_modules/unicorn_binance_websocket_api/exceptions.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>unicorn_binance_websocket_api.exceptions &#8212; unicorn-binance-websocket-api 2.7.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>unicorn_binance_websocket_api.exceptions &#8212; unicorn-binance-websocket-api 2.8.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
88

99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=92fd9be5" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/pydoctheme.css?v=fdf8e9ae" />
@@ -146,6 +146,7 @@ <h3>Navigation</h3>
146146
<h1>Source code for unicorn_binance_websocket_api.exceptions</h1><div class="highlight"><pre>
147147
<span></span><span class="ch">#!/usr/bin/env python3</span>
148148
<span class="c1"># -*- coding: utf-8 -*-</span>
149+
<span class="c1"># ¯\_(ツ)_/¯</span>
149150
<span class="c1">#</span>
150151
<span class="c1"># File: unicorn_binance_websocket_api/exception.py</span>
151152
<span class="c1">#</span>
@@ -340,7 +341,7 @@ <h3>Navigation</h3>
340341
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
341342
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
342343
See <a href="/license.html">License</a> for more information.<br />
343-
Last updated on May 12 2024 at 11:04 (CET).
344+
Last updated on May 16 2024 at 22:48 (CET).
344345
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
345346
<br />
346347
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.

0 commit comments

Comments
 (0)