@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.
Files changed (41) hide show
  1. package/dist/dataStoreLayerCompatState.d.ts +1 -1
  2. package/dist/dataStoreLayerCompatState.d.ts.map +1 -1
  3. package/dist/dataStoreLayerCompatState.js +4 -4
  4. package/dist/dataStoreLayerCompatState.js.map +1 -1
  5. package/dist/dataStoreRuntime.d.ts.map +1 -1
  6. package/dist/dataStoreRuntime.js.map +1 -1
  7. package/dist/fluidHandle.d.ts.map +1 -1
  8. package/dist/fluidHandle.js +2 -0
  9. package/dist/fluidHandle.js.map +1 -1
  10. package/dist/index.d.ts +1 -0
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +5 -1
  13. package/dist/index.js.map +1 -1
  14. package/dist/packageVersion.d.ts +1 -1
  15. package/dist/packageVersion.d.ts.map +1 -1
  16. package/dist/packageVersion.js +1 -1
  17. package/dist/packageVersion.js.map +1 -1
  18. package/lib/dataStoreLayerCompatState.d.ts +1 -1
  19. package/lib/dataStoreLayerCompatState.d.ts.map +1 -1
  20. package/lib/dataStoreLayerCompatState.js +3 -3
  21. package/lib/dataStoreLayerCompatState.js.map +1 -1
  22. package/lib/dataStoreRuntime.d.ts.map +1 -1
  23. package/lib/dataStoreRuntime.js +1 -3
  24. package/lib/dataStoreRuntime.js.map +1 -1
  25. package/lib/fluidHandle.d.ts.map +1 -1
  26. package/lib/fluidHandle.js +2 -0
  27. package/lib/fluidHandle.js.map +1 -1
  28. package/lib/index.d.ts +1 -0
  29. package/lib/index.d.ts.map +1 -1
  30. package/lib/index.js +1 -0
  31. package/lib/index.js.map +1 -1
  32. package/lib/packageVersion.d.ts +1 -1
  33. package/lib/packageVersion.d.ts.map +1 -1
  34. package/lib/packageVersion.js +1 -1
  35. package/lib/packageVersion.js.map +1 -1
  36. package/package.json +15 -15
  37. package/src/dataStoreLayerCompatState.ts +3 -3
  38. package/src/dataStoreRuntime.ts +0 -1
  39. package/src/fluidHandle.ts +3 -0
  40. package/src/index.ts +5 -0
  41. package/src/packageVersion.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/datastore",
3
- "version": "2.43.0",
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": "~2.43.0",
73
- "@fluidframework/container-definitions": "~2.43.0",
74
- "@fluidframework/core-interfaces": "~2.43.0",
75
- "@fluidframework/core-utils": "~2.43.0",
76
- "@fluidframework/datastore-definitions": "~2.43.0",
77
- "@fluidframework/driver-definitions": "~2.43.0",
78
- "@fluidframework/driver-utils": "~2.43.0",
79
- "@fluidframework/id-compressor": "~2.43.0",
80
- "@fluidframework/runtime-definitions": "~2.43.0",
81
- "@fluidframework/runtime-utils": "~2.43.0",
82
- "@fluidframework/telemetry-utils": "~2.43.0",
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": "~2.43.0",
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.42.0",
92
+ "@fluidframework/datastore-previous": "npm:@fluidframework/datastore@2.43.0",
93
93
  "@fluidframework/eslint-config-fluid": "^5.7.4",
94
- "@fluidframework/test-runtime-utils": "~2.43.0",
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 runtimeSupportRequirements: ILayerCompatSupportRequirements = {
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
- runtimeSupportRequirements,
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: runtimeSupportRequirements.minSupportedGeneration,
77
+ minSupportedGeneration: runtimeSupportRequirementsForDataStore.minSupportedGeneration,
78
78
  isGenerationCompatible: layerCheckResult.isGenerationCompatible,
79
79
  unsupportedFeatures: layerCheckResult.unsupportedFeatures,
80
80
  }),
@@ -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";
@@ -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
@@ -11,3 +11,8 @@ export {
11
11
  mixinRequestHandler,
12
12
  mixinSummaryHandler,
13
13
  } from "./dataStoreRuntime.js";
14
+ export {
15
+ dataStoreCoreCompatDetails,
16
+ dataStoreCompatDetailsForRuntime,
17
+ runtimeSupportRequirementsForDataStore,
18
+ } from "./dataStoreLayerCompatState.js";
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/datastore";
9
- export const pkgVersion = "2.43.0";
9
+ export const pkgVersion = "2.50.0-345060";