@fluidframework/container-runtime-definitions 2.13.0 → 2.20.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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # @fluidframework/container-runtime-definitions
2
2
 
3
+ ## 2.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - The createDataStoreWithProps APIs on ContainerRuntime and IContainerRuntimeBase have been removed ([#22996](https://github.com/microsoft/FluidFramework/pull/22996)) [bd243fb292](https://github.com/microsoft/FluidFramework/commit/bd243fb2927915d87c42486e21ee0c990962a9a7)
8
+
9
+ `ContainerRuntime.createDataStoreWithProps` and `IContainerRuntimeBase.createDataStoreWithProps`
10
+ were [deprecated in version 0.25.0](https://github.com/microsoft/FluidFramework/blob/main/BREAKING.md#icontainerruntimebase_createdatastorewithprops-is-removed) and have been removed.
11
+
12
+ Replace uses of these APIs with `PureDataObjectFactory.createInstanceWithDataStore` and pass in props via the `initialState`
13
+ parameter.
14
+
15
+ These changes were originally announced in version 0.25.0. See the following issues for more details:
16
+
17
+ - [#1537](https://github.com/microsoft/FluidFramework/issues/1537)
18
+ - [#2931](https://github.com/microsoft/FluidFramework/pull/2931)
19
+
3
20
  ## 2.13.0
4
21
 
5
22
  Dependency updates only.
package/dist/package.json CHANGED
@@ -1,3 +1,4 @@
1
1
  {
2
- "type": "commonjs"
2
+ "type": "commonjs",
3
+ "sideEffects": false
3
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-runtime-definitions",
3
- "version": "2.13.0",
3
+ "version": "2.20.0",
4
4
  "description": "Fluid Runtime definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -41,10 +41,10 @@
41
41
  "main": "",
42
42
  "types": "lib/public.d.ts",
43
43
  "dependencies": {
44
- "@fluidframework/container-definitions": "~2.13.0",
45
- "@fluidframework/core-interfaces": "~2.13.0",
46
- "@fluidframework/driver-definitions": "~2.13.0",
47
- "@fluidframework/runtime-definitions": "~2.13.0"
44
+ "@fluidframework/container-definitions": "~2.20.0",
45
+ "@fluidframework/core-interfaces": "~2.20.0",
46
+ "@fluidframework/driver-definitions": "~2.20.0",
47
+ "@fluidframework/runtime-definitions": "~2.20.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@arethetypeswrong/cli": "^0.17.1",
@@ -52,7 +52,7 @@
52
52
  "@fluid-tools/build-cli": "^0.51.0",
53
53
  "@fluidframework/build-common": "^2.0.3",
54
54
  "@fluidframework/build-tools": "^0.51.0",
55
- "@fluidframework/container-runtime-definitions-previous": "npm:@fluidframework/container-runtime-definitions@2.12.0",
55
+ "@fluidframework/container-runtime-definitions-previous": "npm:@fluidframework/container-runtime-definitions@2.13.0",
56
56
  "@fluidframework/eslint-config-fluid": "^5.6.0",
57
57
  "@microsoft/api-extractor": "7.47.8",
58
58
  "concurrently": "^8.2.1",
@@ -63,7 +63,17 @@
63
63
  "typescript": "~5.4.5"
64
64
  },
65
65
  "typeValidation": {
66
- "broken": {},
66
+ "broken": {
67
+ "Interface_IContainerRuntime": {
68
+ "backCompat": false
69
+ },
70
+ "Interface_IContainerRuntimeWithResolveHandle_Deprecated": {
71
+ "backCompat": false
72
+ },
73
+ "TypeAlias_IContainerRuntimeBaseWithCombinedEvents": {
74
+ "backCompat": false
75
+ }
76
+ },
67
77
  "entrypoint": "legacy"
68
78
  },
69
79
  "scripts": {