The non-secure script link does not validate Sub-Resource Integrity but will download bug fix releases automatically.
The secure link provides cryptographic protection against any changes in the Twilio SDK code, which may be critical in some applications.
sha256-LmJX51wpqOKimCPhYCdDGnQZJWpytnArJ+cLdSd/Mk8=
sha256-aBKm/Hjylgtmr/XtFMSDbUWf+2VlRHBbj4jdgy/KhRc=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/2.5.0/twilio-conversations.min.js"2integrity="sha256-aBKm/Hjylgtmr/XtFMSDbUWf+2VlRHBbj4jdgy/KhRc="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v2.5/twilio-conversations.min.js"></script>
Features
sha256-aiDMoL8+BoPxRZL8bszYZ1vkXlYNfu+UexlzKijbO1c=
sha256-n/6RCcuNipqtzWOWjJ1D+UQuQ6jjm66Nu5z6FR5m/a4=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/2.4.0/twilio-conversations.min.js"2integrity="sha256-n/6RCcuNipqtzWOWjJ1D+UQuQ6jjm66Nu5z6FR5m/a4="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v2.4/twilio-conversations.min.js"></script>
Features
sha256-bAwsIGWPAjLYtyaL7ChBTyiTE4R4/UT3WbR3BbBi+uQ=
sha256-k37Hx/3U6wN1/ai4gc1FedSzTYAyn1kW3oxTGv+EqLY=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/2.3.0/twilio-conversations.min.js"2integrity="sha256-k37Hx/3U6wN1/ai4gc1FedSzTYAyn1kW3oxTGv+EqLY="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v2.3/twilio-conversations.min.js"></script>
Features
sha256-77sdaO4FcNy2mV29PskLC1rwZjNkv+LwDn/TE4EBgPU=
sha256-KrOF3nMhorDCOFmy8Lpwz/Du0SElgV4KMyBvW76r0U8=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/2.2.2/twilio-conversations.min.js"2integrity="sha256-KrOF3nMhorDCOFmy8Lpwz/Du0SElgV4KMyBvW76r0U8="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v2.2/twilio-conversations.min.js"></script>
Bug fixes
Conversation.leave
and Conversation.removeParticipant
will now properly work for participants with identities containing special characters.sha256-NRCg6xEOzCTaac5AV0SVT/Ob63Q+nILys+Ac6RmMIp0=
sha256-BfGQUsDAH2A06f2v117v7T+4qPiRUKbjCFvu/MhNDBg=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/2.2.1/twilio-conversations.min.js"2integrity="sha256-BfGQUsDAH2A06f2v117v7T+4qPiRUKbjCFvu/MhNDBg="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v2.2/twilio-conversations.min.js"></script>
Bug fixes
Client.getConversationBySid
will no longer throw a deprecation warning when it shouldn't.sha256-IfSb09n9X6nFaXYpr5AKyMfOWyOz0lKHHO3xhzI8JaE=
sha256-IVvvlFjCqVxfaKZj7uHAVoOwBtl5q5EjGz4KScEIN+4=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/2.2.0/twilio-conversations.min.js"2integrity="sha256-IVvvlFjCqVxfaKZj7uHAVoOwBtl5q5EjGz4KScEIN+4="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v2.2/twilio-conversations.min.js"></script>
Deprecations (will be removed in 3.0):
Client.token
getter has been deprecated.Client.create
has been deprecated, use new Client
instead.Message.getMediaByCategory
has been deprecated, use Message.getMediaByCategories
instead.Message.attachTemporaryUrlsFor
has been deprecated, use getTemporaryContentUrlsForMedia
instead.Client.stateChanged
has been deprecated, use Client.initialized
and Client.initFailed
events instead.New features
Bug fixes
SyncError
will no longer get minified in minified bundles.sha256-RN+13KZsLo5IcGpk1KPyAdHEZhQSVd66Di4tYINSv+g=
sha256-v2SFLWujVq0wnwHpcxct7bzTP8wII7sumEhAKMEqgHQ=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/2.1.0/twilio-conversations.min.js"2integrity="sha256-v2SFLWujVq0wnwHpcxct7bzTP8wII7sumEhAKMEqgHQ="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v2.1/twilio-conversations.min.js"></script>
New features:
bindings
property to Participant
and Conversation
.Message
.MessageBuilder
to support email payload.Bug fixes
Message.getEmailBody
when no body is attached or when attempting to execute Message.getEmailHistory
when no history is attached.Message.attachTemporaryUrlsFor
.bindings
update always coming in participantUpdated
reasons.sha256-qh6mHMySA1dWklWKE8GLSfL0vKvTTL4rppgJBU6GIcQ=
sha256-wvZyrbfbpP/U/l7WRmkS7lPBjsDcNg2Ib7SzKlF4SZo=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/2.0.1/twilio-conversations.min.js"2integrity="sha256-qh6mHMySA1dWklWKE8GLSfL0vKvTTL4rppgJBU6GIcQ="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v2.0/twilio-conversations.min.js"></script>
Client.getConversationBySid
returning wrong conversations.sha256-Zi+sUnqbLqAWgi1ckoSa9ym+lCfVY6xOZvDR+/ToHgM=
sha256-/pQ4lYklKpRl6E4ruYcKqTUcLsfM2FQLUarDWVA9I0o=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/2.0.0/twilio-conversations.min.js"2integrity="sha256-/pQ4lYklKpRl6E4ruYcKqTUcLsfM2FQLUarDWVA9I0o="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v2.0/twilio-conversations.min.js"></script>
Breaking changes
null
can no longer be passed in place of ClientOptions
for client instantiation.null
can no longer be passed to Conversations.updateFriendlyName
.null
can no longer be passed to User.updateFriendlyName
.null
to Conversation.sendMessage
will result in the message body being an empty string.stateChanged
event is emitted with the value "initialized"
.Client.reachabilityEnabled
before the client is fully initialized will now throw an error.Client.user
before the client is fully initialized will now return a non-initialized user. On client initialization, the user will initialize and receive the updated
event with all the update reasons.import { Client } from "@twilio/conversations";
.New features
Conversation.prepareMessage
could now be used to send multiple media messages.stateChanged
event should be utilized to react to client initialization.Client.create
is now deprecated. Use the constructor instead.
Client.onWithReplay
should be used to subscribe to its events.Client.on
is used instead, then some events that are triggered on client initialization will get lost.Client.unsetPushRegistrationId
is now deprecated. Use Client.removePushRegistrations
instead.Other changes
Conversation.addNonChatParticipant
now allows all valid JSON values to be passed as attributes.ParticipantUpdatedEventArgs
, MessageUpdatedEventArgs
, UserUpdatedEventArgs
, Paginator
, and NotificationTypes
.sha256-fCxO5CJdh4ylmCrBWCTzsqhpE6aIbJ3L0cmt6FGGiDU=
sha256-fGJzzkCU7845NUd6g0dG6/p0vm5aAIIAi0Vmsply9II=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/1.2.3/twilio-conversations.min.js"2integrity="sha256-fGJzzkCU7845NUd6g0dG6/p0vm5aAIIAi0Vmsply9II="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v1.2/twilio-conversations.min.js"></script>
Changes
sha256-/ni6qklORrIc+z+QcqdgxSOlmaczOFLq85cJfKqoKGE=
sha256-2UkMXiUMrGQwt95PXoLiklv9Hgl87uLXA3G6q/9HP7I=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/1.2.1/twilio-conversations.min.js"2integrity="sha256-2UkMXiUMrGQwt95PXoLiklv9Hgl87uLXA3G6q/9HP7I="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v1.2/twilio-conversations.min.js"></script>
Changes
sha256-f48Ke76doR3wMUykEyccmedAUfDqMAaEH7fe4limPAo=
sha256-lYzPQyaIqs8RXkKxfQnkDbfiosIrDKs/OsJ2VjCcMc8=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/1.2.0/twilio-conversations.min.js"2integrity="sha256-lYzPQyaIqs8RXkKxfQnkDbfiosIrDKs/OsJ2VjCcMc8="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v1.2/twilio-conversations.min.js"></script>
Changes
Conversation.lastReadMessageIndex
not being set during client initialization.Conversation.lastReadMessageIndex
got changed to number \| null
.sha256-DFmUiLiTxQM3i9TCRl8DKUHEm48e6egBi7KlXQ5engc=
sha256-CyaWtQO775FKI8f8jyY9Oj2w97RC9r6WHooi8OzgSgE=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/1.1.0/twilio-conversations.min.js"2integrity="sha256-CyaWtQO775FKI8f8jyY9Oj2w97RC9r6WHooi8OzgSgE="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v1.0/twilio-conversations.min.js"></script>
Changes
First official release for the new Conversations product
WpAJSSVar1v0rQ89XYLt4MLAOuK+kZ4Brxbadl62p9c=
wwGP7TgNRaTpRZj6r7CM/ZPMa/mMj44/QRLQNnQMJjU=
Secure browser script link
1<script src="https://sdk.twilio.com/js/conversations/releases/1.0.0/twilio-conversations.min.js"2integrity="sha256-wwGP7TgNRaTpRZj6r7CM/ZPMa/mMj44/QRLQNnQMJjU="3crossorigin="anonymous"></script>
Non-secure browser script link
<script src="https://sdk.twilio.com/js/conversations/v1.0/twilio-conversations.min.js"></script>
First public release for the new Conversations product
This release was for testing only, please do not use it.