Skip to content

v4.0.22

Choose a tag to compare

@suraj-chauhan-cometchat suraj-chauhan-cometchat released this 26 May 17:04
· 9 commits to v4 since this release
8384742

v4.0.22

Released: 2026-05-26

New

  • Added support for CometChat Campaigns notification feeds through the new NotificationFeedRequestBuilder, enabling paginated feed retrieval with filtering by read state, category, channel, tags, and date range.
  • Added the NotificationCategoriesRequestBuilder API to fetch available notification categories for feed filtering and organization.
  • Introduced the NotificationFeedItem and NotificationCategory models to provide structured access to notification feed data, including metadata, delivery status, timestamps, and categorization details.
  • Added the PushNotification model to provide typed access to push notification payload data, including campaign and announcement identifiers.
  • Introduced the NotificationFeedListener WebSocket listener for receiving real-time notification feed updates.
  • Added the FeedReadState enum with READ, UNREAD, and ALL values for filtering notification feed results.
  • Added the addNotificationFeedListener() and removeNotificationFeedListener() methods to register and manage real-time notification feed listeners.
  • Added the markFeedItemAsDelivered(), markFeedItemsAsDelivered(), and markFeedItemAsRead() methods to manage notification feed delivery and read state tracking.
  • Added the reportFeedEngagement() method to report notification engagement events using custom interaction strings.
  • Added the getNotificationFeedUnreadCount() and getNotificationFeedItem() methods to retrieve unread notification counts and fetch individual feed items.
  • Added the markPushNotificationDelivered() and markPushNotificationClicked() methods to track push notification delivery and click events.
  • Added static access to NotificationFeedRequestBuilder, NotificationCategoriesRequestBuilder, NotificationFeedItem, NotificationCategory, PushNotification, NotificationFeedListener, and FeedReadState through the CometChat namespace.

Enhancements

  • None

Fixes

  • None