Changelog
0.3.0 (2025-01-06)
Please see UPGRADING.md
for full guidance on upgrading from version 0.2.1 and before.
timeserial
field on the Message
type to serial
. Messages may now be compared for global order by string comparison of this field.Rooms.get
is now asynchronous and returns a Promise
that will resolve once any release
operations on the room are complete. #387.Room.channel
property is now an instance of Ably.RealtimeChannel
, rather than a Promise
. #387useRoom
, or properties of the room via other hooks, now returns ValueType | undefined
. Once the room's promise is resolved (see above), this will update to the actual value. #387Initialized
. The Initializing
status is retained for use in React when the room has not yet been resolved. #387direction
argument to message history has been replaced by orderBy
, which uses a new enum OrderBy
with values OldestFirst
and NewestFirst
. Its behavior is identical to direction: forwards | backwards
.### Fixed Bugs
released
if release
is called whilst its status is Initialized
. #400getPreviousMessages
) the objects returned by successive pages will now fully implement the Message
interface. Previously they were simple JSON objects after the first page. #403.Suspended
status after network issues. #409ably-chat
is no longer a reserved key on Message and Reaction metadata/headers. #374Changelog
0.2.0 (2024-09-09)