Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.
-
Update to TypeScript 5.4 (#21214) 0e6256c722
Update package implementations to use TypeScript 5.4.5.
Dependency updates only.
-
Packages now use package.json "exports" and require modern module resolution 97d68aa06b
Fluid Framework packages have been updated to use the package.json "exports" field to define explicit entry points for both TypeScript types and implementation code.
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
"moduleResolution": "Node16"
with"module": "Node16"
"moduleResolution": "Bundler"
with"module": "ESNext"
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable for use with modern versions of Node.js and Bundlers. See the TypeScript documentation for more information regarding the module and moduleResolution options.
Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used to distinguish stable APIs from those that are in development.
-
data-object-base: LazyLoadedDataObject and LazyLoadedDataObjectFactory removed (#19838) 3bde9fc00b
LazyLoadedDataObject and LazyLoadedDataObjectFactory are not recommended for use and have been removed.
-
@fluidframework/data-object-base demoted to experimental status (#19438) bbc812af86
@fluidframework/data-object-base is now @fluid-experimental/data-object-base, and is not recommended for use in production. Prefer to use the data object classes from @fluidframework/aqueduct.
-
data-object-base: LazyLoadedDataObject and LazyLoadedDataObjectFactory deprecated (#19482) c4c1e197cf
LazyLoadedDataObject
andLazyLoadedDataObjectFactory
have been deprecated and are not recommended for use. For lazy loading of data objects, prefer to defer dereferencing their handles.
Dependency updates only.
-
data-object-base: Removed IFluidRouter from DataObject interfaces and classes 9a451d4946
The
IFluidRouter
property has been removed from a number of DataObject related classes:PureDataObject
LazyLoadedDataObject
TestFluidObject
Please migrate to the new
entryPoint
pattern or use the relevantrequest
method as necessary.See Removing-IFluidRouter.md for more details.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.
-
aqueduct: ContainerRuntimeFactory constructors have changed 871b3493dd
The following class constructors have been changed to allow for better flexible in arguments passed:
BaseContainerRuntimeFactory
ContainerRuntimeFactoryWithDefaultDataStore
RuntimeFactory
They now use a single object for constructor params. Example change to be made:
// Old new BaseContainerRuntimeFactory( myRegistryEntries, myDependencyContainer, myRequestHandlers, myRuntimeOptions, myProvideEntryPoint, ); // New new BaseContainerRuntimeFactory({ registryEntries: myRegistryEntries, dependencyContainer: myDependencyContainer, requestHandlers: myRequestHandlers, runtimeOptions: myRuntimeOptions, provideEntryPoint: myProvideEntryPoint, });
-
DEPRECATED: container-runtime: requestHandlers are deprecated 871b3493dd
The concept of
requestHandlers
has been deprecated. Please migrate all usage of the following APIs to the newentryPoint
pattern:requestHandler
property inContainerRuntime.loadRuntime(...)
RuntimeRequestHandler
RuntimeRequestHandlerBuilder
defaultFluidObjectRequestHandler(...)
defaultRouteRequestHandler(...)
mountableViewRequestHandler(...)
buildRuntimeRequestHandler(...)
createFluidObjectResponse(...)
handleFromLegacyUri(...)
rootDataStoreRequestHandler(...)
See Removing-IFluidRouter.md for more details.
-
test-utils: provideEntryPoint is required 871b3493dd
The optional
provideEntryPoint
method has become required on a number of constructors. A value will need to be provided to the following classes:BaseContainerRuntimeFactory
RuntimeFactory
ContainerRuntime
(constructor andloadRuntime
)FluidDataStoreRuntime
See testContainerRuntimeFactoryWithDefaultDataStore.ts for an example implemtation of
provideEntryPoint
for ContainerRuntime. See pureDataObjectFactory.ts for an example implementation ofprovideEntryPoint
for DataStoreRuntime.Subsequently, various
entryPoint
andgetEntryPoint()
endpoints have become required. Please see containerRuntime.ts for example implementations of these APIs.For more details, see Removing-IFluidRouter.md
-
Minimum TypeScript version now 5.1.6 871b3493dd
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
Dependency updates only.
Dependency updates only.
-
Remove use of @fluidframework/common-definitions (#16638) a8c81509c9
The @fluidframework/common-definitions package is being deprecated, so the following interfaces and types are now imported from the @fluidframework/core-interfaces package:
- interface IDisposable
- interface IErrorEvent
- interface IErrorEvent
- interface IEvent
- interface IEventProvider
- interface ILoggingError
- interface ITaggedTelemetryPropertyType
- interface ITelemetryBaseEvent
- interface ITelemetryBaseLogger
- interface ITelemetryErrorEvent
- interface ITelemetryGenericEvent
- interface ITelemetryLogger
- interface ITelemetryPerformanceEvent
- interface ITelemetryProperties
- type ExtendEventProvider
- type IEventThisPlaceHolder
- type IEventTransformer
- type ReplaceIEventThisPlaceHolder
- type ReplaceIEventThisPlaceHolder
- type TelemetryEventCategory
- type TelemetryEventPropertyType
Dependency updates only.
-
initializeEntryPoint
will become required 8abce8cdb4The optional
initializeEntryPoint
method has been added to a number of constructors. This method argument will become required in an upcoming release and a value will need to be provided to the following classes:BaseContainerRuntimeFactory
ContainerRuntimeFactoryWithDefaultDataStore
RuntimeFactory
ContainerRuntime
(constructor andloadRuntime
)FluidDataStoreRuntime
For an example implementation of
initializeEntryPoint
, see pureDataObjectFactory.ts.This work will replace the request pattern. See Removing-IFluidRouter.md for more info on this effort.
-
Upgraded typescript transpilation target to ES2020 8abce8cdb4
Upgraded typescript transpilation target to ES2020. This is done in order to decrease the bundle sizes of Fluid Framework packages. This has provided size improvements across the board for ex. Loader, Driver, Runtime etc. Reduced bundle sizes helps to load lesser code in apps and hence also helps to improve the perf.If any app wants to target any older versions of browsers with which this target version is not compatible, then they can use packages like babel to transpile to a older target.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.