@fluidframework/container-definitions 2.74.0-370705 → 2.80.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,30 @@
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
+
15
+ ## 2.74.0
16
+
17
+ ### Minor Changes
18
+
19
+ - Some keys in IFluidCodeDetailsConfig are now reserved for Fluid Framework use ([#25641](https://github.com/microsoft/FluidFramework/pull/25641)) [1eaf526c813](https://github.com/microsoft/FluidFramework/commit/1eaf526c813c8e36fc0ad52649b80e2b0c055853)
20
+
21
+ The keys of [`IFluidCodeDetailsConfig`](https://fluidframework.com/docs/api/container-definitions/ifluidcodedetailsconfig-interface)
22
+ (the [type of the `config` property on `IFluidCodeDetails`](https://fluidframework.com/docs/api/container-definitions/ifluidcodedetails-interface#config-propertysignature))
23
+ used to be entirely free for consumer use.
24
+ Going forward, keys with the `"FluidFramework."` prefix are reserved for Fluid Framework's internal use.
25
+
26
+ We do not expect this to affect any consumers.
27
+
3
28
  ## 2.73.0
4
29
 
5
30
  Dependency updates only.
@@ -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)}
@@ -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;;;;;;;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"}
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"}
@@ -0,0 +1,30 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * GENERATED FILE - DO NOT EDIT DIRECTLY.
4
+ * To regenerate: pnpm tsx scripts/generate-flat-eslint-configs.ts --typescript
5
+ */
6
+ import type { Linter } from "eslint";
7
+ import { strict } from "../../../common/build/eslint-config-fluid/flat.mts";
8
+
9
+ const config: Linter.Config[] = [
10
+ ...strict,
11
+ {
12
+ rules: {
13
+ "@typescript-eslint/consistent-indexed-object-style": "off",
14
+ "@typescript-eslint/unbound-method": "off",
15
+ },
16
+ },
17
+ {
18
+ files: ["*.spec.ts", "src/test/**"],
19
+ rules: {
20
+ "import-x/no-nodejs-modules": [
21
+ "error",
22
+ {
23
+ "allow": ["assert"],
24
+ },
25
+ ],
26
+ },
27
+ },
28
+ ];
29
+
30
+ export default config;
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)}
@@ -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;;;;;;;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"}
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.74.0-370705",
3
+ "version": "2.80.0",
4
4
  "description": "Fluid container definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -47,26 +47,31 @@
47
47
  "main": "lib/index.js",
48
48
  "types": "lib/public.d.ts",
49
49
  "dependencies": {
50
- "@fluidframework/core-interfaces": "2.74.0-370705",
51
- "@fluidframework/driver-definitions": "2.74.0-370705"
50
+ "@fluidframework/core-interfaces": "~2.80.0",
51
+ "@fluidframework/driver-definitions": "~2.80.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@arethetypeswrong/cli": "^0.17.1",
54
+ "@arethetypeswrong/cli": "^0.18.2",
55
55
  "@biomejs/biome": "~1.9.3",
56
- "@fluid-tools/build-cli": "^0.60.0",
56
+ "@fluid-tools/build-cli": "^0.62.0",
57
57
  "@fluidframework/build-common": "^2.0.3",
58
- "@fluidframework/build-tools": "^0.60.0",
59
- "@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@2.73.0",
60
- "@fluidframework/eslint-config-fluid": "2.74.0-370705",
58
+ "@fluidframework/build-tools": "^0.62.0",
59
+ "@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@2.74.0",
60
+ "@fluidframework/eslint-config-fluid": "~2.80.0",
61
61
  "@microsoft/api-extractor": "7.52.11",
62
- "concurrently": "^8.2.1",
62
+ "concurrently": "^9.2.1",
63
63
  "copyfiles": "^2.4.1",
64
- "eslint": "~8.57.1",
65
- "rimraf": "^4.4.0",
64
+ "eslint": "~9.39.1",
65
+ "jiti": "^2.6.1",
66
+ "rimraf": "^6.1.2",
66
67
  "typescript": "~5.4.5"
67
68
  },
68
69
  "typeValidation": {
69
- "broken": {},
70
+ "broken": {
71
+ "TypeAlias_ContainerErrorTypes": {
72
+ "backCompat": false
73
+ }
74
+ },
70
75
  "entrypoint": "legacy"
71
76
  },
72
77
  "scripts": {