All MAJOR
version bumps will have upgrade notes posted here.
- Supported Node.js versions updated
- Lazy loading enabled by default (#752)
- Required Twilio modules now lazy load by default
- See the README for how to disable lazy loading
- JWT token building deprecations
- TwiML function deprecations (#788)
Refer.referSip()
replaced byRefer.sip()
ssmlBreak()
replaced bybreak_()
ssmlEmphasis()
replaced byemphasis()
ssmlLang()
replaced bylang()
ssmlP()
replaced byp()
ssmlPhoneme()
replaced byphoneme()
ssmlProsody()
replaced byprosody()
ssmlS()
replaced bys()
ssmlSayAs()
replaced bysayAs()
ssmlSub()
replaced bysub()
ssmlW()
replaced byw()
- Old:
const response = new VoiceResponse(); const say = response.say("Hello"); say.ssmlEmphasis("you");
- New:
const response = new VoiceResponse(); const say = response.say("Hello"); say.emphasis("you");
- TaskRouter Workers Statistics operations updated (#820)
- Cumulative and Real-Time Workers Statistics no longer accept a WorkerSid
GET /v1/Workspaces/{WorkspaceSid}/Workers/CumulativeStatistics
- Old:
client.taskrouter.v1.workspaces('WS...').workers('WK...).cumulativeStatistics()
- New:
client.taskrouter.v1.workspaces('WS...').workers.cumulativeStatistics()
- Old:
GET /v1/Workspaces/{WorkspaceSid}/Workers/RealTimeStatistics
- Old:
client.taskrouter.v1.workspaces('WS...').workers('WK...).realTimeStatistics()
- New:
client.taskrouter.v1.workspaces('WS...').workers.realTimeStatistics()
- Old:
- This was done to avoid a class name conflict with another resource.
- Client code should be unaffected unless you manipulate the Recording/RoomRecordings class directly. Accessing room recording metadata via the client should work the same way as before.