@fluid-experimental/sequence-deprecated 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/.eslintrc.cjs +0 -1
- package/CHANGELOG.md +39 -31
- 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 +12 -15
- package/src/packageVersion.ts +1 -1
- package/prettier.config.cjs +0 -8
package/.eslintrc.cjs
CHANGED
|
@@ -15,6 +15,5 @@ module.exports = {
|
|
|
15
15
|
"import/no-deprecated": "off", // This package uses deprecated APIs by design.
|
|
16
16
|
"@typescript-eslint/no-use-before-define": "off",
|
|
17
17
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
18
|
-
"@fluid-internal/fluid/no-unchecked-record-access": "warn",
|
|
19
18
|
},
|
|
20
19
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fluid-experimental/sequence-deprecated
|
|
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.
|
|
@@ -48,14 +56,14 @@ Dependency updates only.
|
|
|
48
56
|
|
|
49
57
|
### Minor Changes
|
|
50
58
|
|
|
51
|
-
-
|
|
59
|
+
- The PropertyManager class and related functions and properties are deprecated ([#22183](https://github.com/microsoft/FluidFramework/pull/22183)) [cbba69554f](https://github.com/microsoft/FluidFramework/commit/cbba69554fc5026f562f44683a902474fabd6e81)
|
|
52
60
|
|
|
53
|
-
|
|
54
|
-
|
|
61
|
+
The `PropertyManager` class, along with the `propertyManager` properties and `addProperties` functions on segments and intervals, are not intended for external use.
|
|
62
|
+
These elements will be removed in a future release for the following reasons:
|
|
55
63
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
64
|
+
- There are no scenarios where they need to be used directly.
|
|
65
|
+
- Using them directly will cause eventual consistency problems.
|
|
66
|
+
- Upcoming features will require modifications to these mechanisms.
|
|
59
67
|
|
|
60
68
|
## 2.1.0
|
|
61
69
|
|
|
@@ -65,45 +73,45 @@ Dependency updates only.
|
|
|
65
73
|
|
|
66
74
|
### Minor Changes
|
|
67
75
|
|
|
68
|
-
-
|
|
76
|
+
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
|
|
69
77
|
|
|
70
|
-
|
|
78
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
71
79
|
|
|
72
80
|
## 2.0.0-rc.4.0.0
|
|
73
81
|
|
|
74
82
|
### Minor Changes
|
|
75
83
|
|
|
76
|
-
-
|
|
84
|
+
- Deprecated members of IFluidHandle are split off into new IFluidHandleInternal interface [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
77
85
|
|
|
78
|
-
|
|
79
|
-
|
|
86
|
+
Split IFluidHandle into two interfaces, `IFluidHandle` and `IFluidHandleInternal`.
|
|
87
|
+
Code depending on the previously deprecated members of IFluidHandle can access them by using `toFluidHandleInternal` from `@fluidframework/runtime-utils/legacy`.
|
|
80
88
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
89
|
+
External implementation of the `IFluidHandle` interface are not supported: this change makes the typing better convey this using the `ErasedType` pattern.
|
|
90
|
+
Any existing and previously working, and now broken, external implementations of `IFluidHandle` should still work at runtime, but will need some unsafe type casts to compile.
|
|
91
|
+
Such handle implementation may break in the future and thus should be replaced with use of handles produced by the Fluid Framework client packages.
|
|
84
92
|
|
|
85
93
|
## 2.0.0-rc.3.0.0
|
|
86
94
|
|
|
87
95
|
### Major Changes
|
|
88
96
|
|
|
89
|
-
-
|
|
97
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
90
98
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
99
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
100
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
101
|
+
TypeScript types and implementation code.
|
|
94
102
|
|
|
95
|
-
|
|
103
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
96
104
|
|
|
97
|
-
|
|
98
|
-
|
|
105
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
106
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
99
107
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
108
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
109
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
110
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
111
|
+
regarding the module and moduleResolution options.
|
|
104
112
|
|
|
105
|
-
|
|
106
|
-
|
|
113
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
114
|
+
to distinguish stable APIs from those that are in development.**
|
|
107
115
|
|
|
108
116
|
## 2.0.0-rc.2.0.0
|
|
109
117
|
|
|
@@ -137,9 +145,9 @@ Dependency updates only.
|
|
|
137
145
|
|
|
138
146
|
### Major Changes
|
|
139
147
|
|
|
140
|
-
-
|
|
148
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
141
149
|
|
|
142
|
-
|
|
150
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
143
151
|
|
|
144
152
|
## 2.0.0-internal.6.4.0
|
|
145
153
|
|
|
@@ -161,9 +169,9 @@ Dependency updates only.
|
|
|
161
169
|
|
|
162
170
|
### Major Changes
|
|
163
171
|
|
|
164
|
-
-
|
|
172
|
+
- Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
165
173
|
|
|
166
|
-
|
|
174
|
+
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.
|
|
167
175
|
|
|
168
176
|
## 2.0.0-internal.5.4.0
|
|
169
177
|
|
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 = "@fluid-experimental/sequence-deprecated";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.31.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 = "@fluid-experimental/sequence-deprecated";
|
|
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,yCAAyC,CAAC;AACpD,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 = \"@fluid-experimental/sequence-deprecated\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,yCAAyC,CAAC;AACpD,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 = \"@fluid-experimental/sequence-deprecated\";\nexport const pkgVersion = \"2.31.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 = "@fluid-experimental/sequence-deprecated";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.31.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,yCAAyC,CAAC;AACjE,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 = \"@fluid-experimental/sequence-deprecated\";\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,yCAAyC,CAAC;AACjE,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 = \"@fluid-experimental/sequence-deprecated\";\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": "@fluid-experimental/sequence-deprecated",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "Deprecated distributed sequences",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -49,24 +49,24 @@
|
|
|
49
49
|
"temp-directory": "nyc/.nyc_output"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@fluidframework/core-interfaces": "~2.
|
|
53
|
-
"@fluidframework/core-utils": "~2.
|
|
54
|
-
"@fluidframework/datastore-definitions": "~2.
|
|
55
|
-
"@fluidframework/merge-tree": "~2.
|
|
56
|
-
"@fluidframework/sequence": "~2.
|
|
57
|
-
"@fluidframework/shared-object-base": "~2.
|
|
52
|
+
"@fluidframework/core-interfaces": "~2.31.0",
|
|
53
|
+
"@fluidframework/core-utils": "~2.31.0",
|
|
54
|
+
"@fluidframework/datastore-definitions": "~2.31.0",
|
|
55
|
+
"@fluidframework/merge-tree": "~2.31.0",
|
|
56
|
+
"@fluidframework/sequence": "~2.31.0",
|
|
57
|
+
"@fluidframework/shared-object-base": "~2.31.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
61
61
|
"@biomejs/biome": "~1.9.3",
|
|
62
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
63
|
-
"@fluid-private/test-dds-utils": "~2.
|
|
62
|
+
"@fluid-internal/mocha-test-setup": "~2.31.0",
|
|
63
|
+
"@fluid-private/test-dds-utils": "~2.31.0",
|
|
64
64
|
"@fluid-tools/build-cli": "^0.54.0",
|
|
65
65
|
"@fluidframework/build-common": "^2.0.3",
|
|
66
66
|
"@fluidframework/build-tools": "^0.54.0",
|
|
67
67
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
68
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
69
|
-
"@microsoft/api-extractor": "7.
|
|
68
|
+
"@fluidframework/test-runtime-utils": "~2.31.0",
|
|
69
|
+
"@microsoft/api-extractor": "7.50.1",
|
|
70
70
|
"@types/diff": "^3.5.1",
|
|
71
71
|
"@types/mocha": "^10.0.10",
|
|
72
72
|
"@types/node": "^18.19.0",
|
|
@@ -76,10 +76,9 @@
|
|
|
76
76
|
"cross-env": "^7.0.3",
|
|
77
77
|
"diff": "^3.5.0",
|
|
78
78
|
"eslint": "~8.55.0",
|
|
79
|
-
"mocha": "^10.2
|
|
79
|
+
"mocha": "^10.8.2",
|
|
80
80
|
"mocha-multi-reporters": "^1.5.1",
|
|
81
81
|
"moment": "^2.21.0",
|
|
82
|
-
"prettier": "~3.0.3",
|
|
83
82
|
"rimraf": "^4.4.0",
|
|
84
83
|
"typescript": "~5.4.5"
|
|
85
84
|
},
|
|
@@ -105,14 +104,12 @@
|
|
|
105
104
|
"check:exports:cjs:index": "api-extractor run --config api-extractor/api-extractor-lint-index.cjs.json",
|
|
106
105
|
"check:exports:esm:index": "api-extractor run --config api-extractor/api-extractor-lint-index.esm.json",
|
|
107
106
|
"check:format": "npm run check:biome",
|
|
108
|
-
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
109
107
|
"ci:build:docs": "api-extractor run",
|
|
110
108
|
"clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
111
109
|
"eslint": "eslint --format stylish src",
|
|
112
110
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
113
111
|
"format": "npm run format:biome",
|
|
114
112
|
"format:biome": "biome check . --write",
|
|
115
|
-
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
116
113
|
"lint": "fluid-build . --task lint",
|
|
117
114
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
118
115
|
"test": "npm run test:mocha",
|
package/src/packageVersion.ts
CHANGED