-
Notifications
You must be signed in to change notification settings - Fork 559
Shared Tree: Use minVersionForCollab instead of oldestCompatibleClient to specify min client version #25402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Shared Tree: Use minVersionForCollab instead of oldestCompatibleClient to specify min client version #25402
Changes from 4 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
633221e
- Changed all usages of FluidClientVersion to MinimumVersionForCollab.
TommyBrosman 7b1debe
- Tweaked changeset to comply with Vale.
TommyBrosman 6dfa5d0
Update .changeset/warm-windows-cross.md
TommyBrosman aebfb2a
New policy for oldestCompatibleClient:
TommyBrosman 5e2a9b2
Update .changeset/warm-windows-cross.md
TommyBrosman 43d759b
Apply suggestion from @CraigMacomber
TommyBrosman 26ba203
Apply suggestion from @CraigMacomber
TommyBrosman 7c92d92
PR feedback.
TommyBrosman d9c3f06
- Added minVersionForCollab on SharedTreeOptions as well as CodecWrit…
TommyBrosman 9ca796a
Minor: tweaked md line length.
TommyBrosman b735d1e
Update packages/dds/tree/src/treeFactory.ts
TommyBrosman 4cb35b6
Merge branch 'main' into set-st-flags
TommyBrosman 5570285
Merge branch 'set-st-flags' of https://github.com/TommyBrosman/FluidF…
TommyBrosman 91bc67c
Vale.
TommyBrosman 6ea3d80
Fixed tree-cli-app.
TommyBrosman 67fe66c
Regenerated fluid-framework.alpha.api.md.
TommyBrosman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,23 @@ | ||
| --- | ||
| "@fluidframework/tree": minor | ||
| "fluid-framework": minor | ||
| "__section": tree | ||
| --- | ||
| MinimumVersionForCollab is now used in place of FluidClientVersion | ||
TommyBrosman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| FluidClientVersion is no longer used as the declaration type for versions in APIs/codecs (for example, `oldestCompatibleClient`). | ||
TommyBrosman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
TommyBrosman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Additionally, FluidClientVersion is now a const object with members that declare specific MinimumVersionForCollab versions. | ||
TommyBrosman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
TommyBrosman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| These are intended to be used with APIs that require a version (such as `TreeAlpha.exportCompressed`). | ||
|
|
||
| `SharedTreeOptions.oldestCompatibleClient` has been removed in favor of `LoadContainerRuntimeParams.minVersionForCollab`. | ||
| If an application previously specified the minimum client version when initialization Shared Tree like: | ||
|
|
||
| ```ts | ||
| const factory = configuredSharedTree({ ..., oldestCompatibleClient: "2.1.3" }); | ||
TommyBrosman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ``` | ||
|
|
||
| The application should now specify the version when initializing the Container Runtime: | ||
|
|
||
| ```ts | ||
| const runtime = await loadContainerRuntime({ ..., minVersionForCollab: "2.1.3" }); | ||
| ``` | ||
TommyBrosman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.