@fluidframework/map 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/map
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.
@@ -12,15 +20,15 @@ Dependency updates only.
12
20
 
13
21
  ### Minor Changes
14
22
 
15
- - SharedMap, SharedIntervalCollection and AttributableMap now throw an error when they encounter unrecognized Ops ([#23659](https://github.com/microsoft/FluidFramework/pull/23659)) [3dd4208dd3](https://github.com/microsoft/FluidFramework/commit/3dd4208dd329a9200c4405f07e302b0ab1ff6159)
23
+ - SharedMap, SharedIntervalCollection and AttributableMap now throw an error when they encounter unrecognized Ops ([#23659](https://github.com/microsoft/FluidFramework/pull/23659)) [3dd4208dd3](https://github.com/microsoft/FluidFramework/commit/3dd4208dd329a9200c4405f07e302b0ab1ff6159)
16
24
 
17
- To avoid future versions of DDSes with new Op types causing silent data corruption and de-sync between clients,
18
- DDSes should error when unable to apply an Op.
19
- This prevents data loss and corruption scenarios like a summary client using old code discarding all Ops from newer clients.
25
+ To avoid future versions of DDSes with new Op types causing silent data corruption and de-sync between clients,
26
+ DDSes should error when unable to apply an Op.
27
+ This prevents data loss and corruption scenarios like a summary client using old code discarding all Ops from newer clients.
20
28
 
21
- If updating applications using SharedMap, SharedIntervalCollection and AttributableMap use a newer version which adds Ops types in the future,
22
- old clients which are old enough to be from before this fix will ignore the new ops instead of erroring.
23
- Therefore it may be useful to ensure this update is deployed as widely as possible before migrating any to newer versions which add new op formats to these DDSes.
29
+ If updating applications using SharedMap, SharedIntervalCollection and AttributableMap use a newer version which adds Ops types in the future,
30
+ old clients which are old enough to be from before this fix will ignore the new ops instead of erroring.
31
+ Therefore it may be useful to ensure this update is deployed as widely as possible before migrating any to newer versions which add new op formats to these DDSes.
24
32
 
25
33
  ## 2.20.0
26
34
 
@@ -62,154 +70,154 @@ Dependency updates only.
62
70
 
63
71
  ### Minor Changes
64
72
 
65
- - Some SharedDirectory/SharedMap-related APIs have been sealed ([#21836](https://github.com/microsoft/FluidFramework/pull/21836)) [b1d0427eab](https://github.com/microsoft/FluidFramework/commit/b1d0427eab3fcd55588dd80996967133db66f1b8)
73
+ - Some SharedDirectory/SharedMap-related APIs have been sealed ([#21836](https://github.com/microsoft/FluidFramework/pull/21836)) [b1d0427eab](https://github.com/microsoft/FluidFramework/commit/b1d0427eab3fcd55588dd80996967133db66f1b8)
66
74
 
67
- Note that this is a _documentation only change._ There is no runtime or type-level impact.
75
+ Note that this is a _documentation only change._ There is no runtime or type-level impact.
68
76
 
69
- Some top-level APIs within `@fluidframework/map` and `fluid-framework` have been updated to reflect their
70
- sealed/readonly nature. That is, they are not to be implemented externally to Fluid Framework and not changed. This was
71
- already the case, but the documentation was not clear.
77
+ Some top-level APIs within `@fluidframework/map` and `fluid-framework` have been updated to reflect their
78
+ sealed/readonly nature. That is, they are not to be implemented externally to Fluid Framework and not changed. This was
79
+ already the case, but the documentation was not clear.
72
80
 
73
- Updated APIs:
81
+ Updated APIs:
74
82
 
75
- - [IDirectory](https://fluidframework.com/docs/api/v2/fluid-framework/idirectory-interface) sealed
76
- - [IDirectoryEvents](https://fluidframework.com/docs/api/v2/fluid-framework/idirectoryevents-interface) sealed
77
- - [IDirectoryValueChanged](https://fluidframework.com/docs/api/v2/fluid-framework/idirectoryvaluechanged-interface) sealed and path property is readonly
78
- - [ISharedDirectory](https://fluidframework.com/docs/api/v2/fluid-framework/ishareddirectory-interface) sealed
79
- - [ISharedDirectoryEvents](https://fluidframework.com/docs/api/v2/fluid-framework/ishareddirectoryevents-interface) sealed
80
- - [IValueChanged](https://fluidframework.com/docs/api/v2/fluid-framework/ivaluechanged-interface) sealed
83
+ - [IDirectory](https://fluidframework.com/docs/api/v2/fluid-framework/idirectory-interface) sealed
84
+ - [IDirectoryEvents](https://fluidframework.com/docs/api/v2/fluid-framework/idirectoryevents-interface) sealed
85
+ - [IDirectoryValueChanged](https://fluidframework.com/docs/api/v2/fluid-framework/idirectoryvaluechanged-interface) sealed and path property is readonly
86
+ - [ISharedDirectory](https://fluidframework.com/docs/api/v2/fluid-framework/ishareddirectory-interface) sealed
87
+ - [ISharedDirectoryEvents](https://fluidframework.com/docs/api/v2/fluid-framework/ishareddirectoryevents-interface) sealed
88
+ - [IValueChanged](https://fluidframework.com/docs/api/v2/fluid-framework/ivaluechanged-interface) sealed
81
89
 
82
90
  ## 2.0.0-rc.5.0.0
83
91
 
84
92
  ### Minor Changes
85
93
 
86
- - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
94
+ - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
87
95
 
88
- Update package implementations to use TypeScript 5.4.5.
96
+ Update package implementations to use TypeScript 5.4.5.
89
97
 
90
98
  ## 2.0.0-rc.4.0.0
91
99
 
92
100
  ### Minor Changes
93
101
 
94
- - Deprecated members of IFluidHandle are split off into new IFluidHandleInternal interface [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
102
+ - Deprecated members of IFluidHandle are split off into new IFluidHandleInternal interface [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
95
103
 
96
- Split IFluidHandle into two interfaces, `IFluidHandle` and `IFluidHandleInternal`.
97
- Code depending on the previously deprecated members of IFluidHandle can access them by using `toFluidHandleInternal` from `@fluidframework/runtime-utils/legacy`.
104
+ Split IFluidHandle into two interfaces, `IFluidHandle` and `IFluidHandleInternal`.
105
+ Code depending on the previously deprecated members of IFluidHandle can access them by using `toFluidHandleInternal` from `@fluidframework/runtime-utils/legacy`.
98
106
 
99
- External implementation of the `IFluidHandle` interface are not supported: this change makes the typing better convey this using the `ErasedType` pattern.
100
- Any existing and previously working, and now broken, external implementations of `IFluidHandle` should still work at runtime, but will need some unsafe type casts to compile.
101
- Such handle implementation may break in the future and thus should be replaced with use of handles produced by the Fluid Framework client packages.
107
+ External implementation of the `IFluidHandle` interface are not supported: this change makes the typing better convey this using the `ErasedType` pattern.
108
+ Any existing and previously working, and now broken, external implementations of `IFluidHandle` should still work at runtime, but will need some unsafe type casts to compile.
109
+ Such handle implementation may break in the future and thus should be replaced with use of handles produced by the Fluid Framework client packages.
102
110
 
103
111
  ## 2.0.0-rc.3.0.0
104
112
 
105
113
  ### Major Changes
106
114
 
107
- - fluid-framework: DDS classes are no longer publicly exported [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
115
+ - fluid-framework: DDS classes are no longer publicly exported [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
108
116
 
109
- SharedDirectory now only exports its factory and the interface type.
110
- The actual concrete classes which leak implementation details are no longer exported.
111
- Users of the `SharedDirectory` type should use `ISharedDirectory`.
117
+ SharedDirectory now only exports its factory and the interface type.
118
+ The actual concrete classes which leak implementation details are no longer exported.
119
+ Users of the `SharedDirectory` type should use `ISharedDirectory`.
112
120
 
113
- Most of other internal crufts are also hided within the API surface, such as the encoded format,
114
- ILocalValue, ICreateInfo, local op metadata types, etc.
121
+ Most of other internal crufts are also hided within the API surface, such as the encoded format,
122
+ ILocalValue, ICreateInfo, local op metadata types, etc.
115
123
 
116
- - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
124
+ - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
117
125
 
118
- Fluid Framework packages have been updated to use the [package.json "exports"
119
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
120
- TypeScript types and implementation code.
126
+ Fluid Framework packages have been updated to use the [package.json "exports"
127
+ field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
128
+ TypeScript types and implementation code.
121
129
 
122
- This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
130
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
123
131
 
124
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
125
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
132
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
133
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
126
134
 
127
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
128
- for use with modern versions of Node.js _and_ Bundlers.
129
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
130
- regarding the module and moduleResolution options.
135
+ We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
136
+ for use with modern versions of Node.js _and_ Bundlers.
137
+ [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
138
+ regarding the module and moduleResolution options.
131
139
 
132
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
133
- to distinguish stable APIs from those that are in development.**
140
+ **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
141
+ to distinguish stable APIs from those that are in development.**
134
142
 
135
143
  ### Minor Changes
136
144
 
137
- - fluid-framework: Replace SharedObjectClass with new ISharedObjectKind type. [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
145
+ - fluid-framework: Replace SharedObjectClass with new ISharedObjectKind type. [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
138
146
 
139
- The static objects used as SharedObjectClass now explicitly implement the new ISharedObjectKind type.
140
- SharedObjectClass has been removed as ISharedObjectKind now fills that role.
141
- LoadableObjectCtor has been inlined as it only had one use: an external user of it can replace it with `(new (...args: any[]) => T)`.
147
+ The static objects used as SharedObjectClass now explicitly implement the new ISharedObjectKind type.
148
+ SharedObjectClass has been removed as ISharedObjectKind now fills that role.
149
+ LoadableObjectCtor has been inlined as it only had one use: an external user of it can replace it with `(new (...args: any[]) => T)`.
142
150
 
143
- - fluid-framework: Make some interface members readonly [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
151
+ - fluid-framework: Make some interface members readonly [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
144
152
 
145
- Remove unneeded mutability from some interface members.
153
+ Remove unneeded mutability from some interface members.
146
154
 
147
155
  ## 2.0.0-rc.2.0.0
148
156
 
149
157
  ### Minor Changes
150
158
 
151
- - map, tree: DDS classes are no longer publicly exported ([#19717](https://github.com/microsoft/FluidFramework/issues/19717)) [ae1d0be26d](https://github.com/microsoft/FluidFramework/commits/ae1d0be26d61453cff316b3f622a9f3647149167)
159
+ - map, tree: DDS classes are no longer publicly exported ([#19717](https://github.com/microsoft/FluidFramework/issues/19717)) [ae1d0be26d](https://github.com/microsoft/FluidFramework/commits/ae1d0be26d61453cff316b3f622a9f3647149167)
152
160
 
153
- SharedMap and SharedTree now only export their factories and the interface types.
154
- The actual concrete classes which leak implementation details are no longer exported.
155
- Users of the `SharedMap` type should use `ISharedMap`.
156
- Users of the `SharedTree` type should use `ISharedTree`.
161
+ SharedMap and SharedTree now only export their factories and the interface types.
162
+ The actual concrete classes which leak implementation details are no longer exported.
163
+ Users of the `SharedMap` type should use `ISharedMap`.
164
+ Users of the `SharedTree` type should use `ISharedTree`.
157
165
 
158
166
  ## 2.0.0-rc.1.0.0
159
167
 
160
168
  ### Minor Changes
161
169
 
162
- - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
163
-
164
- 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)
165
-
166
- - @fluidframework/gitresources
167
- - @fluidframework/server-kafka-orderer
168
- - @fluidframework/server-lambdas
169
- - @fluidframework/server-lambdas-driver
170
- - @fluidframework/server-local-server
171
- - @fluidframework/server-memory-orderer
172
- - @fluidframework/protocol-base
173
- - @fluidframework/server-routerlicious
174
- - @fluidframework/server-routerlicious-base
175
- - @fluidframework/server-services
176
- - @fluidframework/server-services-client
177
- - @fluidframework/server-services-core
178
- - @fluidframework/server-services-ordering-kafkanode
179
- - @fluidframework/server-services-ordering-rdkafka
180
- - @fluidframework/server-services-ordering-zookeeper
181
- - @fluidframework/server-services-shared
182
- - @fluidframework/server-services-telemetry
183
- - @fluidframework/server-services-utils
184
- - @fluidframework/server-test-utils
185
- - tinylicious
186
-
187
- - Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
188
-
189
- The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
190
- changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
170
+ - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
171
+
172
+ 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)
173
+
174
+ - @fluidframework/gitresources
175
+ - @fluidframework/server-kafka-orderer
176
+ - @fluidframework/server-lambdas
177
+ - @fluidframework/server-lambdas-driver
178
+ - @fluidframework/server-local-server
179
+ - @fluidframework/server-memory-orderer
180
+ - @fluidframework/protocol-base
181
+ - @fluidframework/server-routerlicious
182
+ - @fluidframework/server-routerlicious-base
183
+ - @fluidframework/server-services
184
+ - @fluidframework/server-services-client
185
+ - @fluidframework/server-services-core
186
+ - @fluidframework/server-services-ordering-kafkanode
187
+ - @fluidframework/server-services-ordering-rdkafka
188
+ - @fluidframework/server-services-ordering-zookeeper
189
+ - @fluidframework/server-services-shared
190
+ - @fluidframework/server-services-telemetry
191
+ - @fluidframework/server-services-utils
192
+ - @fluidframework/server-test-utils
193
+ - tinylicious
194
+
195
+ - Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
196
+
197
+ The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
198
+ changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
191
199
 
192
200
  ## 2.0.0-internal.8.0.0
193
201
 
194
202
  ### Major Changes
195
203
 
196
- - datastore-definitions: Jsonable and Serializable now require a generic parameter [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
204
+ - datastore-definitions: Jsonable and Serializable now require a generic parameter [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
197
205
 
198
- The `Jsonable` and `Serializable` types from @fluidframework/datastore-definitions now require a generic parameter and
199
- if that type is `any` or `unknown`will return a new result `JsonableTypeWith<>` that more accurately represents the
200
- limitation of serialization.
206
+ The `Jsonable` and `Serializable` types from @fluidframework/datastore-definitions now require a generic parameter and
207
+ if that type is `any` or `unknown`will return a new result `JsonableTypeWith<>` that more accurately represents the
208
+ limitation of serialization.
201
209
 
202
- Additional modifications:
210
+ Additional modifications:
203
211
 
204
- - `Jsonable`'s `TReplacement` parameter default has also been changed from `void` to `never`, which now disallows
205
- `void`.
206
- - Unrecognized primitive types like `symbol` are now filtered to `never` instead of `{}`.
207
- - Recursive types with arrays (`[]`) are now supported.
212
+ - `Jsonable`'s `TReplacement` parameter default has also been changed from `void` to `never`, which now disallows
213
+ `void`.
214
+ - Unrecognized primitive types like `symbol` are now filtered to `never` instead of `{}`.
215
+ - Recursive types with arrays (`[]`) are now supported.
208
216
 
209
- `Serializable` is commonly used for DDS values and now requires more precision when using them. For example SharedMatrix
210
- (unqualified) has an `any` default that meant values were `Serializable<any>` (i.e. `any`), but now `Serializable<any>`
211
- is `JsonableTypeWith<IFluidHandle>` which may be problematic for reading or writing. Preferred correction is to specify
212
- the value type but casting through `any` may provide a quick fix.
217
+ `Serializable` is commonly used for DDS values and now requires more precision when using them. For example SharedMatrix
218
+ (unqualified) has an `any` default that meant values were `Serializable<any>` (i.e. `any`), but now `Serializable<any>`
219
+ is `JsonableTypeWith<IFluidHandle>` which may be problematic for reading or writing. Preferred correction is to specify
220
+ the value type but casting through `any` may provide a quick fix.
213
221
 
214
222
  ## 2.0.0-internal.7.4.0
215
223
 
@@ -231,45 +239,45 @@ Dependency updates only.
231
239
 
232
240
  ### Major Changes
233
241
 
234
- - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
235
-
236
- This included the following changes from the protocol-definitions release:
237
-
238
- - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
239
- submitted by clients to the server and the resulting signals sent from the server to clients.
240
- - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
241
- been added, which will be the typing for signals sent from the client to the server. Both extend a new
242
- ISignalMessageBase interface that contains common members.
243
- - The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
244
-
245
- - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
246
-
247
- Dependencies on the following Fluid server package have been updated to version 2.0.1:
248
-
249
- - @fluidframework/gitresources: 2.0.1
250
- - @fluidframework/server-kafka-orderer: 2.0.1
251
- - @fluidframework/server-lambdas: 2.0.1
252
- - @fluidframework/server-lambdas-driver: 2.0.1
253
- - @fluidframework/server-local-server: 2.0.1
254
- - @fluidframework/server-memory-orderer: 2.0.1
255
- - @fluidframework/protocol-base: 2.0.1
256
- - @fluidframework/server-routerlicious: 2.0.1
257
- - @fluidframework/server-routerlicious-base: 2.0.1
258
- - @fluidframework/server-services: 2.0.1
259
- - @fluidframework/server-services-client: 2.0.1
260
- - @fluidframework/server-services-core: 2.0.1
261
- - @fluidframework/server-services-ordering-kafkanode: 2.0.1
262
- - @fluidframework/server-services-ordering-rdkafka: 2.0.1
263
- - @fluidframework/server-services-ordering-zookeeper: 2.0.1
264
- - @fluidframework/server-services-shared: 2.0.1
265
- - @fluidframework/server-services-telemetry: 2.0.1
266
- - @fluidframework/server-services-utils: 2.0.1
267
- - @fluidframework/server-test-utils: 2.0.1
268
- - tinylicious: 2.0.1
269
-
270
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
271
-
272
- The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
242
+ - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
243
+
244
+ This included the following changes from the protocol-definitions release:
245
+
246
+ - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
247
+ submitted by clients to the server and the resulting signals sent from the server to clients.
248
+ - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
249
+ been added, which will be the typing for signals sent from the client to the server. Both extend a new
250
+ ISignalMessageBase interface that contains common members.
251
+ - The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
252
+
253
+ - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
254
+
255
+ Dependencies on the following Fluid server package have been updated to version 2.0.1:
256
+
257
+ - @fluidframework/gitresources: 2.0.1
258
+ - @fluidframework/server-kafka-orderer: 2.0.1
259
+ - @fluidframework/server-lambdas: 2.0.1
260
+ - @fluidframework/server-lambdas-driver: 2.0.1
261
+ - @fluidframework/server-local-server: 2.0.1
262
+ - @fluidframework/server-memory-orderer: 2.0.1
263
+ - @fluidframework/protocol-base: 2.0.1
264
+ - @fluidframework/server-routerlicious: 2.0.1
265
+ - @fluidframework/server-routerlicious-base: 2.0.1
266
+ - @fluidframework/server-services: 2.0.1
267
+ - @fluidframework/server-services-client: 2.0.1
268
+ - @fluidframework/server-services-core: 2.0.1
269
+ - @fluidframework/server-services-ordering-kafkanode: 2.0.1
270
+ - @fluidframework/server-services-ordering-rdkafka: 2.0.1
271
+ - @fluidframework/server-services-ordering-zookeeper: 2.0.1
272
+ - @fluidframework/server-services-shared: 2.0.1
273
+ - @fluidframework/server-services-telemetry: 2.0.1
274
+ - @fluidframework/server-services-utils: 2.0.1
275
+ - @fluidframework/server-test-utils: 2.0.1
276
+ - tinylicious: 2.0.1
277
+
278
+ - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
279
+
280
+ The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
273
281
 
274
282
  ## 2.0.0-internal.6.4.0
275
283
 
@@ -283,32 +291,32 @@ Dependency updates only.
283
291
 
284
292
  ### Minor Changes
285
293
 
286
- - Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
287
-
288
- The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
289
- imported from the **@fluidframework/core-interfaces** package:
290
-
291
- - interface IDisposable
292
- - interface IErrorEvent
293
- - interface IErrorEvent
294
- - interface IEvent
295
- - interface IEventProvider
296
- - interface ILoggingError
297
- - interface ITaggedTelemetryPropertyType
298
- - interface ITelemetryBaseEvent
299
- - interface ITelemetryBaseLogger
300
- - interface ITelemetryErrorEvent
301
- - interface ITelemetryGenericEvent
302
- - interface ITelemetryLogger
303
- - interface ITelemetryPerformanceEvent
304
- - interface ITelemetryProperties
305
- - type ExtendEventProvider
306
- - type IEventThisPlaceHolder
307
- - type IEventTransformer
308
- - type ReplaceIEventThisPlaceHolder
309
- - type ReplaceIEventThisPlaceHolder
310
- - type TelemetryEventCategory
311
- - type TelemetryEventPropertyType
294
+ - Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
295
+
296
+ The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
297
+ imported from the **@fluidframework/core-interfaces** package:
298
+
299
+ - interface IDisposable
300
+ - interface IErrorEvent
301
+ - interface IErrorEvent
302
+ - interface IEvent
303
+ - interface IEventProvider
304
+ - interface ILoggingError
305
+ - interface ITaggedTelemetryPropertyType
306
+ - interface ITelemetryBaseEvent
307
+ - interface ITelemetryBaseLogger
308
+ - interface ITelemetryErrorEvent
309
+ - interface ITelemetryGenericEvent
310
+ - interface ITelemetryLogger
311
+ - interface ITelemetryPerformanceEvent
312
+ - interface ITelemetryProperties
313
+ - type ExtendEventProvider
314
+ - type IEventThisPlaceHolder
315
+ - type IEventTransformer
316
+ - type ReplaceIEventThisPlaceHolder
317
+ - type ReplaceIEventThisPlaceHolder
318
+ - type TelemetryEventCategory
319
+ - type TelemetryEventPropertyType
312
320
 
313
321
  ## 2.0.0-internal.6.1.0
314
322
 
@@ -318,9 +326,9 @@ Dependency updates only.
318
326
 
319
327
  ### Major Changes
320
328
 
321
- - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
329
+ - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
322
330
 
323
- 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.
331
+ 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.
324
332
 
325
333
  ## 2.0.0-internal.5.4.0
326
334
 
@@ -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/map";
8
- export declare const pkgVersion = "2.23.0";
8
+ export declare const pkgVersion = "2.31.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -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/map";
11
- exports.pkgVersion = "2.23.0";
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,qBAAqB,CAAC;AAChC,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/map\";\nexport const pkgVersion = \"2.23.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,qBAAqB,CAAC;AAChC,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/map\";\nexport const pkgVersion = \"2.31.0\";\n"]}
@@ -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/map";
8
- export declare const pkgVersion = "2.23.0";
8
+ export declare const pkgVersion = "2.31.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/map";
8
- export const pkgVersion = "2.23.0";
8
+ export const pkgVersion = "2.31.0";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAC7C,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/map\";\nexport const pkgVersion = \"2.23.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAC7C,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/map\";\nexport const pkgVersion = \"2.31.0\";\n"]}
@@ -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/map",
3
- "version": "2.23.0",
3
+ "version": "2.31.0",
4
4
  "description": "Distributed map",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -81,34 +81,34 @@
81
81
  "temp-directory": "nyc/.nyc_output"
82
82
  },
83
83
  "dependencies": {
84
- "@fluid-internal/client-utils": "~2.23.0",
85
- "@fluidframework/core-interfaces": "~2.23.0",
86
- "@fluidframework/core-utils": "~2.23.0",
87
- "@fluidframework/datastore-definitions": "~2.23.0",
88
- "@fluidframework/driver-definitions": "~2.23.0",
89
- "@fluidframework/driver-utils": "~2.23.0",
90
- "@fluidframework/merge-tree": "~2.23.0",
91
- "@fluidframework/runtime-definitions": "~2.23.0",
92
- "@fluidframework/runtime-utils": "~2.23.0",
93
- "@fluidframework/shared-object-base": "~2.23.0",
94
- "@fluidframework/telemetry-utils": "~2.23.0",
84
+ "@fluid-internal/client-utils": "~2.31.0",
85
+ "@fluidframework/core-interfaces": "~2.31.0",
86
+ "@fluidframework/core-utils": "~2.31.0",
87
+ "@fluidframework/datastore-definitions": "~2.31.0",
88
+ "@fluidframework/driver-definitions": "~2.31.0",
89
+ "@fluidframework/driver-utils": "~2.31.0",
90
+ "@fluidframework/merge-tree": "~2.31.0",
91
+ "@fluidframework/runtime-definitions": "~2.31.0",
92
+ "@fluidframework/runtime-utils": "~2.31.0",
93
+ "@fluidframework/shared-object-base": "~2.31.0",
94
+ "@fluidframework/telemetry-utils": "~2.31.0",
95
95
  "path-browserify": "^1.0.1"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@arethetypeswrong/cli": "^0.17.1",
99
99
  "@biomejs/biome": "~1.9.3",
100
- "@fluid-internal/mocha-test-setup": "~2.23.0",
101
- "@fluid-private/stochastic-test-utils": "~2.23.0",
102
- "@fluid-private/test-dds-utils": "~2.23.0",
100
+ "@fluid-internal/mocha-test-setup": "~2.31.0",
101
+ "@fluid-private/stochastic-test-utils": "~2.31.0",
102
+ "@fluid-private/test-dds-utils": "~2.31.0",
103
103
  "@fluid-tools/benchmark": "^0.50.0",
104
104
  "@fluid-tools/build-cli": "^0.54.0",
105
105
  "@fluidframework/build-common": "^2.0.3",
106
106
  "@fluidframework/build-tools": "^0.54.0",
107
- "@fluidframework/container-definitions": "~2.23.0",
107
+ "@fluidframework/container-definitions": "~2.31.0",
108
108
  "@fluidframework/eslint-config-fluid": "^5.7.3",
109
- "@fluidframework/map-previous": "npm:@fluidframework/map@2.22.0",
110
- "@fluidframework/test-runtime-utils": "~2.23.0",
111
- "@microsoft/api-extractor": "7.47.8",
109
+ "@fluidframework/map-previous": "npm:@fluidframework/map@2.30.0",
110
+ "@fluidframework/test-runtime-utils": "~2.31.0",
111
+ "@microsoft/api-extractor": "7.50.1",
112
112
  "@types/mocha": "^10.0.10",
113
113
  "@types/node": "^18.19.0",
114
114
  "@types/path-browserify": "^1.0.0",
@@ -117,10 +117,9 @@
117
117
  "copyfiles": "^2.4.1",
118
118
  "cross-env": "^7.0.3",
119
119
  "eslint": "~8.55.0",
120
- "mocha": "^10.2.0",
120
+ "mocha": "^10.8.2",
121
121
  "mocha-multi-reporters": "^1.5.1",
122
122
  "moment": "^2.21.0",
123
- "prettier": "~3.0.3",
124
123
  "replace-in-file": "^6.3.5",
125
124
  "rimraf": "^4.4.0",
126
125
  "typescript": "~5.4.5"
@@ -154,7 +153,6 @@
154
153
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
155
154
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
156
155
  "check:format": "npm run check:biome",
157
- "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
158
156
  "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
159
157
  "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
160
158
  "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
@@ -164,7 +162,6 @@
164
162
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
165
163
  "format": "npm run format:biome",
166
164
  "format:biome": "biome check . --write",
167
- "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
168
165
  "lint": "fluid-build . --task lint",
169
166
  "lint:fix": "fluid-build . --task eslint:fix --task format",
170
167
  "test": "npm run test:mocha",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/map";
9
- export const pkgVersion = "2.23.0";
9
+ export const pkgVersion = "2.31.0";
@@ -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
- };