Skip to content

Commit da6add4

Browse files
authored
Merge pull request #8 from remnawave:development
Update SDK version to 2.1.9 and add vless_route_id field
2 parents b066019 + 23bba3e commit da6add4

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ pip install git+https://github.com/remnawave/python-sdk.git@development
6363

6464
| Contract Version | Remnawave Panel Version |
6565
| ---------------- | ----------------------- |
66-
| 2.1.8 | >=2.1.8 |
66+
| 2.1.9 | >=2.1.9 |
67+
| 2.1.8 | ==2.1.8 |
6768
| 2.1.7.post1 | ==2.1.7 |
6869
| 2.1.4 | >=2.1.4, <2.1.7 |
6970
| 2.1.1 | >=2.1.1, <2.1.4 |

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "remnawave"
3-
version = "2.1.8"
4-
description = "A Python SDK for interacting with the Remnawave API v2.1.8."
3+
version = "2.1.9"
4+
description = "A Python SDK for interacting with the Remnawave API v2.1.9."
55
authors = [
66
{name = "Artem",email = "[email protected]"}
77
]

remnawave/models/hosts.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ class UpdateHostRequestDto(BaseModel):
6161
None,
6262
serialization_alias="overrideSniFromAddress",
6363
)
64+
vless_route_id: Optional[int] = Field(
65+
None,
66+
serialization_alias="vlessRouteId",
67+
ge=0,
68+
le=65535
69+
)
6470

6571

6672
class HostInboundData(BaseModel):
@@ -114,6 +120,10 @@ class HostResponseDto(BaseModel):
114120
None,
115121
serialization_alias="overrideSniFromAddress",
116122
)
123+
vless_route_id: Optional[int] = Field(
124+
None,
125+
serialization_alias="vlessRouteId",
126+
)
117127

118128
# Legacy compatibility property
119129
@property
@@ -210,6 +220,12 @@ class CreateHostRequestDto(BaseModel):
210220
server_description: Optional[str] = Field(
211221
None, alias="serverDescription", max_length=30
212222
)
223+
vless_route_id: Optional[int] = Field(
224+
None,
225+
serialization_alias="vlessRouteId",
226+
ge=0,
227+
le=65535
228+
)
213229

214230
# Legacy compatibility property
215231
@property

0 commit comments

Comments
 (0)