@fluidframework/odsp-driver 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 +152 -144
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +14 -17
- package/src/packageVersion.ts +1 -1
- package/tsconfig.json +1 -0
- package/prettier.config.cjs +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fluidframework/odsp-driver
|
|
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.
|
|
@@ -8,13 +16,13 @@ Dependency updates only.
|
|
|
8
16
|
|
|
9
17
|
### Minor Changes
|
|
10
18
|
|
|
11
|
-
-
|
|
19
|
+
- odsp-driver no longer depends on node-fetch ([#23796](https://github.com/microsoft/FluidFramework/pull/23796)) [b17276c186](https://github.com/microsoft/FluidFramework/commit/b17276c186043723486dfbd0714da0dcb5ca1e17)
|
|
12
20
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
21
|
+
The `@fluidframework/odsp-driver` package had a dependency on [node-fetch](https://www.npmjs.com/package/node-fetch) to provide consistent behavior of the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) across Node.js and browsers.
|
|
22
|
+
Since v18 of Node.js, the Node-native Fetch API implementation no longer requires extra flags to be enabled, so the Fetch API is effectively now natively available on all browsers and Node.js.
|
|
23
|
+
This dependency removal should reduce Fluid Framework's contribution to application bundle sizes.
|
|
16
24
|
|
|
17
|
-
|
|
25
|
+
We expect this change to have no impact for Fluid Framework consumers. However, if you are running Fluid in a Node.js environment with the `--no-experimental-fetch` flag, this is no longer supported.
|
|
18
26
|
|
|
19
27
|
## 2.21.0
|
|
20
28
|
|
|
@@ -64,9 +72,9 @@ Dependency updates only.
|
|
|
64
72
|
|
|
65
73
|
### Minor Changes
|
|
66
74
|
|
|
67
|
-
-
|
|
75
|
+
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
|
|
68
76
|
|
|
69
|
-
|
|
77
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
70
78
|
|
|
71
79
|
## 2.0.0-rc.4.0.0
|
|
72
80
|
|
|
@@ -76,108 +84,108 @@ Dependency updates only.
|
|
|
76
84
|
|
|
77
85
|
### Major Changes
|
|
78
86
|
|
|
79
|
-
-
|
|
87
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
80
88
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
89
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
90
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
91
|
+
TypeScript types and implementation code.
|
|
84
92
|
|
|
85
|
-
|
|
93
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
86
94
|
|
|
87
|
-
|
|
88
|
-
|
|
95
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
96
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
89
97
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
98
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
99
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
100
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
101
|
+
regarding the module and moduleResolution options.
|
|
94
102
|
|
|
95
|
-
|
|
96
|
-
|
|
103
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
104
|
+
to distinguish stable APIs from those that are in development.**
|
|
97
105
|
|
|
98
106
|
### Minor Changes
|
|
99
107
|
|
|
100
|
-
-
|
|
108
|
+
- driver-definitions: update submitSignal content type to string [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
101
109
|
|
|
102
|
-
|
|
110
|
+
Change IDocumentDeltaConnection.submitSignal's content argument type to string which represents actual/known use.
|
|
103
111
|
|
|
104
112
|
## 2.0.0-rc.2.0.0
|
|
105
113
|
|
|
106
114
|
### Minor Changes
|
|
107
115
|
|
|
108
|
-
-
|
|
116
|
+
- Resolved URLs no longer use non-standard protocols ([#19840](https://github.com/microsoft/FluidFramework/issues/19840)) [9d3d185183](https://github.com/microsoft/FluidFramework/commits/9d3d1851830d953792a6dfad60dde6f1c59480de)
|
|
109
117
|
|
|
110
|
-
|
|
118
|
+
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.
|
|
111
119
|
|
|
112
|
-
-
|
|
120
|
+
- driver-definitions: Deprecate `ISnapshotContents` ([#19314](https://github.com/microsoft/FluidFramework/issues/19314)) [fc731b69de](https://github.com/microsoft/FluidFramework/commits/fc731b69deed4a2987e9b97d8918492d689bafbc)
|
|
113
121
|
|
|
114
|
-
|
|
122
|
+
`ISnapshotContents` is deprecated. It has been replaced with `ISnapshot`.
|
|
115
123
|
|
|
116
|
-
-
|
|
124
|
+
- driver-definitions: repositoryUrl removed from IDocumentStorageService ([#19522](https://github.com/microsoft/FluidFramework/issues/19522)) [90eb3c9d33](https://github.com/microsoft/FluidFramework/commits/90eb3c9d33d80e24caa1393a50f414c5602f6aa3)
|
|
117
125
|
|
|
118
|
-
|
|
126
|
+
The `repositoryUrl` member of `IDocumentStorageService` was unused and always equal to the empty string. It has been removed.
|
|
119
127
|
|
|
120
|
-
-
|
|
128
|
+
- Deprecated error-related enums have been removed ([#19067](https://github.com/microsoft/FluidFramework/issues/19067)) [59793302e5](https://github.com/microsoft/FluidFramework/commits/59793302e56784cfb6ace0e6469345f3565b3312)
|
|
121
129
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
130
|
+
Error-related enums `ContainerErrorType`, `DriverErrorType`, `OdspErrorType` and `RouterliciousErrorType` were previously
|
|
131
|
+
deprecated and are now removed. There are replacement object-based enumerations of `ContainerErrorTypes`,
|
|
132
|
+
`DriverErrorTypes`, `OdspErrorTypes` and `RouterliciousErrorTypes`. Refer to the release notes of [Fluid Framework version
|
|
133
|
+
2.0.0-internal.7.0.0](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.0.0-internal.7.0.0) for details
|
|
134
|
+
on the replacements.
|
|
127
135
|
|
|
128
|
-
-
|
|
136
|
+
- odsp-driver: Added a new method to odspDriverUrlResolverForShareLink class ([#19648](https://github.com/microsoft/FluidFramework/issues/19648)) [77d4071a9a](https://github.com/microsoft/FluidFramework/commits/77d4071a9af5d7217ce52a180776fb4b90754b86)
|
|
129
137
|
|
|
130
|
-
|
|
138
|
+
Added a new method called `appendLocatorParams` to `odspDriverUrlResolverForShareLink` class which appends locator params to the base URL provided.
|
|
131
139
|
|
|
132
|
-
-
|
|
140
|
+
- odsp-driver: createNavParam removed from odspDriverUrlResolverForShareLink ([#19620](https://github.com/microsoft/FluidFramework/issues/19620)) [93c82abb9c](https://github.com/microsoft/FluidFramework/commits/93c82abb9c9fe9d3264e54a579a10589cf7183d7)
|
|
133
141
|
|
|
134
|
-
|
|
142
|
+
Remove deprecated method: createNavParam from odsp-driver's odspDriverUrlResolverForShareLink.
|
|
135
143
|
|
|
136
|
-
-
|
|
144
|
+
- odsp-driver: Removed deprecated implementation of SingleRT feature ([#18690](https://github.com/microsoft/FluidFramework/issues/18690)) [430205cff1](https://github.com/microsoft/FluidFramework/commits/430205cff1ba8a1a7b13b4d42d12babaae596708)
|
|
137
145
|
|
|
138
|
-
|
|
146
|
+
Removed the deprecated logic of creating sharing-links with container attach (called SingleRT) which was enabled via enableShareLinkWithCreate flag in HostStoragePolicy. This change removes SharingLinkTypes interface definition, removes other deprecated properties from the odsp-driver's resolvedUrl object and also removes the enableShareLinkWithCreate flag. The newer version of SingleRT feature continues to exist, which can be enabled via enableSingleRequestForShareLinkWithCreate feature flag in HostStoragePolicy.
|
|
139
147
|
|
|
140
|
-
-
|
|
148
|
+
- container-definitions: Added containerMetadata prop on IContainer interface ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
|
|
141
149
|
|
|
142
|
-
|
|
150
|
+
Added `containerMetadata` prop on IContainer interface.
|
|
143
151
|
|
|
144
|
-
-
|
|
152
|
+
- runtime-definitions: Moved ISignalEnvelope interface to core-interfaces ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
|
|
145
153
|
|
|
146
|
-
|
|
154
|
+
The `ISignalEnvelope` interface has been moved to the @fluidframework/core-interfaces package.
|
|
147
155
|
|
|
148
156
|
## 2.0.0-rc.1.0.0
|
|
149
157
|
|
|
150
158
|
### Minor Changes
|
|
151
159
|
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
160
|
+
- Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
161
|
+
|
|
162
|
+
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)
|
|
163
|
+
|
|
164
|
+
- @fluidframework/gitresources
|
|
165
|
+
- @fluidframework/server-kafka-orderer
|
|
166
|
+
- @fluidframework/server-lambdas
|
|
167
|
+
- @fluidframework/server-lambdas-driver
|
|
168
|
+
- @fluidframework/server-local-server
|
|
169
|
+
- @fluidframework/server-memory-orderer
|
|
170
|
+
- @fluidframework/protocol-base
|
|
171
|
+
- @fluidframework/server-routerlicious
|
|
172
|
+
- @fluidframework/server-routerlicious-base
|
|
173
|
+
- @fluidframework/server-services
|
|
174
|
+
- @fluidframework/server-services-client
|
|
175
|
+
- @fluidframework/server-services-core
|
|
176
|
+
- @fluidframework/server-services-ordering-kafkanode
|
|
177
|
+
- @fluidframework/server-services-ordering-rdkafka
|
|
178
|
+
- @fluidframework/server-services-ordering-zookeeper
|
|
179
|
+
- @fluidframework/server-services-shared
|
|
180
|
+
- @fluidframework/server-services-telemetry
|
|
181
|
+
- @fluidframework/server-services-utils
|
|
182
|
+
- @fluidframework/server-test-utils
|
|
183
|
+
- tinylicious
|
|
184
|
+
|
|
185
|
+
- Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
186
|
+
|
|
187
|
+
The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
|
|
188
|
+
changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
|
|
181
189
|
|
|
182
190
|
## 2.0.0-internal.8.0.0
|
|
183
191
|
|
|
@@ -203,63 +211,63 @@ Dependency updates only.
|
|
|
203
211
|
|
|
204
212
|
### Major Changes
|
|
205
213
|
|
|
206
|
-
-
|
|
214
|
+
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
207
215
|
|
|
208
|
-
|
|
216
|
+
This included the following changes from the protocol-definitions release:
|
|
209
217
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
218
|
+
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
219
|
+
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
220
|
+
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
221
|
+
been added, which will be the typing for signals sent from the client to the server. Both extend a new
|
|
222
|
+
ISignalMessageBase interface that contains common members.
|
|
223
|
+
- The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
|
|
216
224
|
|
|
217
|
-
-
|
|
225
|
+
- routerlicious-driver: remove dead blob aggregation concepts and code [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
218
226
|
|
|
219
|
-
|
|
227
|
+
Dead concepts blob aggregation like `aggregateBlobsSmallerThanBytes` and `minBlobSize` have been removed.
|
|
220
228
|
|
|
221
|
-
-
|
|
229
|
+
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
222
230
|
|
|
223
|
-
|
|
231
|
+
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
224
232
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
233
|
+
- @fluidframework/gitresources: 2.0.1
|
|
234
|
+
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
235
|
+
- @fluidframework/server-lambdas: 2.0.1
|
|
236
|
+
- @fluidframework/server-lambdas-driver: 2.0.1
|
|
237
|
+
- @fluidframework/server-local-server: 2.0.1
|
|
238
|
+
- @fluidframework/server-memory-orderer: 2.0.1
|
|
239
|
+
- @fluidframework/protocol-base: 2.0.1
|
|
240
|
+
- @fluidframework/server-routerlicious: 2.0.1
|
|
241
|
+
- @fluidframework/server-routerlicious-base: 2.0.1
|
|
242
|
+
- @fluidframework/server-services: 2.0.1
|
|
243
|
+
- @fluidframework/server-services-client: 2.0.1
|
|
244
|
+
- @fluidframework/server-services-core: 2.0.1
|
|
245
|
+
- @fluidframework/server-services-ordering-kafkanode: 2.0.1
|
|
246
|
+
- @fluidframework/server-services-ordering-rdkafka: 2.0.1
|
|
247
|
+
- @fluidframework/server-services-ordering-zookeeper: 2.0.1
|
|
248
|
+
- @fluidframework/server-services-shared: 2.0.1
|
|
249
|
+
- @fluidframework/server-services-telemetry: 2.0.1
|
|
250
|
+
- @fluidframework/server-services-utils: 2.0.1
|
|
251
|
+
- @fluidframework/server-test-utils: 2.0.1
|
|
252
|
+
- tinylicious: 2.0.1
|
|
245
253
|
|
|
246
|
-
-
|
|
254
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
247
255
|
|
|
248
|
-
|
|
256
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
249
257
|
|
|
250
258
|
## 2.0.0-internal.6.4.0
|
|
251
259
|
|
|
252
260
|
### Minor Changes
|
|
253
261
|
|
|
254
|
-
-
|
|
262
|
+
- Upcoming: The type of the logger property/param in various APIs will be changing ([#17350](https://github.com/microsoft/FluidFramework/issues/17350)) [27284bcda3](https://github.com/microsoft/FluidFramework/commits/27284bcda3d63cc4306cf76806f8a075db0db60f)
|
|
255
263
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
264
|
+
- @fluidframework/runtime-definitions
|
|
265
|
+
- `IFluidDataStoreRuntime.logger` will be re-typed as `ITelemetryBaseLogger`
|
|
266
|
+
- @fluidframework/odsp-driver
|
|
267
|
+
- `protected OdspDocumentServiceFactoryCore.createDocumentServiceCore`'s parameter `odspLogger` will be re-typed as `ITelemetryLoggerExt`
|
|
268
|
+
- `protected LocalOdspDocumentServiceFactory.createDocumentServiceCore`'s parameter `odspLogger` will be re-typed as `ITelemetryLoggerExt`
|
|
261
269
|
|
|
262
|
-
|
|
270
|
+
Additionally, several of @fluidframework/telemetry-utils's exports are being marked as internal and should not be consumed outside of other FF packages.
|
|
263
271
|
|
|
264
272
|
## 2.0.0-internal.6.3.0
|
|
265
273
|
|
|
@@ -269,32 +277,32 @@ Dependency updates only.
|
|
|
269
277
|
|
|
270
278
|
### Minor Changes
|
|
271
279
|
|
|
272
|
-
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
280
|
+
- Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
|
|
281
|
+
|
|
282
|
+
The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
|
|
283
|
+
imported from the **@fluidframework/core-interfaces** package:
|
|
284
|
+
|
|
285
|
+
- interface IDisposable
|
|
286
|
+
- interface IErrorEvent
|
|
287
|
+
- interface IErrorEvent
|
|
288
|
+
- interface IEvent
|
|
289
|
+
- interface IEventProvider
|
|
290
|
+
- interface ILoggingError
|
|
291
|
+
- interface ITaggedTelemetryPropertyType
|
|
292
|
+
- interface ITelemetryBaseEvent
|
|
293
|
+
- interface ITelemetryBaseLogger
|
|
294
|
+
- interface ITelemetryErrorEvent
|
|
295
|
+
- interface ITelemetryGenericEvent
|
|
296
|
+
- interface ITelemetryLogger
|
|
297
|
+
- interface ITelemetryPerformanceEvent
|
|
298
|
+
- interface ITelemetryProperties
|
|
299
|
+
- type ExtendEventProvider
|
|
300
|
+
- type IEventThisPlaceHolder
|
|
301
|
+
- type IEventTransformer
|
|
302
|
+
- type ReplaceIEventThisPlaceHolder
|
|
303
|
+
- type ReplaceIEventThisPlaceHolder
|
|
304
|
+
- type TelemetryEventCategory
|
|
305
|
+
- type TelemetryEventPropertyType
|
|
298
306
|
|
|
299
307
|
## 2.0.0-internal.6.1.0
|
|
300
308
|
|
|
@@ -304,9 +312,9 @@ Dependency updates only.
|
|
|
304
312
|
|
|
305
313
|
### Major Changes
|
|
306
314
|
|
|
307
|
-
-
|
|
315
|
+
- Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
308
316
|
|
|
309
|
-
|
|
317
|
+
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.
|
|
310
318
|
|
|
311
319
|
## 2.0.0-internal.5.4.0
|
|
312
320
|
|
|
@@ -316,9 +324,9 @@ Dependency updates only.
|
|
|
316
324
|
|
|
317
325
|
### Minor Changes
|
|
318
326
|
|
|
319
|
-
-
|
|
327
|
+
- New API getRelaySessionInfo in odsp-driver ([#16300](https://github.com/microsoft/FluidFramework/issues/16300)) [a25789cd37](https://github.com/microsoft/FluidFramework/commits/a25789cd37bf60ebc4a08e1a9f7eaa8c65f4eae2)
|
|
320
328
|
|
|
321
|
-
|
|
329
|
+
`OdspDocumentServiceFactory` and `OdspDocumentServiceFactoryCore` now provide a new API `getRelaySessionInfo` to surface relay session info from cache.
|
|
322
330
|
|
|
323
331
|
## 2.0.0-internal.5.2.0
|
|
324
332
|
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -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/odsp-driver";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.31.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/dist/packageVersion.js
CHANGED
|
@@ -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/odsp-driver";
|
|
11
|
-
exports.pkgVersion = "2.
|
|
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,6BAA6B,CAAC;AACxC,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/odsp-driver\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,6BAA6B,CAAC;AACxC,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/odsp-driver\";\nexport const pkgVersion = \"2.31.0\";\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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/odsp-driver";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.31.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,6BAA6B,CAAC;AACrD,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/odsp-driver\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,6BAA6B,CAAC;AACrD,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/odsp-driver\";\nexport const pkgVersion = \"2.31.0\";\n"]}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/odsp-driver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "Socket storage implementation for SPO and ODC",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -69,28 +69,28 @@
|
|
|
69
69
|
"temp-directory": "nyc/.nyc_output"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@fluid-internal/client-utils": "~2.
|
|
73
|
-
"@fluidframework/core-interfaces": "~2.
|
|
74
|
-
"@fluidframework/core-utils": "~2.
|
|
75
|
-
"@fluidframework/driver-base": "~2.
|
|
76
|
-
"@fluidframework/driver-definitions": "~2.
|
|
77
|
-
"@fluidframework/driver-utils": "~2.
|
|
78
|
-
"@fluidframework/odsp-doclib-utils": "~2.
|
|
79
|
-
"@fluidframework/odsp-driver-definitions": "~2.
|
|
80
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
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-base": "~2.31.0",
|
|
76
|
+
"@fluidframework/driver-definitions": "~2.31.0",
|
|
77
|
+
"@fluidframework/driver-utils": "~2.31.0",
|
|
78
|
+
"@fluidframework/odsp-doclib-utils": "~2.31.0",
|
|
79
|
+
"@fluidframework/odsp-driver-definitions": "~2.31.0",
|
|
80
|
+
"@fluidframework/telemetry-utils": "~2.31.0",
|
|
81
81
|
"socket.io-client": "~4.7.5",
|
|
82
82
|
"uuid": "^9.0.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
86
86
|
"@biomejs/biome": "~1.9.3",
|
|
87
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
87
|
+
"@fluid-internal/mocha-test-setup": "~2.31.0",
|
|
88
88
|
"@fluid-tools/build-cli": "^0.54.0",
|
|
89
89
|
"@fluidframework/build-common": "^2.0.3",
|
|
90
90
|
"@fluidframework/build-tools": "^0.54.0",
|
|
91
91
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
92
|
-
"@fluidframework/odsp-driver-previous": "npm:@fluidframework/odsp-driver@2.
|
|
93
|
-
"@microsoft/api-extractor": "7.
|
|
92
|
+
"@fluidframework/odsp-driver-previous": "npm:@fluidframework/odsp-driver@2.30.0",
|
|
93
|
+
"@microsoft/api-extractor": "7.50.1",
|
|
94
94
|
"@types/mocha": "^10.0.10",
|
|
95
95
|
"@types/node": "^18.19.0",
|
|
96
96
|
"@types/sinon": "^17.0.3",
|
|
@@ -100,10 +100,9 @@
|
|
|
100
100
|
"copyfiles": "^2.4.1",
|
|
101
101
|
"cross-env": "^7.0.3",
|
|
102
102
|
"eslint": "~8.55.0",
|
|
103
|
-
"mocha": "^10.2
|
|
103
|
+
"mocha": "^10.8.2",
|
|
104
104
|
"mocha-multi-reporters": "^1.5.1",
|
|
105
105
|
"moment": "^2.21.0",
|
|
106
|
-
"prettier": "~3.0.3",
|
|
107
106
|
"rimraf": "^4.4.0",
|
|
108
107
|
"sinon": "^18.0.1",
|
|
109
108
|
"typescript": "~5.4.5"
|
|
@@ -137,7 +136,6 @@
|
|
|
137
136
|
"check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
|
|
138
137
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
139
138
|
"check:format": "npm run check:biome",
|
|
140
|
-
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
141
139
|
"ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
|
|
142
140
|
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
143
141
|
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
@@ -147,7 +145,6 @@
|
|
|
147
145
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
148
146
|
"format": "npm run format:biome",
|
|
149
147
|
"format:biome": "biome check . --write",
|
|
150
|
-
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
151
148
|
"lint": "fluid-build . --task lint",
|
|
152
149
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
153
150
|
"test": "npm run test:mocha",
|
package/src/packageVersion.ts
CHANGED
package/tsconfig.json
CHANGED