What's Changed
- Introduce the new path-based LiveObjects API #1214. LiveObjects data is now accessed through
channel.object, which returns aRealtimeObjectexposingPathObjects — stable references to locations within the channel object that resolve to values dynamically at runtime, instead of explicitLiveMap/LiveCounterinstances. 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 (returningRealtimeObjects) has been replaced by thechannel.objectfield (returningRealtimeObject) - The
io.ably.lib.objectspackage has been renamed toio.ably.lib.liveobjects - Instead of obtaining and operating on explicit
LiveMap/LiveCounterinstances, data is accessed and mutated throughPathObjectreferences