@fluidframework/matrix 2.70.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 +8 -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 +23 -23
- 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,13 @@
|
|
|
1
1
|
# @fluidframework/matrix
|
|
2
2
|
|
|
3
|
+
## 2.72.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
7
|
+
## 2.71.0
|
|
8
|
+
|
|
9
|
+
Dependency updates only.
|
|
10
|
+
|
|
3
11
|
## 2.70.0
|
|
4
12
|
|
|
5
13
|
Dependency updates only.
|
|
@@ -145,7 +153,6 @@ Dependency updates only.
|
|
|
145
153
|
|
|
146
154
|
The `SharedMatrix` class has been hidden from the alpha API.
|
|
147
155
|
In its place:
|
|
148
|
-
|
|
149
156
|
- The constant `SharedMatrix` is exposed as the entrypoint for `SharedMatrix` creation. See documentation on `ISharedObjectKind`.
|
|
150
157
|
- The type `SharedMatrix` is aliased to `ISharedMatrix`, which contains matrix's public API. This API has no semantic changes from previous versions.
|
|
151
158
|
|
|
@@ -165,7 +172,6 @@ Dependency updates only.
|
|
|
165
172
|
TypeScript types and implementation code.
|
|
166
173
|
|
|
167
174
|
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
168
|
-
|
|
169
175
|
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
170
176
|
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
171
177
|
|
|
@@ -188,7 +194,6 @@ Dependency updates only.
|
|
|
188
194
|
- Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
189
195
|
|
|
190
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)
|
|
191
|
-
|
|
192
197
|
- @fluidframework/gitresources
|
|
193
198
|
- @fluidframework/server-kafka-orderer
|
|
194
199
|
- @fluidframework/server-lambdas
|
|
@@ -236,7 +241,6 @@ Dependency updates only.
|
|
|
236
241
|
limitation of serialization.
|
|
237
242
|
|
|
238
243
|
Additional modifications:
|
|
239
|
-
|
|
240
244
|
- `Jsonable`'s `TReplacement` parameter default has also been changed from `void` to `never`, which now disallows
|
|
241
245
|
`void`.
|
|
242
246
|
- Unrecognized primitive types like `symbol` are now filtered to `never` instead of `{}`.
|
|
@@ -270,7 +274,6 @@ Dependency updates only.
|
|
|
270
274
|
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
271
275
|
|
|
272
276
|
This included the following changes from the protocol-definitions release:
|
|
273
|
-
|
|
274
277
|
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
275
278
|
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
276
279
|
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
@@ -281,7 +284,6 @@ Dependency updates only.
|
|
|
281
284
|
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
282
285
|
|
|
283
286
|
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
284
|
-
|
|
285
287
|
- @fluidframework/gitresources: 2.0.1
|
|
286
288
|
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
287
289
|
- @fluidframework/server-lambdas: 2.0.1
|
|
@@ -323,7 +325,6 @@ Dependency updates only.
|
|
|
323
325
|
|
|
324
326
|
The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
|
|
325
327
|
imported from the **@fluidframework/core-interfaces** package:
|
|
326
|
-
|
|
327
328
|
- interface IDisposable
|
|
328
329
|
- interface IErrorEvent
|
|
329
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",
|
|
@@ -164,8 +164,8 @@
|
|
|
164
164
|
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
165
165
|
"ci:build:docs": "api-extractor run",
|
|
166
166
|
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts bench/dist \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
167
|
-
"eslint": "eslint --format stylish src",
|
|
168
|
-
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
167
|
+
"eslint": "eslint --quiet --format stylish src",
|
|
168
|
+
"eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
169
169
|
"format": "npm run format:biome",
|
|
170
170
|
"format:biome": "biome check . --write",
|
|
171
171
|
"lint": "fluid-build . --task lint",
|
package/src/packageVersion.ts
CHANGED