Fluid Framework v2.0.0-internal.5.2.0 (minor)
Changes in Fluid Framework v2.0.0-internal.5.2.0
IConnectionDetailsInternal and IDeltaHandlerStrategy deprecated
The IConnectionDetailsInternal and IDeltaHandlerStrategy interfaces from the @fluidframework/container-definitions package have been deprecated and will be removed in a future release. These are internal-only interfaces and should not be used.
Deprecate unnecessary exports
This change deprecates a number of interfaces in the merge tree package that are not used in the exported apis surface and therefore should not be used.
Deprecate ISegment.parent
This change deprecates the parent property on the ISegment interface. The property will still exist, but should not generally be used by outside consumers.
There are some circumstances where a consumer may wish to know if a segment is still in the underlying tree and were using the parent property to determine that.
Please change those checks to use the following "parent" in segment && segment.parent !== undefined
slide parameter in changeInterval event
The changeInterval event listener has a new parameter "slide" that is true if the event was caused by the interval endpoint sliding from a removed range.
IContainerContext members deprecated
IContainerContext members disposed, dispose(), serviceConfiguration, and id have been deprecated and will be removed in an upcoming release.
disposed - The disposed state on the IContainerContext is not meaningful to the runtime.
dispose() - The runtime is not permitted to dispose the IContainerContext, this results in an inconsistent system state.
serviceConfiguration - This property is redundant, and is unused by the runtime. The same information can be found via deltaManager.serviceConfiguration
on this object if it is necessary.
id - The docId is already logged by the IContainerContext.taggedLogger for telemetry purposes, so this is generally unnecessary for telemetry. If the id is needed for other purposes it should be passed to the consumer explicitly.
EventForwarder and IDisposable members deprecated from PureDataObject
The EventForwarder and IDisposable members have been deprecated from PureDataObject and will be removed in an upcoming release. The EventForwarder pattern was mostly unused by the current implementation, and is also recommended against generally (instead, register and forward events explicitly). The disposal implementation was incomplete and likely to cause poor behavior as the disposal was not observable by default. Inheritors of the PureDataObject can of course still implement their own di