Skip to content

Releases: ably/ably-js

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.

v2.6.3

28 Jan 15:05
471cdef
Compare
Choose a tag to compare

Full Changelog: 2.6.2...2.6.3

What's Changed

  • Fixed useChannel hook can throw exception in the effect if connection is closed #1938
  • Fixed web FetchRequest does not respect disableConnectivityCheck client option #1925
  • Fixed typings for RealtimeChannel.modes #1955

v2.6.2

14 Jan 12:23
af41744
Compare
Choose a tag to compare

Full Changelog: 2.6.1...2.6.2

What's Changed

  • Message: fix parent-populated version not being propagated to serial by @SimonWoolf in #1945

v2.6.1

13 Jan 16:29
3bf3d7a
Compare
Choose a tag to compare

Full Changelog: 2.6.0...2.6.1

What's Changed

  • Some experimental attributes of the MESSAGE_ACTION type have been removed. #1941
  • Support added for upcoming experimental message summaries. #1941
  • Multiple improvements to type definitions and message handling. #1941