Announcing Fluid Framework 2.0 Preview

Kashif Qureshi

We are excited to announce the release of Fluid Framework 2.0 Preview. This release includes several improvements over our Beta release back in January and gets us closer to general availability this summer.

A diagram of a diagram Description automatically generated with medium confidence

SharedTree updates

The new SharedTree Distributed Data Structure (DDS) provides an intuitive programming interface for working with data and supports a broad range of data types including primitives, objects, arrays, and maps. Since the Beta release, we have continued to make improvements to SharedTree.

Undo/Redo – Added the ability to listen for changes and track revertible objects on your undo/redo stacks. Revertibles allow you to undo and redo changes even if other changes have been made in remote clients.

Transactions – You can group multiple changes such that they are applied atomically, and if they fail, they fail atomically. As a result of grouping changes in a transaction, you also get a single revertible object making it easier to undo and redo.

Events – We have updated the Events to make it easier to create granular event listeners for single nodes and better support the undo/redo feature.

Schema improvements – Schemas are even more powerful now with the added support for recursive types, which allows you to define types that reference nodes of the same type in their subtree.

Other improvements

We have also continued to make improvements to other parts of the release including:

Fluid Developer Tools (DevTools) – Fluid DevTools is a browser extension that improves the developer experience when writing and debugging Fluid applications. We have made improvements to the usability of the DevTools including visualization of data stored in SharedTree and Ops latency telemetry visualization. Learn more about Fluid DevTools here.

Typed telemetry support – Before deploying your application at scale, it is critical to have the holistic telemetry in place to monitor its usage and look for issues and optimizations. To make this easier, we are providing a fluid-telemetry package that comes with Typed telemetry events that you can funnel to your any analytics tool of your choice. If you decide to use Azure App Insights to view this data, we also provide helper packages and dashboard queries to get you started quickly. Learn more about the telemetry packages here.

We have also added more samples and documentation to help you start building with SharePoint Embedded.

You can find the full list of updates in the release notes.

Start building today

Fluid Framework 2.0 is now available in Preview, with general availability (GA) planned for this summer. The preview release is close to a GA release so you can start developing new apps and test updating the existing 1.x Fluid apps with it. We recommend starting deployments once the stable GA version is released later this summer. You can learn more about release types and API guarantees here.

Visit the following resources to learn more:

Follow us on X (Twitter) / @Microsoft365Dev, LinkedIn, and subscribe to our YouTube channel to stay up to date on the latest developer news and announcements.


Discussion is closed.

Feedback usabilla icon