Changelog
2.10.0 (2025-06-25)
Channels.all
to type declarations #2040ClientOptions.endpoint
parameter and deprecate the environment
, restHost
and realtimeHost
client options. See platform customization documentation for guidance on using the new endpoint
parameter #1973Changelog
2.9.0 (2025-05-08)
Introducing Ably LiveObjects
With this release, ably-js now supports LiveObjects.
Ably LiveObjects enables effortless realtime synchronization of application state across multiple users and devices at any scale. When a LiveObject is updated, changes are automatically propagated to all subscribed clients in realtime, ensuring that everyone always sees the latest state.
The ably-js implementation for LiveObjects provides a simple, purpose-built API that handles realtime synchronization, persistence, and convergence behind the scenes.
See our official documentation to learn more about LiveObjects and how to start synchronizing your application state using Ably.
Changelog
2.7.0 (2025-04-17)
ANNOTATION_PUBLISH
and ANNOTATION_SUBSCRIBE
channel modes #1953channel.annotations
#1953meta.occupancy
is now renamed to meta
. Similarly, MessageActions.META_OCCUPANCY
is now MessageActions.META
#1953deactivate
would not use device auth, meaning clients would only be able to use it with the push-admin
capability #2000deactivate
method's callback type is now optional when using TypeScript #2000Changelog
2.6.4 (2025-03-17)
message-update-any
- the ability to edit a message created by any client on a given channel.message-update-own
- the ability to edit only the messages created by the requesting client on a given channel.message-delete-any
- the ability to delete a message created by any client on a given channel.message-delete-own
- the ability to delete only the messages created by the requesting client on a given channel.This contains only the most important and/or user-facing changes; for a full changelog, see the commit history.
Changelog
2.6.1 (2025-01-13)
ATTACH_RESUME
from the ChannelModes
enum.UNSET
type from MESSAGE_ACTIONS
enum, all messages will always have their action
set.ANNOTATION_CREATE
and ANNOTATION_DELETE
from the MESSAGE_ACTIONS
enum.MESSAGE_SUMMARY
message action type.Changelog
2.6.0 (2024-12-10)
package.json
. It is now possible to point npm at specific branches of ably-js.LEAVE
event if a member was present in the presence set to begin with.Message
type to support edits and deletes have been updated and renamed.