Change8

9.6.3

Breaking Changes
📦 twilio-sdk
2 breaking1 features🐛 4 fixes🔧 8 symbols

Summary

This release updates several API types, including date formats for DependentPhoneNumber and default values for Recordings channels, alongside minor fixes across Serverless, Verify, and TwiML features.

⚠️ Breaking Changes

  • The type for `capabilities` in DependentPhoneNumber has changed from `object` to a different, unspecified type (implied by the change to `date_time<rfc2822>` for other fields). Users relying on the previous structure for `capabilities` may need to update their parsing logic.
  • The type for `date_created` and `date_updated` in DependentPhoneNumber has changed to `date_time<rfc2822>`. Code expecting a different format (like standard string or datetime object) might need adjustment.

Migration Steps

  1. Review usage of DependentPhoneNumber fields (`capabilities`, `date_created`, `date_updated`) to ensure compatibility with the new `date_time<rfc2822>` format for date fields.
  2. If using the Recordings Resource `channels` property, note that the default value is now 1 instead of 0.

✨ New Features

  • Added support for `us2` as a supported value for the `region` attribute in the TwiML `<Conference>` noun.

🐛 Bug Fixes

  • Updated the default value for the `channels` property in the Recordings Resource from 0 to 1.
  • Updated the `ienum` type level in the Serverless Logs API.
  • Updated the Channel list in the Verify Attempts API.
  • Updated the `ienum` type for `Conversion_Status` in the Verify Attempts API.

🔧 Affected Symbols

DependentPhoneNumber.capabilitiesDependentPhoneNumber.date_createdDependentPhoneNumber.date_updatedRecordings Resource.channelsServerless Logs api ienum typeVerify Attempst API Channel listVerify Attempts API Conversion_Status ienum type<Conference> TwiML noun region attribute