@fluidframework/fluid-static 2.0.0-rc.5.0.0 → 2.1.0-274160
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/api-report/fluid-static.alpha.api.md +0 -11
- package/api-report/fluid-static.beta.api.md +0 -11
- package/api-report/fluid-static.public.api.md +0 -11
- package/dist/compatibilityConfiguration.d.ts.map +1 -1
- package/dist/compatibilityConfiguration.js +5 -0
- package/dist/compatibilityConfiguration.js.map +1 -1
- package/lib/compatibilityConfiguration.d.ts.map +1 -1
- package/lib/compatibilityConfiguration.js +5 -0
- package/lib/compatibilityConfiguration.js.map +1 -1
- package/package.json +21 -43
- package/src/compatibilityConfiguration.ts +6 -0
|
@@ -4,17 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import { AttachState } from '@fluidframework/container-definitions';
|
|
8
|
-
import { ConnectionState } from '@fluidframework/container-definitions';
|
|
9
|
-
import type { IClient } from '@fluidframework/driver-definitions';
|
|
10
|
-
import type { IContainer } from '@fluidframework/container-definitions/internal';
|
|
11
|
-
import { ICriticalContainerError } from '@fluidframework/container-definitions';
|
|
12
|
-
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
13
|
-
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
14
|
-
import type { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
15
|
-
import type { IRuntimeFactory } from '@fluidframework/container-definitions/internal';
|
|
16
|
-
import type { SharedObjectKind } from '@fluidframework/shared-object-base';
|
|
17
|
-
|
|
18
7
|
// @public
|
|
19
8
|
export type CompatibilityMode = "1" | "2";
|
|
20
9
|
|
|
@@ -4,17 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import { AttachState } from '@fluidframework/container-definitions';
|
|
8
|
-
import { ConnectionState } from '@fluidframework/container-definitions';
|
|
9
|
-
import type { IClient } from '@fluidframework/driver-definitions';
|
|
10
|
-
import type { IContainer } from '@fluidframework/container-definitions/internal';
|
|
11
|
-
import { ICriticalContainerError } from '@fluidframework/container-definitions';
|
|
12
|
-
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
13
|
-
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
14
|
-
import type { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
15
|
-
import type { IRuntimeFactory } from '@fluidframework/container-definitions/internal';
|
|
16
|
-
import type { SharedObjectKind } from '@fluidframework/shared-object-base';
|
|
17
|
-
|
|
18
7
|
// @public
|
|
19
8
|
export type CompatibilityMode = "1" | "2";
|
|
20
9
|
|
|
@@ -4,17 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import { AttachState } from '@fluidframework/container-definitions';
|
|
8
|
-
import { ConnectionState } from '@fluidframework/container-definitions';
|
|
9
|
-
import type { IClient } from '@fluidframework/driver-definitions';
|
|
10
|
-
import type { IContainer } from '@fluidframework/container-definitions/internal';
|
|
11
|
-
import { ICriticalContainerError } from '@fluidframework/container-definitions';
|
|
12
|
-
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
13
|
-
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
14
|
-
import type { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
15
|
-
import type { IRuntimeFactory } from '@fluidframework/container-definitions/internal';
|
|
16
|
-
import type { SharedObjectKind } from '@fluidframework/shared-object-base';
|
|
17
|
-
|
|
18
7
|
// @public
|
|
19
8
|
export type CompatibilityMode = "1" | "2";
|
|
20
9
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compatibilityConfiguration.d.ts","sourceRoot":"","sources":["../src/compatibilityConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEN,KAAK,wBAAwB,EAC7B,MAAM,4CAA4C,CAAC;AAGpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CACnD,iBAAiB,EACjB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"compatibilityConfiguration.d.ts","sourceRoot":"","sources":["../src/compatibilityConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEN,KAAK,wBAAwB,EAC7B,MAAM,4CAA4C,CAAC;AAGpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CACnD,iBAAiB,EACjB,wBAAwB,CA8BxB,CAAC"}
|
|
@@ -25,6 +25,9 @@ exports.compatibilityModeRuntimeOptions = {
|
|
|
25
25
|
// Grouped batching is on by default but introduces a new type of op which is not compatible with 1.x clients.
|
|
26
26
|
enableGroupedBatching: false,
|
|
27
27
|
// TODO: Include explicit disables for things that are currently off-by-default?
|
|
28
|
+
// Explicitly disable running Sweep and enforcing Tombstone
|
|
29
|
+
// This ensures we don't send the new GC op which is not compatible with 1.x clients
|
|
30
|
+
gcOptions: { enableGCSweep: undefined, gcDisableThrowOnTombstoneLoad: true },
|
|
28
31
|
},
|
|
29
32
|
"2": {
|
|
30
33
|
// Explicit schema control explicitly makes the container incompatible with 1.x clients, to force their
|
|
@@ -33,6 +36,8 @@ exports.compatibilityModeRuntimeOptions = {
|
|
|
33
36
|
// The runtime ID compressor is a prerequisite to use SharedTree but is off by default and must be explicitly enabled.
|
|
34
37
|
// It introduces a new type of op which is not compatible with 1.x clients.
|
|
35
38
|
enableRuntimeIdCompressor: "on",
|
|
39
|
+
// GC is not yet enabled by default, although it could be enabled here from a compat standpoint
|
|
40
|
+
gcOptions: { enableGCSweep: undefined, gcDisableThrowOnTombstoneLoad: true },
|
|
36
41
|
},
|
|
37
42
|
};
|
|
38
43
|
//# sourceMappingURL=compatibilityConfiguration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compatibilityConfiguration.js","sourceRoot":"","sources":["../src/compatibilityConfiguration.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,yEAGoD;AACpD,2EAAyE;AAIzE;;;GAGG;AACU,QAAA,+BAA+B,GAGxC;IACH,GAAG,EAAE;QACJ,0GAA0G;QAC1G,8GAA8G;QAC9G,6CAA6C;QAC7C,SAAS,EAAE,oBAAS,CAAC,SAAS;QAC9B,4GAA4G;QAC5G,kBAAkB,EAAE;YACnB,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,WAAW;YAC9D,oBAAoB,EAAE,gCAAqB,CAAC,GAAG;SAC/C;QACD,8GAA8G;QAC9G,qBAAqB,EAAE,KAAK;QAC5B,gFAAgF;
|
|
1
|
+
{"version":3,"file":"compatibilityConfiguration.js","sourceRoot":"","sources":["../src/compatibilityConfiguration.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,yEAGoD;AACpD,2EAAyE;AAIzE;;;GAGG;AACU,QAAA,+BAA+B,GAGxC;IACH,GAAG,EAAE;QACJ,0GAA0G;QAC1G,8GAA8G;QAC9G,6CAA6C;QAC7C,SAAS,EAAE,oBAAS,CAAC,SAAS;QAC9B,4GAA4G;QAC5G,kBAAkB,EAAE;YACnB,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,WAAW;YAC9D,oBAAoB,EAAE,gCAAqB,CAAC,GAAG;SAC/C;QACD,8GAA8G;QAC9G,qBAAqB,EAAE,KAAK;QAC5B,gFAAgF;QAEhF,2DAA2D;QAC3D,oFAAoF;QACpF,SAAS,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,6BAA6B,EAAE,IAAI,EAAE;KAC5E;IACD,GAAG,EAAE;QACJ,uGAAuG;QACvG,sHAAsH;QACtH,qBAAqB,EAAE,IAAI;QAC3B,sHAAsH;QACtH,2EAA2E;QAC3E,yBAAyB,EAAE,IAAI;QAC/B,+FAA+F;QAC/F,SAAS,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,6BAA6B,EAAE,IAAI,EAAE;KAC5E;CACD,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tCompressionAlgorithms,\n\ttype IContainerRuntimeOptions,\n} from \"@fluidframework/container-runtime/internal\";\nimport { FlushMode } from \"@fluidframework/runtime-definitions/internal\";\n\nimport type { CompatibilityMode } from \"./types.js\";\n\n/**\n * The CompatibilityMode selected determines the set of runtime options to use. In \"1\" mode we support\n * full interop with true 1.x clients, while in \"2\" mode we only support interop with 2.x clients.\n */\nexport const compatibilityModeRuntimeOptions: Record<\n\tCompatibilityMode,\n\tIContainerRuntimeOptions\n> = {\n\t\"1\": {\n\t\t// 1.x clients are compatible with TurnBased flushing, but here we elect to remain on Immediate flush mode\n\t\t// as a work-around for inability to send batches larger than 1Mb. Immediate flushing keeps batches smaller as\n\t\t// fewer messages will be included per flush.\n\t\tflushMode: FlushMode.Immediate,\n\t\t// Op compression is on by default but introduces a new type of op which is not compatible with 1.x clients.\n\t\tcompressionOptions: {\n\t\t\tminimumBatchSizeInBytes: Number.POSITIVE_INFINITY, // disabled\n\t\t\tcompressionAlgorithm: CompressionAlgorithms.lz4,\n\t\t},\n\t\t// Grouped batching is on by default but introduces a new type of op which is not compatible with 1.x clients.\n\t\tenableGroupedBatching: false,\n\t\t// TODO: Include explicit disables for things that are currently off-by-default?\n\n\t\t// Explicitly disable running Sweep and enforcing Tombstone\n\t\t// This ensures we don't send the new GC op which is not compatible with 1.x clients\n\t\tgcOptions: { enableGCSweep: undefined, gcDisableThrowOnTombstoneLoad: true },\n\t},\n\t\"2\": {\n\t\t// Explicit schema control explicitly makes the container incompatible with 1.x clients, to force their\n\t\t// ejection from collaboration and prevent container corruption. It is off by default and must be explicitly enabled.\n\t\texplicitSchemaControl: true,\n\t\t// The runtime ID compressor is a prerequisite to use SharedTree but is off by default and must be explicitly enabled.\n\t\t// It introduces a new type of op which is not compatible with 1.x clients.\n\t\tenableRuntimeIdCompressor: \"on\",\n\t\t// GC is not yet enabled by default, although it could be enabled here from a compat standpoint\n\t\tgcOptions: { enableGCSweep: undefined, gcDisableThrowOnTombstoneLoad: true },\n\t},\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compatibilityConfiguration.d.ts","sourceRoot":"","sources":["../src/compatibilityConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEN,KAAK,wBAAwB,EAC7B,MAAM,4CAA4C,CAAC;AAGpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CACnD,iBAAiB,EACjB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"compatibilityConfiguration.d.ts","sourceRoot":"","sources":["../src/compatibilityConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEN,KAAK,wBAAwB,EAC7B,MAAM,4CAA4C,CAAC;AAGpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CACnD,iBAAiB,EACjB,wBAAwB,CA8BxB,CAAC"}
|
|
@@ -22,6 +22,9 @@ export const compatibilityModeRuntimeOptions = {
|
|
|
22
22
|
// Grouped batching is on by default but introduces a new type of op which is not compatible with 1.x clients.
|
|
23
23
|
enableGroupedBatching: false,
|
|
24
24
|
// TODO: Include explicit disables for things that are currently off-by-default?
|
|
25
|
+
// Explicitly disable running Sweep and enforcing Tombstone
|
|
26
|
+
// This ensures we don't send the new GC op which is not compatible with 1.x clients
|
|
27
|
+
gcOptions: { enableGCSweep: undefined, gcDisableThrowOnTombstoneLoad: true },
|
|
25
28
|
},
|
|
26
29
|
"2": {
|
|
27
30
|
// Explicit schema control explicitly makes the container incompatible with 1.x clients, to force their
|
|
@@ -30,6 +33,8 @@ export const compatibilityModeRuntimeOptions = {
|
|
|
30
33
|
// The runtime ID compressor is a prerequisite to use SharedTree but is off by default and must be explicitly enabled.
|
|
31
34
|
// It introduces a new type of op which is not compatible with 1.x clients.
|
|
32
35
|
enableRuntimeIdCompressor: "on",
|
|
36
|
+
// GC is not yet enabled by default, although it could be enabled here from a compat standpoint
|
|
37
|
+
gcOptions: { enableGCSweep: undefined, gcDisableThrowOnTombstoneLoad: true },
|
|
33
38
|
},
|
|
34
39
|
};
|
|
35
40
|
//# sourceMappingURL=compatibilityConfiguration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compatibilityConfiguration.js","sourceRoot":"","sources":["../src/compatibilityConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,qBAAqB,GAErB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAIzE;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAGxC;IACH,GAAG,EAAE;QACJ,0GAA0G;QAC1G,8GAA8G;QAC9G,6CAA6C;QAC7C,SAAS,EAAE,SAAS,CAAC,SAAS;QAC9B,4GAA4G;QAC5G,kBAAkB,EAAE;YACnB,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,WAAW;YAC9D,oBAAoB,EAAE,qBAAqB,CAAC,GAAG;SAC/C;QACD,8GAA8G;QAC9G,qBAAqB,EAAE,KAAK;QAC5B,gFAAgF;
|
|
1
|
+
{"version":3,"file":"compatibilityConfiguration.js","sourceRoot":"","sources":["../src/compatibilityConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,qBAAqB,GAErB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAIzE;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAGxC;IACH,GAAG,EAAE;QACJ,0GAA0G;QAC1G,8GAA8G;QAC9G,6CAA6C;QAC7C,SAAS,EAAE,SAAS,CAAC,SAAS;QAC9B,4GAA4G;QAC5G,kBAAkB,EAAE;YACnB,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,WAAW;YAC9D,oBAAoB,EAAE,qBAAqB,CAAC,GAAG;SAC/C;QACD,8GAA8G;QAC9G,qBAAqB,EAAE,KAAK;QAC5B,gFAAgF;QAEhF,2DAA2D;QAC3D,oFAAoF;QACpF,SAAS,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,6BAA6B,EAAE,IAAI,EAAE;KAC5E;IACD,GAAG,EAAE;QACJ,uGAAuG;QACvG,sHAAsH;QACtH,qBAAqB,EAAE,IAAI;QAC3B,sHAAsH;QACtH,2EAA2E;QAC3E,yBAAyB,EAAE,IAAI;QAC/B,+FAA+F;QAC/F,SAAS,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,6BAA6B,EAAE,IAAI,EAAE;KAC5E;CACD,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tCompressionAlgorithms,\n\ttype IContainerRuntimeOptions,\n} from \"@fluidframework/container-runtime/internal\";\nimport { FlushMode } from \"@fluidframework/runtime-definitions/internal\";\n\nimport type { CompatibilityMode } from \"./types.js\";\n\n/**\n * The CompatibilityMode selected determines the set of runtime options to use. In \"1\" mode we support\n * full interop with true 1.x clients, while in \"2\" mode we only support interop with 2.x clients.\n */\nexport const compatibilityModeRuntimeOptions: Record<\n\tCompatibilityMode,\n\tIContainerRuntimeOptions\n> = {\n\t\"1\": {\n\t\t// 1.x clients are compatible with TurnBased flushing, but here we elect to remain on Immediate flush mode\n\t\t// as a work-around for inability to send batches larger than 1Mb. Immediate flushing keeps batches smaller as\n\t\t// fewer messages will be included per flush.\n\t\tflushMode: FlushMode.Immediate,\n\t\t// Op compression is on by default but introduces a new type of op which is not compatible with 1.x clients.\n\t\tcompressionOptions: {\n\t\t\tminimumBatchSizeInBytes: Number.POSITIVE_INFINITY, // disabled\n\t\t\tcompressionAlgorithm: CompressionAlgorithms.lz4,\n\t\t},\n\t\t// Grouped batching is on by default but introduces a new type of op which is not compatible with 1.x clients.\n\t\tenableGroupedBatching: false,\n\t\t// TODO: Include explicit disables for things that are currently off-by-default?\n\n\t\t// Explicitly disable running Sweep and enforcing Tombstone\n\t\t// This ensures we don't send the new GC op which is not compatible with 1.x clients\n\t\tgcOptions: { enableGCSweep: undefined, gcDisableThrowOnTombstoneLoad: true },\n\t},\n\t\"2\": {\n\t\t// Explicit schema control explicitly makes the container incompatible with 1.x clients, to force their\n\t\t// ejection from collaboration and prevent container corruption. It is off by default and must be explicitly enabled.\n\t\texplicitSchemaControl: true,\n\t\t// The runtime ID compressor is a prerequisite to use SharedTree but is off by default and must be explicitly enabled.\n\t\t// It introduces a new type of op which is not compatible with 1.x clients.\n\t\tenableRuntimeIdCompressor: \"on\",\n\t\t// GC is not yet enabled by default, although it could be enabled here from a compat standpoint\n\t\tgcOptions: { enableGCSweep: undefined, gcDisableThrowOnTombstoneLoad: true },\n\t},\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/fluid-static",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0-274160",
|
|
4
4
|
"description": "A tool to enable consumption of Fluid Data Objects without requiring custom container code.",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -57,32 +57,32 @@
|
|
|
57
57
|
"temp-directory": "nyc/.nyc_output"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@fluid-internal/client-utils": "
|
|
61
|
-
"@fluidframework/aqueduct": "
|
|
62
|
-
"@fluidframework/container-definitions": "
|
|
63
|
-
"@fluidframework/container-loader": "
|
|
64
|
-
"@fluidframework/container-runtime": "
|
|
65
|
-
"@fluidframework/container-runtime-definitions": "
|
|
66
|
-
"@fluidframework/core-interfaces": "
|
|
67
|
-
"@fluidframework/datastore-definitions": "
|
|
68
|
-
"@fluidframework/driver-definitions": "
|
|
69
|
-
"@fluidframework/request-handler": "
|
|
70
|
-
"@fluidframework/runtime-definitions": "
|
|
71
|
-
"@fluidframework/runtime-utils": "
|
|
72
|
-
"@fluidframework/shared-object-base": "
|
|
73
|
-
"@fluidframework/telemetry-utils": "
|
|
60
|
+
"@fluid-internal/client-utils": "2.1.0-274160",
|
|
61
|
+
"@fluidframework/aqueduct": "2.1.0-274160",
|
|
62
|
+
"@fluidframework/container-definitions": "2.1.0-274160",
|
|
63
|
+
"@fluidframework/container-loader": "2.1.0-274160",
|
|
64
|
+
"@fluidframework/container-runtime": "2.1.0-274160",
|
|
65
|
+
"@fluidframework/container-runtime-definitions": "2.1.0-274160",
|
|
66
|
+
"@fluidframework/core-interfaces": "2.1.0-274160",
|
|
67
|
+
"@fluidframework/datastore-definitions": "2.1.0-274160",
|
|
68
|
+
"@fluidframework/driver-definitions": "2.1.0-274160",
|
|
69
|
+
"@fluidframework/request-handler": "2.1.0-274160",
|
|
70
|
+
"@fluidframework/runtime-definitions": "2.1.0-274160",
|
|
71
|
+
"@fluidframework/runtime-utils": "2.1.0-274160",
|
|
72
|
+
"@fluidframework/shared-object-base": "2.1.0-274160",
|
|
73
|
+
"@fluidframework/telemetry-utils": "2.1.0-274160"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
77
77
|
"@biomejs/biome": "^1.7.3",
|
|
78
|
-
"@fluid-internal/mocha-test-setup": "
|
|
78
|
+
"@fluid-internal/mocha-test-setup": "2.1.0-274160",
|
|
79
79
|
"@fluid-tools/build-cli": "^0.39.0",
|
|
80
80
|
"@fluidframework/build-common": "^2.0.3",
|
|
81
81
|
"@fluidframework/build-tools": "^0.39.0",
|
|
82
82
|
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
83
|
-
"@fluidframework/fluid-static-previous": "npm:@fluidframework/fluid-static@2.0.0-rc.
|
|
84
|
-
"@fluidframework/map": "
|
|
85
|
-
"@fluidframework/sequence": "
|
|
83
|
+
"@fluidframework/fluid-static-previous": "npm:@fluidframework/fluid-static@2.0.0-rc.5.0.0",
|
|
84
|
+
"@fluidframework/map": "2.1.0-274160",
|
|
85
|
+
"@fluidframework/sequence": "2.1.0-274160",
|
|
86
86
|
"@microsoft/api-extractor": "^7.45.1",
|
|
87
87
|
"@types/mocha": "^9.1.1",
|
|
88
88
|
"@types/node": "^18.19.0",
|
|
@@ -100,29 +100,7 @@
|
|
|
100
100
|
"typescript": "~5.4.5"
|
|
101
101
|
},
|
|
102
102
|
"typeValidation": {
|
|
103
|
-
"broken": {
|
|
104
|
-
"RemovedTypeAliasDeclaration_DataObjectClass": {
|
|
105
|
-
"forwardCompat": false,
|
|
106
|
-
"backCompat": false
|
|
107
|
-
},
|
|
108
|
-
"InterfaceDeclaration_IFluidContainer": {
|
|
109
|
-
"backCompat": false
|
|
110
|
-
},
|
|
111
|
-
"TypeAliasDeclaration_InitialObjects": {
|
|
112
|
-
"backCompat": false
|
|
113
|
-
},
|
|
114
|
-
"RemovedTypeAliasDeclaration_LoadableObjectClass": {
|
|
115
|
-
"forwardCompat": false,
|
|
116
|
-
"backCompat": false
|
|
117
|
-
},
|
|
118
|
-
"RemovedTypeAliasDeclaration_LoadableObjectClassRecord": {
|
|
119
|
-
"forwardCompat": false,
|
|
120
|
-
"backCompat": false
|
|
121
|
-
},
|
|
122
|
-
"InterfaceDeclaration_ContainerSchema": {
|
|
123
|
-
"backCompat": false
|
|
124
|
-
}
|
|
125
|
-
}
|
|
103
|
+
"broken": {}
|
|
126
104
|
},
|
|
127
105
|
"scripts": {
|
|
128
106
|
"api": "fluid-build . --task api",
|
|
@@ -160,7 +138,7 @@
|
|
|
160
138
|
"test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\" --exit -r node_modules/@fluid-internal/mocha-test-setup",
|
|
161
139
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
162
140
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
163
|
-
"typetests:gen": "flub generate typetests --dir . -v
|
|
141
|
+
"typetests:gen": "flub generate typetests --dir . -v",
|
|
164
142
|
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
165
143
|
}
|
|
166
144
|
}
|
|
@@ -32,6 +32,10 @@ export const compatibilityModeRuntimeOptions: Record<
|
|
|
32
32
|
// Grouped batching is on by default but introduces a new type of op which is not compatible with 1.x clients.
|
|
33
33
|
enableGroupedBatching: false,
|
|
34
34
|
// TODO: Include explicit disables for things that are currently off-by-default?
|
|
35
|
+
|
|
36
|
+
// Explicitly disable running Sweep and enforcing Tombstone
|
|
37
|
+
// This ensures we don't send the new GC op which is not compatible with 1.x clients
|
|
38
|
+
gcOptions: { enableGCSweep: undefined, gcDisableThrowOnTombstoneLoad: true },
|
|
35
39
|
},
|
|
36
40
|
"2": {
|
|
37
41
|
// Explicit schema control explicitly makes the container incompatible with 1.x clients, to force their
|
|
@@ -40,5 +44,7 @@ export const compatibilityModeRuntimeOptions: Record<
|
|
|
40
44
|
// The runtime ID compressor is a prerequisite to use SharedTree but is off by default and must be explicitly enabled.
|
|
41
45
|
// It introduces a new type of op which is not compatible with 1.x clients.
|
|
42
46
|
enableRuntimeIdCompressor: "on",
|
|
47
|
+
// GC is not yet enabled by default, although it could be enabled here from a compat standpoint
|
|
48
|
+
gcOptions: { enableGCSweep: undefined, gcDisableThrowOnTombstoneLoad: true },
|
|
43
49
|
},
|
|
44
50
|
};
|