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
"@fluidframework/merge-tree": minor
"@fluidframework/sequence": minor
"section": deprecation
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.
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": deprecation
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.
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 will be removed on ISegment and its implementations:
Additionally, the following types will be remove, and will become internal (i.e. users of the Fluid Framework will not have access to them):
The text was updated successfully, but these errors were encountered: