TalkJS Changelog logo
Back to Homepage

Changelog

Subscribe to Updates

Labels

  • All Posts
  • Bug fix
  • Announcement
  • Improvement
  • Chat UI
  • JavaScript SDK
  • REST API
  • Dashboard
  • Deprecated
  • New
  • React Native SDK
  • Flutter SDK
  • Security
  • React

Jump to Month

  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • January 2023
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • March 2022
  • February 2022
  • December 2021
  • November 2021
  • October 2021
  • August 2021
  • July 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • September 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
Changelog byAnnounceKit

Create yours, for free!

Bug fixAnnouncementImprovementJavaScript SDKDeprecatedFlutter SDKReact
5 months ago

Multiple webhooks, accessibility improvements, messages on the Realtime API, and more

Highlights

Multiple webhooks

You can now add multiple webhooks to your app. Webhooks can be useful as part of a chatbot interface, to inspect messages as they happen, or to trigger custom domain-specific actions.

A section of a page with the header ‘Webhooks’, and a button ‘Add New Webhook’. Below the button is a table which, for each webhook, the webhook URL, the events that are subscribed to, as well as buttons to either edit or delete the webhook.

To add a new webhook, go to the Settings page of your TalkJS dashboard, and select Add new webhook. Add your webhook URL, select the events that you’d like to subscribe to, and save your settings. 

You can add up to three webhooks if you’re on the Growth plan or higher.

Read more about webhooks.

Accessibility improvements

Chat just got more accessible:

  • Keyboard navigation: The scrollable area in the chatbox is now keyboard accessible. The area can get focus, so you can use your keyboard’s up and down arrow keys to scroll the container.
  • Screen reader: If you’ve got a conversation in focus and someone sends a new message into that conversation, a screen reader will read out the new message.

Do you have more accessibility wishes for your chat? We’d love to hear from you! Get in touch.

Messages on the Realtime API

Messages are available on the Realtime API. That means that you can now access a continuous, up-to-date flow of data related to messages, without needing to send repeated requests or open a chat UI. 

Version 0.31.0 of the JavaScript SDK adds the following:

  • ConversationRef.message: Reference to a message in a given conversation.
  • ConversationRef.subscribeMessages: Subscribe to the messages in a given conversation.
  • MessageSubscription: Subscription to the messages in a given conversation. 
  • MessageRef: Reference to a message.
  • MessageSnapshot.content: The main body of a given message. The body is a list of content blocks with entity trees, which means that you can render the message exactly as it would appear in the frontend.
  • ReferencedMessageSnapshot: Snapshot of a message's attributes at a given moment in time. 
  • MessageSnapshot.referencedMessage: Snapshot of the message that the given message is a reply to, or null if this message is not a reply. 
  • EditMessageParams, SendMessageParams, and MessageActiveState.

Overview of other changes

Added

  • JavaScript SDK (0.31.0): Added ConversationRef.send.
  • JavaScript SDK (0.30.0): Added ConversationSnapshot.lastMessage.
  • JavaScript SDK (0.29.0): Added ConversationRef.markAsRead and ConversationRef.markAsUnread
  • JavaScript SDK (0.28.0): Added ParticipantRef to the Realtime API.
  • JavaScript SDK (0.28.0): Added ConversationRef.participant to get a participant for a given conversation to the Realtime API.
  • JavaScript SDK (0.28.0): Added ConversationSnapshot.joinedAt to the Realtime API.
  • JavaScript SDK (0.27.0): Added ConversationRef.set and ConversationRef.createIfNotExists to the Realtime API.
  • Added the option to mark conversations as read or unread to the Realtime API.
  • Flutter SDK (0.14.0): Added the onUnreadsChange property to Session.

Changed

  • React SDK (0.1.10): Allow null as a value for the conversationId prop.
  • Changed the options for @mentioning a user. Only users who are a current participant in a conversation can be mentioned in that conversation. You can no longer mention guest users. 

Deprecated

  • Flutter SDK (0.14.0): Deprecated the unreads property of Session.

Fixed

  • Fixed a bug in Realtime API batching, where in some cases calls would be executed out-of-order.
  • Fixed an issue where the main chat would scroll down when you scrolled in a message search.
  • Fixed a bug where a participant who had been removed from a conversation could still be @mentioned in that conversation.




New guides and tutorials 

How to add a forward message feature to your chat

Create a custom AI chatbot with TalkJS and Claude

Create a custom chatbot with TalkJS and Gemini




👋 Thoughts? Questions? Get in touch.

✨Follow TalkJS on 𝕏 and LinkedIn to stay up to date.

👩🏾‍💻We’re hiring! Check out our jobs page.