@fluidframework/runtime-utils
Advanced tools
+4
-15
| # @fluidframework/runtime-utils | ||
| ## 2.72.0 | ||
| Dependency updates only. | ||
| ## 2.71.0 | ||
@@ -140,3 +144,2 @@ | ||
| #### Alternatives | ||
| - Alternatives to `IDeltaManager.inbound.on("op", ...)` are `IDeltaManager.on("op", ...)` | ||
@@ -199,3 +202,2 @@ - Alternatives to calling `IDeltaManager.inbound.pause`, `IDeltaManager.outbound.pause` for `IContainer` disconnect use `IContainer.disconnect`. | ||
| Marks the following types which were reachable from it as alpha: | ||
| - IConnectionDetails | ||
@@ -224,3 +226,2 @@ - IDeltaSender | ||
| This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json: | ||
| - `"moduleResolution": "Node16"` with `"module": "Node16"` | ||
@@ -244,3 +245,2 @@ - `"moduleResolution": "Bundler"` with `"module": "ESNext"` | ||
| ### Key changes | ||
| 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. | ||
@@ -251,11 +251,8 @@ 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) | ||
| ### Implementation details | ||
| 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). | ||
| ### Breaking changes | ||
| 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). | ||
| ### Backward compatibility considerations | ||
| 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. | ||
@@ -265,3 +262,2 @@ 2. If application runs to these problems, or wants to reduce risks, consider disabling ID compressor via IContainerRuntimeOptions.enableRuntimeIdCompressor = "off". | ||
| ### Minor changes | ||
| 1. IContainerRuntime.createDetachedRootDataStore() is removed. Please use IContainerRuntime.createDetachedDataStore and IDataStore.trySetAlias() instead | ||
@@ -277,3 +273,2 @@ 2. IContainerRuntimeOptions.enableRuntimeIdCompressor has been changes from boolean to tri-state. | ||
| 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) | ||
| - @fluidframework/gitresources | ||
@@ -344,3 +339,2 @@ - @fluidframework/server-kafka-orderer | ||
| This included the following changes from the protocol-definitions release: | ||
| - Updating signal interfaces for some planned improvements. The intention is split the interface between signals | ||
@@ -356,3 +350,2 @@ submitted by clients to the server and the resulting signals sent from the server to clients. | ||
| Please remove all calls to the following functions and instead use the new `entryPoint` pattern: | ||
| - `requestFluidObject` | ||
@@ -369,3 +362,2 @@ - `requestResolvedObjectFromContainer` | ||
| Dependencies on the following Fluid server package have been updated to version 2.0.1: | ||
| - @fluidframework/gitresources: 2.0.1 | ||
@@ -446,3 +438,2 @@ - @fluidframework/server-kafka-orderer: 2.0.1 | ||
| It has now been removed with the following functions, interfaces, and types in it. | ||
| - `cloneGCData` | ||
@@ -473,3 +464,2 @@ - `concatGarbageCollectionData` | ||
| 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. | ||
| - `IGarbageCollectionNodeData` | ||
@@ -485,3 +475,2 @@ - `IGarbageCollectionState` | ||
| release. | ||
| - `cloneGCData` | ||
@@ -488,0 +477,0 @@ - `concatGarbageCollectionData` |
@@ -8,3 +8,3 @@ /*! | ||
| export declare const pkgName = "@fluidframework/runtime-utils"; | ||
| export declare const pkgVersion = "2.71.0"; | ||
| export declare const pkgVersion = "2.72.0"; | ||
| //# sourceMappingURL=packageVersion.d.ts.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
| exports.pkgName = "@fluidframework/runtime-utils"; | ||
| exports.pkgVersion = "2.71.0"; | ||
| exports.pkgVersion = "2.72.0"; | ||
| //# sourceMappingURL=packageVersion.js.map |
@@ -1,1 +0,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.71.0\";\n"]} | ||
| {"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"]} |
@@ -8,3 +8,3 @@ /*! | ||
| export declare const pkgName = "@fluidframework/runtime-utils"; | ||
| export declare const pkgVersion = "2.71.0"; | ||
| export declare const pkgVersion = "2.72.0"; | ||
| //# sourceMappingURL=packageVersion.d.ts.map |
@@ -8,3 +8,3 @@ /*! | ||
| export const pkgName = "@fluidframework/runtime-utils"; | ||
| export const pkgVersion = "2.71.0"; | ||
| export const pkgVersion = "2.72.0"; | ||
| //# sourceMappingURL=packageVersion.js.map |
@@ -1,1 +0,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.71.0\";\n"]} | ||
| {"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"]} |
+16
-16
| { | ||
| "name": "@fluidframework/runtime-utils", | ||
| "version": "2.71.0", | ||
| "version": "2.72.0", | ||
| "description": "Collection of utility functions for Fluid Runtime", | ||
@@ -82,12 +82,12 @@ "homepage": "https://fluidframework.com", | ||
| "dependencies": { | ||
| "@fluid-internal/client-utils": "~2.71.0", | ||
| "@fluidframework/container-definitions": "~2.71.0", | ||
| "@fluidframework/container-runtime-definitions": "~2.71.0", | ||
| "@fluidframework/core-interfaces": "~2.71.0", | ||
| "@fluidframework/core-utils": "~2.71.0", | ||
| "@fluidframework/datastore-definitions": "~2.71.0", | ||
| "@fluidframework/driver-definitions": "~2.71.0", | ||
| "@fluidframework/driver-utils": "~2.71.0", | ||
| "@fluidframework/runtime-definitions": "~2.71.0", | ||
| "@fluidframework/telemetry-utils": "~2.71.0", | ||
| "@fluid-internal/client-utils": "~2.72.0", | ||
| "@fluidframework/container-definitions": "~2.72.0", | ||
| "@fluidframework/container-runtime-definitions": "~2.72.0", | ||
| "@fluidframework/core-interfaces": "~2.72.0", | ||
| "@fluidframework/core-utils": "~2.72.0", | ||
| "@fluidframework/datastore-definitions": "~2.72.0", | ||
| "@fluidframework/driver-definitions": "~2.72.0", | ||
| "@fluidframework/driver-utils": "~2.72.0", | ||
| "@fluidframework/runtime-definitions": "~2.72.0", | ||
| "@fluidframework/telemetry-utils": "~2.72.0", | ||
| "semver-ts": "^1.0.3" | ||
@@ -98,8 +98,8 @@ }, | ||
| "@biomejs/biome": "~1.9.3", | ||
| "@fluid-internal/mocha-test-setup": "~2.71.0", | ||
| "@fluid-tools/build-cli": "^0.58.3", | ||
| "@fluid-internal/mocha-test-setup": "~2.72.0", | ||
| "@fluid-tools/build-cli": "^0.60.0", | ||
| "@fluidframework/build-common": "^2.0.3", | ||
| "@fluidframework/build-tools": "^0.58.3", | ||
| "@fluidframework/eslint-config-fluid": "^7.0.0", | ||
| "@fluidframework/runtime-utils-previous": "npm:@fluidframework/runtime-utils@2.70.0", | ||
| "@fluidframework/build-tools": "^0.60.0", | ||
| "@fluidframework/eslint-config-fluid": "~2.72.0", | ||
| "@fluidframework/runtime-utils-previous": "npm:@fluidframework/runtime-utils@2.71.0", | ||
| "@microsoft/api-extractor": "7.52.11", | ||
@@ -106,0 +106,0 @@ "@types/mocha": "^10.0.10", |
@@ -9,2 +9,2 @@ /*! | ||
| export const pkgName = "@fluidframework/runtime-utils"; | ||
| export const pkgVersion = "2.71.0"; | ||
| export const pkgVersion = "2.72.0"; |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
586610
0+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated