Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
193 changes: 193 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,199 @@ twilio-python Changelog

Here you can see the full list of changes between each twilio-python release.

[2026-09-28] Version 9.11.2
---------------------------
**Twiml**
- Add `audio_format` and `sample_rate` to Stream for HDCodec

**Api**
- # API Changes
- ## 2026-09-22
- Simplified the `criteria` field description.
- ## 2026-09-18
- Moved `readOnly` on the snapshot count fields (`profileCount`, `partitionCount`) from the shared schema to the response usage sites, so the counts stay read-only in responses (no change for API consumers).
- ## 2026-09-17
- Renamed 3 `Get*` operations to `Fetch*` to match the operationId standard: `FetchCohort`, `FetchSnapshot`, `FetchOperation`.
- Removed the unused `ExpressionId` schema and made the operation error example cohort-native, so no `aud_` identifiers remain in the spec.
- Kept `libraryVisibility: hidden` across the whole surface (info, path items, and operations).
- ## 2026-09-08
- Removed the deprecated header-based-versioning unified specs, consolidating audiences onto the path-based `api.twilio.com/v1` surface.
- ## 2026-08-31
- Published the unified audiences spec at `api.twilio.com/v1`.
- ## 2026-08-26
- Fixed the Cohort operation response mapping in the unified audiences API.
- ## 2026-08-19
- Migrated the unified audiences spec to the Cohort surface (Audiences renamed to Cohorts).
- Switched `downstreamServiceName` to `audiences-domain`.
- ## 2026-08-05
- Added the `api.unified.version.preview` beta feature.
- Made the unified APIs available in prod us1.
- ## 2026-07-30
- Fixed example values.
- ## 2026-07-29
- Added the initial version of the audiences API to the unified APIs.
- ## 2026-07-20
- Deployed the audiences-domain OAS to the dev edge.
- ## 2026-07-06
- Added the prod-us1 realm to the audiences public API.
- ## 2026-06-23
- Changed the `storeType` enum from `MEMORA` to `TWILIO`.
- ## 2026-05-04
- Added the stage-us1 realm and `x-rate-limit` to the audiences API.
- ## 2026-04-08
- Added the initial audiences endpoints.
- Add `TwimlProcessStatusCallbackEvents` parameter to CreateTwimlProcess endpoint
- Add `twiml_process` resource alongside `twiml_session` (`twiml_session` is deprecated and will be removed in a future release)

**Audiences**
- ## 2026-09-14
- Minor updates (formatting, metadata)
- ## 2026-09-11
- **Content updates**:
- Updated summary for `AdminFetchRecord`
- Updated summary for `AdminFetchCohort`
- Updated summary for `AdminFetchCohortSnapshot`
- Updated summary for `AdminFetchCohortOperation`
- Updated schema description for `ResourceLabels`
- ## 2026-09-22
- **Content updates**:
- Updated schema description for `Criteria`
- ## 2026-09-18
- Minor updates (formatting, metadata)
- ## 2026-09-17
- Minor updates (formatting, metadata)
- ## 2026-09-17
- **Content updates**:
- Updated description for `CreateCohort`
- Updated description for `ListCohortSnapshots`
- Updated description for `CreateCohortSnapshot`
- Updated description for `FetchCohortSnapshot`
- Updated description for `ListCohortSnapshotProfiles`
- Updated schema description for `Criteria`
- Updated schema description for `Cohort`
- Updated schema description for `CohortSnapshot`
- Updated schema description for `CohortOperationResult`
- Updated schema description for `CohortOperation`
- ## 2026-09-15
- Minor updates (formatting, metadata)
- ## 2026-09-14
- **Content updates**:
- Updated summary for `FetchCohort`
- Updated summary for `FetchCohortSnapshot`
- Updated summary for `FetchCohortOperation`
- Updated schema description for `ResourceLabels`

**Capabilities**
- Add a feature-gated preview endpoint to create Capabilities.

**Conversations**
- Add the feature-gated Capabilities list and create endpoints to Conversations v2.

**Data-ingress**
- ## 2026-09-07
- Minor updates (formatting, metadata)
- ## 2026-09-09
- **Added 16 new path(s)**:
- `/v1/DataSyncs/{syncId}` (FetchDataSync)
- `/v1/CloudAppSources/{sourceId}/Objects` (ListCloudAppObjects)
- `/v1/WarehouseSources/{sourceId}/Preview` (CreateWarehousePreview)
- `/v1/WarehouseSources/{sourceId}/Preview/{operationId}` (FetchWarehousePreview)
- `/v1/DataSample/{operationId}` (FetchDataSample)
- `/v1/ControlPlane/CloudAppSources/{sourceId}` (FetchCloudAppSource, PatchCloudAppSource, DeleteCloudAppSource)
- `/v1/ControlPlane/CloudAppSources/{sourceId}/Datasets` (ListCloudAppDatasets, CreateCloudAppDataset)
- `/v1/ControlPlane/CloudAppSources/{sourceId}/Datasets/{datasetId}` (FetchCloudAppDataset, PatchCloudAppDataset, DeleteCloudAppDataset)
- `/v1/ControlPlane/WarehouseSources/{sourceId}` (FetchWarehouseSource, PatchWarehouseSource, DeleteWarehouseSource)
- `/v1/ControlPlane/WarehouseSources/{sourceId}/Datasets` (ListWarehouseDatasets, CreateWarehouseDataset)
- ...and 6 more paths
- **Removed 31 path(s)**:
- `/v1/DataSyncs/{SyncId}` (FetchDataSync)
- `/v1/CloudAppSources/{SourceId}/Objects` (ListCloudAppObjects)
- `/v1/WarehouseSources/{SourceId}/Preview` (CreateWarehousePreview)
- `/v1/WarehouseSources/{SourceId}/Preview/{OperationId}` (FetchWarehousePreview)
- `/v1/DataSample/{OperationId}` (FetchDataSample)
- `/v1/ControlPlane/CloudAppSources/{SourceId}` (FetchCloudAppSource, PatchCloudAppSource, DeleteCloudAppSource)
- `/v1/ControlPlane/CloudAppSources/{SourceId}/Datasets` (ListCloudAppDatasets, CreateCloudAppDataset)
- `/v1/ControlPlane/CloudAppSources/{SourceId}/Datasets/{DatasetId}` (FetchCloudAppDataset, PatchCloudAppDataset, DeleteCloudAppDataset)
- `/v1/ControlPlane/WarehouseSources/{SourceId}` (FetchWarehouseSource, PatchWarehouseSource, DeleteWarehouseSource)
- `/v1/ControlPlane/WarehouseSources/{SourceId}/Datasets` (ListWarehouseDatasets, CreateWarehouseDataset)
- ...and 21 more paths

**Destinations**
- ## 2026-09-24
- **Content updates**:
- Removed `GET` from the `method` enum on the `webhook` destination type's config options
- ## 2026-09-22
- **Content updates**:
- Added `CDP` to the `categories` enum on `DestinationType`
- ## 2026-09-14
- Enable admin APIs for stage-us1 and prod-ie1 realms
- ## 2026-09-11
- **Content updates**:
- Updated description for `CreateDestination`
- Updated description for `UpdateDestination`
- Updated description for `DeleteDestination`
- Updated schema description for `CredentialInput`
- Updated schema description for `DestinationCredentialOptions`
- ## 2026-09-11
- **Content updates**:
- Updated description for `ListDestinationTypes`
- Updated description for `GetDestinationType`
- Updated description for `CreateDestination`
- Updated description for `UpdateDestination`
- ## 2026-09-10
- Made `ListDestinationTypes` and `GetDestinationType` unauthenticated (`security: []`).
- Removed `iamOperation`, `addAuthorizationHeader`, and `betaFeature` from these operations.

**Iam**
- Removed user_context from the POST /v1/actions/post_login (PostLoginActionRequest) webhook payload; the login email is read from authentication_context.methods
- Replaced acr and completed_factors with authentication_context (acr, amr, methods) on the POST /v1/actions/post_login (PostLoginActionRequest) webhook payload
- Made request_context and request_context.ip_address required on the POST /v1/actions/post_login (PostLoginActionRequest) webhook payload

**Intelligence**
- Added optional `rule.operators[]` parameter override field to `POST /v3/RuleExecutions
- Change Summary in `POST /v3/RuleExecutions`

**Knowledge**
- ## 2026-09-23
- **Content updates**:
- Added properties to `WebSourceDetails`: errors
- **Routing updates**:
- Changed `downstreamServiceName` from `memora-domain` to `enterprise-knowledge-domain` for all operations

**Memory**
- ## 2026-09-18
- **Added 2 new path(s)**:
- `/v1/ControlPlane/TraitExtractionStrategies` (AdminListTraitExtractionStrategies)
- `/v1/ControlPlane/TraitExtractionStrategies/{traitStrategyId}` (AdminFetchTraitExtractionStrategy)
- ## 2026-09-03
- No path changes (schema description only)
- Clarified the `DataMappingCore` description: the PATCH body requires at least one field.
- ## 2026-09-10
- **Added 2 new path(s)** for Observation Extraction Strategies:
- `/v1/ControlPlane/ObservationExtractionStrategies` (ListObservationExtractionStrategies, CreateObservationExtractionStrategy)
- `/v1/ControlPlane/ObservationExtractionStrategies/{observationExtractionStrategyId}` (FetchObservationExtractionStrategy, UpdateObservationExtractionStrategy, DeleteObservationExtractionStrategy)
- **Content updates**:
- Updated `CreateObservationExtractionStrategyInput` description to document that at least one of `allowedCategories`/`prohibitedCategories` must be provided with a non-empty list
- ## 2026-09-07
- **Added 1 new path(s)** for Profile:
- `/v1/Stores/{storeId}/Profiles/BulkDeletions` (CreateProfilesBulkDeletion)
- ## 2026-09-03
- `UpdateStore`, `UpdateTraitGroup`, `UpdateDataMapping`, and `UpdateTraitExtractionStrategy` now require a body with at least one property. An empty `{}` gets a 400.

**Routes**
- Add `GET`/`POST` `/v3/ShortCodes/{isoCountryCode}/{shortCode}` to assign and fetch the Inbound Processing Region for short codes

**Verify**
- Add `aaguid` and `date_last_approved` to passkeys factors `metadata`.

**Voice**
- Add typed Recording AccountDefaultConfiguration public API endpoints.

**Webhooks**
- ## 2026-09-24
- **Changed**: `GET /v1/Webhooks/Settings` now documents each item as the full `Setting` rather than `SettingSummary`, adding `auth`, `signature`, `connection` and `edgeZones` to the list response. The service already returned these fields; only the schema understated them. Additive for consumers — no field is removed or renamed. The now-unreferenced `SettingSummary` schema is removed.


[2026-09-09] Version 9.11.1
---------------------------
**Library - Fix**
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name="twilio",
version="9.11.1",
version="9.11.2",
description="Twilio API client and TwiML generator",
author="Twilio",
help_center="https://www.twilio.com/help/contact",
Expand Down
2 changes: 1 addition & 1 deletion twilio/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = ("9", "11", "1")
__version_info__ = ("9", "11", "2")
__version__ = ".".join(__version_info__)
Loading
Loading