@fluidframework/datastore-definitions 2.23.0 → 2.31.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,27 @@
1
1
  # @fluidframework/datastore-definitions
2
2
 
3
+ ## 2.31.0
4
+
5
+ Dependency updates only.
6
+
7
+ ## 2.30.0
8
+
9
+ ### Minor Changes
10
+
11
+ - The process and processDocumentSchemaOp functions have been removed ([#24018](https://github.com/microsoft/FluidFramework/pull/24018)) [bc35d543d5](https://github.com/microsoft/FluidFramework/commit/bc35d543d58c7e4bf28944b09d645cc26bf28a29)
12
+
13
+ `process` has been replaced by `processMessages` from the following:
14
+
15
+ - `FluidDataStoreRuntime`
16
+ - `IDeltaHandler`
17
+ - `IFluidDataStoreChannel`
18
+ - `MockFluidDataStoreRuntime`
19
+ - `MockDeltaConnection`
20
+
21
+ `processDocumentSchemaOp` has been replaced by `processDocumentSchemaMessages` from `DocumentsSchemaController`.
22
+
23
+ See the [deprecation release note](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.5.0#user-content-the-process-function-on-ifluiddatastorechannel-ideltahandler-mockfluiddatastoreruntime-and-mockdeltaconnection-is-now-deprecated-22840) for more details.
24
+
3
25
  ## 2.23.0
4
26
 
5
27
  Dependency updates only.
@@ -36,19 +58,19 @@ Dependency updates only.
36
58
 
37
59
  ### Minor Changes
38
60
 
39
- - The op event on IFluidDataStoreRuntimeEvents and IContainerRuntimeBaseEvents is emitted at a different time ([#22840](https://github.com/microsoft/FluidFramework/pull/22840)) [2e5b969d3a](https://github.com/microsoft/FluidFramework/commit/2e5b969d3a28b05da1502d521b725cee66e36a15)
61
+ - The op event on IFluidDataStoreRuntimeEvents and IContainerRuntimeBaseEvents is emitted at a different time ([#22840](https://github.com/microsoft/FluidFramework/pull/22840)) [2e5b969d3a](https://github.com/microsoft/FluidFramework/commit/2e5b969d3a28b05da1502d521b725cee66e36a15)
40
62
 
41
- Previously, in versions 2.4 and below, the `op` event was emitted immediately after an op was processed and before the next op was processed.
63
+ Previously, in versions 2.4 and below, the `op` event was emitted immediately after an op was processed and before the next op was processed.
42
64
 
43
- In versions 2.5.0 and beyond, the `op` event will be emitted after an op is processed, but it may not be immediate. In addition, other ops in a
44
- batch may be processed before the op event is emitted for a particular op.
65
+ In versions 2.5.0 and beyond, the `op` event will be emitted after an op is processed, but it may not be immediate. In addition, other ops in a
66
+ batch may be processed before the op event is emitted for a particular op.
45
67
 
46
- - The process function on IFluidDataStoreChannel, IDeltaHandler, MockFluidDataStoreRuntime and MockDeltaConnection is now deprecated ([#22840](https://github.com/microsoft/FluidFramework/pull/22840)) [2e5b969d3a](https://github.com/microsoft/FluidFramework/commit/2e5b969d3a28b05da1502d521b725cee66e36a15)
68
+ - The process function on IFluidDataStoreChannel, IDeltaHandler, MockFluidDataStoreRuntime and MockDeltaConnection is now deprecated ([#22840](https://github.com/microsoft/FluidFramework/pull/22840)) [2e5b969d3a](https://github.com/microsoft/FluidFramework/commit/2e5b969d3a28b05da1502d521b725cee66e36a15)
47
69
 
48
- The process function on IFluidDataStoreChannel, IDeltaHandler, MockFluidDataStoreRuntime and MockDeltaConnection is now
49
- deprecated. It has been replaced with a new function `processMessages`, which will be called to process multiple messages instead of a single one on the channel. This is part of a feature called "Op bunching", where contiguous ops of a given type and to a given data store / DDS are bunched and sent together for processing.
70
+ The process function on IFluidDataStoreChannel, IDeltaHandler, MockFluidDataStoreRuntime and MockDeltaConnection is now
71
+ deprecated. It has been replaced with a new function `processMessages`, which will be called to process multiple messages instead of a single one on the channel. This is part of a feature called "Op bunching", where contiguous ops of a given type and to a given data store / DDS are bunched and sent together for processing.
50
72
 
51
- Implementations of `IFluidDataStoreChannel` and `IDeltaHandler` must now also implement `processMessages`. For reference implementations, see `FluidDataStoreRuntime::processMessages` and `SharedObjectCore::attachDeltaHandler`.
73
+ Implementations of `IFluidDataStoreChannel` and `IDeltaHandler` must now also implement `processMessages`. For reference implementations, see `FluidDataStoreRuntime::processMessages` and `SharedObjectCore::attachDeltaHandler`.
52
74
 
53
75
  ## 2.4.0
54
76
 
@@ -70,195 +92,195 @@ Dependency updates only.
70
92
 
71
93
  ### Minor Changes
72
94
 
73
- - fluid-framework: Type Erase ISharedObjectKind ([#21081](https://github.com/microsoft/FluidFramework/pull/21081)) [78f228e370](https://github.com/microsoft/FluidFramework/commit/78f228e37055bd4d9a8f02b3a1eefebf4da9c59c)
95
+ - fluid-framework: Type Erase ISharedObjectKind ([#21081](https://github.com/microsoft/FluidFramework/pull/21081)) [78f228e370](https://github.com/microsoft/FluidFramework/commit/78f228e37055bd4d9a8f02b3a1eefebf4da9c59c)
74
96
 
75
- A new type, `SharedObjectKind` is added as a type erased version of `ISharedObjectKind` and `DataObjectClass`.
97
+ A new type, `SharedObjectKind` is added as a type erased version of `ISharedObjectKind` and `DataObjectClass`.
76
98
 
77
- This type fills the role of both `ISharedObjectKind` and `DataObjectClass` in the `@public` "declarative API" exposed in the `fluid-framework` package.
99
+ This type fills the role of both `ISharedObjectKind` and `DataObjectClass` in the `@public` "declarative API" exposed in the `fluid-framework` package.
78
100
 
79
- This allows several types referenced by `ISharedObjectKind` to be made `@alpha` as they should only need to be used by legacy code and users of the unstable/alpha/legacy "encapsulated API".
101
+ This allows several types referenced by `ISharedObjectKind` to be made `@alpha` as they should only need to be used by legacy code and users of the unstable/alpha/legacy "encapsulated API".
80
102
 
81
- 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.
82
- The full list of such types is:
103
+ 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.
104
+ The full list of such types is:
83
105
 
84
- - `SharedTree` as exported from `@fluidframwork/tree`: It is still exported as `@public` from `fluid-framework` as `SharedObjectKind`.
85
- - `ISharedObjectKind`: See new `SharedObjectKind` type for use in `@public` APIs.
86
- `ISharedObject`
87
- - `IChannel`
88
- - `IChannelAttributes`
89
- - `IChannelFactory`
90
- - `IExperimentalIncrementalSummaryContext`
91
- - `IGarbageCollectionData`
92
- - `ISummaryStats`
93
- - `ISummaryTreeWithStats`
94
- - `ITelemetryContext`
95
- - `IDeltaManagerErased`
96
- - `IFluidDataStoreRuntimeEvents`
97
- - `IFluidHandleContext`
98
- - `IProvideFluidHandleContext`
106
+ - `SharedTree` as exported from `@fluidframwork/tree`: It is still exported as `@public` from `fluid-framework` as `SharedObjectKind`.
107
+ - `ISharedObjectKind`: See new `SharedObjectKind` type for use in `@public` APIs.
108
+ `ISharedObject`
109
+ - `IChannel`
110
+ - `IChannelAttributes`
111
+ - `IChannelFactory`
112
+ - `IExperimentalIncrementalSummaryContext`
113
+ - `IGarbageCollectionData`
114
+ - `ISummaryStats`
115
+ - `ISummaryTreeWithStats`
116
+ - `ITelemetryContext`
117
+ - `IDeltaManagerErased`
118
+ - `IFluidDataStoreRuntimeEvents`
119
+ - `IFluidHandleContext`
120
+ - `IProvideFluidHandleContext`
99
121
 
100
- Removed APIs:
122
+ Removed APIs:
101
123
 
102
- - `DataObjectClass`: Usages replaced with `SharedObjectKind`.
103
- - `LoadableObjectClass`: Replaced with `SharedObjectKind`.
104
- - `LoadableObjectClassRecord`: Replaced with `Record<string, SharedObjectKind>`.
105
- -
124
+ - `DataObjectClass`: Usages replaced with `SharedObjectKind`.
125
+ - `LoadableObjectClass`: Replaced with `SharedObjectKind`.
126
+ - `LoadableObjectClassRecord`: Replaced with `Record<string, SharedObjectKind>`.
127
+ -
106
128
 
107
- - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
129
+ - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
108
130
 
109
- Update package implementations to use TypeScript 5.4.5.
131
+ Update package implementations to use TypeScript 5.4.5.
110
132
 
111
- - fluid-framework: Remove several types from `@public` scope ([#21142](https://github.com/microsoft/FluidFramework/pull/21142)) [983e9f09f7](https://github.com/microsoft/FluidFramework/commit/983e9f09f7b10fef9ffa1e9af86166f0ccda7e14)
133
+ - fluid-framework: Remove several types from `@public` scope ([#21142](https://github.com/microsoft/FluidFramework/pull/21142)) [983e9f09f7](https://github.com/microsoft/FluidFramework/commit/983e9f09f7b10fef9ffa1e9af86166f0ccda7e14)
112
134
 
113
- The following types have been moved from `@public` to `@alpha`:
135
+ The following types have been moved from `@public` to `@alpha`:
114
136
 
115
- - `IFluidSerializer`
116
- - `ISharedObjectEvents`
117
- - `IChannelServices`
118
- - `IChannelStorageService`
119
- - `IDeltaConnection`
120
- - `IDeltaHandler`
137
+ - `IFluidSerializer`
138
+ - `ISharedObjectEvents`
139
+ - `IChannelServices`
140
+ - `IChannelStorageService`
141
+ - `IDeltaConnection`
142
+ - `IDeltaHandler`
121
143
 
122
- These should not be needed by users of the declarative API, which is what `@public` is targeting.
144
+ These should not be needed by users of the declarative API, which is what `@public` is targeting.
123
145
 
124
146
  ## 2.0.0-rc.4.0.0
125
147
 
126
148
  ### Minor Changes
127
149
 
128
- - Type Erase IFluidDataStoreRuntime.deltaManager [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
150
+ - Type Erase IFluidDataStoreRuntime.deltaManager [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
129
151
 
130
- Make IFluidDataStoreRuntime.deltaManager have an opaque type.
131
- Marks the following types which were reachable from it as alpha:
152
+ Make IFluidDataStoreRuntime.deltaManager have an opaque type.
153
+ Marks the following types which were reachable from it as alpha:
132
154
 
133
- - IConnectionDetails
134
- - IDeltaSender
135
- - IDeltaManagerEvents
136
- - IDeltaManager
137
- - IDeltaQueueEvents
138
- - IDeltaQueue
139
- - ReadOnlyInfo
155
+ - IConnectionDetails
156
+ - IDeltaSender
157
+ - IDeltaManagerEvents
158
+ - IDeltaManager
159
+ - IDeltaQueueEvents
160
+ - IDeltaQueue
161
+ - ReadOnlyInfo
140
162
 
141
- 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.
163
+ 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.
142
164
 
143
- Implementing a custom `IFluidDataStoreRuntime` is not supported: this is now indicated by it being marked with `@sealed`.
165
+ Implementing a custom `IFluidDataStoreRuntime` is not supported: this is now indicated by it being marked with `@sealed`.
144
166
 
145
167
  ## 2.0.0-rc.3.0.0
146
168
 
147
169
  ### Major Changes
148
170
 
149
- - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
171
+ - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
150
172
 
151
- Fluid Framework packages have been updated to use the [package.json "exports"
152
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
153
- TypeScript types and implementation code.
173
+ Fluid Framework packages have been updated to use the [package.json "exports"
174
+ field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
175
+ TypeScript types and implementation code.
154
176
 
155
- This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
177
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
156
178
 
157
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
158
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
179
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
180
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
159
181
 
160
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
161
- for use with modern versions of Node.js _and_ Bundlers.
162
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
163
- regarding the module and moduleResolution options.
182
+ We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
183
+ for use with modern versions of Node.js _and_ Bundlers.
184
+ [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
185
+ regarding the module and moduleResolution options.
164
186
 
165
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
166
- to distinguish stable APIs from those that are in development.**
187
+ **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
188
+ to distinguish stable APIs from those that are in development.**
167
189
 
168
190
  ## 2.0.0-rc.2.0.0
169
191
 
170
192
  ### Minor Changes
171
193
 
172
- - datastore-definitions: Add TChannel type parameter to IChannelFactory. ([#19961](https://github.com/microsoft/FluidFramework/issues/19961)) [e2317bdbd2](https://github.com/microsoft/FluidFramework/commits/e2317bdbd29c40c7888bba2ed657a40a8dd6f45b)
194
+ - datastore-definitions: Add TChannel type parameter to IChannelFactory. ([#19961](https://github.com/microsoft/FluidFramework/issues/19961)) [e2317bdbd2](https://github.com/microsoft/FluidFramework/commits/e2317bdbd29c40c7888bba2ed657a40a8dd6f45b)
173
195
 
174
- Add `TChannel` type parameter (which defaults to `IFluidLoadable`) to `IChannelFactory`. When left at its default this preserves the old behavior, however packages exporting `IChannelFactory` will now reference `IFluidLoadable` if not providing a different parameter and thus will implicitly depend on @fluidframework/core-interfaces.
196
+ Add `TChannel` type parameter (which defaults to `IFluidLoadable`) to `IChannelFactory`. When left at its default this preserves the old behavior, however packages exporting `IChannelFactory` will now reference `IFluidLoadable` if not providing a different parameter and thus will implicitly depend on @fluidframework/core-interfaces.
175
197
 
176
- - datastore-definitions: IFluidDataStoreRuntime.logger is now an ITelemetryBaseLogger ([#19585](https://github.com/microsoft/FluidFramework/issues/19585)) [56f23e1b89](https://github.com/microsoft/FluidFramework/commits/56f23e1b895c59f8ba5a50c707484bfdcdeedd67)
198
+ - datastore-definitions: IFluidDataStoreRuntime.logger is now an ITelemetryBaseLogger ([#19585](https://github.com/microsoft/FluidFramework/issues/19585)) [56f23e1b89](https://github.com/microsoft/FluidFramework/commits/56f23e1b895c59f8ba5a50c707484bfdcdeedd67)
177
199
 
178
- `IFluidDataStoreRuntime.logger` is now an `ITelemetryBaseLogger` instead of the deprecated `ITelemetryLogger`. The `sendTelemetryEvent()`, `sendErrorEvent()`, or `sendPerformanceEvent()` methods were not intended for users of `IFluidDataStoreRuntime`. You can keep using the logger's `send()` method to generate telemetry.
200
+ `IFluidDataStoreRuntime.logger` is now an `ITelemetryBaseLogger` instead of the deprecated `ITelemetryLogger`. The `sendTelemetryEvent()`, `sendErrorEvent()`, or `sendPerformanceEvent()` methods were not intended for users of `IFluidDataStoreRuntime`. You can keep using the logger's `send()` method to generate telemetry.
179
201
 
180
- - container-definitions: ILoaderOptions no longer accepts arbitrary key/value pairs ([#19306](https://github.com/microsoft/FluidFramework/issues/19306)) [741926e225](https://github.com/microsoft/FluidFramework/commits/741926e2253a161504ecc6a6451d8f15d7ac4ed6)
202
+ - container-definitions: ILoaderOptions no longer accepts arbitrary key/value pairs ([#19306](https://github.com/microsoft/FluidFramework/issues/19306)) [741926e225](https://github.com/microsoft/FluidFramework/commits/741926e2253a161504ecc6a6451d8f15d7ac4ed6)
181
203
 
182
- ILoaderOptions has been narrowed to the specific set of supported loader options, and may no longer be used to pass arbitrary key/value pairs through to the runtime.
204
+ ILoaderOptions has been narrowed to the specific set of supported loader options, and may no longer be used to pass arbitrary key/value pairs through to the runtime.
183
205
 
184
206
  ## 2.0.0-rc.1.0.0
185
207
 
186
208
  ### Minor Changes
187
209
 
188
- - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
210
+ - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
189
211
 
190
- 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)
212
+ 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)
191
213
 
192
- - @fluidframework/gitresources
193
- - @fluidframework/server-kafka-orderer
194
- - @fluidframework/server-lambdas
195
- - @fluidframework/server-lambdas-driver
196
- - @fluidframework/server-local-server
197
- - @fluidframework/server-memory-orderer
198
- - @fluidframework/protocol-base
199
- - @fluidframework/server-routerlicious
200
- - @fluidframework/server-routerlicious-base
201
- - @fluidframework/server-services
202
- - @fluidframework/server-services-client
203
- - @fluidframework/server-services-core
204
- - @fluidframework/server-services-ordering-kafkanode
205
- - @fluidframework/server-services-ordering-rdkafka
206
- - @fluidframework/server-services-ordering-zookeeper
207
- - @fluidframework/server-services-shared
208
- - @fluidframework/server-services-telemetry
209
- - @fluidframework/server-services-utils
210
- - @fluidframework/server-test-utils
211
- - tinylicious
214
+ - @fluidframework/gitresources
215
+ - @fluidframework/server-kafka-orderer
216
+ - @fluidframework/server-lambdas
217
+ - @fluidframework/server-lambdas-driver
218
+ - @fluidframework/server-local-server
219
+ - @fluidframework/server-memory-orderer
220
+ - @fluidframework/protocol-base
221
+ - @fluidframework/server-routerlicious
222
+ - @fluidframework/server-routerlicious-base
223
+ - @fluidframework/server-services
224
+ - @fluidframework/server-services-client
225
+ - @fluidframework/server-services-core
226
+ - @fluidframework/server-services-ordering-kafkanode
227
+ - @fluidframework/server-services-ordering-rdkafka
228
+ - @fluidframework/server-services-ordering-zookeeper
229
+ - @fluidframework/server-services-shared
230
+ - @fluidframework/server-services-telemetry
231
+ - @fluidframework/server-services-utils
232
+ - @fluidframework/server-test-utils
233
+ - tinylicious
212
234
 
213
- - Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
235
+ - Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
214
236
 
215
- The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
216
- changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
237
+ The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
238
+ changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
217
239
 
218
- - datastore-definitions: Remove unused IFluidDataStoreRegistry from IFluidDataStoreRuntime ([#18803](https://github.com/microsoft/FluidFramework/issues/18803)) [396b8e9738](https://github.com/microsoft/FluidFramework/commits/396b8e9738156ff88b62424a0076f09fb5028a32)
240
+ - datastore-definitions: Remove unused IFluidDataStoreRegistry from IFluidDataStoreRuntime ([#18803](https://github.com/microsoft/FluidFramework/issues/18803)) [396b8e9738](https://github.com/microsoft/FluidFramework/commits/396b8e9738156ff88b62424a0076f09fb5028a32)
219
241
 
220
- `IFluidDataStoreRuntime` optionally extended `IFluidDataStoreRegistry`. This is never used, so is removed. As with all provider interfaces, consumers can continue to extend the interface if they have a use, and use `FluidObject` to inspect for it existing.
242
+ `IFluidDataStoreRuntime` optionally extended `IFluidDataStoreRegistry`. This is never used, so is removed. As with all provider interfaces, consumers can continue to extend the interface if they have a use, and use `FluidObject` to inspect for it existing.
221
243
 
222
- - garbage collection: Deprecate addedGCOutboundReference ([#18456](https://github.com/microsoft/FluidFramework/issues/18456)) [0619cf8a41](https://github.com/microsoft/FluidFramework/commits/0619cf8a4197bee6d5ac56cac05db92008939817)
244
+ - garbage collection: Deprecate addedGCOutboundReference ([#18456](https://github.com/microsoft/FluidFramework/issues/18456)) [0619cf8a41](https://github.com/microsoft/FluidFramework/commits/0619cf8a4197bee6d5ac56cac05db92008939817)
223
245
 
224
- The `addedGCOutboundReference` property on IDeltaConnection, IFluidDataStoreContext, and MockFluidDataStoreRuntime is
225
- now deprecated.
246
+ The `addedGCOutboundReference` property on IDeltaConnection, IFluidDataStoreContext, and MockFluidDataStoreRuntime is
247
+ now deprecated.
226
248
 
227
- The responsibility of adding outbound references (for Garbage Collection tracking) is moving up to the ContainerRuntime.
228
- Previously, DDSes themselves were responsible to detect and report added outbound references (via a handle being stored),
229
- so these interfaces (and corresponding mock) needed to plumb that information up to the ContainerRuntime layer where GC sits.
230
- This is no longer necessary so they're being removed in an upcoming release.
249
+ The responsibility of adding outbound references (for Garbage Collection tracking) is moving up to the ContainerRuntime.
250
+ Previously, DDSes themselves were responsible to detect and report added outbound references (via a handle being stored),
251
+ so these interfaces (and corresponding mock) needed to plumb that information up to the ContainerRuntime layer where GC sits.
252
+ This is no longer necessary so they're being removed in an upcoming release.
231
253
 
232
254
  ## 2.0.0-internal.8.0.0
233
255
 
234
256
  ### Major Changes
235
257
 
236
- - datastore-definitions: Removed request and IFluidRouter from IFluidDataStoreRuntime [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
258
+ - datastore-definitions: Removed request and IFluidRouter from IFluidDataStoreRuntime [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
237
259
 
238
- The `request` method and `IFluidRouter` property have been removed from `IFluidDataStoreRuntime`. Please migrate all
239
- usage to the `IFluidDataStoreRuntime.entryPoint` API.
260
+ The `request` method and `IFluidRouter` property have been removed from `IFluidDataStoreRuntime`. Please migrate all
261
+ usage to the `IFluidDataStoreRuntime.entryPoint` API.
240
262
 
241
- See
242
- [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md)
243
- for more details.
263
+ See
264
+ [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md)
265
+ for more details.
244
266
 
245
- - datastore-definitions: Jsonable and Serializable now require a generic parameter [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
267
+ - datastore-definitions: Jsonable and Serializable now require a generic parameter [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
246
268
 
247
- The `Jsonable` and `Serializable` types from @fluidframework/datastore-definitions now require a generic parameter and
248
- if that type is `any` or `unknown`will return a new result `JsonableTypeWith<>` that more accurately represents the
249
- limitation of serialization.
269
+ The `Jsonable` and `Serializable` types from @fluidframework/datastore-definitions now require a generic parameter and
270
+ if that type is `any` or `unknown`will return a new result `JsonableTypeWith<>` that more accurately represents the
271
+ limitation of serialization.
250
272
 
251
- Additional modifications:
273
+ Additional modifications:
252
274
 
253
- - `Jsonable`'s `TReplacement` parameter default has also been changed from `void` to `never`, which now disallows
254
- `void`.
255
- - Unrecognized primitive types like `symbol` are now filtered to `never` instead of `{}`.
256
- - Recursive types with arrays (`[]`) are now supported.
275
+ - `Jsonable`'s `TReplacement` parameter default has also been changed from `void` to `never`, which now disallows
276
+ `void`.
277
+ - Unrecognized primitive types like `symbol` are now filtered to `never` instead of `{}`.
278
+ - Recursive types with arrays (`[]`) are now supported.
257
279
 
258
- `Serializable` is commonly used for DDS values and now requires more precision when using them. For example SharedMatrix
259
- (unqualified) has an `any` default that meant values were `Serializable<any>` (i.e. `any`), but now `Serializable<any>`
260
- is `JsonableTypeWith<IFluidHandle>` which may be problematic for reading or writing. Preferred correction is to specify
261
- the value type but casting through `any` may provide a quick fix.
280
+ `Serializable` is commonly used for DDS values and now requires more precision when using them. For example SharedMatrix
281
+ (unqualified) has an `any` default that meant values were `Serializable<any>` (i.e. `any`), but now `Serializable<any>`
282
+ is `JsonableTypeWith<IFluidHandle>` which may be problematic for reading or writing. Preferred correction is to specify
283
+ the value type but casting through `any` may provide a quick fix.
262
284
 
263
285
  ## 2.0.0-internal.7.4.0
264
286
 
@@ -280,61 +302,61 @@ Dependency updates only.
280
302
 
281
303
  ### Major Changes
282
304
 
283
- - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
305
+ - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
284
306
 
285
- This included the following changes from the protocol-definitions release:
307
+ This included the following changes from the protocol-definitions release:
286
308
 
287
- - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
288
- submitted by clients to the server and the resulting signals sent from the server to clients.
289
- - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
290
- been added, which will be the typing for signals sent from the client to the server. Both extend a new
291
- ISignalMessageBase interface that contains common members.
292
- - The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
309
+ - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
310
+ submitted by clients to the server and the resulting signals sent from the server to clients.
311
+ - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
312
+ been added, which will be the typing for signals sent from the client to the server. Both extend a new
313
+ ISignalMessageBase interface that contains common members.
314
+ - The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
293
315
 
294
- - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
316
+ - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
295
317
 
296
- Dependencies on the following Fluid server package have been updated to version 2.0.1:
318
+ Dependencies on the following Fluid server package have been updated to version 2.0.1:
297
319
 
298
- - @fluidframework/gitresources: 2.0.1
299
- - @fluidframework/server-kafka-orderer: 2.0.1
300
- - @fluidframework/server-lambdas: 2.0.1
301
- - @fluidframework/server-lambdas-driver: 2.0.1
302
- - @fluidframework/server-local-server: 2.0.1
303
- - @fluidframework/server-memory-orderer: 2.0.1
304
- - @fluidframework/protocol-base: 2.0.1
305
- - @fluidframework/server-routerlicious: 2.0.1
306
- - @fluidframework/server-routerlicious-base: 2.0.1
307
- - @fluidframework/server-services: 2.0.1
308
- - @fluidframework/server-services-client: 2.0.1
309
- - @fluidframework/server-services-core: 2.0.1
310
- - @fluidframework/server-services-ordering-kafkanode: 2.0.1
311
- - @fluidframework/server-services-ordering-rdkafka: 2.0.1
312
- - @fluidframework/server-services-ordering-zookeeper: 2.0.1
313
- - @fluidframework/server-services-shared: 2.0.1
314
- - @fluidframework/server-services-telemetry: 2.0.1
315
- - @fluidframework/server-services-utils: 2.0.1
316
- - @fluidframework/server-test-utils: 2.0.1
317
- - tinylicious: 2.0.1
320
+ - @fluidframework/gitresources: 2.0.1
321
+ - @fluidframework/server-kafka-orderer: 2.0.1
322
+ - @fluidframework/server-lambdas: 2.0.1
323
+ - @fluidframework/server-lambdas-driver: 2.0.1
324
+ - @fluidframework/server-local-server: 2.0.1
325
+ - @fluidframework/server-memory-orderer: 2.0.1
326
+ - @fluidframework/protocol-base: 2.0.1
327
+ - @fluidframework/server-routerlicious: 2.0.1
328
+ - @fluidframework/server-routerlicious-base: 2.0.1
329
+ - @fluidframework/server-services: 2.0.1
330
+ - @fluidframework/server-services-client: 2.0.1
331
+ - @fluidframework/server-services-core: 2.0.1
332
+ - @fluidframework/server-services-ordering-kafkanode: 2.0.1
333
+ - @fluidframework/server-services-ordering-rdkafka: 2.0.1
334
+ - @fluidframework/server-services-ordering-zookeeper: 2.0.1
335
+ - @fluidframework/server-services-shared: 2.0.1
336
+ - @fluidframework/server-services-telemetry: 2.0.1
337
+ - @fluidframework/server-services-utils: 2.0.1
338
+ - @fluidframework/server-test-utils: 2.0.1
339
+ - tinylicious: 2.0.1
318
340
 
319
- - test-utils: provideEntryPoint is required [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
341
+ - test-utils: provideEntryPoint is required [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
320
342
 
321
- The optional `provideEntryPoint` method has become required on a number of constructors. A value will need to be provided to the following classes:
343
+ The optional `provideEntryPoint` method has become required on a number of constructors. A value will need to be provided to the following classes:
322
344
 
323
- - `BaseContainerRuntimeFactory`
324
- - `RuntimeFactory`
325
- - `ContainerRuntime` (constructor and `loadRuntime`)
326
- - `FluidDataStoreRuntime`
345
+ - `BaseContainerRuntimeFactory`
346
+ - `RuntimeFactory`
347
+ - `ContainerRuntime` (constructor and `loadRuntime`)
348
+ - `FluidDataStoreRuntime`
327
349
 
328
- See [testContainerRuntimeFactoryWithDefaultDataStore.ts](https://github.com/microsoft/FluidFramework/tree/main/packages/test/test-utils/src/testContainerRuntimeFactoryWithDefaultDataStore.ts) for an example implemtation of `provideEntryPoint` for ContainerRuntime.
329
- See [pureDataObjectFactory.ts](https://github.com/microsoft/FluidFramework/tree/main/packages/framework/aqueduct/src/data-object-factories/pureDataObjectFactory.ts#L83) for an example implementation of `provideEntryPoint` for DataStoreRuntime.
350
+ See [testContainerRuntimeFactoryWithDefaultDataStore.ts](https://github.com/microsoft/FluidFramework/tree/main/packages/test/test-utils/src/testContainerRuntimeFactoryWithDefaultDataStore.ts) for an example implemtation of `provideEntryPoint` for ContainerRuntime.
351
+ See [pureDataObjectFactory.ts](https://github.com/microsoft/FluidFramework/tree/main/packages/framework/aqueduct/src/data-object-factories/pureDataObjectFactory.ts#L83) for an example implementation of `provideEntryPoint` for DataStoreRuntime.
330
352
 
331
- Subsequently, various `entryPoint` and `getEntryPoint()` endpoints have become required. Please see [containerRuntime.ts](https://github.com/microsoft/FluidFramework/tree/main/packages/runtime/container-runtime/src/containerRuntime.ts) for example implementations of these APIs.
353
+ Subsequently, various `entryPoint` and `getEntryPoint()` endpoints have become required. Please see [containerRuntime.ts](https://github.com/microsoft/FluidFramework/tree/main/packages/runtime/container-runtime/src/containerRuntime.ts) for example implementations of these APIs.
332
354
 
333
- For more details, see [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md)
355
+ For more details, see [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md)
334
356
 
335
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
357
+ - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
336
358
 
337
- The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
359
+ The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
338
360
 
339
361
  ## 2.0.0-internal.6.4.0
340
362
 
@@ -348,32 +370,32 @@ Dependency updates only.
348
370
 
349
371
  ### Minor Changes
350
372
 
351
- - Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
352
-
353
- The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
354
- imported from the **@fluidframework/core-interfaces** package:
355
-
356
- - interface IDisposable
357
- - interface IErrorEvent
358
- - interface IErrorEvent
359
- - interface IEvent
360
- - interface IEventProvider
361
- - interface ILoggingError
362
- - interface ITaggedTelemetryPropertyType
363
- - interface ITelemetryBaseEvent
364
- - interface ITelemetryBaseLogger
365
- - interface ITelemetryErrorEvent
366
- - interface ITelemetryGenericEvent
367
- - interface ITelemetryLogger
368
- - interface ITelemetryPerformanceEvent
369
- - interface ITelemetryProperties
370
- - type ExtendEventProvider
371
- - type IEventThisPlaceHolder
372
- - type IEventTransformer
373
- - type ReplaceIEventThisPlaceHolder
374
- - type ReplaceIEventThisPlaceHolder
375
- - type TelemetryEventCategory
376
- - type TelemetryEventPropertyType
373
+ - Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
374
+
375
+ The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
376
+ imported from the **@fluidframework/core-interfaces** package:
377
+
378
+ - interface IDisposable
379
+ - interface IErrorEvent
380
+ - interface IErrorEvent
381
+ - interface IEvent
382
+ - interface IEventProvider
383
+ - interface ILoggingError
384
+ - interface ITaggedTelemetryPropertyType
385
+ - interface ITelemetryBaseEvent
386
+ - interface ITelemetryBaseLogger
387
+ - interface ITelemetryErrorEvent
388
+ - interface ITelemetryGenericEvent
389
+ - interface ITelemetryLogger
390
+ - interface ITelemetryPerformanceEvent
391
+ - interface ITelemetryProperties
392
+ - type ExtendEventProvider
393
+ - type IEventThisPlaceHolder
394
+ - type IEventTransformer
395
+ - type ReplaceIEventThisPlaceHolder
396
+ - type ReplaceIEventThisPlaceHolder
397
+ - type TelemetryEventCategory
398
+ - type TelemetryEventPropertyType
377
399
 
378
400
  ## 2.0.0-internal.6.1.0
379
401
 
@@ -383,33 +405,33 @@ Dependency updates only.
383
405
 
384
406
  ### Major Changes
385
407
 
386
- - Request APIs deprecated from many places [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
408
+ - Request APIs deprecated from many places [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
387
409
 
388
- The `request` API (associated with the `IFluidRouter` interface) has been deprecated on a number of classes and interfaces. The following are impacted:
410
+ The `request` API (associated with the `IFluidRouter` interface) has been deprecated on a number of classes and interfaces. The following are impacted:
389
411
 
390
- - `IRuntime` and `ContainerRuntime`
391
- - `IFluidDataStoreRuntime` and `FluidDataStoreRuntime`
392
- - `IFluidDataStoreChannel`
393
- - `MockFluidDataStoreRuntime`
394
- - `TestFluidObject`
412
+ - `IRuntime` and `ContainerRuntime`
413
+ - `IFluidDataStoreRuntime` and `FluidDataStoreRuntime`
414
+ - `IFluidDataStoreChannel`
415
+ - `MockFluidDataStoreRuntime`
416
+ - `TestFluidObject`
395
417
 
396
- Please migrate usage to the corresponding `entryPoint` or `getEntryPoint()` of the object. The value for these "entryPoint" related APIs is determined from factories (for `IRuntime` and `IFluidDataStoreRuntime`) via the `initializeEntryPoint` method. If no method is passed to the factory, the corresponding `entryPoint` and `getEntryPoint()` will be undefined.
418
+ Please migrate usage to the corresponding `entryPoint` or `getEntryPoint()` of the object. The value for these "entryPoint" related APIs is determined from factories (for `IRuntime` and `IFluidDataStoreRuntime`) via the `initializeEntryPoint` method. If no method is passed to the factory, the corresponding `entryPoint` and `getEntryPoint()` will be undefined.
397
419
 
398
- For an example implementation of `initializeEntryPoint`, see [pureDataObjectFactory.ts](https://github.com/microsoft/FluidFramework/blob/next/packages/framework/aqueduct/src/data-object-factories/pureDataObjectFactory.ts#L84).
420
+ For an example implementation of `initializeEntryPoint`, see [pureDataObjectFactory.ts](https://github.com/microsoft/FluidFramework/blob/next/packages/framework/aqueduct/src/data-object-factories/pureDataObjectFactory.ts#L84).
399
421
 
400
- More information of the migration off the request pattern, and current status of its removal, is documented in [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md).
422
+ More information of the migration off the request pattern, and current status of its removal, is documented in [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md).
401
423
 
402
- - IChannel.owner removed [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
424
+ - IChannel.owner removed [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
403
425
 
404
- The owner property on IChannel was deprecated in 2.0.0-internal.5.1.0 and has now been removed.
426
+ The owner property on IChannel was deprecated in 2.0.0-internal.5.1.0 and has now been removed.
405
427
 
406
- - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
428
+ - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
407
429
 
408
- Upgraded typescript transpilation target to ES2020. This is done in order to decrease the bundle sizes of Fluid Framework packages. This has provided size improvements across the board for ex. Loader, Driver, Runtime etc. Reduced bundle sizes helps to load lesser code in apps and hence also helps to improve the perf.If any app wants to target any older versions of browsers with which this target version is not compatible, then they can use packages like babel to transpile to a older target.
430
+ Upgraded typescript transpilation target to ES2020. This is done in order to decrease the bundle sizes of Fluid Framework packages. This has provided size improvements across the board for ex. Loader, Driver, Runtime etc. Reduced bundle sizes helps to load lesser code in apps and hence also helps to improve the perf.If any app wants to target any older versions of browsers with which this target version is not compatible, then they can use packages like babel to transpile to a older target.
409
431
 
410
- - IDeltaManager members disposed and dispose() removed [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
432
+ - IDeltaManager members disposed and dispose() removed [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
411
433
 
412
- IDeltaManager members disposed and dispose() were deprecated in 2.0.0-internal.5.3.0 and have now been removed.
434
+ IDeltaManager members disposed and dispose() were deprecated in 2.0.0-internal.5.3.0 and have now been removed.
413
435
 
414
436
  ## 2.0.0-internal.5.4.0
415
437
 
@@ -427,9 +449,9 @@ Dependency updates only.
427
449
 
428
450
  ### Minor Changes
429
451
 
430
- - IChannel.owner deprecated ([#16024](https://github.com/microsoft/FluidFramework/issues/16024)) [92997468e7](https://github.com/microsoft/FluidFramework/commits/92997468e72c48ff39afb9e15fcdca4e87ac8dca)
452
+ - IChannel.owner deprecated ([#16024](https://github.com/microsoft/FluidFramework/issues/16024)) [92997468e7](https://github.com/microsoft/FluidFramework/commits/92997468e72c48ff39afb9e15fcdca4e87ac8dca)
431
453
 
432
- The owner property on IChannel has been deprecated and will be removed in an upcoming release. This property does nothing.
454
+ The owner property on IChannel has been deprecated and will be removed in an upcoming release. This property does nothing.
433
455
 
434
456
  ## 2.0.0-internal.5.0.0
435
457
 
@@ -58,9 +58,7 @@ export interface IDeltaConnection {
58
58
  // @alpha
59
59
  export interface IDeltaHandler {
60
60
  applyStashedOp(message: any): void;
61
- // @deprecated
62
- process: (message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown) => void;
63
- processMessages?: (messageCollection: IRuntimeMessageCollection) => void;
61
+ processMessages: (messageCollection: IRuntimeMessageCollection) => void;
64
62
  reSubmit(message: any, localOpMetadata: unknown): void;
65
63
  rollback?(message: any, localOpMetadata: unknown): void;
66
64
  setConnectionState(connected: boolean): void;
package/dist/channel.d.ts CHANGED
@@ -3,7 +3,6 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
  import type { IFluidLoadable } from "@fluidframework/core-interfaces";
6
- import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
7
6
  import type { IExperimentalIncrementalSummaryContext, IGarbageCollectionData, IRuntimeMessageCollection, ISummaryTreeWithStats, ITelemetryContext } from "@fluidframework/runtime-definitions/internal";
8
7
  import type { IFluidDataStoreRuntime } from "./dataStoreRuntime.js";
9
8
  import type { IChannelAttributes } from "./storage.js";
@@ -100,20 +99,11 @@ export interface IChannel extends IFluidLoadable {
100
99
  * @alpha
101
100
  */
102
101
  export interface IDeltaHandler {
103
- /**
104
- * Processes the op.
105
- * @param message - The message to process
106
- * @param local - Whether the message originated from the local client
107
- * @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
108
- * For messages from a remote client, this will be undefined.
109
- * @deprecated - Use processMessages instead to process messages.
110
- */
111
- process: (message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown) => void;
112
102
  /**
113
103
  * Process messages for this channel. The messages here are contiguous messages for this channel in a batch.
114
104
  * @param messageCollection - The collection of messages to process.
115
105
  */
116
- processMessages?: (messageCollection: IRuntimeMessageCollection) => void;
106
+ processMessages: (messageCollection: IRuntimeMessageCollection) => void;
117
107
  /**
118
108
  * State change events to indicate changes to the delta connection
119
109
  * @param connected - true if connected, false otherwise
@@ -1 +1 @@
1
- {"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,EACX,sCAAsC,EACtC,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,QAAS,SAAQ,cAAc;IAC/C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,gBAAgB,CACf,QAAQ,CAAC,EAAE,OAAO,EAClB,UAAU,CAAC,EAAE,OAAO,EACpB,gBAAgB,CAAC,EAAE,iBAAiB,GAClC,qBAAqB,CAAC;IAEzB;;;;;;;;;;;;;;;;;;;;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AAC,kBAAkB,CAAC,GAC7C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC;IAEhC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,OAAO,EAAE,sBAAsB,EAAE,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACzE"}
package/lib/channel.d.ts CHANGED
@@ -3,7 +3,6 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
  import type { IFluidLoadable } from "@fluidframework/core-interfaces";
6
- import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
7
6
  import type { IExperimentalIncrementalSummaryContext, IGarbageCollectionData, IRuntimeMessageCollection, ISummaryTreeWithStats, ITelemetryContext } from "@fluidframework/runtime-definitions/internal";
8
7
  import type { IFluidDataStoreRuntime } from "./dataStoreRuntime.js";
9
8
  import type { IChannelAttributes } from "./storage.js";
@@ -100,20 +99,11 @@ export interface IChannel extends IFluidLoadable {
100
99
  * @alpha
101
100
  */
102
101
  export interface IDeltaHandler {
103
- /**
104
- * Processes the op.
105
- * @param message - The message to process
106
- * @param local - Whether the message originated from the local client
107
- * @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
108
- * For messages from a remote client, this will be undefined.
109
- * @deprecated - Use processMessages instead to process messages.
110
- */
111
- process: (message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown) => void;
112
102
  /**
113
103
  * Process messages for this channel. The messages here are contiguous messages for this channel in a batch.
114
104
  * @param messageCollection - The collection of messages to process.
115
105
  */
116
- processMessages?: (messageCollection: IRuntimeMessageCollection) => void;
106
+ processMessages: (messageCollection: IRuntimeMessageCollection) => void;
117
107
  /**
118
108
  * State change events to indicate changes to the delta connection
119
109
  * @param connected - true if connected, false otherwise
@@ -1 +1 @@
1
- {"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAC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D;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzC;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;CACtC;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAChC,eAAe,EAAE,gBAAgB,CAAC;IAElC,aAAa,EAAE,sBAAsB,CAAC;CACtC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,WAAW,eAAe,CAAC,GAAG,CAAC,QAAQ,GAAG,OAAO;IACtD;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAExC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACH,OAAO,EAAE,sBAAsB,EAC/B,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,gBAAgB,EAC1B,iBAAiB,EAAE,QAAQ,CAAC,kBAAkB,CAAC,GAC7C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC;IAEhC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,OAAO,EAAE,sBAAsB,EAAE,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACzE"}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.47.8"
8
+ "packageVersion": "7.50.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/datastore-definitions",
3
- "version": "2.23.0",
3
+ "version": "2.31.0",
4
4
  "description": "Fluid data store definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -41,11 +41,11 @@
41
41
  "main": "",
42
42
  "types": "lib/public.d.ts",
43
43
  "dependencies": {
44
- "@fluidframework/container-definitions": "~2.23.0",
45
- "@fluidframework/core-interfaces": "~2.23.0",
46
- "@fluidframework/driver-definitions": "~2.23.0",
47
- "@fluidframework/id-compressor": "~2.23.0",
48
- "@fluidframework/runtime-definitions": "~2.23.0"
44
+ "@fluidframework/container-definitions": "~2.31.0",
45
+ "@fluidframework/core-interfaces": "~2.31.0",
46
+ "@fluidframework/driver-definitions": "~2.31.0",
47
+ "@fluidframework/id-compressor": "~2.31.0",
48
+ "@fluidframework/runtime-definitions": "~2.31.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@arethetypeswrong/cli": "^0.17.1",
@@ -53,13 +53,12 @@
53
53
  "@fluid-tools/build-cli": "^0.54.0",
54
54
  "@fluidframework/build-common": "^2.0.3",
55
55
  "@fluidframework/build-tools": "^0.54.0",
56
- "@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@2.22.0",
56
+ "@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@2.30.0",
57
57
  "@fluidframework/eslint-config-fluid": "^5.7.3",
58
- "@microsoft/api-extractor": "7.47.8",
58
+ "@microsoft/api-extractor": "7.50.1",
59
59
  "concurrently": "^8.2.1",
60
60
  "copyfiles": "^2.4.1",
61
61
  "eslint": "~8.55.0",
62
- "prettier": "~3.0.3",
63
62
  "rimraf": "^4.4.0",
64
63
  "typescript": "~5.4.5"
65
64
  },
@@ -90,7 +89,6 @@
90
89
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
91
90
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
92
91
  "check:format": "npm run check:biome",
93
- "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
94
92
  "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
95
93
  "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
96
94
  "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
@@ -100,7 +98,6 @@
100
98
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
101
99
  "format": "npm run format:biome",
102
100
  "format:biome": "biome check . --write",
103
- "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
104
101
  "lint": "fluid-build . --task lint",
105
102
  "lint:fix": "fluid-build . --task eslint:fix --task format",
106
103
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
package/src/channel.ts CHANGED
@@ -4,7 +4,6 @@
4
4
  */
5
5
 
6
6
  import type { IFluidLoadable } from "@fluidframework/core-interfaces";
7
- import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
8
7
  import type {
9
8
  IExperimentalIncrementalSummaryContext,
10
9
  IGarbageCollectionData,
@@ -125,25 +124,11 @@ export interface IChannel extends IFluidLoadable {
125
124
  * @alpha
126
125
  */
127
126
  export interface IDeltaHandler {
128
- /**
129
- * Processes the op.
130
- * @param message - The message to process
131
- * @param local - Whether the message originated from the local client
132
- * @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
133
- * For messages from a remote client, this will be undefined.
134
- * @deprecated - Use processMessages instead to process messages.
135
- */
136
- process: (
137
- message: ISequencedDocumentMessage,
138
- local: boolean,
139
- localOpMetadata: unknown,
140
- ) => void;
141
-
142
127
  /**
143
128
  * Process messages for this channel. The messages here are contiguous messages for this channel in a batch.
144
129
  * @param messageCollection - The collection of messages to process.
145
130
  */
146
- processMessages?: (messageCollection: IRuntimeMessageCollection) => void;
131
+ processMessages: (messageCollection: IRuntimeMessageCollection) => void;
147
132
 
148
133
  /**
149
134
  * State change events to indicate changes to the delta connection
@@ -1,8 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
-
6
- module.exports = {
7
- ...require("@fluidframework/build-common/prettier.config.cjs"),
8
- };