@fluidframework/file-driver 2.30.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,9 @@
1
1
  # @fluidframework/file-driver
2
2
 
3
+ ## 2.31.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.30.0
4
8
 
5
9
  Dependency updates only.
@@ -60,9 +64,9 @@ Dependency updates only.
60
64
 
61
65
  ### Minor Changes
62
66
 
63
- - 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)
64
68
 
65
- Update package implementations to use TypeScript 5.4.5.
69
+ Update package implementations to use TypeScript 5.4.5.
66
70
 
67
71
  ## 2.0.0-rc.4.0.0
68
72
 
@@ -72,78 +76,78 @@ Dependency updates only.
72
76
 
73
77
  ### Major Changes
74
78
 
75
- - 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)
76
80
 
77
- Fluid Framework packages have been updated to use the [package.json "exports"
78
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
79
- 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.
80
84
 
81
- 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:
82
86
 
83
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
84
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
87
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
88
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
85
89
 
86
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
87
- for use with modern versions of Node.js _and_ Bundlers.
88
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
89
- 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.
90
94
 
91
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
92
- 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.**
93
97
 
94
98
  ## 2.0.0-rc.2.0.0
95
99
 
96
100
  ### Minor Changes
97
101
 
98
- - 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)
99
103
 
100
- `ISnapshotContents` is deprecated. It has been replaced with `ISnapshot`.
104
+ `ISnapshotContents` is deprecated. It has been replaced with `ISnapshot`.
101
105
 
102
- - 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)
103
107
 
104
- 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.
105
109
 
106
- - 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)
107
111
 
108
- Added `containerMetadata` prop on IContainer interface.
112
+ Added `containerMetadata` prop on IContainer interface.
109
113
 
110
- - 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)
111
115
 
112
- 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.
113
117
 
114
118
  ## 2.0.0-rc.1.0.0
115
119
 
116
120
  ### Minor Changes
117
121
 
118
- - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
119
-
120
- 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)
121
-
122
- - @fluidframework/gitresources
123
- - @fluidframework/server-kafka-orderer
124
- - @fluidframework/server-lambdas
125
- - @fluidframework/server-lambdas-driver
126
- - @fluidframework/server-local-server
127
- - @fluidframework/server-memory-orderer
128
- - @fluidframework/protocol-base
129
- - @fluidframework/server-routerlicious
130
- - @fluidframework/server-routerlicious-base
131
- - @fluidframework/server-services
132
- - @fluidframework/server-services-client
133
- - @fluidframework/server-services-core
134
- - @fluidframework/server-services-ordering-kafkanode
135
- - @fluidframework/server-services-ordering-rdkafka
136
- - @fluidframework/server-services-ordering-zookeeper
137
- - @fluidframework/server-services-shared
138
- - @fluidframework/server-services-telemetry
139
- - @fluidframework/server-services-utils
140
- - @fluidframework/server-test-utils
141
- - tinylicious
142
-
143
- - Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
144
-
145
- The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
146
- 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)
147
151
 
148
152
  ## 2.0.0-internal.8.0.0
149
153
 
@@ -169,45 +173,45 @@ Dependency updates only.
169
173
 
170
174
  ### Major Changes
171
175
 
172
- - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
173
-
174
- This included the following changes from the protocol-definitions release:
175
-
176
- - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
177
- submitted by clients to the server and the resulting signals sent from the server to clients.
178
- - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
179
- been added, which will be the typing for signals sent from the client to the server. Both extend a new
180
- ISignalMessageBase interface that contains common members.
181
- - The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
182
-
183
- - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
184
-
185
- Dependencies on the following Fluid server package have been updated to version 2.0.1:
186
-
187
- - @fluidframework/gitresources: 2.0.1
188
- - @fluidframework/server-kafka-orderer: 2.0.1
189
- - @fluidframework/server-lambdas: 2.0.1
190
- - @fluidframework/server-lambdas-driver: 2.0.1
191
- - @fluidframework/server-local-server: 2.0.1
192
- - @fluidframework/server-memory-orderer: 2.0.1
193
- - @fluidframework/protocol-base: 2.0.1
194
- - @fluidframework/server-routerlicious: 2.0.1
195
- - @fluidframework/server-routerlicious-base: 2.0.1
196
- - @fluidframework/server-services: 2.0.1
197
- - @fluidframework/server-services-client: 2.0.1
198
- - @fluidframework/server-services-core: 2.0.1
199
- - @fluidframework/server-services-ordering-kafkanode: 2.0.1
200
- - @fluidframework/server-services-ordering-rdkafka: 2.0.1
201
- - @fluidframework/server-services-ordering-zookeeper: 2.0.1
202
- - @fluidframework/server-services-shared: 2.0.1
203
- - @fluidframework/server-services-telemetry: 2.0.1
204
- - @fluidframework/server-services-utils: 2.0.1
205
- - @fluidframework/server-test-utils: 2.0.1
206
- - tinylicious: 2.0.1
207
-
208
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
209
-
210
- 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.
211
215
 
212
216
  ## 2.0.0-internal.6.4.0
213
217
 
@@ -229,9 +233,9 @@ Dependency updates only.
229
233
 
230
234
  ### Major Changes
231
235
 
232
- - 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)
233
237
 
234
- 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.
235
239
 
236
240
  ## 2.0.0-internal.5.4.0
237
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.30.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.30.0",
41
- "@fluidframework/core-interfaces": "~2.30.0",
42
- "@fluidframework/core-utils": "~2.30.0",
43
- "@fluidframework/driver-definitions": "~2.30.0",
44
- "@fluidframework/driver-utils": "~2.30.0",
45
- "@fluidframework/replay-driver": "~2.30.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.23.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
- };