-
Notifications
You must be signed in to change notification settings - Fork 539
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
[For 2.20] Move ContainerRuntime class to internal scope #23341
Merged
markfields
merged 7 commits into
microsoft:main
from
markfields:test/legacy-breaks/client/2.20/containerruntime-internal
Jan 8, 2025
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
299297d
Switch CR class to internal scope
markfields 42cae47
Remove now-unused lint disables
markfields 4677b96
changeset
markfields b84092a
Fix-up post-rebase
markfields d0870c0
Update .changeset/better-mails-judge.md
markfields dac8155
changeset feedback
markfields b434a75
Remove deprecation
markfields 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 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,15 @@ | ||
--- | ||
"@fluidframework/aqueduct": minor | ||
"@fluid-experimental/attributor": minor | ||
"@fluidframework/container-runtime": minor | ||
"@fluidframework/test-utils": minor | ||
--- | ||
--- | ||
"section": legacy | ||
--- | ||
|
||
ContainerRuntime class is no longer exported | ||
|
||
Use `IContainerRuntime` to replace type usages and use the free function `loadContainerRuntime` to replace usages of the static method `ContainerRuntime.loadRuntime`. | ||
|
||
See the [deprecation release note](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.12.0#user-content-the-containerruntime-class-is-now-deprecated-23331) for more details. |
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
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@microsoft/fluid-cr-api -- I had marked this as deprecated to justify this break. Simplest thing is to remove the deprecation as I add the new type, as you see here.
But taking a step back, I think
preInitialize
, along withinstantiateFirstTime
andinstantiateFromExisting
should beprotected
notpublic
. Once instantiated, this class (and base classRuntimeFactoryHelper
) should only be referenced via the interfaceIRuntimeFactory
, IMO.If we go that direction I can leave this deprecated and do a follow-up PR to deprecate the others, and then in 2.30 switch them all to
protected
. Maybe I'm missing something though. Thoughts?See also the deprecation release note for when I marked this as deprecated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would only leave it deprecated if you plan follow up and finish it, otherwise i'd just file a bug, but let the person who takes it on do the deprecation