Change8

9.11.0

Breaking Changes
📦 twilio-sdkView on GitHub →
4 breaking14 features🐛 1 fixes1 deprecations🔧 63 symbols

Summary

This release includes several API updates, including new paths for data ingress, signals, and control plane operations, alongside bug fixes and the removal of AI Assistant related features.

⚠️ Breaking Changes

  • Removed `<Assistant>` noun from `<Connect>` verb as part of the AI Assistants deprecation.
  • Removed 1 API path: `/v1/DataQuery` (Realtime DataQuery).
  • Removed 16 path(s) related to DataSyncs, CloudAppSources, WarehouseSources, and ControlPlane operations.
  • Removed 16 path(s) related to DataSyncs, CloudAppSources, WarehouseSources, and ControlPlane operations (duplicate entry).

Migration Steps

  1. Remove usage of the `<Assistant>` noun from the `<Connect>` verb if you are using AI Assistants.

✨ New Features

  • Added `passports` attribute to `<Dial>` verb for SHAKEN/STIR passport passthrough.
  • Added `SuppressEmailNotification` parameter to Secondary Auth Token and Auth Token promotion endpoints to suppress email notifications.
  • Added SMS Pumping Protection GET and POST API.
  • Added missing `uri` property to the `twiml_session` resource.
  • Added 1 new API path (data plane): `/v1/DataQuery` (Realtime DataQuery).
  • Added properties to `OAuthJWTBearerCredentials`: `privateKey`, `privateKeyPassphrase`.
  • Added 16 new path(s) for DataSyncs, CloudAppSources, WarehouseSources, and ControlPlane operations.
  • Added 3 new Signal API path(s) for public exposure (data plane): `/v1/EventSources/{sourceId}/Signals`, `/v1/EventSources/{sourceId}/Signals/{signalKey}`, `/v1/EventSources/{sourceId}/SignalStats`.
  • Added new Signal API schemas: Signal, SignalListResponse, HourlyStats, SignalStatsResponse.
  • Added 12 new path(s) for public exposure related to EventSources and AutoInstrumentationRule.
  • Added new schemas: EventSource, EventSourceCreate, EventSourceUpdate, WriteKey, WriteKeyCreate, EventSourceDataset, EventSourceDatasetCreate, EventSourceDatasetUpdate, EventSchema, EventSchemaCreate, EventSchemaUpdate, EventSchemaField, EventSchemaProperty, AutoInstrumentationRule, AutoInstrumentationRuleCreate, AutoInstrumentationRuleUpdate, AutoInstrumentationRuleVersion, AutoInstrumentationRuleVersionsResponse.
  • Added 16 new path(s) for DataSyncs, CloudAppSources, WarehouseSources, and ControlPlane operations (duplicate entry).
  • Initial public Rest Proxy registration for the User Data Deletions API (`POST` / `GET /v1/UserDataDeletions`, `GET /v1/UserDataDeletions/{deletionId}`, `GET /v1/Operations/{operationId}`).
  • Added 3 new path(s): `/v1/Catalog/DestinationSupportedEventTypes`, `/v1/ControlPlane/Subscriptions/{subscriptionId}/EventTypes`.

🐛 Bug Fixes

  • Mocked HTTP session in TestUserAgentClients to avoid live network calls.

Affected Symbols

twilio_python/pull/929<Connect><Assistant><Dial>Secondary Auth Token promotion endpointsAuth Token promotion endpointsai workbench apistwiml_session resource/v1/DataQueryOAuthJWTBearerCredentials/v1/DataSyncs/{syncId}/v1/CloudAppSources/{sourceId}/Objects/v1/WarehouseSources/{sourceId}/Preview/v1/WarehouseSources/{sourceId}/Preview/{operationId}/v1/DataSample/{operationId}/v1/ControlPlane/CloudAppSources/{sourceId}/v1/ControlPlane/CloudAppSources/{sourceId}/Datasets/v1/ControlPlane/CloudAppSources/{sourceId}/Datasets/{datasetId}/v1/ControlPlane/WarehouseSources/{sourceId}/v1/ControlPlane/WarehouseSources/{sourceId}/Datasets/v1/EventSources/{sourceId}/Signals/v1/EventSources/{sourceId}/Signals/{signalKey}/v1/EventSources/{sourceId}/SignalStatsSignalSignalListResponseHourlyStatsSignalStatsResponse/v1/ControlPlane/EventSources/v1/ControlPlane/EventSources/{SourceId}/v1/ControlPlane/EventSources/{SourceId}/WriteKeys/v1/ControlPlane/EventSources/{SourceId}/WriteKeys/{WriteKey}/v1/ControlPlane/EventSources/{SourceId}/Datasets/v1/ControlPlane/EventSources/{SourceId}/Datasets/{DatasetId}/v1/ControlPlane/EventSources/{SourceId}/EventSchemas/v1/ControlPlane/EventSources/{SourceId}/EventSchemas/{SchemaId}/v1/ControlPlane/AutoInstrumentationRule/v1/ControlPlane/AutoInstrumentationRule/{AutoInstrumentationRuleId}/v1/ControlPlane/AutoInstrumentationRule/{AutoInstrumentationRuleId}/Versions/v1/ControlPlane/AutoInstrumentationRule/{AutoInstrumentationRuleId}/Versions/{Version}EventSourceEventSourceCreateEventSourceUpdateWriteKeyWriteKeyCreateEventSourceDatasetEventSourceDatasetCreateEventSourceDatasetUpdateEventSchemaEventSchemaCreateEventSchemaUpdateEventSchemaFieldEventSchemaPropertyAutoInstrumentationRuleAutoInstrumentationRuleCreateAutoInstrumentationRuleUpdateAutoInstrumentationRuleVersionAutoInstrumentationRuleVersionsResponse/v1/UserDataDeletions/v1/UserDataDeletions/{deletionId}/v1/Operations/{operationId}ListDestinationSupportedEventTypes/v1/Catalog/DestinationSupportedEventTypes/v1/ControlPlane/Subscriptions/{subscriptionId}/EventTypes

⚡ Deprecations

  • AI Assistants are being deprecated, leading to the removal of the `<Assistant>` noun from the `<Connect>` verb.