@fluidframework/container-definitions 2.74.0 → 2.81.0-374083
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 +12 -0
- package/api-report/container-definitions.legacy.beta.api.md +1 -0
- package/dist/error.d.ts +1 -0
- package/dist/error.d.ts.map +1 -1
- package/eslint.config.mts +4 -4
- package/lib/error.d.ts +1 -0
- package/lib/error.d.ts.map +1 -1
- package/package.json +11 -11
- package/.eslintrc.cjs +0 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @fluidframework/container-definitions
|
|
2
2
|
|
|
3
|
+
## 2.80.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added layerIncompatibilityError to FluidErrorTypes, ContainerErrorTypes, DriverErrorTypes and OdspErrorTypes ([#26068](https://github.com/microsoft/FluidFramework/pull/26068)) [a8532bdd903](https://github.com/microsoft/FluidFramework/commit/a8532bdd903626524f17d2ec650d8904046e5308)
|
|
8
|
+
|
|
9
|
+
The Fluid error type `layerIncompatibilityError` is added to `FluidErrorTypes` and is now @legacy @beta. It is also added to `ContainerErrorTypes`, `DriverErrorTypes` and `OdspErrorTypes` which extend `FluidErrorTypes`.
|
|
10
|
+
`layerIncompatibilityError` was added as @legacy @alpha in version 2.72.0.
|
|
11
|
+
The corresponding interface `ILayerIncompatibilityError` for errors of type `layerIncompatibilityError` is now also @legacy @beta.
|
|
12
|
+
|
|
13
|
+
See [this issue](https://github.com/microsoft/FluidFramework/issues/25813) for more details.
|
|
14
|
+
|
|
3
15
|
## 2.74.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -81,6 +81,7 @@ export const ContainerErrorTypes: {
|
|
|
81
81
|
readonly dataCorruptionError: "dataCorruptionError";
|
|
82
82
|
readonly dataProcessingError: "dataProcessingError";
|
|
83
83
|
readonly usageError: "usageError";
|
|
84
|
+
readonly layerIncompatibilityError: "layerIncompatibilityError";
|
|
84
85
|
};
|
|
85
86
|
|
|
86
87
|
// @beta @legacy
|
package/dist/error.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare const ContainerErrorTypes: {
|
|
|
18
18
|
readonly dataCorruptionError: "dataCorruptionError";
|
|
19
19
|
readonly dataProcessingError: "dataProcessingError";
|
|
20
20
|
readonly usageError: "usageError";
|
|
21
|
+
readonly layerIncompatibilityError: "layerIncompatibilityError";
|
|
21
22
|
};
|
|
22
23
|
/**
|
|
23
24
|
* {@inheritDoc (ContainerErrorTypes:variable)}
|
package/dist/error.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAGlE;;;GAGG;AACH,eAAO,MAAM,mBAAmB;IAE/B;;;OAGG
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAGlE;;;GAGG;AACH,eAAO,MAAM,mBAAmB;IAE/B;;;OAGG;;;;;;;;CAEM,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAC9B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IACnD;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC"}
|
package/eslint.config.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* To regenerate: pnpm tsx scripts/generate-flat-eslint-configs.ts --typescript
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*/
|
|
5
|
+
|
|
6
6
|
import type { Linter } from "eslint";
|
|
7
7
|
import { strict } from "../../../common/build/eslint-config-fluid/flat.mts";
|
|
8
8
|
|
package/lib/error.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare const ContainerErrorTypes: {
|
|
|
18
18
|
readonly dataCorruptionError: "dataCorruptionError";
|
|
19
19
|
readonly dataProcessingError: "dataProcessingError";
|
|
20
20
|
readonly usageError: "usageError";
|
|
21
|
+
readonly layerIncompatibilityError: "layerIncompatibilityError";
|
|
21
22
|
};
|
|
22
23
|
/**
|
|
23
24
|
* {@inheritDoc (ContainerErrorTypes:variable)}
|
package/lib/error.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAGlE;;;GAGG;AACH,eAAO,MAAM,mBAAmB;IAE/B;;;OAGG
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAGlE;;;GAGG;AACH,eAAO,MAAM,mBAAmB;IAE/B;;;OAGG;;;;;;;;CAEM,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAC9B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IACnD;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/container-definitions",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.81.0-374083",
|
|
4
4
|
"description": "Fluid container definitions",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -47,23 +47,23 @@
|
|
|
47
47
|
"main": "lib/index.js",
|
|
48
48
|
"types": "lib/public.d.ts",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@fluidframework/core-interfaces": "
|
|
51
|
-
"@fluidframework/driver-definitions": "
|
|
50
|
+
"@fluidframework/core-interfaces": "2.81.0-374083",
|
|
51
|
+
"@fluidframework/driver-definitions": "2.81.0-374083"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@arethetypeswrong/cli": "^0.
|
|
54
|
+
"@arethetypeswrong/cli": "^0.18.2",
|
|
55
55
|
"@biomejs/biome": "~1.9.3",
|
|
56
|
-
"@fluid-tools/build-cli": "^0.
|
|
56
|
+
"@fluid-tools/build-cli": "^0.63.0",
|
|
57
57
|
"@fluidframework/build-common": "^2.0.3",
|
|
58
|
-
"@fluidframework/build-tools": "^0.
|
|
59
|
-
"@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@2.
|
|
60
|
-
"@fluidframework/eslint-config-fluid": "
|
|
58
|
+
"@fluidframework/build-tools": "^0.63.0",
|
|
59
|
+
"@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@2.80.0",
|
|
60
|
+
"@fluidframework/eslint-config-fluid": "2.81.0-374083",
|
|
61
61
|
"@microsoft/api-extractor": "7.52.11",
|
|
62
|
-
"concurrently": "^
|
|
62
|
+
"concurrently": "^9.2.1",
|
|
63
63
|
"copyfiles": "^2.4.1",
|
|
64
|
-
"eslint": "~
|
|
64
|
+
"eslint": "~9.39.1",
|
|
65
65
|
"jiti": "^2.6.1",
|
|
66
|
-
"rimraf": "^
|
|
66
|
+
"rimraf": "^6.1.2",
|
|
67
67
|
"typescript": "~5.4.5"
|
|
68
68
|
},
|
|
69
69
|
"typeValidation": {
|
package/.eslintrc.cjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
extends: [require.resolve("@fluidframework/eslint-config-fluid/strict"), "prettier"],
|
|
8
|
-
parserOptions: {
|
|
9
|
-
project: ["./tsconfig.json", "./src/test/tsconfig.json"],
|
|
10
|
-
},
|
|
11
|
-
rules: {
|
|
12
|
-
// TODO: Enabling this may require breaking changes.
|
|
13
|
-
"@typescript-eslint/consistent-indexed-object-style": "off",
|
|
14
|
-
|
|
15
|
-
// Disabled because the rule is crashing on this package - AB#51780
|
|
16
|
-
"@typescript-eslint/unbound-method": "off",
|
|
17
|
-
},
|
|
18
|
-
overrides: [
|
|
19
|
-
{
|
|
20
|
-
// Rules only for test files
|
|
21
|
-
files: ["*.spec.ts", "src/test/**"],
|
|
22
|
-
rules: {
|
|
23
|
-
// Test files are run in node only so additional node libraries can be used.
|
|
24
|
-
"import-x/no-nodejs-modules": ["error", { allow: ["assert"] }],
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
};
|