Skip to content

v6.5.0

Choose a tag to compare

@shagundeogharkar shagundeogharkar released this 29 May 13:19
· 6 commits to v6 since this release
9e0c529

New

  • Added the CometChatNotificationFeed component to display campaign and promotional notifications with support for card-based content, infinite scrolling, real-time updates, category filtering, and notification engagement tracking.
  • Added the CometChatNotificationBadge component to display unread notification counts with real-time updates, configurable count limits, and customizable styling options.
  • Added the useNotificationUnreadCount hook to provide shared unread notification count tracking across multiple components with synchronized updates and real-time event handling.
  • Added the NotificationFeedViewModel to manage notification feed state, including pagination, category filtering, unread count synchronization, mark-all-as-read functionality, and engagement reporting.
  • Added category filter chips with unread count badges, active and inactive states, horizontal scrolling support, and responsive layouts across different screen sizes.
  • Added visibility-based notification engagement tracking using IntersectionObserver to automatically report viewed and read states when notifications remain visible for a defined period.
  • Added support for rendering card-based notification content through the @cometchat/cards-react integration.
  • Added support for the SDK-provided CometChat.NotificationFeedItem type to simplify notification feed rendering and interaction handling.
  • Added consistent notification timestamp rendering using the shared CometChatDate component.
  • Added support for responsive category filter alignment, including centered layouts on larger screens and horizontal scrolling on smaller devices.
  • Added CometChatAIAssistantChatHistory exports to the main package index, simplifying imports and integration.
  • Added notification feed style registration to the UIKit stylesheet index, enabling consistent styling across notification-related components.

Enhancements

  • Updated compatibility to support @cometchat/chat-sdk-javascript version ^4.1.10.

Fixes

  • None