-
Notifications
You must be signed in to change notification settings - Fork 562
Description
This issue is automatically updated with a preview of the release notes for the upcoming Fluid Framework release.
To generate release notes locally to commit to the RELEASE_NOTES folder in the repo, run the following command:
pnpm flub generate releaseNotes -g client -t minor --outFile RELEASE_NOTES/2.81.0.mdTo generate the release notes to paste into the GitHub Release, run the following command:
pnpm flub generate releaseNotes -g client -t minor --headingLinks --excludeH1 --outFile temporary-file.mdThis should happen automatically as part of the release process, but if you need to generate the release notes manually, you can use the above command.
Fluid Framework v2.81.0
Contents
🚨 Breaking Changes
directory: Path parameter added to cleared event (#26112)
The clear event for SharedDirectory did not include a path parameter indicating which directory was cleared. Therefore, the clear event is deprecated and will be removed in a future release. Instead use the cleared event.
Before:
sharedDirectory.on("clear", (local, target) => {
// No way to know which subdirectory was cleared
});After:
sharedDirectory.on("cleared", (path, local, target) => {
// path tells you which directory was cleared (e.g., "/", "/subdir1", "/subdir2")
});This change provides better observability by allowing listeners to distinguish between clear operations on different subdirectories within the SharedDirectory hierarchy.
Change details
Commit: 1ded6bf
Affected packages:
- fluid-framework
- @fluidframework/map
🛠️ Start Building Today!
Please continue to engage with us on GitHub Discussion and Issue pages as you adopt Fluid Framework!