@fluidframework/replay-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 +127 -119
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +9 -12
- package/tsconfig.json +1 -0
- package/prettier.config.cjs +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fluidframework/replay-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.
|
|
@@ -56,9 +64,9 @@ Dependency updates only.
|
|
|
56
64
|
|
|
57
65
|
### Minor Changes
|
|
58
66
|
|
|
59
|
-
-
|
|
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
|
-
|
|
69
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
62
70
|
|
|
63
71
|
## 2.0.0-rc.4.0.0
|
|
64
72
|
|
|
@@ -68,78 +76,78 @@ Dependency updates only.
|
|
|
68
76
|
|
|
69
77
|
### Major Changes
|
|
70
78
|
|
|
71
|
-
-
|
|
79
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
72
80
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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
|
-
|
|
85
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
78
86
|
|
|
79
|
-
|
|
80
|
-
|
|
87
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
88
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
81
89
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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
|
-
|
|
88
|
-
|
|
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
|
-
-
|
|
102
|
+
- replay-driver: Remove OpStorage export ([#19523](https://github.com/microsoft/FluidFramework/issues/19523)) [614917026e](https://github.com/microsoft/FluidFramework/commits/614917026e799dda7bc36e71ab56fb0a401a1156)
|
|
95
103
|
|
|
96
|
-
|
|
104
|
+
The OpStorage class was non-functional, and has been removed.
|
|
97
105
|
|
|
98
|
-
-
|
|
106
|
+
- driver-definitions: repositoryUrl removed from IDocumentStorageService ([#19522](https://github.com/microsoft/FluidFramework/issues/19522)) [90eb3c9d33](https://github.com/microsoft/FluidFramework/commits/90eb3c9d33d80e24caa1393a50f414c5602f6aa3)
|
|
99
107
|
|
|
100
|
-
|
|
108
|
+
The `repositoryUrl` member of `IDocumentStorageService` was unused and always equal to the empty string. It has been removed.
|
|
101
109
|
|
|
102
|
-
-
|
|
110
|
+
- container-definitions: Added containerMetadata prop on IContainer interface ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
|
|
103
111
|
|
|
104
|
-
|
|
112
|
+
Added `containerMetadata` prop on IContainer interface.
|
|
105
113
|
|
|
106
|
-
-
|
|
114
|
+
- runtime-definitions: Moved ISignalEnvelope interface to core-interfaces ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
|
|
107
115
|
|
|
108
|
-
|
|
116
|
+
The `ISignalEnvelope` interface has been moved to the @fluidframework/core-interfaces package.
|
|
109
117
|
|
|
110
118
|
## 2.0.0-rc.1.0.0
|
|
111
119
|
|
|
112
120
|
### Minor Changes
|
|
113
121
|
|
|
114
|
-
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
122
|
+
- Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
123
|
+
|
|
124
|
+
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)
|
|
125
|
+
|
|
126
|
+
- @fluidframework/gitresources
|
|
127
|
+
- @fluidframework/server-kafka-orderer
|
|
128
|
+
- @fluidframework/server-lambdas
|
|
129
|
+
- @fluidframework/server-lambdas-driver
|
|
130
|
+
- @fluidframework/server-local-server
|
|
131
|
+
- @fluidframework/server-memory-orderer
|
|
132
|
+
- @fluidframework/protocol-base
|
|
133
|
+
- @fluidframework/server-routerlicious
|
|
134
|
+
- @fluidframework/server-routerlicious-base
|
|
135
|
+
- @fluidframework/server-services
|
|
136
|
+
- @fluidframework/server-services-client
|
|
137
|
+
- @fluidframework/server-services-core
|
|
138
|
+
- @fluidframework/server-services-ordering-kafkanode
|
|
139
|
+
- @fluidframework/server-services-ordering-rdkafka
|
|
140
|
+
- @fluidframework/server-services-ordering-zookeeper
|
|
141
|
+
- @fluidframework/server-services-shared
|
|
142
|
+
- @fluidframework/server-services-telemetry
|
|
143
|
+
- @fluidframework/server-services-utils
|
|
144
|
+
- @fluidframework/server-test-utils
|
|
145
|
+
- tinylicious
|
|
146
|
+
|
|
147
|
+
- Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
148
|
+
|
|
149
|
+
The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
|
|
150
|
+
changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
|
|
143
151
|
|
|
144
152
|
## 2.0.0-internal.8.0.0
|
|
145
153
|
|
|
@@ -165,45 +173,45 @@ Dependency updates only.
|
|
|
165
173
|
|
|
166
174
|
### Major Changes
|
|
167
175
|
|
|
168
|
-
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
-
|
|
205
|
-
|
|
206
|
-
|
|
176
|
+
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
177
|
+
|
|
178
|
+
This included the following changes from the protocol-definitions release:
|
|
179
|
+
|
|
180
|
+
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
181
|
+
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
182
|
+
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
183
|
+
been added, which will be the typing for signals sent from the client to the server. Both extend a new
|
|
184
|
+
ISignalMessageBase interface that contains common members.
|
|
185
|
+
- The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
|
|
186
|
+
|
|
187
|
+
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
188
|
+
|
|
189
|
+
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
190
|
+
|
|
191
|
+
- @fluidframework/gitresources: 2.0.1
|
|
192
|
+
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
193
|
+
- @fluidframework/server-lambdas: 2.0.1
|
|
194
|
+
- @fluidframework/server-lambdas-driver: 2.0.1
|
|
195
|
+
- @fluidframework/server-local-server: 2.0.1
|
|
196
|
+
- @fluidframework/server-memory-orderer: 2.0.1
|
|
197
|
+
- @fluidframework/protocol-base: 2.0.1
|
|
198
|
+
- @fluidframework/server-routerlicious: 2.0.1
|
|
199
|
+
- @fluidframework/server-routerlicious-base: 2.0.1
|
|
200
|
+
- @fluidframework/server-services: 2.0.1
|
|
201
|
+
- @fluidframework/server-services-client: 2.0.1
|
|
202
|
+
- @fluidframework/server-services-core: 2.0.1
|
|
203
|
+
- @fluidframework/server-services-ordering-kafkanode: 2.0.1
|
|
204
|
+
- @fluidframework/server-services-ordering-rdkafka: 2.0.1
|
|
205
|
+
- @fluidframework/server-services-ordering-zookeeper: 2.0.1
|
|
206
|
+
- @fluidframework/server-services-shared: 2.0.1
|
|
207
|
+
- @fluidframework/server-services-telemetry: 2.0.1
|
|
208
|
+
- @fluidframework/server-services-utils: 2.0.1
|
|
209
|
+
- @fluidframework/server-test-utils: 2.0.1
|
|
210
|
+
- tinylicious: 2.0.1
|
|
211
|
+
|
|
212
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
213
|
+
|
|
214
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
207
215
|
|
|
208
216
|
## 2.0.0-internal.6.4.0
|
|
209
217
|
|
|
@@ -217,32 +225,32 @@ Dependency updates only.
|
|
|
217
225
|
|
|
218
226
|
### Minor Changes
|
|
219
227
|
|
|
220
|
-
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
228
|
+
- Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
|
|
229
|
+
|
|
230
|
+
The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
|
|
231
|
+
imported from the **@fluidframework/core-interfaces** package:
|
|
232
|
+
|
|
233
|
+
- interface IDisposable
|
|
234
|
+
- interface IErrorEvent
|
|
235
|
+
- interface IErrorEvent
|
|
236
|
+
- interface IEvent
|
|
237
|
+
- interface IEventProvider
|
|
238
|
+
- interface ILoggingError
|
|
239
|
+
- interface ITaggedTelemetryPropertyType
|
|
240
|
+
- interface ITelemetryBaseEvent
|
|
241
|
+
- interface ITelemetryBaseLogger
|
|
242
|
+
- interface ITelemetryErrorEvent
|
|
243
|
+
- interface ITelemetryGenericEvent
|
|
244
|
+
- interface ITelemetryLogger
|
|
245
|
+
- interface ITelemetryPerformanceEvent
|
|
246
|
+
- interface ITelemetryProperties
|
|
247
|
+
- type ExtendEventProvider
|
|
248
|
+
- type IEventThisPlaceHolder
|
|
249
|
+
- type IEventTransformer
|
|
250
|
+
- type ReplaceIEventThisPlaceHolder
|
|
251
|
+
- type ReplaceIEventThisPlaceHolder
|
|
252
|
+
- type TelemetryEventCategory
|
|
253
|
+
- type TelemetryEventPropertyType
|
|
246
254
|
|
|
247
255
|
## 2.0.0-internal.6.1.0
|
|
248
256
|
|
|
@@ -252,9 +260,9 @@ Dependency updates only.
|
|
|
252
260
|
|
|
253
261
|
### Major Changes
|
|
254
262
|
|
|
255
|
-
-
|
|
263
|
+
- Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
256
264
|
|
|
257
|
-
|
|
265
|
+
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.
|
|
258
266
|
|
|
259
267
|
## 2.0.0-internal.5.4.0
|
|
260
268
|
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/replay-driver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "Document replay version of Socket.IO implementation",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"main": "lib/index.js",
|
|
38
38
|
"types": "lib/public.d.ts",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@fluid-internal/client-utils": "~2.
|
|
41
|
-
"@fluidframework/core-interfaces": "~2.
|
|
42
|
-
"@fluidframework/core-utils": "~2.
|
|
43
|
-
"@fluidframework/driver-definitions": "~2.
|
|
44
|
-
"@fluidframework/driver-utils": "~2.
|
|
45
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
40
|
+
"@fluid-internal/client-utils": "~2.31.0",
|
|
41
|
+
"@fluidframework/core-interfaces": "~2.31.0",
|
|
42
|
+
"@fluidframework/core-utils": "~2.31.0",
|
|
43
|
+
"@fluidframework/driver-definitions": "~2.31.0",
|
|
44
|
+
"@fluidframework/driver-utils": "~2.31.0",
|
|
45
|
+
"@fluidframework/telemetry-utils": "~2.31.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
@@ -51,15 +51,14 @@
|
|
|
51
51
|
"@fluidframework/build-common": "^2.0.3",
|
|
52
52
|
"@fluidframework/build-tools": "^0.54.0",
|
|
53
53
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
54
|
-
"@fluidframework/replay-driver-previous": "npm:@fluidframework/replay-driver@2.
|
|
55
|
-
"@microsoft/api-extractor": "7.
|
|
54
|
+
"@fluidframework/replay-driver-previous": "npm:@fluidframework/replay-driver@2.30.0",
|
|
55
|
+
"@microsoft/api-extractor": "7.50.1",
|
|
56
56
|
"@types/nock": "^9.3.0",
|
|
57
57
|
"@types/node": "^18.19.0",
|
|
58
58
|
"concurrently": "^8.2.1",
|
|
59
59
|
"copyfiles": "^2.4.1",
|
|
60
60
|
"eslint": "~8.55.0",
|
|
61
61
|
"nock": "^13.3.3",
|
|
62
|
-
"prettier": "~3.0.3",
|
|
63
62
|
"rimraf": "^4.4.0",
|
|
64
63
|
"typescript": "~5.4.5"
|
|
65
64
|
},
|
|
@@ -94,14 +93,12 @@
|
|
|
94
93
|
"check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
|
|
95
94
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
96
95
|
"check:format": "npm run check:biome",
|
|
97
|
-
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
98
96
|
"ci:build:docs": "api-extractor run",
|
|
99
97
|
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
|
|
100
98
|
"eslint": "eslint --format stylish src",
|
|
101
99
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
102
100
|
"format": "npm run format:biome",
|
|
103
101
|
"format:biome": "biome check . --write",
|
|
104
|
-
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
105
102
|
"lint": "fluid-build . --task lint",
|
|
106
103
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
107
104
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
package/tsconfig.json
CHANGED