Skip to content

1.8.0

Latest

Choose a tag to compare

@sacOO7 sacOO7 released this 13 Jul 17:33
74d267f

Full Changelog

What's Changed

  • Introduce the new path-based LiveObjects API #1214. LiveObjects data is now accessed through channel.object, which returns a RealtimeObject exposing PathObjects — stable references to locations within the channel object that resolve to values dynamically at runtime, instead of explicit LiveMap/LiveCounter instances. See the PathObject documentation for details.

Breaking changes

This release replaces the previous experimental instance-based LiveObjects API with the new path-based API:

  • The channel.getObjects() accessor (returning RealtimeObjects) has been replaced by the channel.object field (returning RealtimeObject)
  • The io.ably.lib.objects package has been renamed to io.ably.lib.liveobjects
  • Instead of obtaining and operating on explicit LiveMap/LiveCounter instances, data is accessed and mutated through PathObject references