@fluidframework/file-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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @fluidframework/file-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
- - 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,78 +76,78 @@ 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
- - driver-definitions: Deprecate `ISnapshotContents` ([#19314](https://github.com/microsoft/FluidFramework/issues/19314)) [fc731b69de](https://github.com/microsoft/FluidFramework/commits/fc731b69deed4a2987e9b97d8918492d689bafbc)
102
+ - driver-definitions: Deprecate `ISnapshotContents` ([#19314](https://github.com/microsoft/FluidFramework/issues/19314)) [fc731b69de](https://github.com/microsoft/FluidFramework/commits/fc731b69deed4a2987e9b97d8918492d689bafbc)
95
103
 
96
- `ISnapshotContents` is deprecated. It has been replaced with `ISnapshot`.
104
+ `ISnapshotContents` is deprecated. It has been replaced with `ISnapshot`.
97
105
 
98
- - driver-definitions: repositoryUrl removed from IDocumentStorageService ([#19522](https://github.com/microsoft/FluidFramework/issues/19522)) [90eb3c9d33](https://github.com/microsoft/FluidFramework/commits/90eb3c9d33d80e24caa1393a50f414c5602f6aa3)
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
- The `repositoryUrl` member of `IDocumentStorageService` was unused and always equal to the empty string. It has been removed.
108
+ The `repositoryUrl` member of `IDocumentStorageService` was unused and always equal to the empty string. It has been removed.
101
109
 
102
- - container-definitions: Added containerMetadata prop on IContainer interface ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
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
- Added `containerMetadata` prop on IContainer interface.
112
+ Added `containerMetadata` prop on IContainer interface.
105
113
 
106
- - runtime-definitions: Moved ISignalEnvelope interface to core-interfaces ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
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
- The `ISignalEnvelope` interface has been moved to the @fluidframework/core-interfaces package.
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
- - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
115
-
116
- 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)
117
-
118
- - @fluidframework/gitresources
119
- - @fluidframework/server-kafka-orderer
120
- - @fluidframework/server-lambdas
121
- - @fluidframework/server-lambdas-driver
122
- - @fluidframework/server-local-server
123
- - @fluidframework/server-memory-orderer
124
- - @fluidframework/protocol-base
125
- - @fluidframework/server-routerlicious
126
- - @fluidframework/server-routerlicious-base
127
- - @fluidframework/server-services
128
- - @fluidframework/server-services-client
129
- - @fluidframework/server-services-core
130
- - @fluidframework/server-services-ordering-kafkanode
131
- - @fluidframework/server-services-ordering-rdkafka
132
- - @fluidframework/server-services-ordering-zookeeper
133
- - @fluidframework/server-services-shared
134
- - @fluidframework/server-services-telemetry
135
- - @fluidframework/server-services-utils
136
- - @fluidframework/server-test-utils
137
- - tinylicious
138
-
139
- - Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
140
-
141
- The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
142
- changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
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
- - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
169
-
170
- This included the following changes from the protocol-definitions release:
171
-
172
- - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
173
- submitted by clients to the server and the resulting signals sent from the server to clients.
174
- - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
175
- been added, which will be the typing for signals sent from the client to the server. Both extend a new
176
- ISignalMessageBase interface that contains common members.
177
- - The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
178
-
179
- - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
180
-
181
- Dependencies on the following Fluid server package have been updated to version 2.0.1:
182
-
183
- - @fluidframework/gitresources: 2.0.1
184
- - @fluidframework/server-kafka-orderer: 2.0.1
185
- - @fluidframework/server-lambdas: 2.0.1
186
- - @fluidframework/server-lambdas-driver: 2.0.1
187
- - @fluidframework/server-local-server: 2.0.1
188
- - @fluidframework/server-memory-orderer: 2.0.1
189
- - @fluidframework/protocol-base: 2.0.1
190
- - @fluidframework/server-routerlicious: 2.0.1
191
- - @fluidframework/server-routerlicious-base: 2.0.1
192
- - @fluidframework/server-services: 2.0.1
193
- - @fluidframework/server-services-client: 2.0.1
194
- - @fluidframework/server-services-core: 2.0.1
195
- - @fluidframework/server-services-ordering-kafkanode: 2.0.1
196
- - @fluidframework/server-services-ordering-rdkafka: 2.0.1
197
- - @fluidframework/server-services-ordering-zookeeper: 2.0.1
198
- - @fluidframework/server-services-shared: 2.0.1
199
- - @fluidframework/server-services-telemetry: 2.0.1
200
- - @fluidframework/server-services-utils: 2.0.1
201
- - @fluidframework/server-test-utils: 2.0.1
202
- - tinylicious: 2.0.1
203
-
204
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
205
-
206
- The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
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
 
@@ -225,9 +233,9 @@ Dependency updates only.
225
233
 
226
234
  ### Major Changes
227
235
 
228
- - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
236
+ - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
229
237
 
230
- 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.
238
+ 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.
231
239
 
232
240
  ## 2.0.0-internal.5.4.0
233
241
 
@@ -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/file-driver",
3
- "version": "2.23.0",
3
+ "version": "2.31.0",
4
4
  "description": "A driver that reads/write from/to local file storage.",
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.23.0",
41
- "@fluidframework/core-interfaces": "~2.23.0",
42
- "@fluidframework/core-utils": "~2.23.0",
43
- "@fluidframework/driver-definitions": "~2.23.0",
44
- "@fluidframework/driver-utils": "~2.23.0",
45
- "@fluidframework/replay-driver": "~2.23.0"
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/replay-driver": "~2.31.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@arethetypeswrong/cli": "^0.17.1",
@@ -51,13 +51,12 @@
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/file-driver-previous": "npm:@fluidframework/file-driver@2.22.0",
55
- "@microsoft/api-extractor": "7.47.8",
54
+ "@fluidframework/file-driver-previous": "npm:@fluidframework/file-driver@2.30.0",
55
+ "@microsoft/api-extractor": "7.50.1",
56
56
  "@types/node": "^18.19.0",
57
57
  "concurrently": "^8.2.1",
58
58
  "copyfiles": "^2.4.1",
59
59
  "eslint": "~8.55.0",
60
- "prettier": "~3.0.3",
61
60
  "rimraf": "^4.4.0",
62
61
  "typescript": "~5.4.5"
63
62
  },
@@ -92,14 +91,12 @@
92
91
  "check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
93
92
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
94
93
  "check:format": "npm run check:biome",
95
- "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
96
94
  "ci:build:docs": "api-extractor run",
97
95
  "clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
98
96
  "eslint": "eslint --format stylish src",
99
97
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
100
98
  "format": "npm run format:biome",
101
99
  "format:biome": "biome check . --write",
102
- "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
103
100
  "lint": "fluid-build . --task lint",
104
101
  "lint:fix": "fluid-build . --task eslint:fix --task format",
105
102
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && 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
- };