Skip to content

Upgrade guide

This page provides guidance on all changes to the Hive chat API and items that are no longer supported.
Refer to this content to smoothly upgrade your Hive chat integration to the latest version.

Hive SDK 25.6.0

Changes

  • The channel message retrieval method has changed from fetching the latest messages to fetching messages within a range before and after a specific message ID.
    • A message ID, which uniquely identifies each message object, has been added.
    • The ChannelMessageListQueryParams class has been updated. To maintain previous behavior, set messageId to null and assign the same value to both size and prevSize.


Hive SDK 25.4.0

Changes

  • The following changes have been made to listener events registered via the addConnectionListener method of the Chat class:
    • Added a new onReconnectStarted event. This is triggered when the reconnect API of the Chat class is called or when the chat connection is automatically retried due to internal state changes.
    • The onReconnected event now includes a ResultAPI object containing result information.

Unsupported Items

  • The addDirectMessageListener and removeDirectMessageListener methods of the Chat class are no longer supported. The previous 1:1 message receiving functionality can now be handled using the addUserListener and removeUserListener methods of the Chat class.