@fluidframework/driver-utils 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-utils
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,9 +64,9 @@ 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
71
  ## 2.0.0-rc.4.0.0
64
72
 
@@ -68,90 +76,90 @@ Dependency updates only.
68
76
 
69
77
  ### Major Changes
70
78
 
71
- - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
79
+ - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
72
80
 
73
- Fluid Framework packages have been updated to use the [package.json "exports"
74
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
75
- TypeScript types and implementation code.
81
+ Fluid Framework packages have been updated to use the [package.json "exports"
82
+ field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
83
+ TypeScript types and implementation code.
76
84
 
77
- This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
85
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
78
86
 
79
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
80
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
87
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
88
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
81
89
 
82
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
83
- for use with modern versions of Node.js _and_ Bundlers.
84
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
85
- regarding the module and moduleResolution options.
90
+ We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
91
+ for use with modern versions of Node.js _and_ Bundlers.
92
+ [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
93
+ regarding the module and moduleResolution options.
86
94
 
87
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
88
- to distinguish stable APIs from those that are in development.**
95
+ **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
96
+ to distinguish stable APIs from those that are in development.**
89
97
 
90
98
  ## 2.0.0-rc.2.0.0
91
99
 
92
100
  ### Minor Changes
93
101
 
94
- - Resolved URLs no longer use non-standard protocols ([#19840](https://github.com/microsoft/FluidFramework/issues/19840)) [9d3d185183](https://github.com/microsoft/FluidFramework/commits/9d3d1851830d953792a6dfad60dde6f1c59480de)
102
+ - Resolved URLs no longer use non-standard protocols ([#19840](https://github.com/microsoft/FluidFramework/issues/19840)) [9d3d185183](https://github.com/microsoft/FluidFramework/commits/9d3d1851830d953792a6dfad60dde6f1c59480de)
95
103
 
96
- Previously, `IResolvedUrl.url` could use a non-standard protocol like `fluid://`, `fluid-odsp://`, or `fluid-test://`. These have been replaced with `https://` to permit standards-compliant URL parsing.
104
+ Previously, `IResolvedUrl.url` could use a non-standard protocol like `fluid://`, `fluid-odsp://`, or `fluid-test://`. These have been replaced with `https://` to permit standards-compliant URL parsing.
97
105
 
98
- - driver-definitions: Deprecate `ISnapshotContents` ([#19314](https://github.com/microsoft/FluidFramework/issues/19314)) [fc731b69de](https://github.com/microsoft/FluidFramework/commits/fc731b69deed4a2987e9b97d8918492d689bafbc)
106
+ - driver-definitions: Deprecate `ISnapshotContents` ([#19314](https://github.com/microsoft/FluidFramework/issues/19314)) [fc731b69de](https://github.com/microsoft/FluidFramework/commits/fc731b69deed4a2987e9b97d8918492d689bafbc)
99
107
 
100
- `ISnapshotContents` is deprecated. It has been replaced with `ISnapshot`.
108
+ `ISnapshotContents` is deprecated. It has been replaced with `ISnapshot`.
101
109
 
102
- - driver-definitions: repositoryUrl removed from IDocumentStorageService ([#19522](https://github.com/microsoft/FluidFramework/issues/19522)) [90eb3c9d33](https://github.com/microsoft/FluidFramework/commits/90eb3c9d33d80e24caa1393a50f414c5602f6aa3)
110
+ - driver-definitions: repositoryUrl removed from IDocumentStorageService ([#19522](https://github.com/microsoft/FluidFramework/issues/19522)) [90eb3c9d33](https://github.com/microsoft/FluidFramework/commits/90eb3c9d33d80e24caa1393a50f414c5602f6aa3)
103
111
 
104
- The `repositoryUrl` member of `IDocumentStorageService` was unused and always equal to the empty string. It has been removed.
112
+ The `repositoryUrl` member of `IDocumentStorageService` was unused and always equal to the empty string. It has been removed.
105
113
 
106
- - Deprecated error-related enums have been removed ([#19067](https://github.com/microsoft/FluidFramework/issues/19067)) [59793302e5](https://github.com/microsoft/FluidFramework/commits/59793302e56784cfb6ace0e6469345f3565b3312)
114
+ - Deprecated error-related enums have been removed ([#19067](https://github.com/microsoft/FluidFramework/issues/19067)) [59793302e5](https://github.com/microsoft/FluidFramework/commits/59793302e56784cfb6ace0e6469345f3565b3312)
107
115
 
108
- Error-related enums `ContainerErrorType`, `DriverErrorType`, `OdspErrorType` and `RouterliciousErrorType` were previously
109
- deprecated and are now removed. There are replacement object-based enumerations of `ContainerErrorTypes`,
110
- `DriverErrorTypes`, `OdspErrorTypes` and `RouterliciousErrorTypes`. Refer to the release notes of [Fluid Framework version
111
- 2.0.0-internal.7.0.0](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.0.0-internal.7.0.0) for details
112
- on the replacements.
116
+ Error-related enums `ContainerErrorType`, `DriverErrorType`, `OdspErrorType` and `RouterliciousErrorType` were previously
117
+ deprecated and are now removed. There are replacement object-based enumerations of `ContainerErrorTypes`,
118
+ `DriverErrorTypes`, `OdspErrorTypes` and `RouterliciousErrorTypes`. Refer to the release notes of [Fluid Framework version
119
+ 2.0.0-internal.7.0.0](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.0.0-internal.7.0.0) for details
120
+ on the replacements.
113
121
 
114
- - container-definitions: Added containerMetadata prop on IContainer interface ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
122
+ - container-definitions: Added containerMetadata prop on IContainer interface ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
115
123
 
116
- Added `containerMetadata` prop on IContainer interface.
124
+ Added `containerMetadata` prop on IContainer interface.
117
125
 
118
- - runtime-definitions: Moved ISignalEnvelope interface to core-interfaces ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
126
+ - runtime-definitions: Moved ISignalEnvelope interface to core-interfaces ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
119
127
 
120
- The `ISignalEnvelope` interface has been moved to the @fluidframework/core-interfaces package.
128
+ The `ISignalEnvelope` interface has been moved to the @fluidframework/core-interfaces package.
121
129
 
122
130
  ## 2.0.0-rc.1.0.0
123
131
 
124
132
  ### Minor Changes
125
133
 
126
- - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
127
-
128
- 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)
129
-
130
- - @fluidframework/gitresources
131
- - @fluidframework/server-kafka-orderer
132
- - @fluidframework/server-lambdas
133
- - @fluidframework/server-lambdas-driver
134
- - @fluidframework/server-local-server
135
- - @fluidframework/server-memory-orderer
136
- - @fluidframework/protocol-base
137
- - @fluidframework/server-routerlicious
138
- - @fluidframework/server-routerlicious-base
139
- - @fluidframework/server-services
140
- - @fluidframework/server-services-client
141
- - @fluidframework/server-services-core
142
- - @fluidframework/server-services-ordering-kafkanode
143
- - @fluidframework/server-services-ordering-rdkafka
144
- - @fluidframework/server-services-ordering-zookeeper
145
- - @fluidframework/server-services-shared
146
- - @fluidframework/server-services-telemetry
147
- - @fluidframework/server-services-utils
148
- - @fluidframework/server-test-utils
149
- - tinylicious
150
-
151
- - Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
152
-
153
- The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
154
- changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
134
+ - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
135
+
136
+ 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)
137
+
138
+ - @fluidframework/gitresources
139
+ - @fluidframework/server-kafka-orderer
140
+ - @fluidframework/server-lambdas
141
+ - @fluidframework/server-lambdas-driver
142
+ - @fluidframework/server-local-server
143
+ - @fluidframework/server-memory-orderer
144
+ - @fluidframework/protocol-base
145
+ - @fluidframework/server-routerlicious
146
+ - @fluidframework/server-routerlicious-base
147
+ - @fluidframework/server-services
148
+ - @fluidframework/server-services-client
149
+ - @fluidframework/server-services-core
150
+ - @fluidframework/server-services-ordering-kafkanode
151
+ - @fluidframework/server-services-ordering-rdkafka
152
+ - @fluidframework/server-services-ordering-zookeeper
153
+ - @fluidframework/server-services-shared
154
+ - @fluidframework/server-services-telemetry
155
+ - @fluidframework/server-services-utils
156
+ - @fluidframework/server-test-utils
157
+ - tinylicious
158
+
159
+ - Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
160
+
161
+ The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
162
+ changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
155
163
 
156
164
  ## 2.0.0-internal.8.0.0
157
165
 
@@ -177,63 +185,66 @@ Dependency updates only.
177
185
 
178
186
  ### Major Changes
179
187
 
180
- - odsp-driver: Load container in readonly mode when driver throws DriverErrorType.outOfStorage [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
181
-
182
- Handle DriverErrorType.outOfStorage error from driver and load the container in readonly mode. Currently there is no
183
- handling and when the join session throws this error, the container will get closed. With this we use NoDeltaStream
184
- object as connection and load the container in read mode, so that it loads properly. We also notify the that the
185
- container is "readonly" through the event on delta manager so that apps can listen to this and show any UX etc. The app
186
- can listen to the event like this:
187
-
188
- ```ts
189
- container.deltaManager.on(
190
- "readonly",
191
- (readonly?: boolean, readonlyConnectionReason?: { text: string; error?: IErrorBase }) => {
192
- // error?.errorType will be equal to DriverErrorType.outOfStorage in this case
193
- // App logic
194
- },
195
- );
196
- ```
197
-
198
- - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
199
-
200
- This included the following changes from the protocol-definitions release:
201
-
202
- - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
203
- submitted by clients to the server and the resulting signals sent from the server to clients.
204
- - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
205
- been added, which will be the typing for signals sent from the client to the server. Both extend a new
206
- ISignalMessageBase interface that contains common members.
207
- - The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
208
-
209
- - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
210
-
211
- Dependencies on the following Fluid server package have been updated to version 2.0.1:
212
-
213
- - @fluidframework/gitresources: 2.0.1
214
- - @fluidframework/server-kafka-orderer: 2.0.1
215
- - @fluidframework/server-lambdas: 2.0.1
216
- - @fluidframework/server-lambdas-driver: 2.0.1
217
- - @fluidframework/server-local-server: 2.0.1
218
- - @fluidframework/server-memory-orderer: 2.0.1
219
- - @fluidframework/protocol-base: 2.0.1
220
- - @fluidframework/server-routerlicious: 2.0.1
221
- - @fluidframework/server-routerlicious-base: 2.0.1
222
- - @fluidframework/server-services: 2.0.1
223
- - @fluidframework/server-services-client: 2.0.1
224
- - @fluidframework/server-services-core: 2.0.1
225
- - @fluidframework/server-services-ordering-kafkanode: 2.0.1
226
- - @fluidframework/server-services-ordering-rdkafka: 2.0.1
227
- - @fluidframework/server-services-ordering-zookeeper: 2.0.1
228
- - @fluidframework/server-services-shared: 2.0.1
229
- - @fluidframework/server-services-telemetry: 2.0.1
230
- - @fluidframework/server-services-utils: 2.0.1
231
- - @fluidframework/server-test-utils: 2.0.1
232
- - tinylicious: 2.0.1
233
-
234
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
235
-
236
- The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
188
+ - odsp-driver: Load container in readonly mode when driver throws DriverErrorType.outOfStorage [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
189
+
190
+ Handle DriverErrorType.outOfStorage error from driver and load the container in readonly mode. Currently there is no
191
+ handling and when the join session throws this error, the container will get closed. With this we use NoDeltaStream
192
+ object as connection and load the container in read mode, so that it loads properly. We also notify the that the
193
+ container is "readonly" through the event on delta manager so that apps can listen to this and show any UX etc. The app
194
+ can listen to the event like this:
195
+
196
+ ```ts
197
+ container.deltaManager.on(
198
+ "readonly",
199
+ (
200
+ readonly?: boolean,
201
+ readonlyConnectionReason?: { text: string; error?: IErrorBase },
202
+ ) => {
203
+ // error?.errorType will be equal to DriverErrorType.outOfStorage in this case
204
+ // App logic
205
+ },
206
+ );
207
+ ```
208
+
209
+ - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
210
+
211
+ This included the following changes from the protocol-definitions release:
212
+
213
+ - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
214
+ submitted by clients to the server and the resulting signals sent from the server to clients.
215
+ - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
216
+ been added, which will be the typing for signals sent from the client to the server. Both extend a new
217
+ ISignalMessageBase interface that contains common members.
218
+ - The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
219
+
220
+ - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
221
+
222
+ Dependencies on the following Fluid server package have been updated to version 2.0.1:
223
+
224
+ - @fluidframework/gitresources: 2.0.1
225
+ - @fluidframework/server-kafka-orderer: 2.0.1
226
+ - @fluidframework/server-lambdas: 2.0.1
227
+ - @fluidframework/server-lambdas-driver: 2.0.1
228
+ - @fluidframework/server-local-server: 2.0.1
229
+ - @fluidframework/server-memory-orderer: 2.0.1
230
+ - @fluidframework/protocol-base: 2.0.1
231
+ - @fluidframework/server-routerlicious: 2.0.1
232
+ - @fluidframework/server-routerlicious-base: 2.0.1
233
+ - @fluidframework/server-services: 2.0.1
234
+ - @fluidframework/server-services-client: 2.0.1
235
+ - @fluidframework/server-services-core: 2.0.1
236
+ - @fluidframework/server-services-ordering-kafkanode: 2.0.1
237
+ - @fluidframework/server-services-ordering-rdkafka: 2.0.1
238
+ - @fluidframework/server-services-ordering-zookeeper: 2.0.1
239
+ - @fluidframework/server-services-shared: 2.0.1
240
+ - @fluidframework/server-services-telemetry: 2.0.1
241
+ - @fluidframework/server-services-utils: 2.0.1
242
+ - @fluidframework/server-test-utils: 2.0.1
243
+ - tinylicious: 2.0.1
244
+
245
+ - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
246
+
247
+ The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
237
248
 
238
249
  ## 2.0.0-internal.6.4.0
239
250
 
@@ -255,13 +266,13 @@ Dependency updates only.
255
266
 
256
267
  ### Major Changes
257
268
 
258
- - combineAppAndProtocolSummary removed from driver-utils [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
269
+ - combineAppAndProtocolSummary removed from driver-utils [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
259
270
 
260
- combineAppAndProtocolSummary was deprecated in 2.0.0-internal.3.4.0 and has now been removed.
271
+ combineAppAndProtocolSummary was deprecated in 2.0.0-internal.3.4.0 and has now been removed.
261
272
 
262
- - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
273
+ - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
263
274
 
264
- 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.
275
+ 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.
265
276
 
266
277
  ## 2.0.0-internal.5.4.0
267
278
 
@@ -287,7 +298,7 @@ Dependency updates only.
287
298
 
288
299
  ### Minor Changes
289
300
 
290
- - The following classes have been moved from `@fluidframework/protocol-base` to `@fluidframework/driver-utils`: `BlobTreeEntry`, `TreeTreeEntry` and `AttachmentTreeEntry`. ([#15687](https://github.com/microsoft/FluidFramework/pull/15687)) [c0d2f364e8](https://github.com/microsoft/FluidFramework/commits/c0d2f364e830a7b62ec42999df8c45941f7f0a2c)
301
+ - The following classes have been moved from `@fluidframework/protocol-base` to `@fluidframework/driver-utils`: `BlobTreeEntry`, `TreeTreeEntry` and `AttachmentTreeEntry`. ([#15687](https://github.com/microsoft/FluidFramework/pull/15687)) [c0d2f364e8](https://github.com/microsoft/FluidFramework/commits/c0d2f364e830a7b62ec42999df8c45941f7f0a2c)
291
302
 
292
303
  ## 2.0.0-internal.4.1.0
293
304
 
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/driver-utils";
8
- export declare const pkgVersion = "2.23.0";
8
+ export declare const pkgVersion = "2.31.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/driver-utils";
11
- exports.pkgVersion = "2.23.0";
11
+ exports.pkgVersion = "2.31.0";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,8BAA8B,CAAC;AACzC,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/driver-utils\";\nexport const pkgVersion = \"2.23.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,8BAA8B,CAAC;AACzC,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/driver-utils\";\nexport const pkgVersion = \"2.31.0\";\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/driver-utils";
8
- export declare const pkgVersion = "2.23.0";
8
+ export declare const pkgVersion = "2.31.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/driver-utils";
8
- export const pkgVersion = "2.23.0";
8
+ export const pkgVersion = "2.31.0";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,8BAA8B,CAAC;AACtD,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/driver-utils\";\nexport const pkgVersion = \"2.23.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,8BAA8B,CAAC;AACtD,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/driver-utils\";\nexport const pkgVersion = \"2.31.0\";\n"]}
@@ -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-utils",
3
- "version": "2.23.0",
3
+ "version": "2.31.0",
4
4
  "description": "Collection of utility functions for Fluid drivers",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -69,11 +69,11 @@
69
69
  "temp-directory": "nyc/.nyc_output"
70
70
  },
71
71
  "dependencies": {
72
- "@fluid-internal/client-utils": "~2.23.0",
73
- "@fluidframework/core-interfaces": "~2.23.0",
74
- "@fluidframework/core-utils": "~2.23.0",
75
- "@fluidframework/driver-definitions": "~2.23.0",
76
- "@fluidframework/telemetry-utils": "~2.23.0",
72
+ "@fluid-internal/client-utils": "~2.31.0",
73
+ "@fluidframework/core-interfaces": "~2.31.0",
74
+ "@fluidframework/core-utils": "~2.31.0",
75
+ "@fluidframework/driver-definitions": "~2.31.0",
76
+ "@fluidframework/telemetry-utils": "~2.31.0",
77
77
  "axios": "^1.7.7",
78
78
  "lz4js": "^0.2.0",
79
79
  "uuid": "^9.0.0"
@@ -81,13 +81,13 @@
81
81
  "devDependencies": {
82
82
  "@arethetypeswrong/cli": "^0.17.1",
83
83
  "@biomejs/biome": "~1.9.3",
84
- "@fluid-internal/mocha-test-setup": "~2.23.0",
84
+ "@fluid-internal/mocha-test-setup": "~2.31.0",
85
85
  "@fluid-tools/build-cli": "^0.54.0",
86
86
  "@fluidframework/build-common": "^2.0.3",
87
87
  "@fluidframework/build-tools": "^0.54.0",
88
- "@fluidframework/driver-utils-previous": "npm:@fluidframework/driver-utils@2.22.0",
88
+ "@fluidframework/driver-utils-previous": "npm:@fluidframework/driver-utils@2.30.0",
89
89
  "@fluidframework/eslint-config-fluid": "^5.7.3",
90
- "@microsoft/api-extractor": "7.47.8",
90
+ "@microsoft/api-extractor": "7.50.1",
91
91
  "@types/mocha": "^10.0.10",
92
92
  "@types/node": "^18.19.0",
93
93
  "@types/sinon": "^17.0.3",
@@ -97,10 +97,9 @@
97
97
  "copyfiles": "^2.4.1",
98
98
  "cross-env": "^7.0.3",
99
99
  "eslint": "~8.55.0",
100
- "mocha": "^10.2.0",
100
+ "mocha": "^10.8.2",
101
101
  "mocha-multi-reporters": "^1.5.1",
102
102
  "moment": "^2.21.0",
103
- "prettier": "~3.0.3",
104
103
  "rimraf": "^4.4.0",
105
104
  "sinon": "^18.0.1",
106
105
  "typescript": "~5.4.5"
@@ -134,7 +133,6 @@
134
133
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
135
134
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
136
135
  "check:format": "npm run check:biome",
137
- "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
138
136
  "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
139
137
  "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
140
138
  "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
@@ -144,7 +142,6 @@
144
142
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
145
143
  "format": "npm run format:biome",
146
144
  "format:biome": "biome check . --write",
147
- "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
148
145
  "lint": "fluid-build . --task lint",
149
146
  "lint:fix": "fluid-build . --task eslint:fix --task format",
150
147
  "test": "npm run test:mocha",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/driver-utils";
9
- export const pkgVersion = "2.23.0";
9
+ export const pkgVersion = "2.31.0";
package/tsconfig.json CHANGED
@@ -6,6 +6,7 @@
6
6
  "rootDir": "./src",
7
7
  "outDir": "./lib",
8
8
  "exactOptionalPropertyTypes": false,
9
+ // TODO: AB#34167 Enable noUncheckedIndexedAccess for packages/loader/driver-utils
9
10
  "noUncheckedIndexedAccess": false,
10
11
  },
11
12
  }
@@ -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
- };