Contents
- 🌳 SharedTree DDS Changes
- Reduce repeated schema processing in SharedTree (#28530)
- 🐛 Bug Fixes
- Cancel pending flush requests promptly when the connection disconnects (#28623)
- Legacy API Changes
- New containers can be created in a OneDrive or SharePoint folder identified by its item ID (#28634)
🌳 SharedTree DDS Changes
Reduce repeated schema processing in SharedTree (#28530)
SharedTree reuses schema analysis and view-schema definitions across overlapping and recursive schemas, reducing repeated work during view configuration, context creation, index setup, and schema export.
Schema definitions without reachable staged upgrades can also share conversions across upgrade policies.
Definition map iteration order may change but remains unspecified. Schema hashes and persisted schema encoding are unchanged.
These changes can reduce startup time and memory use for applications with large schemas.
Change details
Commit: 4890b80
Affected packages:
- @fluidframework/tree
- fluid-framework
⬆️ Table of contents
🐛 Bug Fixes
Cancel pending flush requests promptly when the connection disconnects (#28623)
Pending flush requests now reject with the connection's disconnect error when the connection is disposed or disconnected. This prevents summary uploads waiting on a flush response from remaining pending after disconnection.
Change details
Commit: a7801b2
Affected packages:
- @fluidframework/odsp-driver
⬆️ Table of contents
Legacy API Changes
New containers can be created in a OneDrive or SharePoint folder identified by its item ID (#28634)
The new createOdspCreateContainerRequestFromOptions function takes an OdspCreateContainerRequestOptions object, which identifies the folder for the new file by either its path (filePath) or its item ID (parentFolderId). Unlike a folder's path, its item ID doesn't change when the folder is renamed or moved.
import { createOdspCreateContainerRequestFromOptions } from "@fluidframework/odsp-driver/legacy";
const request = createOdspCreateContainerRequestFromOptions({
siteUrl,
driveId,
parentFolderId, // The folder's item ID, not its path
fileName: "Notes.fluid",
});
await container.attach(request);The existing createOdspCreateContainerRequest function, which takes a folder path, is unchanged.
Change details
Commit: 0fe597f
Affected packages:
- @fluidframework/odsp-driver
⬆️ Table of contents
🛠️ Start Building Today!
Please continue to engage with us on GitHub Discussion and Issue pages as you adopt Fluid Framework!