Rate this page:

Changelog: Twilio IP Messaging JavaScript SDK

We intend to sunset the Programmable Chat API on July 25, 2022 to focus on the next generation of chat: the Twilio Conversations API. Learn more. We have also prepared this Migration Guide to assist in the transition from Chat to Conversations.

Archived IP Messaging Releases

We recommend using these links in your projects. As we patch bugs, these links will automatically be updated with the fixes.

IP Messaging JS v0.10
Twilio Common JS v0.1

Change Logs

Links are provided to specific patch versions here. We don't recommend using these links unless you have a specific need for a certain patch of a release.

0.10.12 (November 14, 2016)

Bug Fixes
  • Fixed an issue where the JS SDK client threw an error when updates were performed on the user immediately after the client sdk instance initialization completed

0.10.11 (November 9, 2016)

Bug Fixes
  • Fixed a bug whereby a users could not see new messages in channel after leaving and rejoining
  • Fixed a possible loss of "channel left" and "channel removed" events

0.10.10 (August 16, 2016)

Bug Fixes
  • Fixed issues when setting consumption horizon to 0 on a channel

0.10.7 (July 27, 2016)

New Features
  • Adds: setNoMessagesConsumed method to reset consumption horizon to the default state of no messages consumed
Bug Fixes
  • Fixed an issue where Message pagination did not work correctly in some cases
  • Fixed an issue where the promise was not rejected when a command failed due to a transport issue
  • Fixed an issue with the Access Token update logic which caused a websocket reconnection loop in some cases

0.10.6 (June 21, 2016)

New Features
  • Adds Reachability Indicator functionality and properties
  • Adds Attributes property to Message object
  • Adds the Connection state object for the local client instance

0.10.4 (May 31, 2016)

Bug Fixes
  • Fixed a bug whereby AccessManager.updateToken(token) did not work for the JS IP Messaging SDK client

0.10.3 (May 27, 2016)

New Features
  • Add paging helper, Paginator, for messages (through new method getMessagesPaged)
  • Performance improvements for various sync operations
  • Improved messages cache
Bug Fixes
  • Fix issues with IE11 and other browsers support
  • Fixed a race that caused some messages to be shown twice in message history
  • Fixed an issue whereby if a channel sync resulted in a 403, a retry was impossible within the same client session

0.10.1 (April 13, 2016)

Bug Fixes
  • Fixed an issue with maximum event listeners limit in user info subscriptions causing a misleading error message

0.10.0 (April 4, 2016)

New Features
  • New: All server-side errors now presented as SessionError class with code and message fields
Breaking Changes
  • BREAKING: ip-messaging sdk doesn't have AccessManager bundled anymore. Which means that twilio-common should be included by user application alongside the IP Messaging JS library, as follows:
<script src=""></script>
<script src=""></script>
  • BREAKING: user now has to wait until promise, returned from Client.initialize(), resolves before using client methods and accessing fields.
Bug Fixes
  • Fixed a bug whereby IE11 did not run the library
  • Fixed an error with marking as read first message in a channel (with index 0)
  • Fixed a minor whereby private and public channels returned different null indicators for unset FriendlyName

0.9.6 (March 18, 2016)

Future Breaking Change Notice
  • Future Release: The Twilio Common JS library will no longer be bundled with the IP Messaging JS library and will need to be explicitly imported alongside the IP Messaging JS library.
New Features
  • UserInfo object with FriendlyName and Attributes
  • Exists for the currently logged in User
  • Exists for all Member's in Channels
  • Events:
  • 'userInfoUpdated' event on Client object for use as part of a Global listener
  • UserInfo#updated triggers Member#userInfoUpdated and Channel#memberInfoUpdated with instance of Member as an argument.
Bug Fixes
  • Fixed: multiple 'channelUpdated' events on channel join

0.9.4 (February 21, 2016)

Future Breaking Change Notice
  • Future Release: The Twilio Common JS library will no longer be bundled with the IP Messaging JS library and will need to be explicitly imported alongside the IP Messaging JS library.
Bug Fixes
  • Reverted breaking change introduced in 0.9.3 whereby Twilio Common JS library needed to be explicitly imported alongside the IP Messaging JS library. This change will be re-introduced in the near future as per the above notice.

0.9.3 (February 19, 2016)

New Features
  • Added new events added for Members and Messages at the Client object level
  • message added
  • messaged removed
  • message updated
  • member added
  • member left
  • member joined
  • typing started
  • typing ended
  • Added new convenience Consumption Horizon methods to simplify implementation
  • setLastConsumedMessageIndex: - updates the last consumed index to the value specified, if you set an 'earlier' message as the last consumed, it will move the pointer 'backwards'
  • advanceLastConsumedMessageIndex: - updates the last consumed index to the value specified but only if the new value is > the existing value in the client
Bug Fixes
  • Fixed a bug whereby Member.isTyping property not set correctly when passed into typingStarted event listener
  • Fixed consumption horizon update behavior whereby events consumption events were periodically not sent to the service

0.9.2 (December 18, 2015)

Bug Fixes
  • Updated bundled twilio-common to 0.1.4, which should fix issues involving parsing tokens with identities that contain certain character sets.
  • Corrected an error in documentation. Descriptions for Channel.typingStarted and Channel.typingEnded were inverted.

0.9.1 (December 9, 2015)

Bug Fixes
  • When passing a Capability Token string to the IPMessaging.Client() constructor, Client.identity should now be fully URI decoded.
  • Calling Client.accessManager.updateToken() should no longer cause exceptions.
License Updates
  • Twilio's license was updated, and licenses have been added for dependencies.

0.9.0 (December 2, 2015)

New features

Feature add: Consumption horizon

Consumption Horizon gives your applications visibility into each Member's consumption of the messages in a Channel. The following methods have been added to support Consumption Horizon:

  • Consumption horizon additions:
  • function Channel.updateLastConsumedMessageIndex(Number index)
  • int Channel.lastConsumedMessageIndex
  • int Member.lastConsumedMessageIndex
  • Date Member.lastConsumptionTimestamp
  • int Message.index

  • API Changes:

  • Member#updated will now also fire when Member.lastConsumedMessageIndex is updated.
  • Channel#updated will now also fire when Channel.lastConsumedMessageIndex is updated.

  • New Channel properties:

  • String Channel.createdBy
  • Date Channel.dateCreated
  • Date Channel.dateUpdated
Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.


        Thank you for your feedback!

        We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        Refer us and get $10 in 3 simple steps!

        Step 1

        Get link

        Get a free personal referral link here

        Step 2

        Give $10

        Your user signs up and upgrade using link

        Step 3

        Get $10

        1,250 free SMSes
        OR 1,000 free voice mins
        OR 12,000 chats
        OR more