@fluidframework/container-runtime 2.72.0 → 2.73.0

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.
@@ -143,7 +143,7 @@ import {
143
143
  isValidMinVersionForCollab,
144
144
  RequestParser,
145
145
  RuntimeHeaders,
146
- semanticVersionToMinimumVersionForCollab,
146
+ validateMinimumVersionForCollab,
147
147
  seqFromTree,
148
148
  TelemetryContext,
149
149
  } from "@fluidframework/runtime-utils/internal";
@@ -1219,6 +1219,7 @@ export class ContainerRuntime
1219
1219
  createBlobPayloadPending,
1220
1220
  };
1221
1221
 
1222
+ validateMinimumVersionForCollab(updatedMinVersionForCollab);
1222
1223
  const runtime = new containerRuntimeCtor(
1223
1224
  context,
1224
1225
  registry,
@@ -1236,7 +1237,7 @@ export class ContainerRuntime
1236
1237
  documentSchemaController,
1237
1238
  featureGatesForTelemetry,
1238
1239
  provideEntryPoint,
1239
- semanticVersionToMinimumVersionForCollab(updatedMinVersionForCollab),
1240
+ updatedMinVersionForCollab,
1240
1241
  requestHandler,
1241
1242
  undefined, // summaryConfiguration
1242
1243
  recentBatchInfo,
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/container-runtime";
9
- export const pkgVersion = "2.72.0";
9
+ export const pkgVersion = "2.73.0";
@@ -107,8 +107,10 @@ export interface IDocumentSchemaInfo {
107
107
  * See {@link @fluidframework/container-runtime#LoadContainerRuntimeParams} for additional details on `minVersionForCollab`.
108
108
  *
109
109
  * @remarks
110
- * We use `SemanticVersion` instead of `MinimumVersionForCollab` since we may open future documents that with a
110
+ * We use `SemanticVersion` instead of `MinimumVersionForCollab` since we may open future documents with a
111
111
  * minVersionForCollab version that `MinimumVersionForCollab` does not support.
112
+ * Note that in such a case (where minVersionForCollab is not a valid `MinimumVersionForCollab`),
113
+ * loading the document might not work since this version of the runtime may not support it.
112
114
  */
113
115
  minVersionForCollab: SemanticVersion;
114
116
  }