@fluidframework/driver-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,13 @@
1
1
  # @fluidframework/driver-definitions
2
2
 
3
+ ## 2.31.0
4
+
5
+ Dependency updates only.
6
+
7
+ ## 2.30.0
8
+
9
+ Dependency updates only.
10
+
3
11
  ## 2.23.0
4
12
 
5
13
  Dependency updates only.
@@ -56,131 +64,131 @@ Dependency updates only.
56
64
 
57
65
  ### Minor Changes
58
66
 
59
- - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
67
+ - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
60
68
 
61
- Update package implementations to use TypeScript 5.4.5.
69
+ Update package implementations to use TypeScript 5.4.5.
62
70
 
63
- - fluid-framework: Remove some types from `@public` that are not needed ([#21326](https://github.com/microsoft/FluidFramework/pull/21326)) [b629cb80b0](https://github.com/microsoft/FluidFramework/commit/b629cb80b0e5ecdc750270807f77a0e30fab4559)
71
+ - fluid-framework: Remove some types from `@public` that are not needed ([#21326](https://github.com/microsoft/FluidFramework/pull/21326)) [b629cb80b0](https://github.com/microsoft/FluidFramework/commit/b629cb80b0e5ecdc750270807f77a0e30fab4559)
64
72
 
65
- Mark the following APIs `@alpha` instead of `@public`:
73
+ Mark the following APIs `@alpha` instead of `@public`:
66
74
 
67
- - IBranchOrigin
68
- - ISequencedDocumentMessage
69
- - ISignalMessage
70
- - ISignalMessageBase
71
- - ITrace
75
+ - IBranchOrigin
76
+ - ISequencedDocumentMessage
77
+ - ISignalMessage
78
+ - ISignalMessageBase
79
+ - ITrace
72
80
 
73
- - Update to ES 2022 ([#21292](https://github.com/microsoft/FluidFramework/pull/21292)) [68921502f7](https://github.com/microsoft/FluidFramework/commit/68921502f79b1833c4cd6d0fe339bfb126a712c7)
81
+ - Update to ES 2022 ([#21292](https://github.com/microsoft/FluidFramework/pull/21292)) [68921502f7](https://github.com/microsoft/FluidFramework/commit/68921502f79b1833c4cd6d0fe339bfb126a712c7)
74
82
 
75
- Update tsconfig to target ES 2022.
83
+ Update tsconfig to target ES 2022.
76
84
 
77
85
  ## 2.0.0-rc.4.0.0
78
86
 
79
87
  ### Minor Changes
80
88
 
81
- - Make several driver types no longer public [b7ad7d0b55](https://github.com/microsoft/FluidFramework/commit/b7ad7d0b55884dd8954abf7c398e518838b9bda0)
89
+ - Make several driver types no longer public [b7ad7d0b55](https://github.com/microsoft/FluidFramework/commit/b7ad7d0b55884dd8954abf7c398e518838b9bda0)
82
90
 
83
- Move the following types from `@public` to `@alpha`:
91
+ Move the following types from `@public` to `@alpha`:
84
92
 
85
- - ITokenClaims
86
- - IDocumentMessage
87
- - IClientConfiguration
88
- - IAnyDriverError
89
- - IDriverErrorBase
90
- - DriverErrorTypes
93
+ - ITokenClaims
94
+ - IDocumentMessage
95
+ - IClientConfiguration
96
+ - IAnyDriverError
97
+ - IDriverErrorBase
98
+ - DriverErrorTypes
91
99
 
92
- `DriverErrorTypes` is no longer exported from the `fluid-framework` package.
100
+ `DriverErrorTypes` is no longer exported from the `fluid-framework` package.
93
101
 
94
102
  ## 2.0.0-rc.3.0.0
95
103
 
96
104
  ### Major Changes
97
105
 
98
- - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
106
+ - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
99
107
 
100
- Fluid Framework packages have been updated to use the [package.json "exports"
101
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
102
- TypeScript types and implementation code.
108
+ Fluid Framework packages have been updated to use the [package.json "exports"
109
+ field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
110
+ TypeScript types and implementation code.
103
111
 
104
- This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
112
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
105
113
 
106
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
107
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
114
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
115
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
108
116
 
109
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
110
- for use with modern versions of Node.js _and_ Bundlers.
111
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
112
- regarding the module and moduleResolution options.
117
+ We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
118
+ for use with modern versions of Node.js _and_ Bundlers.
119
+ [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
120
+ regarding the module and moduleResolution options.
113
121
 
114
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
115
- to distinguish stable APIs from those that are in development.**
122
+ **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
123
+ to distinguish stable APIs from those that are in development.**
116
124
 
117
125
  ### Minor Changes
118
126
 
119
- - driver-definitions: update submitSignal content type to string [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
127
+ - driver-definitions: update submitSignal content type to string [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
120
128
 
121
- Change IDocumentDeltaConnection.submitSignal's content argument type to string which represents actual/known use.
129
+ Change IDocumentDeltaConnection.submitSignal's content argument type to string which represents actual/known use.
122
130
 
123
131
  ## 2.0.0-rc.2.0.0
124
132
 
125
133
  ### Minor Changes
126
134
 
127
- - driver-definitions: Deprecate `ISnapshotContents` ([#19314](https://github.com/microsoft/FluidFramework/issues/19314)) [fc731b69de](https://github.com/microsoft/FluidFramework/commits/fc731b69deed4a2987e9b97d8918492d689bafbc)
135
+ - driver-definitions: Deprecate `ISnapshotContents` ([#19314](https://github.com/microsoft/FluidFramework/issues/19314)) [fc731b69de](https://github.com/microsoft/FluidFramework/commits/fc731b69deed4a2987e9b97d8918492d689bafbc)
128
136
 
129
- `ISnapshotContents` is deprecated. It has been replaced with `ISnapshot`.
137
+ `ISnapshotContents` is deprecated. It has been replaced with `ISnapshot`.
130
138
 
131
- - driver-definitions: repositoryUrl removed from IDocumentStorageService ([#19522](https://github.com/microsoft/FluidFramework/issues/19522)) [90eb3c9d33](https://github.com/microsoft/FluidFramework/commits/90eb3c9d33d80e24caa1393a50f414c5602f6aa3)
139
+ - driver-definitions: repositoryUrl removed from IDocumentStorageService ([#19522](https://github.com/microsoft/FluidFramework/issues/19522)) [90eb3c9d33](https://github.com/microsoft/FluidFramework/commits/90eb3c9d33d80e24caa1393a50f414c5602f6aa3)
132
140
 
133
- The `repositoryUrl` member of `IDocumentStorageService` was unused and always equal to the empty string. It has been removed.
141
+ The `repositoryUrl` member of `IDocumentStorageService` was unused and always equal to the empty string. It has been removed.
134
142
 
135
- - Deprecated error-related enums have been removed ([#19067](https://github.com/microsoft/FluidFramework/issues/19067)) [59793302e5](https://github.com/microsoft/FluidFramework/commits/59793302e56784cfb6ace0e6469345f3565b3312)
143
+ - Deprecated error-related enums have been removed ([#19067](https://github.com/microsoft/FluidFramework/issues/19067)) [59793302e5](https://github.com/microsoft/FluidFramework/commits/59793302e56784cfb6ace0e6469345f3565b3312)
136
144
 
137
- Error-related enums `ContainerErrorType`, `DriverErrorType`, `OdspErrorType` and `RouterliciousErrorType` were previously
138
- deprecated and are now removed. There are replacement object-based enumerations of `ContainerErrorTypes`,
139
- `DriverErrorTypes`, `OdspErrorTypes` and `RouterliciousErrorTypes`. Refer to the release notes of [Fluid Framework version
140
- 2.0.0-internal.7.0.0](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.0.0-internal.7.0.0) for details
141
- on the replacements.
145
+ Error-related enums `ContainerErrorType`, `DriverErrorType`, `OdspErrorType` and `RouterliciousErrorType` were previously
146
+ deprecated and are now removed. There are replacement object-based enumerations of `ContainerErrorTypes`,
147
+ `DriverErrorTypes`, `OdspErrorTypes` and `RouterliciousErrorTypes`. Refer to the release notes of [Fluid Framework version
148
+ 2.0.0-internal.7.0.0](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.0.0-internal.7.0.0) for details
149
+ on the replacements.
142
150
 
143
- - container-definitions: Added containerMetadata prop on IContainer interface ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
151
+ - container-definitions: Added containerMetadata prop on IContainer interface ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
144
152
 
145
- Added `containerMetadata` prop on IContainer interface.
153
+ Added `containerMetadata` prop on IContainer interface.
146
154
 
147
- - runtime-definitions: Moved ISignalEnvelope interface to core-interfaces ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
155
+ - runtime-definitions: Moved ISignalEnvelope interface to core-interfaces ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
148
156
 
149
- The `ISignalEnvelope` interface has been moved to the @fluidframework/core-interfaces package.
157
+ The `ISignalEnvelope` interface has been moved to the @fluidframework/core-interfaces package.
150
158
 
151
159
  ## 2.0.0-rc.1.0.0
152
160
 
153
161
  ### Minor Changes
154
162
 
155
- - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
156
-
157
- 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)
158
-
159
- - @fluidframework/gitresources
160
- - @fluidframework/server-kafka-orderer
161
- - @fluidframework/server-lambdas
162
- - @fluidframework/server-lambdas-driver
163
- - @fluidframework/server-local-server
164
- - @fluidframework/server-memory-orderer
165
- - @fluidframework/protocol-base
166
- - @fluidframework/server-routerlicious
167
- - @fluidframework/server-routerlicious-base
168
- - @fluidframework/server-services
169
- - @fluidframework/server-services-client
170
- - @fluidframework/server-services-core
171
- - @fluidframework/server-services-ordering-kafkanode
172
- - @fluidframework/server-services-ordering-rdkafka
173
- - @fluidframework/server-services-ordering-zookeeper
174
- - @fluidframework/server-services-shared
175
- - @fluidframework/server-services-telemetry
176
- - @fluidframework/server-services-utils
177
- - @fluidframework/server-test-utils
178
- - tinylicious
179
-
180
- - Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
181
-
182
- The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
183
- changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
163
+ - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
164
+
165
+ 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)
166
+
167
+ - @fluidframework/gitresources
168
+ - @fluidframework/server-kafka-orderer
169
+ - @fluidframework/server-lambdas
170
+ - @fluidframework/server-lambdas-driver
171
+ - @fluidframework/server-local-server
172
+ - @fluidframework/server-memory-orderer
173
+ - @fluidframework/protocol-base
174
+ - @fluidframework/server-routerlicious
175
+ - @fluidframework/server-routerlicious-base
176
+ - @fluidframework/server-services
177
+ - @fluidframework/server-services-client
178
+ - @fluidframework/server-services-core
179
+ - @fluidframework/server-services-ordering-kafkanode
180
+ - @fluidframework/server-services-ordering-rdkafka
181
+ - @fluidframework/server-services-ordering-zookeeper
182
+ - @fluidframework/server-services-shared
183
+ - @fluidframework/server-services-telemetry
184
+ - @fluidframework/server-services-utils
185
+ - @fluidframework/server-test-utils
186
+ - tinylicious
187
+
188
+ - Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
189
+
190
+ The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
191
+ changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
184
192
 
185
193
  ## 2.0.0-internal.8.0.0
186
194
 
@@ -206,67 +214,70 @@ Dependency updates only.
206
214
 
207
215
  ### Major Changes
208
216
 
209
- - odsp-driver: Load container in readonly mode when driver throws DriverErrorType.outOfStorage [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
210
-
211
- Handle DriverErrorType.outOfStorage error from driver and load the container in readonly mode. Currently there is no
212
- handling and when the join session throws this error, the container will get closed. With this we use NoDeltaStream
213
- object as connection and load the container in read mode, so that it loads properly. We also notify the that the
214
- container is "readonly" through the event on delta manager so that apps can listen to this and show any UX etc. The app
215
- can listen to the event like this:
216
-
217
- ```ts
218
- container.deltaManager.on(
219
- "readonly",
220
- (readonly?: boolean, readonlyConnectionReason?: { text: string; error?: IErrorBase }) => {
221
- // error?.errorType will be equal to DriverErrorType.outOfStorage in this case
222
- // App logic
223
- },
224
- );
225
- ```
226
-
227
- - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
228
-
229
- This included the following changes from the protocol-definitions release:
230
-
231
- - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
232
- submitted by clients to the server and the resulting signals sent from the server to clients.
233
- - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
234
- been added, which will be the typing for signals sent from the client to the server. Both extend a new
235
- ISignalMessageBase interface that contains common members.
236
- - The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
237
-
238
- - routerlicious-driver: remove dead blob aggregation concepts and code [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
239
-
240
- Dead concepts blob aggregation like `aggregateBlobsSmallerThanBytes` and `minBlobSize` have been removed.
241
-
242
- - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
243
-
244
- Dependencies on the following Fluid server package have been updated to version 2.0.1:
245
-
246
- - @fluidframework/gitresources: 2.0.1
247
- - @fluidframework/server-kafka-orderer: 2.0.1
248
- - @fluidframework/server-lambdas: 2.0.1
249
- - @fluidframework/server-lambdas-driver: 2.0.1
250
- - @fluidframework/server-local-server: 2.0.1
251
- - @fluidframework/server-memory-orderer: 2.0.1
252
- - @fluidframework/protocol-base: 2.0.1
253
- - @fluidframework/server-routerlicious: 2.0.1
254
- - @fluidframework/server-routerlicious-base: 2.0.1
255
- - @fluidframework/server-services: 2.0.1
256
- - @fluidframework/server-services-client: 2.0.1
257
- - @fluidframework/server-services-core: 2.0.1
258
- - @fluidframework/server-services-ordering-kafkanode: 2.0.1
259
- - @fluidframework/server-services-ordering-rdkafka: 2.0.1
260
- - @fluidframework/server-services-ordering-zookeeper: 2.0.1
261
- - @fluidframework/server-services-shared: 2.0.1
262
- - @fluidframework/server-services-telemetry: 2.0.1
263
- - @fluidframework/server-services-utils: 2.0.1
264
- - @fluidframework/server-test-utils: 2.0.1
265
- - tinylicious: 2.0.1
266
-
267
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
268
-
269
- The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
217
+ - odsp-driver: Load container in readonly mode when driver throws DriverErrorType.outOfStorage [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
218
+
219
+ Handle DriverErrorType.outOfStorage error from driver and load the container in readonly mode. Currently there is no
220
+ handling and when the join session throws this error, the container will get closed. With this we use NoDeltaStream
221
+ object as connection and load the container in read mode, so that it loads properly. We also notify the that the
222
+ container is "readonly" through the event on delta manager so that apps can listen to this and show any UX etc. The app
223
+ can listen to the event like this:
224
+
225
+ ```ts
226
+ container.deltaManager.on(
227
+ "readonly",
228
+ (
229
+ readonly?: boolean,
230
+ readonlyConnectionReason?: { text: string; error?: IErrorBase },
231
+ ) => {
232
+ // error?.errorType will be equal to DriverErrorType.outOfStorage in this case
233
+ // App logic
234
+ },
235
+ );
236
+ ```
237
+
238
+ - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
239
+
240
+ This included the following changes from the protocol-definitions release:
241
+
242
+ - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
243
+ submitted by clients to the server and the resulting signals sent from the server to clients.
244
+ - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
245
+ been added, which will be the typing for signals sent from the client to the server. Both extend a new
246
+ ISignalMessageBase interface that contains common members.
247
+ - The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
248
+
249
+ - routerlicious-driver: remove dead blob aggregation concepts and code [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
250
+
251
+ Dead concepts blob aggregation like `aggregateBlobsSmallerThanBytes` and `minBlobSize` have been removed.
252
+
253
+ - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
254
+
255
+ Dependencies on the following Fluid server package have been updated to version 2.0.1:
256
+
257
+ - @fluidframework/gitresources: 2.0.1
258
+ - @fluidframework/server-kafka-orderer: 2.0.1
259
+ - @fluidframework/server-lambdas: 2.0.1
260
+ - @fluidframework/server-lambdas-driver: 2.0.1
261
+ - @fluidframework/server-local-server: 2.0.1
262
+ - @fluidframework/server-memory-orderer: 2.0.1
263
+ - @fluidframework/protocol-base: 2.0.1
264
+ - @fluidframework/server-routerlicious: 2.0.1
265
+ - @fluidframework/server-routerlicious-base: 2.0.1
266
+ - @fluidframework/server-services: 2.0.1
267
+ - @fluidframework/server-services-client: 2.0.1
268
+ - @fluidframework/server-services-core: 2.0.1
269
+ - @fluidframework/server-services-ordering-kafkanode: 2.0.1
270
+ - @fluidframework/server-services-ordering-rdkafka: 2.0.1
271
+ - @fluidframework/server-services-ordering-zookeeper: 2.0.1
272
+ - @fluidframework/server-services-shared: 2.0.1
273
+ - @fluidframework/server-services-telemetry: 2.0.1
274
+ - @fluidframework/server-services-utils: 2.0.1
275
+ - @fluidframework/server-test-utils: 2.0.1
276
+ - tinylicious: 2.0.1
277
+
278
+ - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
279
+
280
+ The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
270
281
 
271
282
  ## 2.0.0-internal.6.4.0
272
283
 
@@ -276,40 +287,40 @@ Dependency updates only.
276
287
 
277
288
  ### Minor Changes
278
289
 
279
- - Add new error type enumeration that extends common errors from core-interfaces ([#17078](https://github.com/microsoft/FluidFramework/issues/17078)) [5c4bf0d9c2](https://github.com/microsoft/FluidFramework/commits/5c4bf0d9c224af86d0c2205c67c6e64405fee51c)
290
+ - Add new error type enumeration that extends common errors from core-interfaces ([#17078](https://github.com/microsoft/FluidFramework/issues/17078)) [5c4bf0d9c2](https://github.com/microsoft/FluidFramework/commits/5c4bf0d9c224af86d0c2205c67c6e64405fee51c)
280
291
 
281
- Deprecates existing `DriverErrorType` enum in favor of the new `DriverErrorTypes` type.
292
+ Deprecates existing `DriverErrorType` enum in favor of the new `DriverErrorTypes` type.
282
293
 
283
294
  ## 2.0.0-internal.6.2.0
284
295
 
285
296
  ### Minor Changes
286
297
 
287
- - Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
288
-
289
- The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
290
- imported from the **@fluidframework/core-interfaces** package:
291
-
292
- - interface IDisposable
293
- - interface IErrorEvent
294
- - interface IErrorEvent
295
- - interface IEvent
296
- - interface IEventProvider
297
- - interface ILoggingError
298
- - interface ITaggedTelemetryPropertyType
299
- - interface ITelemetryBaseEvent
300
- - interface ITelemetryBaseLogger
301
- - interface ITelemetryErrorEvent
302
- - interface ITelemetryGenericEvent
303
- - interface ITelemetryLogger
304
- - interface ITelemetryPerformanceEvent
305
- - interface ITelemetryProperties
306
- - type ExtendEventProvider
307
- - type IEventThisPlaceHolder
308
- - type IEventTransformer
309
- - type ReplaceIEventThisPlaceHolder
310
- - type ReplaceIEventThisPlaceHolder
311
- - type TelemetryEventCategory
312
- - type TelemetryEventPropertyType
298
+ - Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
299
+
300
+ The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
301
+ imported from the **@fluidframework/core-interfaces** package:
302
+
303
+ - interface IDisposable
304
+ - interface IErrorEvent
305
+ - interface IErrorEvent
306
+ - interface IEvent
307
+ - interface IEventProvider
308
+ - interface ILoggingError
309
+ - interface ITaggedTelemetryPropertyType
310
+ - interface ITelemetryBaseEvent
311
+ - interface ITelemetryBaseLogger
312
+ - interface ITelemetryErrorEvent
313
+ - interface ITelemetryGenericEvent
314
+ - interface ITelemetryLogger
315
+ - interface ITelemetryPerformanceEvent
316
+ - interface ITelemetryProperties
317
+ - type ExtendEventProvider
318
+ - type IEventThisPlaceHolder
319
+ - type IEventTransformer
320
+ - type ReplaceIEventThisPlaceHolder
321
+ - type ReplaceIEventThisPlaceHolder
322
+ - type TelemetryEventCategory
323
+ - type TelemetryEventPropertyType
313
324
 
314
325
  ## 2.0.0-internal.6.1.0
315
326
 
@@ -319,13 +330,13 @@ Dependency updates only.
319
330
 
320
331
  ### Major Changes
321
332
 
322
- - Remove Interface IFluidResolvedUrl [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
333
+ - Remove Interface IFluidResolvedUrl [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
323
334
 
324
- IFluidResolvedUrl was deprecated and is now removed. All usages should use IResolvedUrl instead
335
+ IFluidResolvedUrl was deprecated and is now removed. All usages should use IResolvedUrl instead
325
336
 
326
- - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
337
+ - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
327
338
 
328
- 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.
339
+ 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.
329
340
 
330
341
  ## 2.0.0-internal.5.4.0
331
342
 
@@ -347,13 +358,13 @@ Dependency updates only.
347
358
 
348
359
  ### Major Changes
349
360
 
350
- - IResolvedUrl equivalent to IFluidResolvedUrl [8b242fdc79](https://github.com/microsoft/FluidFramework/commits/8b242fdc796714cf1da9ad3f90d02efb122af0c2)
361
+ - IResolvedUrl equivalent to IFluidResolvedUrl [8b242fdc79](https://github.com/microsoft/FluidFramework/commits/8b242fdc796714cf1da9ad3f90d02efb122af0c2)
351
362
 
352
- In @fluidframework/driver-definitions, IResolvedUrlBase and IWebResolvedUrl have now been removed.
363
+ In @fluidframework/driver-definitions, IResolvedUrlBase and IWebResolvedUrl have now been removed.
353
364
 
354
- This makes IResolvedUrl and IFluidResolvedUrl equivalent. Since all ResolvedUrls are now FluidResolvedUrls we no longer
355
- need to differentiate them. In @fluidframework/driver-utils isFluidResolvedUrl and ensureFluidResolvedUrl have been
356
- removed due to this.
365
+ This makes IResolvedUrl and IFluidResolvedUrl equivalent. Since all ResolvedUrls are now FluidResolvedUrls we no longer
366
+ need to differentiate them. In @fluidframework/driver-utils isFluidResolvedUrl and ensureFluidResolvedUrl have been
367
+ removed due to this.
357
368
 
358
369
  ## 2.0.0-internal.4.4.0
359
370
 
@@ -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/driver-definitions",
3
- "version": "2.23.0",
3
+ "version": "2.31.0",
4
4
  "description": "Fluid driver definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -47,7 +47,7 @@
47
47
  "main": "lib/index.js",
48
48
  "types": "lib/public.d.ts",
49
49
  "dependencies": {
50
- "@fluidframework/core-interfaces": "~2.23.0"
50
+ "@fluidframework/core-interfaces": "~2.31.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@arethetypeswrong/cli": "^0.17.1",
@@ -55,13 +55,12 @@
55
55
  "@fluid-tools/build-cli": "^0.54.0",
56
56
  "@fluidframework/build-common": "^2.0.3",
57
57
  "@fluidframework/build-tools": "^0.54.0",
58
- "@fluidframework/driver-definitions-previous": "npm:@fluidframework/driver-definitions@2.22.0",
58
+ "@fluidframework/driver-definitions-previous": "npm:@fluidframework/driver-definitions@2.30.0",
59
59
  "@fluidframework/eslint-config-fluid": "^5.7.3",
60
- "@microsoft/api-extractor": "7.47.8",
60
+ "@microsoft/api-extractor": "7.50.1",
61
61
  "concurrently": "^8.2.1",
62
62
  "copyfiles": "^2.4.1",
63
63
  "eslint": "~8.55.0",
64
- "prettier": "~3.0.3",
65
64
  "rimraf": "^4.4.0",
66
65
  "typescript": "~5.4.5"
67
66
  },
@@ -101,7 +100,6 @@
101
100
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
102
101
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
103
102
  "check:format": "npm run check:biome",
104
- "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
105
103
  "ci:build": "npm run build:compile",
106
104
  "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
107
105
  "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
@@ -114,7 +112,6 @@
114
112
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
115
113
  "format": "npm run format:biome",
116
114
  "format:biome": "biome check . --write",
117
- "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
118
115
  "lint": "fluid-build . --task lint",
119
116
  "lint:fix": "fluid-build . --task eslint:fix --task format",
120
117
  "place:cjs:package-stub": "copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
@@ -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
- };