From 23bba3e8ff7adeeca5db33d2449d353ecab54e55 Mon Sep 17 00:00:00 2001 From: Artem Date: Wed, 10 Sep 2025 01:16:19 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8E=20SDK=20?= =?UTF-8?q?=D0=B4=D0=BE=202.1.9,=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D0=BF=D0=BE=D0=BB=D0=B5=20vless=5Froute=5Fid=20?= =?UTF-8?q?=D0=B2=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D1=81=D0=BE=D0=B2=20=D0=B8=20=D0=BE=D1=82?= =?UTF-8?q?=D0=B2=D0=B5=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- pyproject.toml | 4 ++-- remnawave/models/hosts.py | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fcb153c..00c16ea 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,8 @@ pip install git+https://github.com/remnawave/python-sdk.git@development | Contract Version | Remnawave Panel Version | | ---------------- | ----------------------- | -| 2.1.8 | >=2.1.8 | +| 2.1.9 | >=2.1.9 | +| 2.1.8 | ==2.1.8 | | 2.1.7.post1 | ==2.1.7 | | 2.1.4 | >=2.1.4, <2.1.7 | | 2.1.1 | >=2.1.1, <2.1.4 | diff --git a/pyproject.toml b/pyproject.toml index 9e8294e..4b038be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "remnawave" -version = "2.1.8" -description = "A Python SDK for interacting with the Remnawave API v2.1.8." +version = "2.1.9" +description = "A Python SDK for interacting with the Remnawave API v2.1.9." authors = [ {name = "Artem",email = "dev@forestsnet.com"} ] diff --git a/remnawave/models/hosts.py b/remnawave/models/hosts.py index 241aed5..a638627 100644 --- a/remnawave/models/hosts.py +++ b/remnawave/models/hosts.py @@ -61,6 +61,12 @@ class UpdateHostRequestDto(BaseModel): None, serialization_alias="overrideSniFromAddress", ) + vless_route_id: Optional[int] = Field( + None, + serialization_alias="vlessRouteId", + ge=0, + le=65535 + ) class HostInboundData(BaseModel): @@ -114,6 +120,10 @@ class HostResponseDto(BaseModel): None, serialization_alias="overrideSniFromAddress", ) + vless_route_id: Optional[int] = Field( + None, + serialization_alias="vlessRouteId", + ) # Legacy compatibility property @property @@ -210,6 +220,12 @@ class CreateHostRequestDto(BaseModel): server_description: Optional[str] = Field( None, alias="serverDescription", max_length=30 ) + vless_route_id: Optional[int] = Field( + None, + serialization_alias="vlessRouteId", + ge=0, + le=65535 + ) # Legacy compatibility property @property