@fluidframework/map 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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # @fluidframework/map
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
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/map";
8
- export declare const pkgVersion = "2.81.0-374083";
8
+ export declare const pkgVersion = "2.81.1";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,wBAAwB,CAAC;AAC7C,eAAO,MAAM,UAAU,kBAAkB,CAAC"}
1
+ {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,wBAAwB,CAAC;AAC7C,eAAO,MAAM,UAAU,WAAW,CAAC"}
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/map";
11
- exports.pkgVersion = "2.81.0-374083";
11
+ exports.pkgVersion = "2.81.1";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,qBAAqB,CAAC;AAChC,QAAA,UAAU,GAAG,eAAe,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.81.0-374083\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,qBAAqB,CAAC;AAChC,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.81.1\";\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/map";
8
- export declare const pkgVersion = "2.81.0-374083";
8
+ export declare const pkgVersion = "2.81.1";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,wBAAwB,CAAC;AAC7C,eAAO,MAAM,UAAU,kBAAkB,CAAC"}
1
+ {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,wBAAwB,CAAC;AAC7C,eAAO,MAAM,UAAU,WAAW,CAAC"}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/map";
8
- export const pkgVersion = "2.81.0-374083";
8
+ export const pkgVersion = "2.81.1";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.81.0-374083\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.81.1\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/map",
3
- "version": "2.81.0-374083",
3
+ "version": "2.81.1",
4
4
  "description": "Distributed map",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -81,32 +81,32 @@
81
81
  "temp-directory": "nyc/.nyc_output"
82
82
  },
83
83
  "dependencies": {
84
- "@fluid-internal/client-utils": "2.81.0-374083",
85
- "@fluidframework/core-interfaces": "2.81.0-374083",
86
- "@fluidframework/core-utils": "2.81.0-374083",
87
- "@fluidframework/datastore-definitions": "2.81.0-374083",
88
- "@fluidframework/driver-definitions": "2.81.0-374083",
89
- "@fluidframework/driver-utils": "2.81.0-374083",
90
- "@fluidframework/runtime-definitions": "2.81.0-374083",
91
- "@fluidframework/runtime-utils": "2.81.0-374083",
92
- "@fluidframework/shared-object-base": "2.81.0-374083",
93
- "@fluidframework/telemetry-utils": "2.81.0-374083",
84
+ "@fluid-internal/client-utils": "~2.81.1",
85
+ "@fluidframework/core-interfaces": "~2.81.1",
86
+ "@fluidframework/core-utils": "~2.81.1",
87
+ "@fluidframework/datastore-definitions": "~2.81.1",
88
+ "@fluidframework/driver-definitions": "~2.81.1",
89
+ "@fluidframework/driver-utils": "~2.81.1",
90
+ "@fluidframework/runtime-definitions": "~2.81.1",
91
+ "@fluidframework/runtime-utils": "~2.81.1",
92
+ "@fluidframework/shared-object-base": "~2.81.1",
93
+ "@fluidframework/telemetry-utils": "~2.81.1",
94
94
  "path-browserify": "^1.0.1"
95
95
  },
96
96
  "devDependencies": {
97
97
  "@arethetypeswrong/cli": "^0.18.2",
98
98
  "@biomejs/biome": "~1.9.3",
99
- "@fluid-internal/mocha-test-setup": "2.81.0-374083",
100
- "@fluid-private/stochastic-test-utils": "2.81.0-374083",
101
- "@fluid-private/test-dds-utils": "2.81.0-374083",
99
+ "@fluid-internal/mocha-test-setup": "~2.81.1",
100
+ "@fluid-private/stochastic-test-utils": "~2.81.1",
101
+ "@fluid-private/test-dds-utils": "~2.81.1",
102
102
  "@fluid-tools/benchmark": "^0.52.0",
103
103
  "@fluid-tools/build-cli": "^0.63.0",
104
104
  "@fluidframework/build-common": "^2.0.3",
105
105
  "@fluidframework/build-tools": "^0.63.0",
106
- "@fluidframework/container-definitions": "2.81.0-374083",
107
- "@fluidframework/eslint-config-fluid": "2.81.0-374083",
108
- "@fluidframework/map-previous": "npm:@fluidframework/map@2.80.0",
109
- "@fluidframework/test-runtime-utils": "2.81.0-374083",
106
+ "@fluidframework/container-definitions": "~2.81.1",
107
+ "@fluidframework/eslint-config-fluid": "~2.81.1",
108
+ "@fluidframework/map-previous": "npm:@fluidframework/map@2.81.0",
109
+ "@fluidframework/test-runtime-utils": "~2.81.1",
110
110
  "@microsoft/api-extractor": "7.52.11",
111
111
  "@types/mocha": "^10.0.10",
112
112
  "@types/node": "^18.19.0",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/map";
9
- export const pkgVersion = "2.81.0-374083";
9
+ export const pkgVersion = "2.81.1";