@fluidframework/runtime-utils 2.71.0 → 2.72.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 +4 -15
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +16 -16
- package/src/packageVersion.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @fluidframework/runtime-utils
|
|
2
2
|
|
|
3
|
+
## 2.72.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
3
7
|
## 2.71.0
|
|
4
8
|
|
|
5
9
|
Dependency updates only.
|
|
@@ -137,7 +141,6 @@ Dependency updates only.
|
|
|
137
141
|
Similarly, `IDeltaManager.outbound` contained functionality that could break core runtime features such as generation of batches and chunking. Data loss or corruption could occur when `IDeltaManger.inbound.pause()` or `IDeltaManager.inbound.resume()` were called.
|
|
138
142
|
|
|
139
143
|
#### Alternatives
|
|
140
|
-
|
|
141
144
|
- Alternatives to `IDeltaManager.inbound.on("op", ...)` are `IDeltaManager.on("op", ...)`
|
|
142
145
|
- Alternatives to calling `IDeltaManager.inbound.pause`, `IDeltaManager.outbound.pause` for `IContainer` disconnect use `IContainer.disconnect`.
|
|
143
146
|
- Alternatives to calling `IDeltaManager.inbound.resume`, `IDeltaManager.outbound.resume` for `IContainer` reconnect use `IContainer.connect`.
|
|
@@ -195,7 +198,6 @@ Dependency updates only.
|
|
|
195
198
|
|
|
196
199
|
Make IFluidDataStoreRuntime.deltaManager have an opaque type.
|
|
197
200
|
Marks the following types which were reachable from it as alpha:
|
|
198
|
-
|
|
199
201
|
- IConnectionDetails
|
|
200
202
|
- IDeltaSender
|
|
201
203
|
- IDeltaManagerEvents
|
|
@@ -219,7 +221,6 @@ Dependency updates only.
|
|
|
219
221
|
TypeScript types and implementation code.
|
|
220
222
|
|
|
221
223
|
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
222
|
-
|
|
223
224
|
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
224
225
|
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
225
226
|
|
|
@@ -238,26 +239,21 @@ Dependency updates only.
|
|
|
238
239
|
- container-runtime: New feature: ID compression for DataStores & DDSs ([#19859](https://github.com/microsoft/FluidFramework/issues/19859)) [51f0d3db73](https://github.com/microsoft/FluidFramework/commits/51f0d3db737800e1c30ea5e3952d38ff30ffc7da)
|
|
239
240
|
|
|
240
241
|
### Key changes
|
|
241
|
-
|
|
242
242
|
1. A new API IContainerRuntimeBase.generateDocumentUniqueId() is exposed. This API will opportunistically generate IDs in short format (non-negative numbers). If it can't achieve that, it will return UUID strings. UUIDs generated will have low entropy in groups and will compress well. It can be leveraged anywhere in container where container unique IDs are required. I.e. any place that uses uuid() and stores data in container is likely candidate to start leveraging this API.
|
|
243
243
|
2. Data store internal IDs (IDs that are auto generated by FF system) will opportunistically be generated in shorter form. Data stores created in detached container will always have short IDs, data stores created in attached container will opportunistically be short (by using newly added IContainerRuntimeBase.generateDocumentUniqueId() capability)
|
|
244
244
|
3. Similar DDS names will be opportunistically short (same considerations for detached DDS vs. attached DDS)
|
|
245
245
|
|
|
246
246
|
### Implementation details
|
|
247
|
-
|
|
248
247
|
1. Container level ID Compressor can now be enabled with delay. With such setting, only new IContainerRuntimeBase.generateDocumentUniqueId() is exposed (ID Compressor is not exposed in such case, as leveraging any of its other capabilities requires future container sessions to load ID Compressor on container load, for correctness reasons). Once Container establishes connection and any changes are made in container, newly added API will start generating more compact IDs (in most cases).
|
|
249
248
|
|
|
250
249
|
### Breaking changes
|
|
251
|
-
|
|
252
250
|
1. DDS names can no longer start with "\_" symbol - this is reserved for FF needs. I've validated that's not an issue for AzureClient (it only creates root object by name, everything else is referred by handle). Our main internal partners almost never use named DDSs (I can find only 4 instances in Loop).
|
|
253
251
|
|
|
254
252
|
### Backward compatibility considerations
|
|
255
|
-
|
|
256
253
|
1. Data store internal IDs could collide with earlier used names data stores. Earlier versions of FF framework (before DataStore aliasing feature was added) allowed customers to supply IDs for data stores. And thus, files created with earlier versions of framework could have data store IDs that will be similar to names FF will use for newly created data stores ("A", ... "Z", "a"..."z", "AA", etc.). While such collision is possible, it's very unlikely (almost impossible) if user-provided names were at least 4-5 characters long.
|
|
257
254
|
2. If application runs to these problems, or wants to reduce risks, consider disabling ID compressor via IContainerRuntimeOptions.enableRuntimeIdCompressor = "off".
|
|
258
255
|
|
|
259
256
|
### Minor changes
|
|
260
|
-
|
|
261
257
|
1. IContainerRuntime.createDetachedRootDataStore() is removed. Please use IContainerRuntime.createDetachedDataStore and IDataStore.trySetAlias() instead
|
|
262
258
|
2. IContainerRuntimeOptions.enableRuntimeIdCompressor has been changes from boolean to tri-state.
|
|
263
259
|
|
|
@@ -268,7 +264,6 @@ Dependency updates only.
|
|
|
268
264
|
- Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
269
265
|
|
|
270
266
|
The following Fluid server dependencies have been updated to the latest version, 3.0.0. [See the full changelog.](https://github.com/microsoft/FluidFramework/releases/tag/server_v3.0.0)
|
|
271
|
-
|
|
272
267
|
- @fluidframework/gitresources
|
|
273
268
|
- @fluidframework/server-kafka-orderer
|
|
274
269
|
- @fluidframework/server-lambdas
|
|
@@ -334,7 +329,6 @@ Dependency updates only.
|
|
|
334
329
|
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
335
330
|
|
|
336
331
|
This included the following changes from the protocol-definitions release:
|
|
337
|
-
|
|
338
332
|
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
339
333
|
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
340
334
|
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
@@ -345,7 +339,6 @@ Dependency updates only.
|
|
|
345
339
|
- DEPRECATED: container-loader: Various request related APIs have been deprecated [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
346
340
|
|
|
347
341
|
Please remove all calls to the following functions and instead use the new `entryPoint` pattern:
|
|
348
|
-
|
|
349
342
|
- `requestFluidObject`
|
|
350
343
|
- `requestResolvedObjectFromContainer`
|
|
351
344
|
- `getDefaultObjectFromContainer`
|
|
@@ -357,7 +350,6 @@ Dependency updates only.
|
|
|
357
350
|
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
358
351
|
|
|
359
352
|
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
360
|
-
|
|
361
353
|
- @fluidframework/gitresources: 2.0.1
|
|
362
354
|
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
363
355
|
- @fluidframework/server-lambdas: 2.0.1
|
|
@@ -433,7 +425,6 @@ Dependency updates only.
|
|
|
433
425
|
|
|
434
426
|
- The `@fluidframework/garbage-collector` package was deprecated in version 2.0.0-internal.4.1.0. [8b242fdc79](https://github.com/microsoft/FluidFramework/commits/8b242fdc796714cf1da9ad3f90d02efb122af0c2)
|
|
435
427
|
It has now been removed with the following functions, interfaces, and types in it.
|
|
436
|
-
|
|
437
428
|
- `cloneGCData`
|
|
438
429
|
- `concatGarbageCollectionData`
|
|
439
430
|
- `concatGarbageCollectionStates`
|
|
@@ -459,7 +450,6 @@ Dependency updates only.
|
|
|
459
450
|
- GC interfaces removed from runtime-definitions ([#14750](https://github.com/microsoft/FluidFramework/pull-requests/14750)) [60274eacab](https://github.com/microsoft/FluidFramework/commits/60274eacabf14d42f52f6ad1c2f64356e64ba1a2)
|
|
460
451
|
|
|
461
452
|
The following interfaces available in `@fluidframework/runtime-definitions` are internal implementation details and have been deprecated for public use. They will be removed in an upcoming release.
|
|
462
|
-
|
|
463
453
|
- `IGarbageCollectionNodeData`
|
|
464
454
|
- `IGarbageCollectionState`
|
|
465
455
|
- `IGarbageCollectionSnapshotData`
|
|
@@ -470,7 +460,6 @@ Dependency updates only.
|
|
|
470
460
|
The `@fluidframework/garbage-collector` package is deprecated with the following functions, interfaces, and types in it.
|
|
471
461
|
These are internal implementation details and have been deprecated for public use. They will be removed in an upcoming
|
|
472
462
|
release.
|
|
473
|
-
|
|
474
463
|
- `cloneGCData`
|
|
475
464
|
- `concatGarbageCollectionData`
|
|
476
465
|
- `concatGarbageCollectionStates`
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -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/runtime-utils";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.72.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/dist/packageVersion.js
CHANGED
|
@@ -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/runtime-utils";
|
|
11
|
-
exports.pkgVersion = "2.
|
|
11
|
+
exports.pkgVersion = "2.72.0";
|
|
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,+BAA+B,CAAC;AAC1C,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/runtime-utils\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,+BAA+B,CAAC;AAC1C,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/runtime-utils\";\nexport const pkgVersion = \"2.72.0\";\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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/runtime-utils";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.72.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,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/runtime-utils\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,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/runtime-utils\";\nexport const pkgVersion = \"2.72.0\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/runtime-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.72.0",
|
|
4
4
|
"description": "Collection of utility functions for Fluid Runtime",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -79,27 +79,27 @@
|
|
|
79
79
|
"temp-directory": "nyc/.nyc_output"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@fluid-internal/client-utils": "~2.
|
|
83
|
-
"@fluidframework/container-definitions": "~2.
|
|
84
|
-
"@fluidframework/container-runtime-definitions": "~2.
|
|
85
|
-
"@fluidframework/core-interfaces": "~2.
|
|
86
|
-
"@fluidframework/core-utils": "~2.
|
|
87
|
-
"@fluidframework/datastore-definitions": "~2.
|
|
88
|
-
"@fluidframework/driver-definitions": "~2.
|
|
89
|
-
"@fluidframework/driver-utils": "~2.
|
|
90
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
91
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
82
|
+
"@fluid-internal/client-utils": "~2.72.0",
|
|
83
|
+
"@fluidframework/container-definitions": "~2.72.0",
|
|
84
|
+
"@fluidframework/container-runtime-definitions": "~2.72.0",
|
|
85
|
+
"@fluidframework/core-interfaces": "~2.72.0",
|
|
86
|
+
"@fluidframework/core-utils": "~2.72.0",
|
|
87
|
+
"@fluidframework/datastore-definitions": "~2.72.0",
|
|
88
|
+
"@fluidframework/driver-definitions": "~2.72.0",
|
|
89
|
+
"@fluidframework/driver-utils": "~2.72.0",
|
|
90
|
+
"@fluidframework/runtime-definitions": "~2.72.0",
|
|
91
|
+
"@fluidframework/telemetry-utils": "~2.72.0",
|
|
92
92
|
"semver-ts": "^1.0.3"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
96
96
|
"@biomejs/biome": "~1.9.3",
|
|
97
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
98
|
-
"@fluid-tools/build-cli": "^0.
|
|
97
|
+
"@fluid-internal/mocha-test-setup": "~2.72.0",
|
|
98
|
+
"@fluid-tools/build-cli": "^0.60.0",
|
|
99
99
|
"@fluidframework/build-common": "^2.0.3",
|
|
100
|
-
"@fluidframework/build-tools": "^0.
|
|
101
|
-
"@fluidframework/eslint-config-fluid": "
|
|
102
|
-
"@fluidframework/runtime-utils-previous": "npm:@fluidframework/runtime-utils@2.
|
|
100
|
+
"@fluidframework/build-tools": "^0.60.0",
|
|
101
|
+
"@fluidframework/eslint-config-fluid": "~2.72.0",
|
|
102
|
+
"@fluidframework/runtime-utils-previous": "npm:@fluidframework/runtime-utils@2.71.0",
|
|
103
103
|
"@microsoft/api-extractor": "7.52.11",
|
|
104
104
|
"@types/mocha": "^10.0.10",
|
|
105
105
|
"@types/node": "^18.19.0",
|
package/src/packageVersion.ts
CHANGED