@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.
- package/CHANGELOG.md +4 -0
- package/container-runtime.test-files.tar +0 -0
- package/dist/containerCompatibility.d.ts.map +1 -1
- package/dist/containerCompatibility.js +8 -2
- package/dist/containerCompatibility.js.map +1 -1
- package/dist/containerRuntime.d.ts.map +1 -1
- package/dist/containerRuntime.js +2 -1
- package/dist/containerRuntime.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/runtimeLayerCompatState.d.ts +1 -1
- package/dist/summary/documentSchema.d.ts +3 -1
- package/dist/summary/documentSchema.d.ts.map +1 -1
- package/dist/summary/documentSchema.js.map +1 -1
- package/lib/containerCompatibility.d.ts.map +1 -1
- package/lib/containerCompatibility.js +9 -3
- package/lib/containerCompatibility.js.map +1 -1
- package/lib/containerRuntime.d.ts.map +1 -1
- package/lib/containerRuntime.js +3 -2
- package/lib/containerRuntime.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/runtimeLayerCompatState.d.ts +1 -1
- package/lib/summary/documentSchema.d.ts +3 -1
- package/lib/summary/documentSchema.d.ts.map +1 -1
- package/lib/summary/documentSchema.js.map +1 -1
- package/package.json +18 -18
- package/src/containerCompatibility.ts +97 -91
- package/src/containerRuntime.ts +3 -2
- package/src/packageVersion.ts +1 -1
- package/src/summary/documentSchema.ts +3 -1
package/src/containerRuntime.ts
CHANGED
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
isValidMinVersionForCollab,
|
|
144
144
|
RequestParser,
|
|
145
145
|
RuntimeHeaders,
|
|
146
|
-
|
|
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
|
-
|
|
1240
|
+
updatedMinVersionForCollab,
|
|
1240
1241
|
requestHandler,
|
|
1241
1242
|
undefined, // summaryConfiguration
|
|
1242
1243
|
recentBatchInfo,
|
package/src/packageVersion.ts
CHANGED
|
@@ -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
|
|
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
|
}
|