-
Notifications
You must be signed in to change notification settings - Fork 562
(compat) Removed deprecated properties from IContainerStorageService and IRuntimeStorageService #25700
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
Conversation
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.
Pull Request Overview
Removes previously deprecated members from IRuntimeStorageService and IContainerStorageService, finalizing the breaking change announced in 2.52.0. Supporting updates adjust type validation metadata, API reports, tests, and adapters to align with the leaner interfaces.
- Remove deprecated storage APIs (disposed, dispose, policies, snapshot/version APIs, createBlob, uploadSummaryWithContext, downloadSummary) from IRuntimeStorageService
- Remove deprecated disposed / dispose / downloadSummary from IContainerStorageService and update consuming code/tests
- Update type validation artifacts, API reports, and add a comprehensive new blob manager test suite
Reviewed Changes
Copilot reviewed 26 out of 26 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/runtime/runtime-definitions/src/protocol.ts | Removes deprecated members from IRuntimeStorageService |
| packages/common/container-definitions/src/runtime.ts | Removes deprecated members from IContainerStorageService |
| *.generated.ts / package.json typeValidation blocks | Marks expected breaking type changes with @ts-expect-error and updates broken maps |
| api-report/*.api.md | Syncs API surface with removed members |
| containerStorageAdapter.ts / container.ts | Removes now-invalid downloadSummary and updates parameter types |
| storageServiceWithAttachBlobs.ts | Simplifies proxy to only support readBlob per new interface |
| deRehydrateContainerTests.spec.ts | Drops test depending on removed snapshot methods |
| blobHandles.spec.ts | Updates tests to use IContainerStorageService subset typings |
| blobManager.spec.ts | Adds extensive new test coverage for blob lifecycle scenarios |
| containerRuntime.spec.ts | Switches test storage mock to IContainerStorageService |
| .changeset/heavy-bugs-thank.md | Records breaking change announcement |
…and IRuntimeStorageService
c33f0a7 to
afb8f1c
Compare
.changeset/heavy-bugs-thank.md
Outdated
| - `disposed` | ||
| - `dispose` | ||
|
|
||
| The deprecations were announced in release 2.52.0 [here](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.52.0). |
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.
| The deprecations were announced in release 2.52.0 [here](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.52.0). | |
| The deprecations were announced in version [2.52.0](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.52.0). |
.changeset/heavy-bugs-thank.md
Outdated
| "@fluidframework/runtime-definitions": minor | ||
| "__section": breaking | ||
| --- | ||
| Removed deprecated properties from "IRuntimeStorageService" and "IContainerStorageService" |
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.
| Removed deprecated properties from "IRuntimeStorageService" and "IContainerStorageService" | |
| Deprecated properties have been removed from IRuntimeStorageService and IContainerStorageService |
.changeset/heavy-bugs-thank.md
Outdated
| - `disposed` | ||
| - `dispose` | ||
| - `policies` | ||
| - `getSnapshotTree` | ||
| - `getSnapshot` | ||
| - `getVersions` | ||
| - `createBlob` | ||
| - `uploadSummaryWithContext` | ||
| - `downloadSummary` |
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.
nit: alphabetize
.changeset/heavy-bugs-thank.md
Outdated
| - `downloadSummary` | ||
| - `disposed` | ||
| - `dispose` |
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.
| - `downloadSummary` | |
| - `disposed` | |
| - `dispose` | |
| - `dispose` | |
| - `disposed` | |
| - `downloadSummary` |
|
Closing in favor of #25708 |
|
@tylerbutler FYI, I closed this in favor of #25708 since I created the test branch in my fork instead of the main repo. |
Description
Removed deprecated properties from "IRuntimeStorageService" and "IContainerStorageService"
The following deprecated properties have been removed from
IRuntimeStorageService:disposeddisposepoliciesgetSnapshotTreegetSnapshotgetVersionscreateBlobuploadSummaryWithContextdownloadSummaryThe following deprecated properties have been removed from
IContainerStorageService:downloadSummarydisposeddisposeBreaking Changes
This is a breaking change. The deprecations were announced in release 2.52.0 here.