Changelog
TalkJS chat UI components are versioned. This page gives an overview of the changes introduced with each new version.
- Fixed incompatibility with some build tools that caused emoji picker to load forever
- Improved accessibility with more localized
aria-labelattributes - Fixed a bug causing crashes when a user with a non-existent role mounts the UI
- Changed the following in theme files: Compare 0.0.31 and 0.0.32.
This release contains breaking changes. See the Upgrade guide.
- Improved keyboard accessibility for the message actions menu and the emoji reactions button
- Removed the
@talkjs/react-components/themingand@talkjs/web-components/themingpackage entrypoints. All of their exports are now available from@talkjs/react-componentsand@talkjs/web-componentsdirectly. - Made
@talkjs/corea peer dependency of@talkjs/react-componentsand@talkjs/web-components - Changed the following in theme files: Compare 0.0.30 and 0.0.31.
- Added support for action buttons and action links.
- Fixed a bug related to content suppression that would cause an error when attempting to mount the UI under certain conditions.
- Changed the following in theme files: Compare 0.0.29 and 0.0.30.
- Added support for content suppression.
- Changed the following in theme files: Compare 0.0.28 and 0.0.29.
- Fixed a bug where, under certain conditions, editing a message would cause an error.
- Improved the border styling of the conversation list.
- Improved error tracking.
- Changed the following in theme files: Compare 0.0.27 and 0.0.28.
- Fixed a bug where trying to insert mentions or emojis while using a custom theme would silently fail.
- Fixed a bug where selecting the action to edit a message would cause an error.
- Changed the following in theme files: Compare 0.0.25 and 0.0.26.
- Fixed a bug that would prevent users from sending messages longer than 1,000 characters.
- Fixed a bug where the UI jumped when a user clicked message actions.
- Fixed a bug that prevented programmatically selecting a conversation.
- Fixed a bug that would make one’s scroll position jump when you add emojis from the emoji picker.
- Fixed an issue to ensure that when a user marks a conversation as unread, it’s only marked as read again when the user switches to it or remounts.
Update all of the following imports in your code, if you have them:
1# If you're using the `@talkjs/react-components` package2- import { MessageContent } from "@talkjs/react-components/theming"3+ import { MessageContent } from "@talkjs/react-components"45# If you're using the `@talkjs/web-components` package6- import { MessageContent } from "@talkjs/web-components/theming"7+ import { MessageContent } from "@talkjs/web-components"
If you don't have @talkjs/core installed as a dependency already, add it to your package:
1npm install @talkjs/core