@fluidframework/register-collection 2.71.0 → 2.73.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/register-collection
2
2
 
3
+ ## 2.73.0
4
+
5
+ Dependency updates only.
6
+
7
+ ## 2.72.0
8
+
9
+ Dependency updates only.
10
+
3
11
  ## 2.71.0
4
12
 
5
13
  Dependency updates only.
@@ -162,7 +170,6 @@ Dependency updates only.
162
170
  TypeScript types and implementation code.
163
171
 
164
172
  This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
165
-
166
173
  - `"moduleResolution": "Node16"` with `"module": "Node16"`
167
174
  - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
168
175
 
@@ -185,7 +192,6 @@ Dependency updates only.
185
192
  - Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
186
193
 
187
194
  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)
188
-
189
195
  - @fluidframework/gitresources
190
196
  - @fluidframework/server-kafka-orderer
191
197
  - @fluidframework/server-lambdas
@@ -239,7 +245,6 @@ Dependency updates only.
239
245
  - Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
240
246
 
241
247
  This included the following changes from the protocol-definitions release:
242
-
243
248
  - Updating signal interfaces for some planned improvements. The intention is split the interface between signals
244
249
  submitted by clients to the server and the resulting signals sent from the server to clients.
245
250
  - A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
@@ -250,7 +255,6 @@ Dependency updates only.
250
255
  - Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
251
256
 
252
257
  Dependencies on the following Fluid server package have been updated to version 2.0.1:
253
-
254
258
  - @fluidframework/gitresources: 2.0.1
255
259
  - @fluidframework/server-kafka-orderer: 2.0.1
256
260
  - @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 literaure, detecting concurrency requires some form of logical/phsical 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.
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 essenially 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 concurreny 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 it's 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.
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
 
@@ -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.71.0";
8
+ export declare const pkgVersion = "2.73.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/register-collection";
11
- exports.pkgVersion = "2.71.0";
11
+ exports.pkgVersion = "2.73.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.71.0\";\n"]}
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.73.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/register-collection";
8
- export declare const pkgVersion = "2.71.0";
8
+ export declare const pkgVersion = "2.73.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/register-collection";
8
- export const pkgVersion = "2.71.0";
8
+ export const pkgVersion = "2.73.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,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.71.0\";\n"]}
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.73.0\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/register-collection",
3
- "version": "2.71.0",
3
+ "version": "2.73.0",
4
4
  "description": "Consensus Register",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -42,6 +42,18 @@
42
42
  "types": "./dist/index.d.ts",
43
43
  "default": "./dist/index.js"
44
44
  }
45
+ },
46
+ "./internal/test": {
47
+ "allow-ff-test-exports": {
48
+ "import": {
49
+ "types": "./lib/test/index.d.ts",
50
+ "default": "./lib/test/index.js"
51
+ },
52
+ "require": {
53
+ "types": "./dist/test/index.d.ts",
54
+ "default": "./dist/test/index.js"
55
+ }
56
+ }
45
57
  }
46
58
  },
47
59
  "main": "lib/index.js",
@@ -69,26 +81,27 @@
69
81
  "temp-directory": "nyc/.nyc_output"
70
82
  },
71
83
  "dependencies": {
72
- "@fluid-internal/client-utils": "~2.71.0",
73
- "@fluidframework/core-interfaces": "~2.71.0",
74
- "@fluidframework/core-utils": "~2.71.0",
75
- "@fluidframework/datastore-definitions": "~2.71.0",
76
- "@fluidframework/driver-definitions": "~2.71.0",
77
- "@fluidframework/driver-utils": "~2.71.0",
78
- "@fluidframework/runtime-definitions": "~2.71.0",
79
- "@fluidframework/shared-object-base": "~2.71.0"
84
+ "@fluid-internal/client-utils": "~2.73.0",
85
+ "@fluidframework/core-interfaces": "~2.73.0",
86
+ "@fluidframework/core-utils": "~2.73.0",
87
+ "@fluidframework/datastore-definitions": "~2.73.0",
88
+ "@fluidframework/driver-definitions": "~2.73.0",
89
+ "@fluidframework/driver-utils": "~2.73.0",
90
+ "@fluidframework/runtime-definitions": "~2.73.0",
91
+ "@fluidframework/shared-object-base": "~2.73.0"
80
92
  },
81
93
  "devDependencies": {
82
94
  "@arethetypeswrong/cli": "^0.17.1",
83
95
  "@biomejs/biome": "~1.9.3",
84
- "@fluid-internal/mocha-test-setup": "~2.71.0",
85
- "@fluid-private/test-dds-utils": "~2.71.0",
86
- "@fluid-tools/build-cli": "^0.58.3",
96
+ "@fluid-internal/mocha-test-setup": "~2.73.0",
97
+ "@fluid-private/stochastic-test-utils": "~2.73.0",
98
+ "@fluid-private/test-dds-utils": "~2.73.0",
99
+ "@fluid-tools/build-cli": "^0.60.0",
87
100
  "@fluidframework/build-common": "^2.0.3",
88
- "@fluidframework/build-tools": "^0.58.3",
89
- "@fluidframework/eslint-config-fluid": "^7.0.0",
90
- "@fluidframework/register-collection-previous": "npm:@fluidframework/register-collection@2.70.0",
91
- "@fluidframework/test-runtime-utils": "~2.71.0",
101
+ "@fluidframework/build-tools": "^0.60.0",
102
+ "@fluidframework/eslint-config-fluid": "~2.73.0",
103
+ "@fluidframework/register-collection-previous": "npm:@fluidframework/register-collection@2.71.0",
104
+ "@fluidframework/test-runtime-utils": "~2.73.0",
92
105
  "@microsoft/api-extractor": "7.52.11",
93
106
  "@types/mocha": "^10.0.10",
94
107
  "@types/node": "^18.19.0",
@@ -122,7 +135,7 @@
122
135
  "build:test": "npm run build:test:esm && npm run build:test:cjs",
123
136
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
124
137
  "build:test:esm": "tsc --project ./src/test/tsconfig.json",
125
- "check:are-the-types-wrong": "attw --pack .",
138
+ "check:are-the-types-wrong": "attw --pack . --exclude-entrypoints ./internal/test",
126
139
  "check:biome": "biome check .",
127
140
  "check:exports": "concurrently \"npm:check:exports:*\"",
128
141
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/register-collection";
9
- export const pkgVersion = "2.71.0";
9
+ export const pkgVersion = "2.73.0";