Merge pull request #8 from remnawave:development

Update SDK version to 2.1.9 and add vless_route_id field
This commit is contained in:
Artem 2025-09-10 01:16:37 +02:00 committed by GitHub
commit da6add4f6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 3 deletions

View file

@ -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 |

View file

@ -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"}
]

View file

@ -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