github microsoft/FluidFramework client_v2.0.0-internal.5.4.0
Fluid Framework v2.0.0-internal.5.4.0 (minor)

latest releases: client_v2.2.1, client_v2.1.1, client_v2.0.7...
13 months ago

Changes in Fluid Framework v2.0.0-internal.5.4.0

Deprecate Internal TelemetryLogger Implementations

This change deprecates our internal TelemetryLogger implementations and unifies our exported and consumed surface area on our telemetry interfaces.

For the deprecated implementations the following replacement function should be used:

  • replace ChildLogger.create, new TelemetryNullLogger, and new BaseTelemetryNullLogger with createChildLogger
  • replace new MultiSinkLogger with createMultiSinkLogger
  • replace TelemetryUTLogger with MockLogger
  • DebugLogger.create will be made internal with no intended replacement

ILoaderOptions.cache has been deprecated

ILoaderOptions.cache has been deprecated and will be removed in a future release, as well as all caching functionality of containers. Cache support will be removed soon, please try not to rely on caching, and inform us if you cannot do so.

Remove support for Global Fields

Support for Global fields has been removed.

Some interval-related APIs are deprecated

The following APIs are now deprecated from IntervalCollection:

  • findOverlappingIntervals and gatherIterationResults - these functions are moved to the OverlappingIntervalsIndex. Users are advised to independently attach the index to the collection and utilize the API accordingly, for instance:

    const overlappingIntervalsIndex = createOverlappingIntervalsIndex(
      client,
      helpers
    );
    collection.attachIndex(overlappingIntervalsIndex);
    const result1 = overlappingIntervalsIndex.findOverlappingIntervals(
      start,
      end
    );
    
    const result2 = [];
    overlappingIntervalsIndex.gatherIterationResults(result2, true);
  • CreateBackwardIteratorWithEndPosition, CreateBackwardIteratorWithStartPosition, CreateForwardIteratorWithEndPosition and CreateForwardIteratorWithStartPosition - only the default iterator will be supported in the future, and it will no longer preserve sequence order.

    Equivalent functionality to these four methods is provided by IOverlappingIntervalIndex.gatherIterationResults.

  • previousInterval and nextInterval - These functionalities are moved to the EndpointIndex. Users are advised to independently attach the index to the collection and utilize the API accordingly, for instance:

    const endpointIndex = createEndpointIndex(client, helpers);
    collection.attachIndex(endpointIndex);
    
    const result1 = endpointIndex.previousInterval(pos);
    const result2 = endpointIndex.nextInterval(pos);

ContainerRuntime.reSubmitFn is deprecated:

ContainerRuntime.reSubmitFn is deprecatedsince this functionality needs not be exposed, and we are refactoring the signatures of related code internally.

Old SchemaBuilder APIs removed

Remove old SchemaBuilder APIs in favor of Schema2 design.

Don't miss a new FluidFramework release

NewReleases is sending notifications on new releases.