@fluid-internal/client-utils 3.13.0 → 3.15.0

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,13 +1,21 @@
1
1
  # @fluid-internal/client-utils
2
2
 
3
+ ## 3.15.0
4
+
5
+ Dependency updates only.
6
+
7
+ ## 3.14.0
8
+
9
+ Dependency updates only.
10
+
3
11
  ## 3.13.0
4
12
 
5
13
  ### Minor Changes
6
14
 
7
- - Reduce the memory used by event emitters with one listener per event ([#28719](https://github.com/microsoft/FluidFramework/pull/28719)) [d7730b8aaf5](https://github.com/microsoft/FluidFramework/commit/d7730b8aaf507aef4505cf012456f29a226be9cd)
15
+ #### Reduce the memory used by event emitters with one listener per event ([#28719](https://github.com/microsoft/FluidFramework/pull/28719)) [d7730b8aaf5](https://github.com/microsoft/FluidFramework/commit/d7730b8aaf507aef4505cf012456f29a226be9cd)
8
16
 
9
- An event emitter now keeps an event's only listener directly, and creates a set of listeners only when the event has a second one.
10
- Most emitters have one listener per event: for example, a tree node with a `nodeChanged` listener uses about 300 bytes less memory.
17
+ An event emitter now keeps an event's only listener directly, and creates a set of listeners only when the event has a second one.
18
+ Most emitters have one listener per event: for example, a tree node with a `nodeChanged` listener uses about 300 bytes less memory.
11
19
 
12
20
  ## 3.12.0
13
21
 
@@ -97,9 +105,9 @@ Dependency updates only.
97
105
 
98
106
  ### Minor Changes
99
107
 
100
- - Node 22 is now the minimum supported Node.js version ([#27116](https://github.com/microsoft/FluidFramework/pull/27116)) [e8214d29663](https://github.com/microsoft/FluidFramework/commit/e8214d29663f5ee98d737daed82506a25d8de8d0)
108
+ #### Node 22 is now the minimum supported Node.js version ([#27116](https://github.com/microsoft/FluidFramework/pull/27116)) [e8214d29663](https://github.com/microsoft/FluidFramework/commit/e8214d29663f5ee98d737daed82506a25d8de8d0)
101
109
 
102
- All Fluid Framework client packages now require Node.js 22 or later. This aligns with the standing Node upgrade policy as Node 20 reaches end-of-life on April 30, 2026.
110
+ All Fluid Framework client packages now require Node.js 22 or later. This aligns with the standing Node upgrade policy as Node 20 reaches end-of-life on April 30, 2026.
103
111
 
104
112
  ## 2.93.0
105
113
 
@@ -245,12 +253,12 @@ Dependency updates only.
245
253
 
246
254
  ### Minor Changes
247
255
 
248
- - The events library has been moved from the tree package ([#23141](https://github.com/microsoft/FluidFramework/pull/23141)) [cae07b5c8c](https://github.com/microsoft/FluidFramework/commit/cae07b5c8c7904184b5fbf8c677f302da19cc697)
256
+ #### The events library has been moved from the tree package ([#23141](https://github.com/microsoft/FluidFramework/pull/23141)) [cae07b5c8c](https://github.com/microsoft/FluidFramework/commit/cae07b5c8c7904184b5fbf8c677f302da19cc697)
249
257
 
250
- In previous releases, the `@fluidframework/tree` package contained an internal events library. The events-related types and interfaces have been moved to
251
- `@fluidframework/core-interfaces`, while the implementation has been relocated to `@fluid-internal/client-utils`. There are
252
- no changes to how the events library is used; the relocation simply organizes the library into more appropriate
253
- packages. This change should have no impact on developers using the Fluid Framework.
258
+ In previous releases, the `@fluidframework/tree` package contained an internal events library. The events-related types and interfaces have been moved to
259
+ `@fluidframework/core-interfaces`, while the implementation has been relocated to `@fluid-internal/client-utils`. There are
260
+ no changes to how the events library is used; the relocation simply organizes the library into more appropriate
261
+ packages. This change should have no impact on developers using the Fluid Framework.
254
262
 
255
263
  ## 2.10.0
256
264
 
@@ -288,23 +296,23 @@ Dependency updates only.
288
296
 
289
297
  ### Major Changes
290
298
 
291
- - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
299
+ #### Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
292
300
 
293
- Fluid Framework packages have been updated to use the [package.json "exports"
294
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
295
- TypeScript types and implementation code.
301
+ Fluid Framework packages have been updated to use the [package.json "exports"
302
+ field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
303
+ TypeScript types and implementation code.
296
304
 
297
- This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
298
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
299
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
305
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
306
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
307
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
300
308
 
301
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
302
- for use with modern versions of Node.js _and_ Bundlers.
303
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
304
- regarding the module and moduleResolution options.
309
+ We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
310
+ for use with modern versions of Node.js _and_ Bundlers.
311
+ [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
312
+ regarding the module and moduleResolution options.
305
313
 
306
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
307
- to distinguish stable APIs from those that are in development.**
314
+ **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
315
+ to distinguish stable APIs from those that are in development.**
308
316
 
309
317
  ## 2.0.0-rc.2.0.0
310
318
 
@@ -338,11 +346,11 @@ Dependency updates only.
338
346
 
339
347
  ### Minor Changes
340
348
 
341
- - client-utils: Internal buffer encoding helpers now require 'utf8', 'utf-8', or 'base64' [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
349
+ #### client-utils: Internal buffer encoding helpers now require 'utf8', 'utf-8', or 'base64' [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
342
350
 
343
- Previously, the buffer encoding helpers 'Uint8ArrayToString', 'bufferToString', and 'IsoBuffer.toString' would accept a string argument, which was overly permissive.
351
+ Previously, the buffer encoding helpers 'Uint8ArrayToString', 'bufferToString', and 'IsoBuffer.toString' would accept a string argument, which was overly permissive.
344
352
 
345
- The type of the 'encoding' argument has been narrow to just the supported values 'utf8', 'utf-8', or 'base64'.
353
+ The type of the 'encoding' argument has been narrow to just the supported values 'utf8', 'utf-8', or 'base64'.
346
354
 
347
355
  ## 2.0.0-internal.6.4.0
348
356
 
@@ -8,5 +8,5 @@
8
8
  * The generation number for Fluid layer compatibility.
9
9
  * @internal
10
10
  */
11
- export declare const generation = 11;
11
+ export declare const generation = 12;
12
12
  //# sourceMappingURL=layerGenerationState.d.ts.map
@@ -11,5 +11,5 @@ exports.generation = void 0;
11
11
  * The generation number for Fluid layer compatibility.
12
12
  * @internal
13
13
  */
14
- exports.generation = 11;
14
+ exports.generation = 12;
15
15
  //# sourceMappingURL=layerGenerationState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"layerGenerationState.js","sourceRoot":"","sources":["../src/layerGenerationState.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH;;;GAGG;AACU,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\n/**\n * The generation number for Fluid layer compatibility.\n * @internal\n */\nexport const generation = 11;\n"]}
1
+ {"version":3,"file":"layerGenerationState.js","sourceRoot":"","sources":["../src/layerGenerationState.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH;;;GAGG;AACU,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\n/**\n * The generation number for Fluid layer compatibility.\n * @internal\n */\nexport const generation = 12;\n"]}
@@ -8,5 +8,5 @@
8
8
  * The generation number for Fluid layer compatibility.
9
9
  * @internal
10
10
  */
11
- export declare const generation = 11;
11
+ export declare const generation = 12;
12
12
  //# sourceMappingURL=layerGenerationState.d.ts.map
@@ -8,5 +8,5 @@
8
8
  * The generation number for Fluid layer compatibility.
9
9
  * @internal
10
10
  */
11
- export const generation = 11;
11
+ export const generation = 12;
12
12
  //# sourceMappingURL=layerGenerationState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"layerGenerationState.js","sourceRoot":"","sources":["../src/layerGenerationState.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AACH,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\n/**\n * The generation number for Fluid layer compatibility.\n * @internal\n */\nexport const generation = 11;\n"]}
1
+ {"version":3,"file":"layerGenerationState.js","sourceRoot":"","sources":["../src/layerGenerationState.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AACH,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\n/**\n * The generation number for Fluid layer compatibility.\n * @internal\n */\nexport const generation = 12;\n"]}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.58.1"
8
+ "packageVersion": "7.60.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-internal/client-utils",
3
- "version": "3.13.0",
3
+ "version": "3.15.0",
4
4
  "description": "Not intended for use outside the Fluid Framework.",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -63,7 +63,7 @@
63
63
  "temp-directory": "nyc/.nyc_output"
64
64
  },
65
65
  "dependencies": {
66
- "@fluidframework/core-interfaces": "~3.13.0",
66
+ "@fluidframework/core-interfaces": "~3.15.0",
67
67
  "@types/events_pkg": "npm:@types/events@^3.0.0",
68
68
  "base64-js": "^1.5.1",
69
69
  "buffer": "^6.0.3",
@@ -73,13 +73,13 @@
73
73
  "devDependencies": {
74
74
  "@arethetypeswrong/cli": "^0.18.5",
75
75
  "@biomejs/biome": "~2.4.5",
76
- "@fluid-internal/client-utils-previous": "npm:@fluid-internal/client-utils@3.12.0",
77
- "@fluid-internal/mocha-test-setup": "~3.13.0",
76
+ "@fluid-internal/client-utils-previous": "npm:@fluid-internal/client-utils@3.13.0",
77
+ "@fluid-internal/mocha-test-setup": "~3.15.0",
78
78
  "@fluid-tools/build-cli": "^0.68.0",
79
79
  "@fluidframework/build-common": "^2.0.3",
80
80
  "@fluidframework/build-tools": "^0.68.0",
81
81
  "@fluidframework/eslint-config-fluid": "^14.0.0",
82
- "@microsoft/api-extractor": "7.58.1",
82
+ "@microsoft/api-extractor": "7.60.1",
83
83
  "@playwright/test": "^1.62.1",
84
84
  "@types/mocha": "^10.0.10",
85
85
  "@types/node": "~22.19.17",
@@ -198,9 +198,9 @@
198
198
  }
199
199
  },
200
200
  "fluidCompatMetadata": {
201
- "generation": 11,
202
- "releaseDate": "2026-10-19",
203
- "releasePkgVersion": "3.6.0"
201
+ "generation": 12,
202
+ "releaseDate": "2026-11-23",
203
+ "releasePkgVersion": "3.14.0"
204
204
  },
205
205
  "typeValidation": {
206
206
  "broken": {},
@@ -9,4 +9,4 @@
9
9
  * The generation number for Fluid layer compatibility.
10
10
  * @internal
11
11
  */
12
- export const generation = 11;
12
+ export const generation = 12;