@fluidframework/container-runtime-definitions 2.0.0-rc.3.0.3 → 2.0.0-rc.4.0.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 +21 -0
- package/api-report/container-runtime-definitions.api.md +1 -1
- package/dist/containerRuntime.d.ts +2 -1
- package/dist/containerRuntime.d.ts.map +1 -1
- package/dist/legacy.d.ts +1 -1
- package/lib/containerRuntime.d.ts +2 -1
- package/lib/containerRuntime.d.ts.map +1 -1
- package/lib/legacy.d.ts +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +11 -23
- package/src/containerRuntime.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @fluidframework/container-runtime-definitions
|
|
2
2
|
|
|
3
|
+
## 2.0.0-rc.4.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Type Erase IFluidDataStoreRuntime.deltaManager [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
8
|
+
|
|
9
|
+
Make IFluidDataStoreRuntime.deltaManager have an opaque type.
|
|
10
|
+
Marks the following types which were reachable from it as alpha:
|
|
11
|
+
|
|
12
|
+
- IConnectionDetails
|
|
13
|
+
- IDeltaSender
|
|
14
|
+
- IDeltaManagerEvents
|
|
15
|
+
- IDeltaManager
|
|
16
|
+
- IDeltaQueueEvents
|
|
17
|
+
- IDeltaQueue
|
|
18
|
+
- ReadOnlyInfo
|
|
19
|
+
|
|
20
|
+
As a temporary workaround, users needing access to the full delta manager API can use the `@alpha` `toDeltaManagerInternal` API to retrieve its members, but should migrate away from requiring access to those APIs.
|
|
21
|
+
|
|
22
|
+
Implementing a custom `IFluidDataStoreRuntime` is not supported: this is now indicated by it being marked with `@sealed`.
|
|
23
|
+
|
|
3
24
|
## 2.0.0-rc.3.0.0
|
|
4
25
|
|
|
5
26
|
### Major Changes
|
|
@@ -10,7 +10,7 @@ import { FlushMode } from '@fluidframework/runtime-definitions/internal';
|
|
|
10
10
|
import { IClientDetails } from '@fluidframework/protocol-definitions';
|
|
11
11
|
import { IContainerRuntimeBase } from '@fluidframework/runtime-definitions/internal';
|
|
12
12
|
import { IContainerRuntimeBaseEvents } from '@fluidframework/runtime-definitions/internal';
|
|
13
|
-
import type { IDeltaManager } from '@fluidframework/container-definitions';
|
|
13
|
+
import type { IDeltaManager } from '@fluidframework/container-definitions/internal';
|
|
14
14
|
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
15
15
|
import type { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
|
|
16
16
|
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import type { AttachState
|
|
5
|
+
import type { AttachState } from "@fluidframework/container-definitions";
|
|
6
|
+
import type { IDeltaManager } from "@fluidframework/container-definitions/internal";
|
|
6
7
|
import type { FluidObject, IEventProvider, IFluidHandle, IFluidHandleContext, IRequest, IResponse } from "@fluidframework/core-interfaces";
|
|
7
8
|
import type { IDocumentStorageService } from "@fluidframework/driver-definitions/internal";
|
|
8
9
|
import { type IClientDetails, type IDocumentMessage, type ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerRuntime.d.ts","sourceRoot":"","sources":["../src/containerRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"containerRuntime.d.ts","sourceRoot":"","sources":["../src/containerRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCA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AAE,cAAc,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC,yBAAyB,EAAE,gBAAgB,CAAC,CAAC;IAClF,QAAQ,CAAC,OAAO,EAAE,uBAAuB,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC;;;;;OAKG;IACH,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,CAAC;IAE7F;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAE1B;;;;OAIG;IACH,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjE"}
|
package/dist/legacy.d.ts
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import type { AttachState
|
|
5
|
+
import type { AttachState } from "@fluidframework/container-definitions";
|
|
6
|
+
import type { IDeltaManager } from "@fluidframework/container-definitions/internal";
|
|
6
7
|
import type { FluidObject, IEventProvider, IFluidHandle, IFluidHandleContext, IRequest, IResponse } from "@fluidframework/core-interfaces";
|
|
7
8
|
import type { IDocumentStorageService } from "@fluidframework/driver-definitions/internal";
|
|
8
9
|
import { type IClientDetails, type IDocumentMessage, type ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerRuntime.d.ts","sourceRoot":"","sources":["../src/containerRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,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IAExC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,aAAa,EAAE,cAAc,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC,yBAAyB,EAAE,gBAAgB,CAAC,CAAC;IAClF,QAAQ,CAAC,OAAO,EAAE,uBAAuB,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC;;;;;OAKG;IACH,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,CAAC;IAE7F;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAE1B;;;;OAIG;IACH,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjE"}
|
package/lib/legacy.d.ts
CHANGED
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/container-runtime-definitions",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.4.0.0",
|
|
4
4
|
"description": "Fluid Runtime definitions",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
"main": "",
|
|
42
42
|
"types": "lib/public.d.ts",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@fluidframework/container-definitions": ">=2.0.0-rc.
|
|
45
|
-
"@fluidframework/core-interfaces": ">=2.0.0-rc.
|
|
46
|
-
"@fluidframework/driver-definitions": ">=2.0.0-rc.
|
|
44
|
+
"@fluidframework/container-definitions": ">=2.0.0-rc.4.0.0 <2.0.0-rc.4.1.0",
|
|
45
|
+
"@fluidframework/core-interfaces": ">=2.0.0-rc.4.0.0 <2.0.0-rc.4.1.0",
|
|
46
|
+
"@fluidframework/driver-definitions": ">=2.0.0-rc.4.0.0 <2.0.0-rc.4.1.0",
|
|
47
47
|
"@fluidframework/protocol-definitions": "^3.2.0",
|
|
48
|
-
"@fluidframework/runtime-definitions": ">=2.0.0-rc.
|
|
48
|
+
"@fluidframework/runtime-definitions": ">=2.0.0-rc.4.0.0 <2.0.0-rc.4.1.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
52
52
|
"@biomejs/biome": "^1.6.2",
|
|
53
|
-
"@fluid-tools/build-cli": "^0.
|
|
53
|
+
"@fluid-tools/build-cli": "^0.38.0",
|
|
54
54
|
"@fluidframework/build-common": "^2.0.3",
|
|
55
|
-
"@fluidframework/build-tools": "^0.
|
|
56
|
-
"@fluidframework/container-runtime-definitions-previous": "npm:@fluidframework/container-runtime-definitions@2.0.0-
|
|
55
|
+
"@fluidframework/build-tools": "^0.38.0",
|
|
56
|
+
"@fluidframework/container-runtime-definitions-previous": "npm:@fluidframework/container-runtime-definitions@2.0.0-rc.3.0.0",
|
|
57
57
|
"@fluidframework/eslint-config-fluid": "^5.1.0",
|
|
58
|
-
"@microsoft/api-extractor": "^7.
|
|
58
|
+
"@microsoft/api-extractor": "^7.43.1",
|
|
59
59
|
"copyfiles": "^2.4.1",
|
|
60
60
|
"eslint": "~8.55.0",
|
|
61
61
|
"prettier": "~3.0.3",
|
|
@@ -63,19 +63,7 @@
|
|
|
63
63
|
"typescript": "~5.1.6"
|
|
64
64
|
},
|
|
65
65
|
"typeValidation": {
|
|
66
|
-
"broken": {
|
|
67
|
-
"InterfaceDeclaration_IContainerRuntime": {
|
|
68
|
-
"backCompat": false,
|
|
69
|
-
"forwardCompat": false
|
|
70
|
-
},
|
|
71
|
-
"InterfaceDeclaration_IContainerRuntimeWithResolveHandle_Deprecated": {
|
|
72
|
-
"backCompat": false,
|
|
73
|
-
"forwardCompat": false
|
|
74
|
-
},
|
|
75
|
-
"TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {
|
|
76
|
-
"forwardCompat": false
|
|
77
|
-
}
|
|
78
|
-
}
|
|
66
|
+
"broken": {}
|
|
79
67
|
},
|
|
80
68
|
"scripts": {
|
|
81
69
|
"api": "fluid-build . --task api",
|
|
@@ -100,7 +88,7 @@
|
|
|
100
88
|
"lint": "fluid-build . --task lint",
|
|
101
89
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
102
90
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
103
|
-
"typetests:gen": "
|
|
91
|
+
"typetests:gen": "flub generate typetests --dir . -v --publicFallback",
|
|
104
92
|
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
105
93
|
}
|
|
106
94
|
}
|
package/src/containerRuntime.ts
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { AttachState
|
|
6
|
+
import type { AttachState } from "@fluidframework/container-definitions";
|
|
7
|
+
import type { IDeltaManager } from "@fluidframework/container-definitions/internal";
|
|
7
8
|
import type {
|
|
8
9
|
FluidObject,
|
|
9
10
|
IEventProvider,
|