@fluidframework/container-runtime 2.2.0 → 2.2.1

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.
@@ -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/container-runtime";
8
- export declare const pkgVersion = "2.2.0";
8
+ export declare const pkgVersion = "2.2.1";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/container-runtime";
8
- export const pkgVersion = "2.2.0";
8
+ export const pkgVersion = "2.2.1";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAC3D,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,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/container-runtime\";\nexport const pkgVersion = \"2.2.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAC3D,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,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/container-runtime\";\nexport const pkgVersion = \"2.2.1\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-runtime",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Fluid container runtime",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -127,18 +127,18 @@
127
127
  "temp-directory": "nyc/.nyc_output"
128
128
  },
129
129
  "dependencies": {
130
- "@fluid-internal/client-utils": "~2.2.0",
131
- "@fluidframework/container-definitions": "~2.2.0",
132
- "@fluidframework/container-runtime-definitions": "~2.2.0",
133
- "@fluidframework/core-interfaces": "~2.2.0",
134
- "@fluidframework/core-utils": "~2.2.0",
135
- "@fluidframework/datastore": "~2.2.0",
136
- "@fluidframework/driver-definitions": "~2.2.0",
137
- "@fluidframework/driver-utils": "~2.2.0",
138
- "@fluidframework/id-compressor": "~2.2.0",
139
- "@fluidframework/runtime-definitions": "~2.2.0",
140
- "@fluidframework/runtime-utils": "~2.2.0",
141
- "@fluidframework/telemetry-utils": "~2.2.0",
130
+ "@fluid-internal/client-utils": "~2.2.1",
131
+ "@fluidframework/container-definitions": "~2.2.1",
132
+ "@fluidframework/container-runtime-definitions": "~2.2.1",
133
+ "@fluidframework/core-interfaces": "~2.2.1",
134
+ "@fluidframework/core-utils": "~2.2.1",
135
+ "@fluidframework/datastore": "~2.2.1",
136
+ "@fluidframework/driver-definitions": "~2.2.1",
137
+ "@fluidframework/driver-utils": "~2.2.1",
138
+ "@fluidframework/id-compressor": "~2.2.1",
139
+ "@fluidframework/runtime-definitions": "~2.2.1",
140
+ "@fluidframework/runtime-utils": "~2.2.1",
141
+ "@fluidframework/telemetry-utils": "~2.2.1",
142
142
  "@tylerbu/sorted-btree-es6": "^1.8.0",
143
143
  "double-ended-queue": "^2.1.0-0",
144
144
  "lz4js": "^0.2.0",
@@ -147,16 +147,16 @@
147
147
  "devDependencies": {
148
148
  "@arethetypeswrong/cli": "^0.15.2",
149
149
  "@biomejs/biome": "~1.8.3",
150
- "@fluid-internal/mocha-test-setup": "~2.2.0",
151
- "@fluid-private/stochastic-test-utils": "~2.2.0",
152
- "@fluid-private/test-pairwise-generator": "~2.2.0",
150
+ "@fluid-internal/mocha-test-setup": "~2.2.1",
151
+ "@fluid-private/stochastic-test-utils": "~2.2.1",
152
+ "@fluid-private/test-pairwise-generator": "~2.2.1",
153
153
  "@fluid-tools/benchmark": "^0.50.0",
154
154
  "@fluid-tools/build-cli": "^0.43.0",
155
155
  "@fluidframework/build-common": "^2.0.3",
156
156
  "@fluidframework/build-tools": "^0.43.0",
157
- "@fluidframework/container-runtime-previous": "npm:@fluidframework/container-runtime@2.1.0",
157
+ "@fluidframework/container-runtime-previous": "npm:@fluidframework/container-runtime@2.2.0",
158
158
  "@fluidframework/eslint-config-fluid": "^5.3.0",
159
- "@fluidframework/test-runtime-utils": "~2.2.0",
159
+ "@fluidframework/test-runtime-utils": "~2.2.1",
160
160
  "@microsoft/api-extractor": "^7.45.1",
161
161
  "@types/double-ended-queue": "^2.1.0",
162
162
  "@types/mocha": "^9.1.1",
@@ -178,11 +178,7 @@
178
178
  "typescript": "~5.4.5"
179
179
  },
180
180
  "typeValidation": {
181
- "broken": {
182
- "RemovedVariable_AllowInactiveRequestHeaderKey": {
183
- "backCompat": false
184
- }
185
- }
181
+ "broken": {}
186
182
  },
187
183
  "scripts": {
188
184
  "api": "fluid-build . --task api",
@@ -1285,6 +1285,7 @@ export class ContainerRuntime
1285
1285
  private dirtyContainer: boolean;
1286
1286
  private emitDirtyDocumentEvent = true;
1287
1287
  private readonly disableAttachReorder: boolean | undefined;
1288
+ private readonly useDeltaManagerOpsProxy: boolean;
1288
1289
  private readonly closeSummarizerDelayMs: number;
1289
1290
  private readonly defaultTelemetrySignalSampleCount = 100;
1290
1291
  private readonly _perfSignalData: IPerfSignalReport = {
@@ -1583,8 +1584,8 @@ export class ContainerRuntime
1583
1584
  );
1584
1585
 
1585
1586
  let outerDeltaManager: IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>;
1586
- const useDeltaManagerOpsProxy =
1587
- this.mc.config.getBoolean("Fluid.ContainerRuntime.DeltaManagerOpsProxy") !== false;
1587
+ this.useDeltaManagerOpsProxy =
1588
+ this.mc.config.getBoolean("Fluid.ContainerRuntime.DeltaManagerOpsProxy") === true;
1588
1589
  // The summarizerDeltaManager Proxy is used to lie to the summarizer to convince it is in the right state as a summarizer client.
1589
1590
  const summarizerDeltaManagerProxy = new DeltaManagerSummarizerProxy(
1590
1591
  this.innerDeltaManager,
@@ -1593,7 +1594,7 @@ export class ContainerRuntime
1593
1594
 
1594
1595
  // The DeltaManagerPendingOpsProxy is used to control the minimum sequence number
1595
1596
  // It allows us to lie to the layers below so that they can maintain enough local state for rebasing ops.
1596
- if (useDeltaManagerOpsProxy) {
1597
+ if (this.useDeltaManagerOpsProxy) {
1597
1598
  const pendingOpsDeltaManagerProxy = new DeltaManagerPendingOpsProxy(
1598
1599
  summarizerDeltaManagerProxy,
1599
1600
  this.pendingStateManager,
@@ -2733,8 +2734,9 @@ export class ContainerRuntime
2733
2734
  // Intercept to reduce minimum sequence number to the delta manager's minimum sequence number.
2734
2735
  // Sequence numbers are not guaranteed to follow any sort of order. Re-entrancy is one of those situations
2735
2736
  if (
2737
+ this.useDeltaManagerOpsProxy &&
2736
2738
  this.deltaManager.minimumSequenceNumber <
2737
- messageWithContext.message.minimumSequenceNumber
2739
+ messageWithContext.message.minimumSequenceNumber
2738
2740
  ) {
2739
2741
  messageWithContext.message.minimumSequenceNumber =
2740
2742
  this.deltaManager.minimumSequenceNumber;
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/container-runtime";
9
- export const pkgVersion = "2.2.0";
9
+ export const pkgVersion = "2.2.1";