fluid-framework 2.81.0-374083 → 2.81.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/api-report/fluid-framework.alpha.api.md +0 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# fluid-framework
|
|
2
2
|
|
|
3
|
+
## 2.81.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- directory: Path parameter added to `cleared` event ([#26112](https://github.com/microsoft/FluidFramework/pull/26112)) [1ded6bf755](https://github.com/microsoft/FluidFramework/commit/1ded6bf75526eefd4d4565f4f9f6c795b8a77acf)
|
|
8
|
+
|
|
9
|
+
The `clear` event for SharedDirectory did not include a `path` parameter indicating which directory was cleared. Therefore, the `clear` event is deprecated and will be removed in a future release. Instead use the `cleared` event.
|
|
10
|
+
|
|
11
|
+
**Before:**
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
sharedDirectory.on("clear", (local, target) => {
|
|
15
|
+
// No way to know which subdirectory was cleared
|
|
16
|
+
});
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**After:**
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
sharedDirectory.on("cleared", (path, local, target) => {
|
|
23
|
+
// path tells you which directory was cleared (e.g., "/", "/subdir1", "/subdir2")
|
|
24
|
+
});
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
This change provides better observability by allowing listeners to distinguish between clear operations on different subdirectories within the SharedDirectory hierarchy.
|
|
28
|
+
|
|
3
29
|
## 2.80.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -1472,7 +1472,6 @@ export interface SharedTreeFormatOptions {
|
|
|
1472
1472
|
|
|
1473
1473
|
// @alpha @input
|
|
1474
1474
|
export interface SharedTreeOptions extends SharedTreeOptionsBeta, Partial<CodecWriteOptions>, Partial<SharedTreeFormatOptions> {
|
|
1475
|
-
readonly enableDetachedRootEditing?: boolean;
|
|
1476
1475
|
readonly enableSharedBranches?: boolean;
|
|
1477
1476
|
shouldEncodeIncrementally?: IncrementalEncodingPolicy;
|
|
1478
1477
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "2.81.
|
|
3
|
+
"version": "2.81.1",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"main": "lib/index.js",
|
|
58
58
|
"types": "lib/public.d.ts",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@fluidframework/container-definitions": "2.81.
|
|
61
|
-
"@fluidframework/container-loader": "2.81.
|
|
62
|
-
"@fluidframework/core-interfaces": "2.81.
|
|
63
|
-
"@fluidframework/core-utils": "2.81.
|
|
64
|
-
"@fluidframework/driver-definitions": "2.81.
|
|
65
|
-
"@fluidframework/fluid-static": "2.81.
|
|
66
|
-
"@fluidframework/map": "2.81.
|
|
67
|
-
"@fluidframework/runtime-utils": "2.81.
|
|
68
|
-
"@fluidframework/sequence": "2.81.
|
|
69
|
-
"@fluidframework/shared-object-base": "2.81.
|
|
70
|
-
"@fluidframework/tree": "2.81.
|
|
60
|
+
"@fluidframework/container-definitions": "~2.81.1",
|
|
61
|
+
"@fluidframework/container-loader": "~2.81.1",
|
|
62
|
+
"@fluidframework/core-interfaces": "~2.81.1",
|
|
63
|
+
"@fluidframework/core-utils": "~2.81.1",
|
|
64
|
+
"@fluidframework/driver-definitions": "~2.81.1",
|
|
65
|
+
"@fluidframework/fluid-static": "~2.81.1",
|
|
66
|
+
"@fluidframework/map": "~2.81.1",
|
|
67
|
+
"@fluidframework/runtime-utils": "~2.81.1",
|
|
68
|
+
"@fluidframework/sequence": "~2.81.1",
|
|
69
|
+
"@fluidframework/shared-object-base": "~2.81.1",
|
|
70
|
+
"@fluidframework/tree": "~2.81.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@fluid-tools/build-cli": "^0.63.0",
|
|
76
76
|
"@fluidframework/build-common": "^2.0.3",
|
|
77
77
|
"@fluidframework/build-tools": "^0.63.0",
|
|
78
|
-
"@fluidframework/eslint-config-fluid": "2.81.
|
|
78
|
+
"@fluidframework/eslint-config-fluid": "~2.81.1",
|
|
79
79
|
"@microsoft/api-extractor": "7.52.11",
|
|
80
80
|
"@types/node": "^18.19.0",
|
|
81
81
|
"concurrently": "^9.2.1",
|