You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only use case that will continue to be supported is determining if a segment is removed. For this purpose we've added the free function segmentIsRemoved(segment: ISegment): boolean.
For example, checking if a segment is not removed would change as follows:
anthony-murphy
changed the title
Merge-Tree and SharedString ISegment Deprecations
Remove Merge-Tree and SharedString ISegment Deprecations
Dec 13, 2024
"@fluidframework/merge-tree": minor
"@fluidframework/sequence": minor
"section": legacy
Remove Merge-Tree and SharedString ISegment Deprecations
The current ISegment interface over-exposes a number of properties which do not have an external use case, and any external usage could result in damage to the underlying merge-tree including data corruption.
In Fluid Framework release 2.12.0 these properties and associated types were deprecated.
The only use case that will continue to be supported is determining if a segment is removed. For this purpose we've added the free function
segmentIsRemoved(segment: ISegment): boolean
.For example, checking if a segment is not removed would change as follows:
The following properties are removed from ISegment and its implementations:
Additionally, the following types are also removed:
The text was updated successfully, but these errors were encountered: