@fluidframework/counter 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 +97 -89
- 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/lib/tsdoc-metadata.json +1 -1
- package/package.json +14 -17
- package/src/packageVersion.ts +1 -1
- package/prettier.config.cjs +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fluidframework/counter
|
|
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.
|
|
@@ -56,82 +64,82 @@ Dependency updates only.
|
|
|
56
64
|
|
|
57
65
|
### Minor Changes
|
|
58
66
|
|
|
59
|
-
-
|
|
67
|
+
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
|
|
60
68
|
|
|
61
|
-
|
|
69
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
62
70
|
|
|
63
71
|
## 2.0.0-rc.4.0.0
|
|
64
72
|
|
|
65
73
|
### Minor Changes
|
|
66
74
|
|
|
67
|
-
-
|
|
75
|
+
- counter: SharedCounter now uses ISharedObjectKind and does not export the class [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
68
76
|
|
|
69
|
-
|
|
77
|
+
Most users of `SharedCounter` should be unaffected as long as they stick to the factory patterns supported by ISharedObjectKind.
|
|
70
78
|
|
|
71
79
|
## 2.0.0-rc.3.0.0
|
|
72
80
|
|
|
73
81
|
### Major Changes
|
|
74
82
|
|
|
75
|
-
-
|
|
83
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
76
84
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
85
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
86
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
87
|
+
TypeScript types and implementation code.
|
|
80
88
|
|
|
81
|
-
|
|
89
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
82
90
|
|
|
83
|
-
|
|
84
|
-
|
|
91
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
92
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
85
93
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
94
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
95
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
96
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
97
|
+
regarding the module and moduleResolution options.
|
|
90
98
|
|
|
91
|
-
|
|
92
|
-
|
|
99
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
100
|
+
to distinguish stable APIs from those that are in development.**
|
|
93
101
|
|
|
94
102
|
## 2.0.0-rc.2.0.0
|
|
95
103
|
|
|
96
104
|
### Minor Changes
|
|
97
105
|
|
|
98
|
-
-
|
|
106
|
+
- counter: SharedCounter.create now returns ISharedCounter ([#19961](https://github.com/microsoft/FluidFramework/issues/19961)) [e2317bdbd2](https://github.com/microsoft/FluidFramework/commits/e2317bdbd29c40c7888bba2ed657a40a8dd6f45b)
|
|
99
107
|
|
|
100
|
-
|
|
108
|
+
`SharedCounter.create` now returns `ISharedCounter` instead of `SharedCounter`.
|
|
101
109
|
|
|
102
110
|
## 2.0.0-rc.1.0.0
|
|
103
111
|
|
|
104
112
|
### Minor Changes
|
|
105
113
|
|
|
106
|
-
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
114
|
+
- Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
115
|
+
|
|
116
|
+
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)
|
|
117
|
+
|
|
118
|
+
- @fluidframework/gitresources
|
|
119
|
+
- @fluidframework/server-kafka-orderer
|
|
120
|
+
- @fluidframework/server-lambdas
|
|
121
|
+
- @fluidframework/server-lambdas-driver
|
|
122
|
+
- @fluidframework/server-local-server
|
|
123
|
+
- @fluidframework/server-memory-orderer
|
|
124
|
+
- @fluidframework/protocol-base
|
|
125
|
+
- @fluidframework/server-routerlicious
|
|
126
|
+
- @fluidframework/server-routerlicious-base
|
|
127
|
+
- @fluidframework/server-services
|
|
128
|
+
- @fluidframework/server-services-client
|
|
129
|
+
- @fluidframework/server-services-core
|
|
130
|
+
- @fluidframework/server-services-ordering-kafkanode
|
|
131
|
+
- @fluidframework/server-services-ordering-rdkafka
|
|
132
|
+
- @fluidframework/server-services-ordering-zookeeper
|
|
133
|
+
- @fluidframework/server-services-shared
|
|
134
|
+
- @fluidframework/server-services-telemetry
|
|
135
|
+
- @fluidframework/server-services-utils
|
|
136
|
+
- @fluidframework/server-test-utils
|
|
137
|
+
- tinylicious
|
|
138
|
+
|
|
139
|
+
- Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
140
|
+
|
|
141
|
+
The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
|
|
142
|
+
changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
|
|
135
143
|
|
|
136
144
|
## 2.0.0-internal.8.0.0
|
|
137
145
|
|
|
@@ -157,45 +165,45 @@ Dependency updates only.
|
|
|
157
165
|
|
|
158
166
|
### Major Changes
|
|
159
167
|
|
|
160
|
-
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
-
|
|
197
|
-
|
|
198
|
-
|
|
168
|
+
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
169
|
+
|
|
170
|
+
This included the following changes from the protocol-definitions release:
|
|
171
|
+
|
|
172
|
+
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
173
|
+
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
174
|
+
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
175
|
+
been added, which will be the typing for signals sent from the client to the server. Both extend a new
|
|
176
|
+
ISignalMessageBase interface that contains common members.
|
|
177
|
+
- The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
|
|
178
|
+
|
|
179
|
+
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
180
|
+
|
|
181
|
+
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
182
|
+
|
|
183
|
+
- @fluidframework/gitresources: 2.0.1
|
|
184
|
+
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
185
|
+
- @fluidframework/server-lambdas: 2.0.1
|
|
186
|
+
- @fluidframework/server-lambdas-driver: 2.0.1
|
|
187
|
+
- @fluidframework/server-local-server: 2.0.1
|
|
188
|
+
- @fluidframework/server-memory-orderer: 2.0.1
|
|
189
|
+
- @fluidframework/protocol-base: 2.0.1
|
|
190
|
+
- @fluidframework/server-routerlicious: 2.0.1
|
|
191
|
+
- @fluidframework/server-routerlicious-base: 2.0.1
|
|
192
|
+
- @fluidframework/server-services: 2.0.1
|
|
193
|
+
- @fluidframework/server-services-client: 2.0.1
|
|
194
|
+
- @fluidframework/server-services-core: 2.0.1
|
|
195
|
+
- @fluidframework/server-services-ordering-kafkanode: 2.0.1
|
|
196
|
+
- @fluidframework/server-services-ordering-rdkafka: 2.0.1
|
|
197
|
+
- @fluidframework/server-services-ordering-zookeeper: 2.0.1
|
|
198
|
+
- @fluidframework/server-services-shared: 2.0.1
|
|
199
|
+
- @fluidframework/server-services-telemetry: 2.0.1
|
|
200
|
+
- @fluidframework/server-services-utils: 2.0.1
|
|
201
|
+
- @fluidframework/server-test-utils: 2.0.1
|
|
202
|
+
- tinylicious: 2.0.1
|
|
203
|
+
|
|
204
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
205
|
+
|
|
206
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
199
207
|
|
|
200
208
|
## 2.0.0-internal.6.4.0
|
|
201
209
|
|
|
@@ -217,9 +225,9 @@ Dependency updates only.
|
|
|
217
225
|
|
|
218
226
|
### Major Changes
|
|
219
227
|
|
|
220
|
-
-
|
|
228
|
+
- Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
221
229
|
|
|
222
|
-
|
|
230
|
+
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.
|
|
223
231
|
|
|
224
232
|
## 2.0.0-internal.5.4.0
|
|
225
233
|
|
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/counter";
|
|
11
|
-
exports.pkgVersion = "2.
|
|
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,yBAAyB,CAAC;AACpC,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/counter\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,yBAAyB,CAAC;AACpC,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/counter\";\nexport const pkgVersion = \"2.31.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,yBAAyB,CAAC;AACjD,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/counter\";\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,yBAAyB,CAAC;AACjD,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/counter\";\nexport const pkgVersion = \"2.31.0\";\n"]}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/counter",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "Counter DDS",
|
|
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
|
-
"@fluidframework/core-interfaces": "~2.
|
|
73
|
-
"@fluidframework/core-utils": "~2.
|
|
74
|
-
"@fluidframework/datastore-definitions": "~2.
|
|
75
|
-
"@fluidframework/driver-definitions": "~2.
|
|
76
|
-
"@fluidframework/driver-utils": "~2.
|
|
77
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
78
|
-
"@fluidframework/shared-object-base": "~2.
|
|
72
|
+
"@fluidframework/core-interfaces": "~2.31.0",
|
|
73
|
+
"@fluidframework/core-utils": "~2.31.0",
|
|
74
|
+
"@fluidframework/datastore-definitions": "~2.31.0",
|
|
75
|
+
"@fluidframework/driver-definitions": "~2.31.0",
|
|
76
|
+
"@fluidframework/driver-utils": "~2.31.0",
|
|
77
|
+
"@fluidframework/runtime-definitions": "~2.31.0",
|
|
78
|
+
"@fluidframework/shared-object-base": "~2.31.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
82
82
|
"@biomejs/biome": "~1.9.3",
|
|
83
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
83
|
+
"@fluid-internal/mocha-test-setup": "~2.31.0",
|
|
84
84
|
"@fluid-tools/build-cli": "^0.54.0",
|
|
85
85
|
"@fluidframework/build-common": "^2.0.3",
|
|
86
86
|
"@fluidframework/build-tools": "^0.54.0",
|
|
87
|
-
"@fluidframework/container-definitions": "~2.
|
|
88
|
-
"@fluidframework/counter-previous": "npm:@fluidframework/counter@2.
|
|
87
|
+
"@fluidframework/container-definitions": "~2.31.0",
|
|
88
|
+
"@fluidframework/counter-previous": "npm:@fluidframework/counter@2.30.0",
|
|
89
89
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
90
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
91
|
-
"@microsoft/api-extractor": "7.
|
|
90
|
+
"@fluidframework/test-runtime-utils": "~2.31.0",
|
|
91
|
+
"@microsoft/api-extractor": "7.50.1",
|
|
92
92
|
"@types/mocha": "^10.0.10",
|
|
93
93
|
"@types/node": "^18.19.0",
|
|
94
94
|
"c8": "^8.0.1",
|
|
@@ -96,10 +96,9 @@
|
|
|
96
96
|
"copyfiles": "^2.4.1",
|
|
97
97
|
"cross-env": "^7.0.3",
|
|
98
98
|
"eslint": "~8.55.0",
|
|
99
|
-
"mocha": "^10.2
|
|
99
|
+
"mocha": "^10.8.2",
|
|
100
100
|
"mocha-multi-reporters": "^1.5.1",
|
|
101
101
|
"moment": "^2.21.0",
|
|
102
|
-
"prettier": "~3.0.3",
|
|
103
102
|
"replace-in-file": "^6.3.5",
|
|
104
103
|
"rimraf": "^4.4.0",
|
|
105
104
|
"typescript": "~5.4.5"
|
|
@@ -133,7 +132,6 @@
|
|
|
133
132
|
"check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
|
|
134
133
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
135
134
|
"check:format": "npm run check:biome",
|
|
136
|
-
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
137
135
|
"ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
|
|
138
136
|
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
139
137
|
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
@@ -143,7 +141,6 @@
|
|
|
143
141
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
144
142
|
"format": "npm run format:biome",
|
|
145
143
|
"format:biome": "biome check . --write",
|
|
146
|
-
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
147
144
|
"lint": "fluid-build . --task lint",
|
|
148
145
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
149
146
|
"test": "npm run test:mocha",
|
package/src/packageVersion.ts
CHANGED