@fluidframework/datastore 2.43.0 → 2.50.0-345060
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/dist/dataStoreLayerCompatState.d.ts +1 -1
- package/dist/dataStoreLayerCompatState.d.ts.map +1 -1
- package/dist/dataStoreLayerCompatState.js +4 -4
- package/dist/dataStoreLayerCompatState.js.map +1 -1
- package/dist/dataStoreRuntime.d.ts.map +1 -1
- package/dist/dataStoreRuntime.js.map +1 -1
- package/dist/fluidHandle.d.ts.map +1 -1
- package/dist/fluidHandle.js +2 -0
- package/dist/fluidHandle.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/dataStoreLayerCompatState.d.ts +1 -1
- package/lib/dataStoreLayerCompatState.d.ts.map +1 -1
- package/lib/dataStoreLayerCompatState.js +3 -3
- package/lib/dataStoreLayerCompatState.js.map +1 -1
- package/lib/dataStoreRuntime.d.ts.map +1 -1
- package/lib/dataStoreRuntime.js +1 -3
- package/lib/dataStoreRuntime.js.map +1 -1
- package/lib/fluidHandle.d.ts.map +1 -1
- package/lib/fluidHandle.js +2 -0
- package/lib/fluidHandle.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +15 -15
- package/src/dataStoreLayerCompatState.ts +3 -3
- package/src/dataStoreRuntime.ts +0 -1
- package/src/fluidHandle.ts +3 -0
- package/src/index.ts +5 -0
- package/src/packageVersion.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/datastore",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.50.0-345060",
|
|
4
4
|
"description": "Fluid data store implementation",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -69,29 +69,29 @@
|
|
|
69
69
|
"temp-directory": "nyc/.nyc_output"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@fluid-internal/client-utils": "
|
|
73
|
-
"@fluidframework/container-definitions": "
|
|
74
|
-
"@fluidframework/core-interfaces": "
|
|
75
|
-
"@fluidframework/core-utils": "
|
|
76
|
-
"@fluidframework/datastore-definitions": "
|
|
77
|
-
"@fluidframework/driver-definitions": "
|
|
78
|
-
"@fluidframework/driver-utils": "
|
|
79
|
-
"@fluidframework/id-compressor": "
|
|
80
|
-
"@fluidframework/runtime-definitions": "
|
|
81
|
-
"@fluidframework/runtime-utils": "
|
|
82
|
-
"@fluidframework/telemetry-utils": "
|
|
72
|
+
"@fluid-internal/client-utils": "2.50.0-345060",
|
|
73
|
+
"@fluidframework/container-definitions": "2.50.0-345060",
|
|
74
|
+
"@fluidframework/core-interfaces": "2.50.0-345060",
|
|
75
|
+
"@fluidframework/core-utils": "2.50.0-345060",
|
|
76
|
+
"@fluidframework/datastore-definitions": "2.50.0-345060",
|
|
77
|
+
"@fluidframework/driver-definitions": "2.50.0-345060",
|
|
78
|
+
"@fluidframework/driver-utils": "2.50.0-345060",
|
|
79
|
+
"@fluidframework/id-compressor": "2.50.0-345060",
|
|
80
|
+
"@fluidframework/runtime-definitions": "2.50.0-345060",
|
|
81
|
+
"@fluidframework/runtime-utils": "2.50.0-345060",
|
|
82
|
+
"@fluidframework/telemetry-utils": "2.50.0-345060",
|
|
83
83
|
"uuid": "^9.0.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
87
87
|
"@biomejs/biome": "~1.9.3",
|
|
88
|
-
"@fluid-internal/mocha-test-setup": "
|
|
88
|
+
"@fluid-internal/mocha-test-setup": "2.50.0-345060",
|
|
89
89
|
"@fluid-tools/build-cli": "^0.56.0",
|
|
90
90
|
"@fluidframework/build-common": "^2.0.3",
|
|
91
91
|
"@fluidframework/build-tools": "^0.56.0",
|
|
92
|
-
"@fluidframework/datastore-previous": "npm:@fluidframework/datastore@2.
|
|
92
|
+
"@fluidframework/datastore-previous": "npm:@fluidframework/datastore@2.43.0",
|
|
93
93
|
"@fluidframework/eslint-config-fluid": "^5.7.4",
|
|
94
|
-
"@fluidframework/test-runtime-utils": "
|
|
94
|
+
"@fluidframework/test-runtime-utils": "2.50.0-345060",
|
|
95
95
|
"@microsoft/api-extractor": "7.52.8",
|
|
96
96
|
"@types/lodash": "^4.14.118",
|
|
97
97
|
"@types/mocha": "^10.0.10",
|
|
@@ -43,7 +43,7 @@ export const dataStoreCompatDetailsForRuntime: ILayerCompatDetails = {
|
|
|
43
43
|
* The requirements that the Runtime layer must meet to be compatible with this DataStore.
|
|
44
44
|
* @internal
|
|
45
45
|
*/
|
|
46
|
-
export const
|
|
46
|
+
export const runtimeSupportRequirementsForDataStore: ILayerCompatSupportRequirements = {
|
|
47
47
|
/**
|
|
48
48
|
* Minimum generation that Runtime must be at to be compatible with DataStore. Note that 0 is used here so
|
|
49
49
|
* that Runtime layers before the introduction of the layer compatibility enforcement are compatible.
|
|
@@ -64,7 +64,7 @@ export function validateRuntimeCompatibility(
|
|
|
64
64
|
disposeFn: () => void,
|
|
65
65
|
): void {
|
|
66
66
|
const layerCheckResult = checkLayerCompatibility(
|
|
67
|
-
|
|
67
|
+
runtimeSupportRequirementsForDataStore,
|
|
68
68
|
maybeRuntimeCompatDetails,
|
|
69
69
|
);
|
|
70
70
|
if (!layerCheckResult.isCompatible) {
|
|
@@ -74,7 +74,7 @@ export function validateRuntimeCompatibility(
|
|
|
74
74
|
runtimeVersion: maybeRuntimeCompatDetails?.pkgVersion,
|
|
75
75
|
dataStoreGeneration: dataStoreCoreCompatDetails.generation,
|
|
76
76
|
runtimeGeneration: maybeRuntimeCompatDetails?.generation,
|
|
77
|
-
minSupportedGeneration:
|
|
77
|
+
minSupportedGeneration: runtimeSupportRequirementsForDataStore.minSupportedGeneration,
|
|
78
78
|
isGenerationCompatible: layerCheckResult.isGenerationCompatible,
|
|
79
79
|
unsupportedFeatures: layerCheckResult.unsupportedFeatures,
|
|
80
80
|
}),
|
package/src/dataStoreRuntime.ts
CHANGED
|
@@ -98,7 +98,6 @@ import { v4 as uuid } from "uuid";
|
|
|
98
98
|
import { IChannelContext, summarizeChannel } from "./channelContext.js";
|
|
99
99
|
import {
|
|
100
100
|
dataStoreCompatDetailsForRuntime,
|
|
101
|
-
// dataStoreCompatDetailsForRuntime,
|
|
102
101
|
validateRuntimeCompatibility,
|
|
103
102
|
} from "./dataStoreLayerCompatState.js";
|
|
104
103
|
import { FluidObjectHandle } from "./fluidHandle.js";
|
package/src/fluidHandle.ts
CHANGED
|
@@ -89,6 +89,7 @@ export class FluidObjectHandle<
|
|
|
89
89
|
* {@inheritDoc @fluidframework/core-interfaces#IFluidHandle.attachGraph }
|
|
90
90
|
*/
|
|
91
91
|
public attachGraph(): void {
|
|
92
|
+
// start legacy bind/attach flow
|
|
92
93
|
if (this.visible) {
|
|
93
94
|
return;
|
|
94
95
|
}
|
|
@@ -98,6 +99,8 @@ export class FluidObjectHandle<
|
|
|
98
99
|
handle.attachGraph();
|
|
99
100
|
}
|
|
100
101
|
this.pendingHandlesToMakeVisible.clear();
|
|
102
|
+
// end legacy bind/attach flow
|
|
103
|
+
|
|
101
104
|
this.routeContext.attachGraph();
|
|
102
105
|
}
|
|
103
106
|
|
package/src/index.ts
CHANGED
package/src/packageVersion.ts
CHANGED