-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
248 changed files
with
1,828 additions
and
1,601 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
"@fluidframework/merge-tree": minor | ||
"@fluidframework/sequence": minor | ||
--- | ||
--- | ||
"section": legacy | ||
--- | ||
|
||
Remove deprecated Merge-Tree and SharedString ISegment members | ||
|
||
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.](https://github.com/microsoft/FluidFramework/blob/main/RELEASE_NOTES/2.12.0.md#merge-tree-and-sharedstring-isegment-deprecations-23323) | ||
|
||
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: | ||
|
||
```diff | ||
- if(segment.removedSeq === undefined){ | ||
+ if(!segmentIsRemoved(segment)){ | ||
``` | ||
|
||
The following properties are removed from ISegment and its implementations: | ||
|
||
- clientId | ||
- index | ||
- localMovedSeq | ||
- localRefs | ||
- localRemovedSeq | ||
- localSeq | ||
- movedClientsIds | ||
- movedSeq | ||
- movedSeqs | ||
- ordinal | ||
- removedClientIds | ||
- removedSeq | ||
- seq | ||
- wasMovedOnInsert | ||
|
||
Additionally, the following types are also removed: | ||
|
||
- IMergeNodeCommon | ||
- IMoveInfo | ||
- IRemovalInfo | ||
- LocalReferenceCollection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@fluidframework/container-runtime": minor | ||
--- | ||
--- | ||
"section": legacy | ||
--- | ||
|
||
Grouped batching is enabled by default and cannot be disabled | ||
|
||
The Grouped Batching feature in the container runtime has stabilized and is now enabled by default. | ||
|
||
The `IContainerRuntimeOptions.enableGroupedBatching` option, which allowed an application to disable grouped batching, has been removed. Grouped Batching is now considered a core part of the container runtime, and as such can no longer be disabled. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
"@fluid-experimental/property-changeset": patch | ||
--- | ||
--- | ||
"section": fix | ||
--- | ||
|
||
Fix 'Error: PR-008: Trying to remove a non-existing entry' error in IndexedCollection class | ||
|
||
The IndexedCollection class would throw the following error when applying a changeset: | ||
|
||
``` | ||
Error: PR-008: Trying to remove a non-existing entry: | ||
``` | ||
|
||
The underlying problem has been fixed and this error should no longer occur. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.