Skip to content

Releases: microsoft/FluidFramework

Fluid Framework v2.3.1 (patch)

01 Oct 22:58
b98a1b4
Compare
Choose a tag to compare

What's Changed

  • [bump] client: 2.3.0 => 2.3.1 (patch) #22690
  • [main > release/client/2.3]: Handle Location redirection for getSharingInformation call (#22551) #22619
  • [port 2.3]: Avoid two leading slashes in the request to create a new file (#22563) #22591
  • fix(release/client/2.3): Update version argument in package promotion command to correct parameter #22584

Full Changelog: client_v2.3.0...client_v2.3.1

Fluid Framework v2.2.2 (patch)

01 Oct 22:52
567feff
Compare
Choose a tag to compare

What's Changed

  • [v2.2] Port #22508 and prereqs (ContainerRuntime: Process incoming batches op-by-op instead of waiting for the whole batch) #22654
  • [main > release/client/2.2]: Handle Location redirection for getSharingInformation call (#22551) #22620
  • [port 2.2]: Avoid two leading slashes in the request to create a new file (#22563) #22590
  • Manually bump client release branch from 2.2.1 to 2.2.2 #22573

Full Changelog: client_v2.2.1...client_v2.2.2

Fluid Framework v2.1.2 (patch)

30 Sep 23:55
2bb28a0
Compare
Choose a tag to compare

What's Changed

  • [main > release/client/2.1]: Handle Location redirection for getSharingInformation call (#22551) #22621
  • [port 2.1]: Avoid two leading slashes in the request to create a new file (#22563) #22589
  • Manually bump client release branch from 2.1.1 to 2.1.2 #22571

Full Changelog: client_v2.1.1...client_v2.1.2

Fluid Framework v2.0.9 (patch)

26 Sep 18:43
d2fecdf
Compare
Choose a tag to compare

What's Changed

  • [main > release/client/2.0]: Handle Location redirection for getSharingInformation call (#22551) #22622
  • [bump] client: 2.0.8 => 2.0.9 (patch) #22606

Full Changelog: client_v2.0.8...client_v2.0.9

Fluid Framework v2.0.0-rc.5.0.8 (patch)

25 Sep 20:48
252e0bc
Compare
Choose a tag to compare

What's Changed

  • [main > release/client/rc.5.0]: Handle Location redirection for getSharingInformation call (#22551) #22577
  • [Port 2.0.0-rc.5.0] Hide part of code behind feature flag (#22529) #22534
  • [bump] client: 2.0.0-rc.5.0.7 => 2.0.0-rc.5.0.8 (patch) #22034

Full Changelog: client_v2.0.0-rc.5.0.7...client_v2.0.0-rc.5.0.8

Fluid Framework v2.0.8 (patch)

24 Sep 17:42
39d8a35
Compare
Choose a tag to compare

What's Changed

  • [port 2.0]: Avoid two leading slashes in the request to create a new file #22588
  • Manually bump client release branch from 2.0.7 to 2.0.8 #22568

Full Changelog: client_v2.0.7...client_v2.0.8

Fluid Framework v2.2.1 (patch)

18 Sep 22:25
54ff0da
Compare
Choose a tag to compare

What's Changed

  • [Port 2.2] 0x04f bug fix for SharedString and SharedMatrix (#22529) #22540
  • [main -> 2.2] build(client): Update typetests baselines to 2.2.0 #22268
  • [bump] client: 2.2.0 => 2.2.1 (patch) #22258
  • [main -> 2.2] ci: Bump marocchino/sticky-pull-request-comment action to latest version (2.9.0) #22262

Full Changelog: client_v2.2.0...client_v2.2.1

Fluid Framework v2.1.1 (patch)

18 Sep 22:24
f1c23fc
Compare
Choose a tag to compare

What's Changed

  • [Port 2.1] 0x04f bug fix for SharedString and SharedMatrix (#22529) #22539
  • Revert back PR #21785. Process ops by batches in remoteMessageProcessor and pendingStateManager #22509
  • [port 2.1]: Fix upload release report step #22168
  • [port 2.1] refactor(ci): Use Small pool for first stage of Test DDS Stress pipeline #21986
  • Update type tests for 2.1 release branch #21981
  • [bump] client: 2.1.0 => 2.1.1 (patch) #21978

Full Changelog: client_v2.1.0...client_v2.1.1

Fluid Framework v2.0.7 (patch)

23 Sep 20:30
2015c59
Compare
Choose a tag to compare

What's Changed

  • [Port 2.0] 0x04f bug fix for SharedString and SharedMatrix (#22537) #22537
  • [port 2.0]: Fix upload release report step #22167
  • [bump] client: 2.0.6 => 2.0.7 (patch) #22054

Full Changelog: client_v2.0.6...client_v2.0.7

Fluid Framework v2.3.0 (minor)

17 Sep 03:40
c5359ba
Compare
Choose a tag to compare

Contents

✨ New Features

Experimental Presence package added (#22499)

@fluid-experimental/presence is now available for investigation. The new package is meant to support presence of collaborators connected to the same container. Use this library to quickly share simple, non-persisted data among all clients or send/receive fire and forget notifications.

API documentation for @fluid-experimental/presence is available at https://fluidframework.com/docs/apis/presence.

There are some limitations; see the README.md of installed package for most relevant notes.

We're just getting started. Please give it a go and share feedback.

Change details

Commit: 42b323c

Affected packages:

  • @fluid-experimental/presence

⬆️ Table of contents

🌳 SharedTree DDS changes

Refactor code for emitting events to make it easier to copy into other projects (#22275)

Factored event emitting utilities into their own file, events/emitter.ts. Applications wishing to use SharedTree's eventing library for custom events can copy this file (and its referenced utility function) as a starting point for defining and emitting their own custom events. See createEmitter's documentation for example usage.

Currently there are no published or officially supported versions of these utilities, but they are relatively simple, and can be copied and customized as needed.

Change details

Commit: 49849bb

Affected packages:

  • @fluidframework/tree

⬆️ Table of contents

A @beta version of nodeChanged which includes the list of properties has been added (#22229)

const factory = new SchemaFactory("example");
class Point2d extends factory.object("Point2d", {
  x: factory.number,
  y: factory.number,
}) {}

const point = new Point2d({ x: 0, y: 0 });

TreeBeta.on(point, "nodeChanged", (data) => {
  const changed: ReadonlySet<"x" | "y"> = data.changedProperties;
  if (changed.has("x")) {
    // ...
  }
});

The payload of the nodeChanged event emitted by SharedTree's TreeBeta includes a changedProperties property that indicates which properties of the node changed.

For object nodes, the list of properties uses the property identifiers defined in the schema, and not the persisted identifiers (or "stored keys") that can be provided through FieldProps when defining a schema. See the documentation for FieldProps for more details about the distinction between "property keys" and "stored keys".

For map nodes, every key that was added, removed, or updated by a change to the tree is included in the list of properties.

For array nodes, the set of properties will always be undefined: there is currently no API to get details about changes to an array.

Object nodes revieve strongly types sets of changed keys, allowing compile time detection of incorrect keys:

TreeBeta.on(point, "nodeChanged", (data) => {
  // @ts-expect-error Strong typing for changed properties of object nodes detects incorrect keys:
  if (data.changedProperties.has("z")) {
    // ...
  }
});

The existing stable "nodeChanged" event's callback now is given a parameter called unstable of type unknown which is used to indicate that additional data can be provided there. This could break existing code using "nodeChanged" in a particularly fragile way.

function f(optional?: number) {
  // ...
}
Tree.on(point, "nodeChanged", f); // Bad

Code like this which is implicitly discarding an optional argument from the function used as the listener will be broken. It can be fixed by using an inline lambda expression:

function f(optional?: number) {
  // ...
}
Tree.on(point, "nodeChanged", () => f()); // Safe

Change details

Commit: aae34dd

Affected packages:

  • fluid-framework
  • @fluidframework/tree

⬆️ Table of contents

Make SharedTree usable with legacy APIs (#22320)

SharedTree was not previously exported in a way that made it usable with @fluidframework/aqueduct or other lower-level legacy APIs. This fixes that issue by making it consistent with other DDSes: such usages can import { SharedTree } from "@fluidframework/tree/legacy";.

Change details

Commit: bbdf869

Affected packages:

  • @fluidframework/tree

⬆️ Table of contents

Implicitly constructed object nodes now only consider own properties during validation (#22453)

When determining if some given data is compatible with a particular ObjectNode schema, both inherited and own properties were considered. However, when constructing the node from this data, only own properties were used. This allowed input which provided required values in inherited fields to pass validation. When the node was constructed, it would lack these fields, and end up out of schema. This has been fixed: both validation and node construction now only consider own properties.

This may cause some cases which previously exhibited data corruption to now throw a usage error reporting the data is incompatible. Such cases may need to copy data from the objects with inherited properties into new objects with own properties before constructing nodes from them.

Change details

Commit: 27faa56

Affected packages:

  • @fluidframework/tree
  • fluid-framework

⬆️ Table of contents

Export SharedTree beta APIs from fluid-framework/beta (#22469)

fluid-framework/beta now contains the @beta APIs from @fluidframework/tree/beta.

Change details

Commit: c51f55c

Affected packages:

  • fluid-framework

⬆️ Table of contents

Add /alpha import path to @fluidframework/tree and fluid-framework packages (#22483)

@fluidframework/tree and fluid-framework now have a /alpha import path where their @alpha APIs are exported.

Change details

Commit: 12242cf

Affected packages:

  • fluid-framework
  • @fluidframework/tree

⬆️ Table of contents

🐛 Bug Fixes

Restored old op processing behavior around batched ops to avoid potential regression (#22508)

There's a theoretical risk of indeterminate behavior due to a recent change to how batches of ops are processed. This fix reverses that change.

Pull Request #21785 updated the ContainerRuntime to hold onto the messages in an incoming batch until they've all arrived, and only then process the set of messages.

While the batch is being processed, the DeltaManager and ContainerRuntime's view of the latest sequence numbers will be out of sync. This may have unintended side effects, so out of an abundance of caution we're reversing this behavior until we can add the proper protections to ensure the system stays properly in sync.

Change details

Commit: 709f085

Affected packages:

  • @fluidframewor...
Read more