diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 587be153..01f5133b 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 098fed5f..02f6ff4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 3.3.1 - 2023-08-23 + +### Changed +- Add missing enum values in the `User Universal Transfer` endpoint + ## 3.3.0 - 2023-08-07 ### Changed diff --git a/binance/__version__.py b/binance/__version__.py index 88c513ea..ff041687 100644 --- a/binance/__version__.py +++ b/binance/__version__.py @@ -1 +1 @@ -__version__ = "3.3.0" +__version__ = "3.3.1" diff --git a/binance/lib/enums.py b/binance/lib/enums.py index e0ed626e..21aac553 100644 --- a/binance/lib/enums.py +++ b/binance/lib/enums.py @@ -13,10 +13,10 @@ class TransferType(AutoName): UMFUTURE_MAIN = auto() UMFUTURE_MARGIN = auto() CMFUTURE_MAIN = auto() - CMFUTURE_MARGIN = auto() MARGIN_MAIN = auto() MARGIN_UMFUTURE = auto() MARGIN_CMFUTURE = auto() + CMFUTURE_MARGIN = auto() ISOLATEDMARGIN_MARGIN = auto() MARGIN_ISOLATEDMARGIN = auto() ISOLATEDMARGIN_ISOLATEDMARGIN = auto() @@ -28,3 +28,15 @@ class TransferType(AutoName): FUNDING_MARGIN = auto() FUNDING_CMFUTURE = auto() CMFUTURE_FUNDING = auto() + MAIN_OPTION = auto() + OPTION_MAIN = auto() + UMFUTURE_OPTION = auto() + OPTION_UMFUTURE = auto() + MARGIN_OPTION = auto() + OPTION_MARGIN = auto() + FUNDING_OPTION = auto() + OPTION_FUNDING = auto() + MAIN_PORTFOLIO_MARGIN = auto() + PORTFOLIO_MARGIN_MAIN = auto() + MAIN_ISOLATED_MARGIN = auto() + ISOLATED_MARGIN_MAIN = auto() diff --git a/docs/source/CHANGELOG.rst b/docs/source/CHANGELOG.rst index 3ec5308a..5b528518 100644 --- a/docs/source/CHANGELOG.rst +++ b/docs/source/CHANGELOG.rst @@ -2,6 +2,15 @@ Changelog ========= +3.3.1 - 2023-08-23 +------------------ + +Changed +^^^^^^^ + +* Add missing enum values in the ``User Universal Transfer`` endpoint + + 3.3.0 - 2023-08-07 ------------------