Skip to content

Releases: ably/ably-js

v2.12.0

22 Aug 20:14
af2ce0e
Compare
Choose a tag to compare

Full Changelog: 2.11.1...2.12.0

What's Changed

  • Add clientId of the client who submitted the operation to the LiveObjectUpdate in subscription callbacks #2072

v2.11.1

21 Aug 20:45
Compare
Choose a tag to compare

Full Changelog: 2.11.0...2.11.1

What's Changed

  • Fix race for browsers that throttle timeouts in background tabs #2070
  • Change ObjectOperation.initialValue to be a JSON encoded string #2065

v2.11.0

13 Aug 16:14
c923b2e
Compare
Choose a tag to compare

Full Changelog: 2.10.1...2.11.0

What's Changed

  • Add support to get and set JSON-encodable objects as values for entries in a LiveMap #2052

v2.10.1

16 Jul 08:48
837afe6
Compare
Choose a tag to compare

Full Changelog: 2.10.0...2.10.1

What's Changed

  • Fix minimization issue with Next.js 15.4+ canary builds #2057

v2.10.0

25 Jun 08:36
39e0677
Compare
Choose a tag to compare

Full Changelog: 2.9.0...2.10.0

What's Changed

  • Add Channels.all to type declarations #2040
  • Add ClientOptions.endpoint parameter and deprecate the environment, restHost and realtimeHost client options. See platform customization documentation for guidance on using the new endpoint parameter #1973

v2.9.0

08 May 17:53
b987c6b
Compare
Choose a tag to compare

Full Changelog: 2.8.0...2.9.0

What's Changed

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.

  • Add support for Ably LiveObjects #2007

v2.8.0

01 May 16:31
b5fbb90
Compare
Choose a tag to compare

Full Changelog: 2.7.0...2.8.0

What's Changed

  • Add RestClient.device() and RealtimeClient.device() methods which return the LocalDevice object for push notifications #2020
  • Add LocalDevice.channelSubscriptions() method which uses device auth to get channel subscriptions only for the local device #2013

v2.7.0

17 Apr 12:34
7bb62db
Compare
Choose a tag to compare

Full Changelog: 2.6.5...2.7.0

What's Changed

  • Adds ANNOTATION_PUBLISH and ANNOTATION_SUBSCRIBE channel modes #1953
  • Adds support for message annotations via channel.annotations #1953
  • The message action meta.occupancy is now renamed to meta. Similarly, MessageActions.META_OCCUPANCY is now MessageActions.META #1953
  • Fixes a bug where deactivate would not use device auth, meaning clients would only be able to use it with the push-admin capability #2000
  • The push deactivate method's callback type is now optional when using TypeScript #2000

v2.6.5

24 Mar 20:58
189652d
Compare
Choose a tag to compare

Full Changelog: 2.6.4...2.6.5

What's Changed

  • Fixed type issue in PublishOptions #1988

v2.6.4

17 Mar 15:43
d02000d
Compare
Choose a tag to compare

Full Changelog: 2.6.3...2.6.4

What's Changed

  • Adds new capabilities to control the upcoming message operations. #1949
  • These include:
    • 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.