@fluidframework/register-collection 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/CHANGELOG.md +8 -4
- 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 +18 -18
- package/src/packageVersion.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fluidframework/register-collection
|
|
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
|
### Minor Changes
|
|
@@ -158,7 +166,6 @@ Dependency updates only.
|
|
|
158
166
|
TypeScript types and implementation code.
|
|
159
167
|
|
|
160
168
|
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
161
|
-
|
|
162
169
|
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
163
170
|
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
164
171
|
|
|
@@ -181,7 +188,6 @@ Dependency updates only.
|
|
|
181
188
|
- Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
182
189
|
|
|
183
190
|
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)
|
|
184
|
-
|
|
185
191
|
- @fluidframework/gitresources
|
|
186
192
|
- @fluidframework/server-kafka-orderer
|
|
187
193
|
- @fluidframework/server-lambdas
|
|
@@ -235,7 +241,6 @@ Dependency updates only.
|
|
|
235
241
|
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
236
242
|
|
|
237
243
|
This included the following changes from the protocol-definitions release:
|
|
238
|
-
|
|
239
244
|
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
240
245
|
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
241
246
|
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
@@ -246,7 +251,6 @@ Dependency updates only.
|
|
|
246
251
|
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
247
252
|
|
|
248
253
|
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
249
|
-
|
|
250
254
|
- @fluidframework/gitresources: 2.0.1
|
|
251
255
|
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
252
256
|
- @fluidframework/server-lambdas: 2.0.1
|
package/README.md
CHANGED
|
@@ -42,9 +42,9 @@ API documentation for **@fluidframework/register-collection** is available at <h
|
|
|
42
42
|
|
|
43
43
|
### Detecting concurrency in Fluid
|
|
44
44
|
|
|
45
|
-
In distributed systems
|
|
45
|
+
In distributed systems literature, detecting concurrency requires some form of logical/physical clock. A popular technique used in replicated databases such as dynamodb is called version vectors where each key stores a collection of `[time, value]` tuples. `time` is essentially a reference clock used to decide concurrency amongst updates. Each update to a key includes the `time`, essentially to indicate how `caught up` the replica was during that update.
|
|
46
46
|
|
|
47
|
-
In Fluid, each operation contains a referenceSequenceNumber (`refSeq`), which
|
|
47
|
+
In Fluid, each operation contains a referenceSequenceNumber (`refSeq`), which essentially refers to how caught up the client was (in terms of sequence number) during that update. We can use this property to implement a similar concurrency model. Mathematically, if an update has a `refSeq N`, it can overwrite/discard any other prior values with `sequenceNumber (seq) <= N`. It is safe to do so because the client must have seen all those updates before posting its own update. Hence this update is not concurrent with those overwritten updates. However, the update is still concurrent with any other update with `seq > N`. Therefore those versions are still kept.
|
|
48
48
|
|
|
49
49
|
### Conflict resolution policies
|
|
50
50
|
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -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/register-collection";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.72.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
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/register-collection";
|
|
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,qCAAqC,CAAC;AAChD,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/register-collection\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,qCAAqC,CAAC;AAChD,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/register-collection\";\nexport const pkgVersion = \"2.72.0\";\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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/register-collection";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.72.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
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,qCAAqC,CAAC;AAC7D,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/register-collection\";\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,qCAAqC,CAAC;AAC7D,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/register-collection\";\nexport const pkgVersion = \"2.72.0\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/register-collection",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.72.0",
|
|
4
4
|
"description": "Consensus Register",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -69,26 +69,26 @@
|
|
|
69
69
|
"temp-directory": "nyc/.nyc_output"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@fluid-internal/client-utils": "~2.
|
|
73
|
-
"@fluidframework/core-interfaces": "~2.
|
|
74
|
-
"@fluidframework/core-utils": "~2.
|
|
75
|
-
"@fluidframework/datastore-definitions": "~2.
|
|
76
|
-
"@fluidframework/driver-definitions": "~2.
|
|
77
|
-
"@fluidframework/driver-utils": "~2.
|
|
78
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
79
|
-
"@fluidframework/shared-object-base": "~2.
|
|
72
|
+
"@fluid-internal/client-utils": "~2.72.0",
|
|
73
|
+
"@fluidframework/core-interfaces": "~2.72.0",
|
|
74
|
+
"@fluidframework/core-utils": "~2.72.0",
|
|
75
|
+
"@fluidframework/datastore-definitions": "~2.72.0",
|
|
76
|
+
"@fluidframework/driver-definitions": "~2.72.0",
|
|
77
|
+
"@fluidframework/driver-utils": "~2.72.0",
|
|
78
|
+
"@fluidframework/runtime-definitions": "~2.72.0",
|
|
79
|
+
"@fluidframework/shared-object-base": "~2.72.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
83
83
|
"@biomejs/biome": "~1.9.3",
|
|
84
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
85
|
-
"@fluid-private/test-dds-utils": "~2.
|
|
86
|
-
"@fluid-tools/build-cli": "^0.
|
|
84
|
+
"@fluid-internal/mocha-test-setup": "~2.72.0",
|
|
85
|
+
"@fluid-private/test-dds-utils": "~2.72.0",
|
|
86
|
+
"@fluid-tools/build-cli": "^0.60.0",
|
|
87
87
|
"@fluidframework/build-common": "^2.0.3",
|
|
88
|
-
"@fluidframework/build-tools": "^0.
|
|
89
|
-
"@fluidframework/eslint-config-fluid": "
|
|
90
|
-
"@fluidframework/register-collection-previous": "npm:@fluidframework/register-collection@2.
|
|
91
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
88
|
+
"@fluidframework/build-tools": "^0.60.0",
|
|
89
|
+
"@fluidframework/eslint-config-fluid": "~2.72.0",
|
|
90
|
+
"@fluidframework/register-collection-previous": "npm:@fluidframework/register-collection@2.71.0",
|
|
91
|
+
"@fluidframework/test-runtime-utils": "~2.72.0",
|
|
92
92
|
"@microsoft/api-extractor": "7.52.11",
|
|
93
93
|
"@types/mocha": "^10.0.10",
|
|
94
94
|
"@types/node": "^18.19.0",
|
|
@@ -136,8 +136,8 @@
|
|
|
136
136
|
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
137
137
|
"ci:build:docs": "api-extractor run",
|
|
138
138
|
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
139
|
-
"eslint": "eslint --format stylish src",
|
|
140
|
-
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
139
|
+
"eslint": "eslint --quiet --format stylish src",
|
|
140
|
+
"eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
141
141
|
"format": "npm run format:biome",
|
|
142
142
|
"format:biome": "biome check . --write",
|
|
143
143
|
"lint": "fluid-build . --task lint",
|
package/src/packageVersion.ts
CHANGED