You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,21 @@ All notable changes to the **Sinch Python SDK** are documented in this file.
16
16
17
17
---
18
18
19
+
## v2.1.0 – 2026-06-05
20
+
21
+
### SDK
22
+
23
+
-**[dependency]** Set up minimum version for `requests` to `>=2.0.0` to prevent pulling in versions with known vulnerabilities (#152).
24
+
25
+
26
+
### SMS
27
+
28
+
-**[feature]** SMS Groups API: `create`, `list`, `get`, `update`, `replace`, `delete`, and `list_members` operations, with full model, endpoint, and unit test coverage (see [MIGRATION_GUIDE.md](MIGRATION_GUIDE.md#groups-api)).
29
+
-**[feature]** SMS Inbounds API: `get` and `list` operations, with full model, endpoint, and unit test coverage (see [MIGRATION_GUIDE.md](MIGRATION_GUIDE.md#inbounds-api)).
30
+
-**[design]** SMS Sinch Events inbound payload models unified with the Inbounds API: `MOTextSinchEvent`, `MOBinarySinchEvent`, `MOMediaSinchEvent`, `MediaBody`, and `MediaItem` removed from `sinch_events`; use `InboundMessage` (and its variants) from `sinch.domains.sms.models.v1.types` instead (see [MIGRATION_GUIDE.md](MIGRATION_GUIDE.md#sms-sinch-events)).
Copy file name to clipboardExpand all lines: MIGRATION_GUIDE.md
+68-4Lines changed: 68 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Sinch Python SDK Migration Guide
2
2
3
-
## 2.0.0
3
+
## 2.1.0
4
4
5
5
This release removes legacy SDK support.
6
6
@@ -205,9 +205,7 @@ The Conversation HTTP API still expects the JSON field **`callback_url`**. In V2
205
205
206
206
#### Replacement APIs
207
207
208
-
The SMS domain API access remains the same: `sinch.sms.batches` and `sinch.sms.delivery_reports`. However, the underlying models and method signatures have changed.
209
-
210
-
Note that `sinch.sms.groups` and `sinch.sms.inbounds` are not supported yet and will be available in future minor versions.
208
+
The SMS domain API access remains the same: `sinch.sms.batches`, `sinch.sms.delivery_reports`, `sinch.sms.inbounds` and `sinch.sms.groups`. However, the underlying models and method signatures have changed. See the sections below for the full list of changes: [Batches](#batches-api), [Delivery Reports](#delivery-reports-api), [Groups](#groups-api), [Inbounds](#inbounds-api).
211
209
212
210
##### Batches API
213
211
@@ -230,6 +228,71 @@ Note that `sinch.sms.groups` and `sinch.sms.inbounds` are not supported yet and
230
228
|`get_for_batch()` with `GetSMSDeliveryReportForBatchRequest`|`get()` with `batch_id: str` and optional parameters: `report_type`, `status`, `code`, `client_reference`|
231
229
|`get_for_number()` with `GetSMSDeliveryReportForNumberRequest`|`get_for_number()` with `batch_id: str` and `recipient: str` parameters |
|`create()` with `CreateSMSGroupRequest`|`create()` with individual parameters: `name`, `members`, `child_groups`, `auto_update`|
257
+
|`list()` with `ListSMSGroupRequest`|`list()` with individual parameters: `page`, `page_size`. Returns **`Paginator[GroupResponse]`**|
258
+
|`get()` with `GetSMSGroupRequest`|`get()` with `group_id: str` parameter |
259
+
|`update()` with `UpdateSMSGroupRequest`|`update()` with `group_id: str` and optional parameters: `add`, `remove`, `name`, `add_from_group`, `remove_from_group`, `auto_update`|
260
+
|`replace()` with `ReplaceSMSGroupPhoneNumbersRequest`|`replace()` with `group_id: str` and optional parameters: `name`, `members`, `child_groups`, `auto_update`|
261
+
|`delete()` with `DeleteSMSGroupRequest`|`delete()` with `group_id: str` parameter |
262
+
|`get_phone_numbers()` / phone number listing |`list_members()` with `group_id: str`. Returns **`Paginator[str]`**|
|`sinch.domains.sms.sinch_events.v1.events.MediaBody`| Embedded in `MOMediaMessage`|
292
+
|`sinch.domains.sms.sinch_events.v1.events.MediaItem`| Embedded in `MOMediaMessage`|
293
+
294
+
`IncomingSMSSinchEvent` is now a type alias for [`InboundMessage`](sinch/domains/sms/models/v1/types/inbound_message.py) (discriminated union of `MOTextMessage`, `MOBinaryMessage`, `MOMediaMessage`). Code that previously type-checked against `MOTextSinchEvent` and siblings should switch to their `MO*Message` equivalents.
0 commit comments