@fluidframework/matrix 2.71.0 → 2.72.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/.eslintrc.cjs +1 -1
- package/CHANGELOG.md +4 -7
- package/README.md +2 -2
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +21 -21
- package/src/packageVersion.ts +1 -1
package/.eslintrc.cjs
CHANGED
|
@@ -30,7 +30,7 @@ module.exports = {
|
|
|
30
30
|
files: ["*.spec.ts", "src/test/**"],
|
|
31
31
|
rules: {
|
|
32
32
|
// Test files are run in node only so additional node libraries can be used.
|
|
33
|
-
"import/no-nodejs-modules": ["error", { allow: ["node:assert", "node:path"] }],
|
|
33
|
+
"import-x/no-nodejs-modules": ["error", { allow: ["node:assert", "node:path"] }],
|
|
34
34
|
},
|
|
35
35
|
},
|
|
36
36
|
],
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @fluidframework/matrix
|
|
2
2
|
|
|
3
|
+
## 2.72.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
3
7
|
## 2.71.0
|
|
4
8
|
|
|
5
9
|
Dependency updates only.
|
|
@@ -149,7 +153,6 @@ Dependency updates only.
|
|
|
149
153
|
|
|
150
154
|
The `SharedMatrix` class has been hidden from the alpha API.
|
|
151
155
|
In its place:
|
|
152
|
-
|
|
153
156
|
- The constant `SharedMatrix` is exposed as the entrypoint for `SharedMatrix` creation. See documentation on `ISharedObjectKind`.
|
|
154
157
|
- The type `SharedMatrix` is aliased to `ISharedMatrix`, which contains matrix's public API. This API has no semantic changes from previous versions.
|
|
155
158
|
|
|
@@ -169,7 +172,6 @@ Dependency updates only.
|
|
|
169
172
|
TypeScript types and implementation code.
|
|
170
173
|
|
|
171
174
|
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
172
|
-
|
|
173
175
|
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
174
176
|
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
175
177
|
|
|
@@ -192,7 +194,6 @@ Dependency updates only.
|
|
|
192
194
|
- Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
193
195
|
|
|
194
196
|
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)
|
|
195
|
-
|
|
196
197
|
- @fluidframework/gitresources
|
|
197
198
|
- @fluidframework/server-kafka-orderer
|
|
198
199
|
- @fluidframework/server-lambdas
|
|
@@ -240,7 +241,6 @@ Dependency updates only.
|
|
|
240
241
|
limitation of serialization.
|
|
241
242
|
|
|
242
243
|
Additional modifications:
|
|
243
|
-
|
|
244
244
|
- `Jsonable`'s `TReplacement` parameter default has also been changed from `void` to `never`, which now disallows
|
|
245
245
|
`void`.
|
|
246
246
|
- Unrecognized primitive types like `symbol` are now filtered to `never` instead of `{}`.
|
|
@@ -274,7 +274,6 @@ Dependency updates only.
|
|
|
274
274
|
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
275
275
|
|
|
276
276
|
This included the following changes from the protocol-definitions release:
|
|
277
|
-
|
|
278
277
|
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
279
278
|
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
280
279
|
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
@@ -285,7 +284,6 @@ Dependency updates only.
|
|
|
285
284
|
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
286
285
|
|
|
287
286
|
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
288
|
-
|
|
289
287
|
- @fluidframework/gitresources: 2.0.1
|
|
290
288
|
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
291
289
|
- @fluidframework/server-lambdas: 2.0.1
|
|
@@ -327,7 +325,6 @@ Dependency updates only.
|
|
|
327
325
|
|
|
328
326
|
The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
|
|
329
327
|
imported from the **@fluidframework/core-interfaces** package:
|
|
330
|
-
|
|
331
328
|
- interface IDisposable
|
|
332
329
|
- interface IErrorEvent
|
|
333
330
|
- interface IErrorEvent
|
package/README.md
CHANGED
|
@@ -141,13 +141,13 @@ axis is typically within an order of magnitude compared to sequentially accessin
|
|
|
141
141
|
|
|
142
142
|
Shared Matrix allows a one-way switch from LWW to FWW. This is introduced in order to handle conflict
|
|
143
143
|
when multiple clients at once initialize a cell. Using FWW, will help clients to receive a `conflict` event in case
|
|
144
|
-
their change was rejected. They can resolve
|
|
144
|
+
their change was rejected. They can resolve conflicts with the new information that they received in the event.
|
|
145
145
|
This event is only emitted when the SetCell Resolution Policy is First Write Win(FWW). This is emitted when two clients
|
|
146
146
|
race and send changes without observing each other changes, the changes that gets sequenced last would be rejected, and
|
|
147
147
|
only client whose changes were rejected would be notified via this event, with expectation that it will merge its changes
|
|
148
148
|
back by accounting new information (state from winner of the race).
|
|
149
149
|
|
|
150
|
-
Some cases which
|
|
150
|
+
Some cases which document how the Set op changes are applied or rejected during LWW -> FWW switch as some clients will
|
|
151
151
|
be in FWW mode and some will in LWW mode. When app calls `switchSetCellPolicy` the policy is changed to FWW mode
|
|
152
152
|
immediately and then later communicated to other clients via next SetOp which is made on the matrix.
|
|
153
153
|
|
package/dist/packageVersion.d.ts
CHANGED
package/dist/packageVersion.js
CHANGED
|
@@ -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/matrix";
|
|
11
|
-
exports.pkgVersion = "2.
|
|
11
|
+
exports.pkgVersion = "2.72.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,wBAAwB,CAAC;AACnC,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/matrix\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,wBAAwB,CAAC;AACnC,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/matrix\";\nexport const pkgVersion = \"2.72.0\";\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
package/lib/packageVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,wBAAwB,CAAC;AAChD,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/matrix\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,wBAAwB,CAAC;AAChD,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/matrix\";\nexport const pkgVersion = \"2.72.0\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/matrix",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.72.0",
|
|
4
4
|
"description": "Distributed matrix",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -81,17 +81,17 @@
|
|
|
81
81
|
"temp-directory": "nyc/.nyc_output"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@fluid-internal/client-utils": "~2.
|
|
85
|
-
"@fluidframework/core-interfaces": "~2.
|
|
86
|
-
"@fluidframework/core-utils": "~2.
|
|
87
|
-
"@fluidframework/datastore-definitions": "~2.
|
|
88
|
-
"@fluidframework/driver-definitions": "~2.
|
|
89
|
-
"@fluidframework/driver-utils": "~2.
|
|
90
|
-
"@fluidframework/merge-tree": "~2.
|
|
91
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
92
|
-
"@fluidframework/runtime-utils": "~2.
|
|
93
|
-
"@fluidframework/shared-object-base": "~2.
|
|
94
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
84
|
+
"@fluid-internal/client-utils": "~2.72.0",
|
|
85
|
+
"@fluidframework/core-interfaces": "~2.72.0",
|
|
86
|
+
"@fluidframework/core-utils": "~2.72.0",
|
|
87
|
+
"@fluidframework/datastore-definitions": "~2.72.0",
|
|
88
|
+
"@fluidframework/driver-definitions": "~2.72.0",
|
|
89
|
+
"@fluidframework/driver-utils": "~2.72.0",
|
|
90
|
+
"@fluidframework/merge-tree": "~2.72.0",
|
|
91
|
+
"@fluidframework/runtime-definitions": "~2.72.0",
|
|
92
|
+
"@fluidframework/runtime-utils": "~2.72.0",
|
|
93
|
+
"@fluidframework/shared-object-base": "~2.72.0",
|
|
94
|
+
"@fluidframework/telemetry-utils": "~2.72.0",
|
|
95
95
|
"@tiny-calc/nano": "0.0.0-alpha.5",
|
|
96
96
|
"double-ended-queue": "^2.1.0-0",
|
|
97
97
|
"tslib": "^1.10.0"
|
|
@@ -99,17 +99,17 @@
|
|
|
99
99
|
"devDependencies": {
|
|
100
100
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
101
101
|
"@biomejs/biome": "~1.9.3",
|
|
102
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
103
|
-
"@fluid-private/stochastic-test-utils": "~2.
|
|
104
|
-
"@fluid-private/test-dds-utils": "~2.
|
|
102
|
+
"@fluid-internal/mocha-test-setup": "~2.72.0",
|
|
103
|
+
"@fluid-private/stochastic-test-utils": "~2.72.0",
|
|
104
|
+
"@fluid-private/test-dds-utils": "~2.72.0",
|
|
105
105
|
"@fluid-tools/benchmark": "^0.51.0",
|
|
106
|
-
"@fluid-tools/build-cli": "^0.
|
|
106
|
+
"@fluid-tools/build-cli": "^0.60.0",
|
|
107
107
|
"@fluidframework/build-common": "^2.0.3",
|
|
108
|
-
"@fluidframework/build-tools": "^0.
|
|
109
|
-
"@fluidframework/container-definitions": "~2.
|
|
110
|
-
"@fluidframework/eslint-config-fluid": "
|
|
111
|
-
"@fluidframework/matrix-previous": "npm:@fluidframework/matrix@2.
|
|
112
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
108
|
+
"@fluidframework/build-tools": "^0.60.0",
|
|
109
|
+
"@fluidframework/container-definitions": "~2.72.0",
|
|
110
|
+
"@fluidframework/eslint-config-fluid": "~2.72.0",
|
|
111
|
+
"@fluidframework/matrix-previous": "npm:@fluidframework/matrix@2.71.0",
|
|
112
|
+
"@fluidframework/test-runtime-utils": "~2.72.0",
|
|
113
113
|
"@microsoft/api-extractor": "7.52.11",
|
|
114
114
|
"@tiny-calc/micro": "0.0.0-alpha.5",
|
|
115
115
|
"@types/double-ended-queue": "^2.1.0",
|
package/src/packageVersion.ts
CHANGED