@fluidframework/datastore-definitions 2.71.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 +8 -13
- package/api-report/datastore-definitions.legacy.alpha.api.md +1 -0
- package/api-report/datastore-definitions.legacy.beta.api.md +1 -0
- package/dist/dataStoreRuntime.d.ts +15 -0
- package/dist/dataStoreRuntime.d.ts.map +1 -1
- package/lib/dataStoreRuntime.d.ts +15 -0
- package/lib/dataStoreRuntime.d.ts.map +1 -1
- package/package.json +10 -10
- package/src/dataStoreRuntime.ts +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fluidframework/datastore-definitions
|
|
2
2
|
|
|
3
|
+
## 2.73.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
7
|
+
## 2.72.0
|
|
8
|
+
|
|
9
|
+
Dependency updates only.
|
|
10
|
+
|
|
3
11
|
## 2.71.0
|
|
4
12
|
|
|
5
13
|
Dependency updates only.
|
|
@@ -86,7 +94,6 @@ Dependency updates only.
|
|
|
86
94
|
- The process and processDocumentSchemaOp functions have been removed ([#24018](https://github.com/microsoft/FluidFramework/pull/24018)) [bc35d543d5](https://github.com/microsoft/FluidFramework/commit/bc35d543d58c7e4bf28944b09d645cc26bf28a29)
|
|
87
95
|
|
|
88
96
|
`process` has been replaced by `processMessages` from the following:
|
|
89
|
-
|
|
90
97
|
- `FluidDataStoreRuntime`
|
|
91
98
|
- `IDeltaHandler`
|
|
92
99
|
- `IFluidDataStoreChannel`
|
|
@@ -177,7 +184,6 @@ Dependency updates only.
|
|
|
177
184
|
|
|
178
185
|
Access to these now less public types should not be required for users of the `@public` "declarative API" exposed in the `fluid-framework` package, but can still be accessed for those who need them under the `/legacy` import paths.
|
|
179
186
|
The full list of such types is:
|
|
180
|
-
|
|
181
187
|
- `SharedTree` as exported from `@fluidframwork/tree`: It is still exported as `@public` from `fluid-framework` as `SharedObjectKind`.
|
|
182
188
|
- `ISharedObjectKind`: See new `SharedObjectKind` type for use in `@public` APIs.
|
|
183
189
|
`ISharedObject`
|
|
@@ -195,7 +201,6 @@ Dependency updates only.
|
|
|
195
201
|
- `IProvideFluidHandleContext`
|
|
196
202
|
|
|
197
203
|
Removed APIs:
|
|
198
|
-
|
|
199
204
|
- `DataObjectClass`: Usages replaced with `SharedObjectKind`.
|
|
200
205
|
- `LoadableObjectClass`: Replaced with `SharedObjectKind`.
|
|
201
206
|
- `LoadableObjectClassRecord`: Replaced with `Record<string, SharedObjectKind>`.
|
|
@@ -208,7 +213,6 @@ Dependency updates only.
|
|
|
208
213
|
- fluid-framework: Remove several types from `@public` scope ([#21142](https://github.com/microsoft/FluidFramework/pull/21142)) [983e9f09f7](https://github.com/microsoft/FluidFramework/commit/983e9f09f7b10fef9ffa1e9af86166f0ccda7e14)
|
|
209
214
|
|
|
210
215
|
The following types have been moved from `@public` to `@alpha`:
|
|
211
|
-
|
|
212
216
|
- `IFluidSerializer`
|
|
213
217
|
- `ISharedObjectEvents`
|
|
214
218
|
- `IChannelServices`
|
|
@@ -226,7 +230,6 @@ Dependency updates only.
|
|
|
226
230
|
|
|
227
231
|
Make IFluidDataStoreRuntime.deltaManager have an opaque type.
|
|
228
232
|
Marks the following types which were reachable from it as alpha:
|
|
229
|
-
|
|
230
233
|
- IConnectionDetails
|
|
231
234
|
- IDeltaSender
|
|
232
235
|
- IDeltaManagerEvents
|
|
@@ -250,7 +253,6 @@ Dependency updates only.
|
|
|
250
253
|
TypeScript types and implementation code.
|
|
251
254
|
|
|
252
255
|
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
253
|
-
|
|
254
256
|
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
255
257
|
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
256
258
|
|
|
@@ -285,7 +287,6 @@ Dependency updates only.
|
|
|
285
287
|
- Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
286
288
|
|
|
287
289
|
The following Fluid server dependencies have been updated to the latest version, 3.0.0. [See the full changelog.](https://github.com/microsoft/FluidFramework/releases/tag/server_v3.0.0)
|
|
288
|
-
|
|
289
290
|
- @fluidframework/gitresources
|
|
290
291
|
- @fluidframework/server-kafka-orderer
|
|
291
292
|
- @fluidframework/server-lambdas
|
|
@@ -346,7 +347,6 @@ Dependency updates only.
|
|
|
346
347
|
limitation of serialization.
|
|
347
348
|
|
|
348
349
|
Additional modifications:
|
|
349
|
-
|
|
350
350
|
- `Jsonable`'s `TReplacement` parameter default has also been changed from `void` to `never`, which now disallows
|
|
351
351
|
`void`.
|
|
352
352
|
- Unrecognized primitive types like `symbol` are now filtered to `never` instead of `{}`.
|
|
@@ -380,7 +380,6 @@ Dependency updates only.
|
|
|
380
380
|
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
381
381
|
|
|
382
382
|
This included the following changes from the protocol-definitions release:
|
|
383
|
-
|
|
384
383
|
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
385
384
|
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
386
385
|
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
@@ -391,7 +390,6 @@ Dependency updates only.
|
|
|
391
390
|
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
392
391
|
|
|
393
392
|
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
394
|
-
|
|
395
393
|
- @fluidframework/gitresources: 2.0.1
|
|
396
394
|
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
397
395
|
- @fluidframework/server-lambdas: 2.0.1
|
|
@@ -416,7 +414,6 @@ Dependency updates only.
|
|
|
416
414
|
- test-utils: provideEntryPoint is required [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
417
415
|
|
|
418
416
|
The optional `provideEntryPoint` method has become required on a number of constructors. A value will need to be provided to the following classes:
|
|
419
|
-
|
|
420
417
|
- `BaseContainerRuntimeFactory`
|
|
421
418
|
- `RuntimeFactory`
|
|
422
419
|
- `ContainerRuntime` (constructor and `loadRuntime`)
|
|
@@ -449,7 +446,6 @@ Dependency updates only.
|
|
|
449
446
|
|
|
450
447
|
The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
|
|
451
448
|
imported from the **@fluidframework/core-interfaces** package:
|
|
452
|
-
|
|
453
449
|
- interface IDisposable
|
|
454
450
|
- interface IErrorEvent
|
|
455
451
|
- interface IErrorEvent
|
|
@@ -483,7 +479,6 @@ Dependency updates only.
|
|
|
483
479
|
- Request APIs deprecated from many places [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
484
480
|
|
|
485
481
|
The `request` API (associated with the `IFluidRouter` interface) has been deprecated on a number of classes and interfaces. The following are impacted:
|
|
486
|
-
|
|
487
482
|
- `IRuntime` and `ContainerRuntime`
|
|
488
483
|
- `IFluidDataStoreRuntime` and `FluidDataStoreRuntime`
|
|
489
484
|
- `IFluidDataStoreChannel`
|
|
@@ -70,6 +70,7 @@ export type IDeltaManagerErased = ErasedType<"@fluidframework/container-definiti
|
|
|
70
70
|
|
|
71
71
|
// @beta @sealed @legacy
|
|
72
72
|
export interface IFluidDataStoreRuntime extends IEventProvider<IFluidDataStoreRuntimeEvents>, IDisposable {
|
|
73
|
+
readonly activeLocalOperationActivity?: "applyStashed" | "rollback" | undefined;
|
|
73
74
|
addChannel(channel: IChannel): void;
|
|
74
75
|
readonly attachState: AttachState;
|
|
75
76
|
bindChannel(channel: IChannel): void;
|
|
@@ -70,6 +70,7 @@ export type IDeltaManagerErased = ErasedType<"@fluidframework/container-definiti
|
|
|
70
70
|
|
|
71
71
|
// @beta @sealed @legacy
|
|
72
72
|
export interface IFluidDataStoreRuntime extends IEventProvider<IFluidDataStoreRuntimeEvents>, IDisposable {
|
|
73
|
+
readonly activeLocalOperationActivity?: "applyStashed" | "rollback" | undefined;
|
|
73
74
|
addChannel(channel: IChannel): void;
|
|
74
75
|
readonly attachState: AttachState;
|
|
75
76
|
bindChannel(channel: IChannel): void;
|
|
@@ -125,6 +125,21 @@ export interface IFluidDataStoreRuntime extends IEventProvider<IFluidDataStoreRu
|
|
|
125
125
|
* with it.
|
|
126
126
|
*/
|
|
127
127
|
readonly entryPoint: IFluidHandle<FluidObject>;
|
|
128
|
+
/**
|
|
129
|
+
* Indicates the current local operation activity being performed by the data store runtime.
|
|
130
|
+
*
|
|
131
|
+
* @remarks
|
|
132
|
+
* This property allows consumers to know when the runtime itself is actively making changes to data store DDSes.
|
|
133
|
+
* When this property is not `undefined`, consumers should expect to see state modifications initiated by the runtime
|
|
134
|
+
* rather than by the consumer directly:
|
|
135
|
+
* - `"applyStashed"` - The runtime is applying previously stashed operations during reconnection or container load.
|
|
136
|
+
* Stashed operations are local changes that were submitted but not yet acknowledged when a container was closed,
|
|
137
|
+
* and are being reapplied to restore the expected local state.
|
|
138
|
+
* - `"rollback"` - The runtime is rolling back (reverting) local operations that the user has chosen not to submit.
|
|
139
|
+
* This occurs when operations are being discarded, such as when exiting staging mode without committing changes.
|
|
140
|
+
* - `undefined` - No local operation activity is currently in progress.
|
|
141
|
+
*/
|
|
142
|
+
readonly activeLocalOperationActivity?: "applyStashed" | "rollback" | undefined;
|
|
128
143
|
}
|
|
129
144
|
/**
|
|
130
145
|
* @legacy @alpha
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataStoreRuntime.d.ts","sourceRoot":"","sources":["../src/dataStoreRuntime.ts"],"names":[],"mappings":"A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,QAAQ,CAAC,4BAA4B,CAAC,EAAE,cAAc,GAAG,UAAU,GAAG,SAAS,CAAC;CAChF;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA4B,SAAQ,sBAAsB;IAC1E,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;GAKG;AACH,MAAM,WAAW,oCAAoC;IACpD,QAAQ,CAAC,oCAAoC,CAAC,EAAE,OAAO,CAAC;IAExD;;;;;OAKG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;CACnE"}
|
|
@@ -125,6 +125,21 @@ export interface IFluidDataStoreRuntime extends IEventProvider<IFluidDataStoreRu
|
|
|
125
125
|
* with it.
|
|
126
126
|
*/
|
|
127
127
|
readonly entryPoint: IFluidHandle<FluidObject>;
|
|
128
|
+
/**
|
|
129
|
+
* Indicates the current local operation activity being performed by the data store runtime.
|
|
130
|
+
*
|
|
131
|
+
* @remarks
|
|
132
|
+
* This property allows consumers to know when the runtime itself is actively making changes to data store DDSes.
|
|
133
|
+
* When this property is not `undefined`, consumers should expect to see state modifications initiated by the runtime
|
|
134
|
+
* rather than by the consumer directly:
|
|
135
|
+
* - `"applyStashed"` - The runtime is applying previously stashed operations during reconnection or container load.
|
|
136
|
+
* Stashed operations are local changes that were submitted but not yet acknowledged when a container was closed,
|
|
137
|
+
* and are being reapplied to restore the expected local state.
|
|
138
|
+
* - `"rollback"` - The runtime is rolling back (reverting) local operations that the user has chosen not to submit.
|
|
139
|
+
* This occurs when operations are being discarded, such as when exiting staging mode without committing changes.
|
|
140
|
+
* - `undefined` - No local operation activity is currently in progress.
|
|
141
|
+
*/
|
|
142
|
+
readonly activeLocalOperationActivity?: "applyStashed" | "rollback" | undefined;
|
|
128
143
|
}
|
|
129
144
|
/**
|
|
130
145
|
* @legacy @alpha
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file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AU,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IAE/C;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,4BAA4B,CAAC,EAAE,cAAc,GAAG,UAAU,GAAG,SAAS,CAAC;CAChF;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA4B,SAAQ,sBAAsB;IAC1E,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;GAKG;AACH,MAAM,WAAW,oCAAoC;IACpD,QAAQ,CAAC,oCAAoC,CAAC,EAAE,OAAO,CAAC;IAExD;;;;;OAKG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;CACnE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/datastore-definitions",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.73.0",
|
|
4
4
|
"description": "Fluid data store definitions",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -49,20 +49,20 @@
|
|
|
49
49
|
"main": "",
|
|
50
50
|
"types": "lib/public.d.ts",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@fluidframework/container-definitions": "~2.
|
|
53
|
-
"@fluidframework/core-interfaces": "~2.
|
|
54
|
-
"@fluidframework/driver-definitions": "~2.
|
|
55
|
-
"@fluidframework/id-compressor": "~2.
|
|
56
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
52
|
+
"@fluidframework/container-definitions": "~2.73.0",
|
|
53
|
+
"@fluidframework/core-interfaces": "~2.73.0",
|
|
54
|
+
"@fluidframework/driver-definitions": "~2.73.0",
|
|
55
|
+
"@fluidframework/id-compressor": "~2.73.0",
|
|
56
|
+
"@fluidframework/runtime-definitions": "~2.73.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
60
60
|
"@biomejs/biome": "~1.9.3",
|
|
61
|
-
"@fluid-tools/build-cli": "^0.
|
|
61
|
+
"@fluid-tools/build-cli": "^0.60.0",
|
|
62
62
|
"@fluidframework/build-common": "^2.0.3",
|
|
63
|
-
"@fluidframework/build-tools": "^0.
|
|
64
|
-
"@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@2.
|
|
65
|
-
"@fluidframework/eslint-config-fluid": "
|
|
63
|
+
"@fluidframework/build-tools": "^0.60.0",
|
|
64
|
+
"@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@2.71.0",
|
|
65
|
+
"@fluidframework/eslint-config-fluid": "~2.73.0",
|
|
66
66
|
"@microsoft/api-extractor": "7.52.11",
|
|
67
67
|
"concurrently": "^8.2.1",
|
|
68
68
|
"copyfiles": "^2.4.1",
|
package/src/dataStoreRuntime.ts
CHANGED
|
@@ -174,6 +174,22 @@ export interface IFluidDataStoreRuntime
|
|
|
174
174
|
* with it.
|
|
175
175
|
*/
|
|
176
176
|
readonly entryPoint: IFluidHandle<FluidObject>;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Indicates the current local operation activity being performed by the data store runtime.
|
|
180
|
+
*
|
|
181
|
+
* @remarks
|
|
182
|
+
* This property allows consumers to know when the runtime itself is actively making changes to data store DDSes.
|
|
183
|
+
* When this property is not `undefined`, consumers should expect to see state modifications initiated by the runtime
|
|
184
|
+
* rather than by the consumer directly:
|
|
185
|
+
* - `"applyStashed"` - The runtime is applying previously stashed operations during reconnection or container load.
|
|
186
|
+
* Stashed operations are local changes that were submitted but not yet acknowledged when a container was closed,
|
|
187
|
+
* and are being reapplied to restore the expected local state.
|
|
188
|
+
* - `"rollback"` - The runtime is rolling back (reverting) local operations that the user has chosen not to submit.
|
|
189
|
+
* This occurs when operations are being discarded, such as when exiting staging mode without committing changes.
|
|
190
|
+
* - `undefined` - No local operation activity is currently in progress.
|
|
191
|
+
*/
|
|
192
|
+
readonly activeLocalOperationActivity?: "applyStashed" | "rollback" | undefined;
|
|
177
193
|
}
|
|
178
194
|
|
|
179
195
|
/**
|