Skip to content

Commit

Permalink
remove max length constraint in Voice API for webhook URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkahan committed Dec 5, 2024
1 parent 658049e commit 642401d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions voice/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.1.1
- Remove maximum webhook uri length constraint

# 1.1.0
- Add `Voice.get_recording` method to get call recordings
- Add `Voice.verify_signature` method to expose the verification functionality from `vonage-jwt`
Expand Down
2 changes: 1 addition & 1 deletion voice/src/vonage_voice/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.0'
__version__ = '1.1.1'
2 changes: 1 addition & 1 deletion voice/src/vonage_voice/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Websocket(BaseModel):
headers (Optional[dict]): The headers to include with the WebSocket connection.
"""

uri: str = Field(..., min_length=1, max_length=50)
uri: str = Field(..., min_length=1)
content_type: Literal['audio/l16;rate=8000', 'audio/l16;rate=16000'] = Field(
'audio/l16;rate=16000', serialization_alias='content-type'
)
Expand Down
3 changes: 3 additions & 0 deletions vonage/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 4.1.2
- Remove max length constraint in Voice API for webhook URIs

# 4.1.1
- Include new package versions

Expand Down
2 changes: 1 addition & 1 deletion vonage/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = [
"vonage-verify>=2.1.0",
"vonage-verify-legacy>=1.0.1",
"vonage-video>=1.0.4",
"vonage-voice>=1.1.0",
"vonage-voice>=1.1.1",
]
classifiers = [
"Programming Language :: Python",
Expand Down
2 changes: 1 addition & 1 deletion vonage/src/vonage/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '4.1.1'
__version__ = '4.1.2'

0 comments on commit 642401d

Please sign in to comment.