Dependency updates only.
-
"Remove
IFluidParentContext.ensureNoDataModelChanges
and its implementations (#22842) 3aff19a462IFluidParentContext.ensureNoDataModelChanges
has been removed. prior deprecation commitMockFluidDataStoreContext.ensureNoDataModelChanges
has also been removed.
-
The inbound and outbound properties have been removed from IDeltaManager (#22282) 45a57693f2
The inbound and outbound properties were deprecated in version 2.0.0-rc.2.0.0 and have been removed from
IDeltaManager
.IDeltaManager.inbound
contained functionality that could break core runtime features such as summarization and processing batches if used improperly. Data loss or corruption could occur whenIDeltaManger.inbound.pause()
orIDeltaManager.inbound.resume()
were called.Similarly,
IDeltaManager.outbound
contained functionality that could break core runtime features such as generation of batches and chunking. Data loss or corruption could occur whenIDeltaManger.inbound.pause()
orIDeltaManager.inbound.resume()
were called.- Alternatives to
IDeltaManager.inbound.on("op", ...)
areIDeltaManager.on("op", ...)
- Alternatives to calling
IDeltaManager.inbound.pause
,IDeltaManager.outbound.pause
forIContainer
disconnect useIContainer.disconnect
. - Alternatives to calling
IDeltaManager.inbound.resume
,IDeltaManager.outbound.resume
forIContainer
reconnect useIContainer.connect
.
- Alternatives to
-
The process function on IFluidDataStoreChannel, IDeltaHandler, MockFluidDataStoreRuntime and MockDeltaConnection is now deprecated (#22840) 2e5b969d3a
The process function on IFluidDataStoreChannel, IDeltaHandler, MockFluidDataStoreRuntime and MockDeltaConnection is now deprecated. It has been replaced with a new function
processMessages
, which will be called to process multiple messages instead of a single one on the channel. This is part of a feature called "Op bunching", where contiguous ops of a given type and to a given data store / DDS are bunched and sent together for processing.Implementations of
IFluidDataStoreChannel
andIDeltaHandler
must now also implementprocessMessages
. For reference implementations, seeFluidDataStoreRuntime::processMessages
andSharedObjectCore::attachDeltaHandler
.
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.
-
Update to ES 2022 (#21292) 68921502f7
Update tsconfig to target ES 2022.
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.
-
driver-definitions: repositoryUrl removed from IDocumentStorageService (#19522) 90eb3c9d33
The
repositoryUrl
member ofIDocumentStorageService
was unused and always equal to the empty string. It has been removed. -
container-definitions: ILoaderOptions no longer accepts arbitrary key/value pairs (#19306) 741926e225
ILoaderOptions has been narrowed to the specific set of supported loader options, and may no longer be used to pass arbitrary key/value pairs through to the runtime.
-
Updated server dependencies (#19122) 25366b4229
The following Fluid server dependencies have been updated to the latest version, 3.0.0. See the full changelog.
- @fluidframework/gitresources
- @fluidframework/server-kafka-orderer
- @fluidframework/server-lambdas
- @fluidframework/server-lambdas-driver
- @fluidframework/server-local-server
- @fluidframework/server-memory-orderer
- @fluidframework/protocol-base
- @fluidframework/server-routerlicious
- @fluidframework/server-routerlicious-base
- @fluidframework/server-services
- @fluidframework/server-services-client
- @fluidframework/server-services-core
- @fluidframework/server-services-ordering-kafkanode
- @fluidframework/server-services-ordering-rdkafka
- @fluidframework/server-services-ordering-zookeeper
- @fluidframework/server-services-shared
- @fluidframework/server-services-telemetry
- @fluidframework/server-services-utils
- @fluidframework/server-test-utils
- tinylicious
-
Updated @fluidframework/protocol-definitions (#19122) 25366b4229
The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. See the full changelog.
-
garbage collection: Deprecate addedGCOutboundReference (#18456) 0619cf8a41
The
addedGCOutboundReference
property on IDeltaConnection, IFluidDataStoreContext, and MockFluidDataStoreRuntime is now deprecated.The responsibility of adding outbound references (for Garbage Collection tracking) is moving up to the ContainerRuntime. Previously, DDSes themselves were responsible to detect and report added outbound references (via a handle being stored), so these interfaces (and corresponding mock) needed to plumb that information up to the ContainerRuntime layer where GC sits. This is no longer necessary so they're being removed in an upcoming release.
-
datastore-definitions: Jsonable and Serializable now require a generic parameter 9a451d4946
The
Jsonable
andSerializable
types from @fluidframework/datastore-definitions now require a generic parameter and if that type isany
orunknown
will return a new resultJsonableTypeWith<>
that more accurately represents the limitation of serialization.Additional modifications:
Jsonable
'sTReplacement
parameter default has also been changed fromvoid
tonever
, which now disallowsvoid
.- Unrecognized primitive types like
symbol
are now filtered tonever
instead of{}
. - Recursive types with arrays (
[]
) are now supported.
Serializable
is commonly used for DDS values and now requires more precision when using them. For example SharedMatrix (unqualified) has anany
default that meant values wereSerializable<any>
(i.e.any
), but nowSerializable<any>
isJsonableTypeWith<IFluidHandle>
which may be problematic for reading or writing. Preferred correction is to specify the value type but casting throughany
may provide a quick fix. -
test-runtime-utils: MockDeltaManager class property type changes 9a451d4946
The
active
andmaxMessageSize
properties on theMockDeltaManager
class have changed from property getters toreadonly
fields. While this is an API change, there should be no changes required on the consumer side since calling code should remain the same.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.
-
Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 871b3493dd
This included the following changes from the protocol-definitions release:
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
submitted by clients to the server and the resulting signals sent from the server to clients.
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has been added, which will be the typing for signals sent from the client to the server. Both extend a new ISignalMessageBase interface that contains common members.
- The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
submitted by clients to the server and the resulting signals sent from the server to clients.
-
runtime-definitions:
bindToContext
API removed 871b3493ddbindToContext
has been removed fromFluidDataStoreRuntime
,IFluidDataStoreContext
andMockFluidDataStoreContext
. This has been deprecated for several releases and cannot be used anymore. -
Server upgrade: dependencies on Fluid server packages updated to 2.0.1 871b3493dd
Dependencies on the following Fluid server package have been updated to version 2.0.1:
- @fluidframework/gitresources: 2.0.1
- @fluidframework/server-kafka-orderer: 2.0.1
- @fluidframework/server-lambdas: 2.0.1
- @fluidframework/server-lambdas-driver: 2.0.1
- @fluidframework/server-local-server: 2.0.1
- @fluidframework/server-memory-orderer: 2.0.1
- @fluidframework/protocol-base: 2.0.1
- @fluidframework/server-routerlicious: 2.0.1
- @fluidframework/server-routerlicious-base: 2.0.1
- @fluidframework/server-services: 2.0.1
- @fluidframework/server-services-client: 2.0.1
- @fluidframework/server-services-core: 2.0.1
- @fluidframework/server-services-ordering-kafkanode: 2.0.1
- @fluidframework/server-services-ordering-rdkafka: 2.0.1
- @fluidframework/server-services-ordering-zookeeper: 2.0.1
- @fluidframework/server-services-shared: 2.0.1
- @fluidframework/server-services-telemetry: 2.0.1
- @fluidframework/server-services-utils: 2.0.1
- @fluidframework/server-test-utils: 2.0.1
- tinylicious: 2.0.1
-
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.
-
MockContainerRuntime
andMockFluidDataStoreRuntime
have new required methods 8abce8cdb4MockContainerRuntime
has two new required methods,flush()
andrebase()
.MockFluidDataStoreRuntime
has one new required method,createDeltaConnection
.To enable testing scenarios involving batches of ops,
MockContainerRuntime
has two new required methods,flush()
andrebase()
. Depending on theIMockContainerRuntimeOptions
supplied to the mock runtime, these two new methods must be used accordingly. For the same reason,MockFluidDataStoreRuntime
implements thecreateDeltaConnection
method, along with managing the mock delta connection lifecycle in a single place. -
Request APIs deprecated from many places 8abce8cdb4
The
request
API (associated with theIFluidRouter
interface) has been deprecated on a number of classes and interfaces. The following are impacted:IRuntime
andContainerRuntime
IFluidDataStoreRuntime
andFluidDataStoreRuntime
IFluidDataStoreChannel
MockFluidDataStoreRuntime
TestFluidObject
Please migrate usage to the corresponding
entryPoint
orgetEntryPoint()
of the object. The value for these "entryPoint" related APIs is determined from factories (forIRuntime
andIFluidDataStoreRuntime
) via theinitializeEntryPoint
method. If no method is passed to the factory, the correspondingentryPoint
andgetEntryPoint()
will be undefined.For an example implementation of
initializeEntryPoint
, see pureDataObjectFactory.ts.More information of the migration off the request pattern, and current status of its removal, is documented in Removing-IFluidRouter.md.
-
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.
-
IDeltaManager members disposed and dispose() removed 8abce8cdb4
IDeltaManager members disposed and dispose() were deprecated in 2.0.0-internal.5.3.0 and have now been removed.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.
Dependency updates only.