UPGRADE.md
All MAJOR version bumps will have upgrade notes posted here.
Twilio Node Helper Library’s major version 6.0.0 is now available. We ensured that you can upgrade to Node Helper Library 6.0.0 version without any breaking changes to existing APIs.
twilio 6.x.xBehind the scenes Node Helper is now auto-generated via OpenAPI with this release. This enables us to rapidly add new features and enhance consistency across versions and languages. We're pleased to inform you that version 5.0.0 adds support for the application/json content type in the request body.
Supported Node.js versions updated
Lazy loading enabled by default (#752)
Type changes from object to Record (#873)
Record type with string keyssubresourceUris property for v2010 APIs and the links properties for non-v2010 APIsAccess Tokens
identity in the options (#875)ConversationsGrant has been deprecated in favor of VoiceGrant (#783)IpMessagingGrant has been removed (#784)TwiML function deprecations (#788)
<Refer>
Refer.referSip() replaced by Refer.sip()<Say>
Say.ssmlBreak() and Say.break_() replaced by Say.break()
Say.ssmlEmphasis() replaced by Say.emphasis()
Say.ssmlLang() replaced by Say.lang()
Say.ssmlP() replaced by Say.p()
Say.ssmlPhoneme() replaced by Say.phoneme()
Say.ssmlProsody() replaced by Say.prosody()
Say.ssmlS() replaced by Say.s()
Say.ssmlSayAs() replaced by Say.sayAs()
Say.ssmlSub() replaced by Say.sub()
Say.ssmlW() replaced by Say.w()
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()
GET /v1/Workspaces/{WorkspaceSid}/Workers/RealTimeStatistics
Old: client.taskrouter.v1.workspaces('WS...').workers('WK...).realTimeStatistics()
New: client.taskrouter.v1.workspaces('WS...').workers.realTimeStatistics()
Recordings class to RoomRecordings