Contents
- ✨ New Features
minVersionForCollab
is now available onIFluidDataStoreContext
(#25130)
- ⚠️ Deprecations
- Deprecate submitMessage on FluidDataStoreRuntime and MockFluidDataStoreRuntime (#25332)
- Legacy API Changes
- Wrapped errors preserved as
cause
property (#25485)
- Wrapped errors preserved as
✨ New Features
minVersionForCollab
is now available on IFluidDataStoreContext
(#25130)
minVersionForCollab
is now passed down from the ContainerRuntime
to the Datastore layer where it is made available for SharedObject
construction. DDSes may optionally consume this value and use it to determine which sets of feature flags should be enabled.
Public type changes
- @fluidframework/datastore:
FluidDataStoreRuntime
- ExposesminVersionForCollab
. - @fluidframework/runtime-definitions:
IFluidDataStoreContext
- Exposes optional memberminVersionForCollab
. SeeFluidDataStoreContext
for an example implementation. - @fluidframework/test-runtime-utils:
MockFluidDataStoreContext
,MockFluidDataStoreRuntime
- ExposesminVersionForCollab
either via a getter or as a readonly field.
Note that the new implementations are optional fields and in some cases accept undefined
. This is needed for layer compatibility, and in a future release these members will no longer be optional.
Change details
Commit: 2566772
Affected packages:
- @fluidframework/datastore
- @fluidframework/runtime-definitions
- @fluidframework/test-runtime-utils
⬆️ Table of contents
⚠️ Deprecations
Deprecate submitMessage on FluidDataStoreRuntime and MockFluidDataStoreRuntime (#25332)
As needed, access submitMessage
via IFluidDataStoreContext
/IFluidParentContext
. See #24406 for details.
Change details
Commit: 687378a
Affected packages:
- @fluidframework/datastore
- @fluidframework/test-runtime-utils
⬆️ Table of contents
Legacy API Changes
Wrapped errors preserved as cause
property (#25485)
IFluidErrorBase
(internal basis for FluidFramework client errors) declares cause
property matching ES2022 lib (whether targeted or not). When an error is wrapped, cause
will be set to the originating error (which may or may not itself be an Error
).
Change details
Commit: c69d56d
Affected packages:
- @fluidframework/telemetry-utils
⬆️ Table of contents
🛠️ Start Building Today!
Please continue to engage with us on GitHub Discussion and Issue pages as you adopt Fluid Framework!