@fluid-internal/client-utils 3.13.0 → 3.14.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 +30 -26
- package/dist/layerGenerationState.d.ts +1 -1
- package/dist/layerGenerationState.js +1 -1
- package/dist/layerGenerationState.js.map +1 -1
- package/lib/layerGenerationState.d.ts +1 -1
- package/lib/layerGenerationState.js +1 -1
- package/lib/layerGenerationState.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +8 -8
- package/src/layerGenerationState.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
# @fluid-internal/client-utils
|
|
2
2
|
|
|
3
|
+
## 3.14.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
3
7
|
## 3.13.0
|
|
4
8
|
|
|
5
9
|
### Minor Changes
|
|
6
10
|
|
|
7
|
-
|
|
11
|
+
#### 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
12
|
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
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.
|
|
14
|
+
Most emitters have one listener per event: for example, a tree node with a `nodeChanged` listener uses about 300 bytes less memory.
|
|
11
15
|
|
|
12
16
|
## 3.12.0
|
|
13
17
|
|
|
@@ -97,9 +101,9 @@ Dependency updates only.
|
|
|
97
101
|
|
|
98
102
|
### Minor Changes
|
|
99
103
|
|
|
100
|
-
|
|
104
|
+
#### 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
105
|
|
|
102
|
-
|
|
106
|
+
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
107
|
|
|
104
108
|
## 2.93.0
|
|
105
109
|
|
|
@@ -245,12 +249,12 @@ Dependency updates only.
|
|
|
245
249
|
|
|
246
250
|
### Minor Changes
|
|
247
251
|
|
|
248
|
-
|
|
252
|
+
#### 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
253
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
+
In previous releases, the `@fluidframework/tree` package contained an internal events library. The events-related types and interfaces have been moved to
|
|
255
|
+
`@fluidframework/core-interfaces`, while the implementation has been relocated to `@fluid-internal/client-utils`. There are
|
|
256
|
+
no changes to how the events library is used; the relocation simply organizes the library into more appropriate
|
|
257
|
+
packages. This change should have no impact on developers using the Fluid Framework.
|
|
254
258
|
|
|
255
259
|
## 2.10.0
|
|
256
260
|
|
|
@@ -288,23 +292,23 @@ Dependency updates only.
|
|
|
288
292
|
|
|
289
293
|
### Major Changes
|
|
290
294
|
|
|
291
|
-
|
|
295
|
+
#### Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
292
296
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
297
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
298
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
299
|
+
TypeScript types and implementation code.
|
|
296
300
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
301
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
302
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
303
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
300
304
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
306
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
307
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
308
|
+
regarding the module and moduleResolution options.
|
|
305
309
|
|
|
306
|
-
|
|
307
|
-
|
|
310
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
311
|
+
to distinguish stable APIs from those that are in development.**
|
|
308
312
|
|
|
309
313
|
## 2.0.0-rc.2.0.0
|
|
310
314
|
|
|
@@ -338,11 +342,11 @@ Dependency updates only.
|
|
|
338
342
|
|
|
339
343
|
### Minor Changes
|
|
340
344
|
|
|
341
|
-
|
|
345
|
+
#### client-utils: Internal buffer encoding helpers now require 'utf8', 'utf-8', or 'base64' [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
342
346
|
|
|
343
|
-
|
|
347
|
+
Previously, the buffer encoding helpers 'Uint8ArrayToString', 'bufferToString', and 'IsoBuffer.toString' would accept a string argument, which was overly permissive.
|
|
344
348
|
|
|
345
|
-
|
|
349
|
+
The type of the 'encoding' argument has been narrow to just the supported values 'utf8', 'utf-8', or 'base64'.
|
|
346
350
|
|
|
347
351
|
## 2.0.0-internal.6.4.0
|
|
348
352
|
|
|
@@ -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 =
|
|
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"]}
|
|
@@ -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 =
|
|
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"]}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-internal/client-utils",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.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.
|
|
66
|
+
"@fluidframework/core-interfaces": "~3.14.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.
|
|
77
|
-
"@fluid-internal/mocha-test-setup": "~3.
|
|
76
|
+
"@fluid-internal/client-utils-previous": "npm:@fluid-internal/client-utils@3.13.0",
|
|
77
|
+
"@fluid-internal/mocha-test-setup": "~3.14.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.
|
|
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":
|
|
202
|
-
"releaseDate": "2026-
|
|
203
|
-
"releasePkgVersion": "3.
|
|
201
|
+
"generation": 12,
|
|
202
|
+
"releaseDate": "2026-11-23",
|
|
203
|
+
"releasePkgVersion": "3.14.0"
|
|
204
204
|
},
|
|
205
205
|
"typeValidation": {
|
|
206
206
|
"broken": {},
|