@fluidframework/azure-client 2.30.0 → 2.31.1
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 +120 -116
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +16 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @fluidframework/azure-client
|
|
2
2
|
|
|
3
|
+
## 2.31.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
3
7
|
## 2.30.0
|
|
4
8
|
|
|
5
9
|
Dependency updates only.
|
|
@@ -16,12 +20,12 @@ Dependency updates only.
|
|
|
16
20
|
|
|
17
21
|
### Minor Changes
|
|
18
22
|
|
|
19
|
-
-
|
|
23
|
+
- ITokenClaims and ScopeType types are now deprecated ([#23703](https://github.com/microsoft/FluidFramework/pull/23703)) [f679945775](https://github.com/microsoft/FluidFramework/commit/f67994577597aae6dc8b42f3c6557c744adc0964)
|
|
20
24
|
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
The `ITokenClaims` and `ScopeType` types in `@fluidframework/azure-client` are now deprecated. These were isolated types
|
|
26
|
+
re-exported for convenience but they do not directly interact with typical azure-client APIs.
|
|
23
27
|
|
|
24
|
-
|
|
28
|
+
See [issue #23702](https://github.com/microsoft/FluidFramework/issues/23702) for details and alternatives.
|
|
25
29
|
|
|
26
30
|
## 2.20.0
|
|
27
31
|
|
|
@@ -67,49 +71,49 @@ Dependency updates only.
|
|
|
67
71
|
|
|
68
72
|
### Minor Changes
|
|
69
73
|
|
|
70
|
-
-
|
|
74
|
+
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
|
|
71
75
|
|
|
72
|
-
|
|
76
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
73
77
|
|
|
74
|
-
-
|
|
78
|
+
- azure-client, tinylicious-client: compatibilityMode parameter added to createContainer and getContainer on AzureClient and TinyliciousClient ([#20997](https://github.com/microsoft/FluidFramework/pull/20997)) [2730787209](https://github.com/microsoft/FluidFramework/commit/2730787209a60155752d51da3c78cf97e1b5f3f9)
|
|
75
79
|
|
|
76
|
-
|
|
80
|
+
To support migration from 1.x to 2.0, a compatibility mode parameter has been added to these methods on AzureClient and TinyliciousClient. When set to "1", this allows interop between the 2.0 clients and 1.x clients. When set to "2", interop with 1.x clients is disallowed but new 2.0 features may be used.
|
|
77
81
|
|
|
78
82
|
## 2.0.0-rc.4.0.0
|
|
79
83
|
|
|
80
84
|
### Minor Changes
|
|
81
85
|
|
|
82
|
-
-
|
|
86
|
+
- Rename `AzureMember.userName` to `AzureMember.name` and `IMember.userId` to `IMember.id` [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
83
87
|
|
|
84
|
-
|
|
85
|
-
|
|
88
|
+
1. Renamed `AzureMember.userName` to `AzureMember.name` to establish uniform naming across odsp-client and azure-client.
|
|
89
|
+
2. Renamed `IMember.userId` to `IMember.id` to align with the properties received from AFR.
|
|
86
90
|
|
|
87
|
-
-
|
|
91
|
+
- copyContainer API replaced by the viewContainerVersion API [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
88
92
|
|
|
89
|
-
|
|
93
|
+
The copyContainer API has been removed in favor of the viewContainerVersion API. viewContainerVersion does not automatically produce a new container, but instead retrieves the existing container version for reading only. To produce a new container with the data, use the normal createContainer API surface and write the data prior to attaching it.
|
|
90
94
|
|
|
91
95
|
## 2.0.0-rc.3.0.0
|
|
92
96
|
|
|
93
97
|
### Major Changes
|
|
94
98
|
|
|
95
|
-
-
|
|
99
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
96
100
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
101
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
102
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
103
|
+
TypeScript types and implementation code.
|
|
100
104
|
|
|
101
|
-
|
|
105
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
102
106
|
|
|
103
|
-
|
|
104
|
-
|
|
107
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
108
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
105
109
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
111
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
112
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
113
|
+
regarding the module and moduleResolution options.
|
|
110
114
|
|
|
111
|
-
|
|
112
|
-
|
|
115
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
116
|
+
to distinguish stable APIs from those that are in development.**
|
|
113
117
|
|
|
114
118
|
## 2.0.0-rc.2.0.0
|
|
115
119
|
|
|
@@ -119,67 +123,67 @@ Dependency updates only.
|
|
|
119
123
|
|
|
120
124
|
### Minor Changes
|
|
121
125
|
|
|
122
|
-
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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)
|
|
151
155
|
|
|
152
156
|
## 2.0.0-internal.8.0.0
|
|
153
157
|
|
|
154
158
|
### Major Changes
|
|
155
159
|
|
|
156
|
-
-
|
|
160
|
+
- azure-client: Removed deprecated FluidStatic classes [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
|
|
157
161
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
162
|
+
Several FluidStatic classes were unnecessarily exposed and were deprecated in an earlier release. They have been replaced with creation functions. This helps us
|
|
163
|
+
keep implementations decoupled from usage which is easier to maintain and extend. It has very minimal impact on the
|
|
164
|
+
public surface area of downstream packages. The removed classes are as follows:
|
|
161
165
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
166
|
+
- `AzureAudience` (use `IAzureAudience` instead)
|
|
167
|
+
- `TinyliciousAudience` (use `ITinyliciousAudience` instead)
|
|
168
|
+
- `DOProviderContainerRuntimeFactory`
|
|
169
|
+
- `FluidContainer`
|
|
170
|
+
- `ServiceAudience`
|
|
167
171
|
|
|
168
172
|
## 2.0.0-internal.7.4.0
|
|
169
173
|
|
|
170
174
|
### Minor Changes
|
|
171
175
|
|
|
172
|
-
-
|
|
176
|
+
- azure-client: Deprecated FluidStatic Classes ([#18402](https://github.com/microsoft/FluidFramework/issues/18402)) [589ec39de5](https://github.com/microsoft/FluidFramework/commits/589ec39de52116c7f782319e6f6aa61bc5aa9964)
|
|
173
177
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
178
|
+
Several FluidStatic classes were unnecessarily exposed. They have been replaced with creation functions. This helps us
|
|
179
|
+
keep implementations decoupled from usage which is easier to maintain and extend. It has very minimal impact on the
|
|
180
|
+
public surface area of downstream packages. The deprecated classes are as follows:
|
|
177
181
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
182
|
+
- `AzureAudience` (use `IAzureAudience` instead)
|
|
183
|
+
- `TinyliciousAudience` (use `ITinyliciousAudience` instead)
|
|
184
|
+
- `DOProviderContainerRuntimeFactory`
|
|
185
|
+
- `FluidContainer`
|
|
186
|
+
- `ServiceAudience`
|
|
183
187
|
|
|
184
188
|
## 2.0.0-internal.7.3.0
|
|
185
189
|
|
|
@@ -197,45 +201,45 @@ Dependency updates only.
|
|
|
197
201
|
|
|
198
202
|
### Major Changes
|
|
199
203
|
|
|
200
|
-
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
-
|
|
237
|
-
|
|
238
|
-
|
|
204
|
+
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
205
|
+
|
|
206
|
+
This included the following changes from the protocol-definitions release:
|
|
207
|
+
|
|
208
|
+
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
209
|
+
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
210
|
+
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
211
|
+
been added, which will be the typing for signals sent from the client to the server. Both extend a new
|
|
212
|
+
ISignalMessageBase interface that contains common members.
|
|
213
|
+
- The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
|
|
214
|
+
|
|
215
|
+
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
216
|
+
|
|
217
|
+
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
218
|
+
|
|
219
|
+
- @fluidframework/gitresources: 2.0.1
|
|
220
|
+
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
221
|
+
- @fluidframework/server-lambdas: 2.0.1
|
|
222
|
+
- @fluidframework/server-lambdas-driver: 2.0.1
|
|
223
|
+
- @fluidframework/server-local-server: 2.0.1
|
|
224
|
+
- @fluidframework/server-memory-orderer: 2.0.1
|
|
225
|
+
- @fluidframework/protocol-base: 2.0.1
|
|
226
|
+
- @fluidframework/server-routerlicious: 2.0.1
|
|
227
|
+
- @fluidframework/server-routerlicious-base: 2.0.1
|
|
228
|
+
- @fluidframework/server-services: 2.0.1
|
|
229
|
+
- @fluidframework/server-services-client: 2.0.1
|
|
230
|
+
- @fluidframework/server-services-core: 2.0.1
|
|
231
|
+
- @fluidframework/server-services-ordering-kafkanode: 2.0.1
|
|
232
|
+
- @fluidframework/server-services-ordering-rdkafka: 2.0.1
|
|
233
|
+
- @fluidframework/server-services-ordering-zookeeper: 2.0.1
|
|
234
|
+
- @fluidframework/server-services-shared: 2.0.1
|
|
235
|
+
- @fluidframework/server-services-telemetry: 2.0.1
|
|
236
|
+
- @fluidframework/server-services-utils: 2.0.1
|
|
237
|
+
- @fluidframework/server-test-utils: 2.0.1
|
|
238
|
+
- tinylicious: 2.0.1
|
|
239
|
+
|
|
240
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
241
|
+
|
|
242
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
239
243
|
|
|
240
244
|
## 2.0.0-internal.6.4.0
|
|
241
245
|
|
|
@@ -257,9 +261,9 @@ Dependency updates only.
|
|
|
257
261
|
|
|
258
262
|
### Major Changes
|
|
259
263
|
|
|
260
|
-
-
|
|
264
|
+
- Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
261
265
|
|
|
262
|
-
|
|
266
|
+
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.
|
|
263
267
|
|
|
264
268
|
## 2.0.0-internal.5.4.0
|
|
265
269
|
|
|
@@ -289,6 +293,6 @@ Dependency updates only.
|
|
|
289
293
|
|
|
290
294
|
### Minor Changes
|
|
291
295
|
|
|
292
|
-
-
|
|
296
|
+
- Feature: Gated experimental features ([#15029](https://github.com/microsoft/FluidFramework/pull-requests/15029)) [fc74ff201a](https://github.com/microsoft/FluidFramework/commits/fc74ff201a738a44c42fdc91323d8469ec6a50f2)
|
|
293
297
|
|
|
294
|
-
|
|
298
|
+
You can now opt in to experimental Fluid Framework features when using `AzureClient`.
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/azure-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.1",
|
|
4
4
|
"description": "A tool to enable creation and loading of Fluid containers using the Azure Fluid Relay service",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -47,28 +47,28 @@
|
|
|
47
47
|
"main": "lib/index.js",
|
|
48
48
|
"types": "lib/public.d.ts",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@fluidframework/container-definitions": "~2.
|
|
51
|
-
"@fluidframework/container-loader": "~2.
|
|
52
|
-
"@fluidframework/core-interfaces": "~2.
|
|
53
|
-
"@fluidframework/core-utils": "~2.
|
|
54
|
-
"@fluidframework/driver-definitions": "~2.
|
|
55
|
-
"@fluidframework/driver-utils": "~2.
|
|
56
|
-
"@fluidframework/fluid-static": "~2.
|
|
57
|
-
"@fluidframework/routerlicious-driver": "~2.
|
|
58
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
50
|
+
"@fluidframework/container-definitions": "~2.31.1",
|
|
51
|
+
"@fluidframework/container-loader": "~2.31.1",
|
|
52
|
+
"@fluidframework/core-interfaces": "~2.31.1",
|
|
53
|
+
"@fluidframework/core-utils": "~2.31.1",
|
|
54
|
+
"@fluidframework/driver-definitions": "~2.31.1",
|
|
55
|
+
"@fluidframework/driver-utils": "~2.31.1",
|
|
56
|
+
"@fluidframework/fluid-static": "~2.31.1",
|
|
57
|
+
"@fluidframework/routerlicious-driver": "~2.31.1",
|
|
58
|
+
"@fluidframework/telemetry-utils": "~2.31.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
62
62
|
"@biomejs/biome": "~1.9.3",
|
|
63
63
|
"@fluid-tools/build-cli": "^0.54.0",
|
|
64
|
-
"@fluidframework/azure-client-previous": "npm:@fluidframework/azure-client@2.
|
|
65
|
-
"@fluidframework/azure-local-service": "~2.
|
|
64
|
+
"@fluidframework/azure-client-previous": "npm:@fluidframework/azure-client@2.31.0",
|
|
65
|
+
"@fluidframework/azure-local-service": "~2.31.1",
|
|
66
66
|
"@fluidframework/build-common": "^2.0.3",
|
|
67
67
|
"@fluidframework/build-tools": "^0.54.0",
|
|
68
68
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
69
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
70
|
-
"@fluidframework/test-utils": "~2.
|
|
71
|
-
"@microsoft/api-extractor": "7.
|
|
69
|
+
"@fluidframework/test-runtime-utils": "~2.31.1",
|
|
70
|
+
"@fluidframework/test-utils": "~2.31.1",
|
|
71
|
+
"@microsoft/api-extractor": "7.50.1",
|
|
72
72
|
"@types/mocha": "^10.0.10",
|
|
73
73
|
"@types/node": "^18.19.0",
|
|
74
74
|
"@types/uuid": "^9.0.2",
|
|
@@ -77,9 +77,8 @@
|
|
|
77
77
|
"cross-env": "^7.0.3",
|
|
78
78
|
"eslint": "~8.55.0",
|
|
79
79
|
"eslint-config-prettier": "~9.0.0",
|
|
80
|
-
"fluid-framework": "~2.
|
|
80
|
+
"fluid-framework": "~2.31.1",
|
|
81
81
|
"mocha": "^10.8.2",
|
|
82
|
-
"prettier": "~3.0.3",
|
|
83
82
|
"rimraf": "^4.4.0",
|
|
84
83
|
"start-server-and-test": "^2.0.3",
|
|
85
84
|
"typescript": "~5.4.5",
|
|
@@ -113,7 +112,6 @@
|
|
|
113
112
|
"check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
|
|
114
113
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
115
114
|
"check:format": "npm run check:biome",
|
|
116
|
-
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
117
115
|
"ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
|
|
118
116
|
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
119
117
|
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
@@ -123,7 +121,6 @@
|
|
|
123
121
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
124
122
|
"format": "npm run format:biome",
|
|
125
123
|
"format:biome": "biome check . --write",
|
|
126
|
-
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
127
124
|
"lint": "fluid-build . --task lint",
|
|
128
125
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
129
126
|
"start:tinylicious:test": "npx @fluidframework/azure-local-service > tinylicious.log 2>&1",
|