@fluidframework/runtime-definitions 2.81.0 → 2.82.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,9 @@
1
1
  # @fluidframework/runtime-definitions
2
2
 
3
+ ## 2.82.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.81.0
4
8
 
5
9
  Dependency updates only.
package/README.md CHANGED
@@ -30,6 +30,8 @@ For more information on the related support guarantees, see [API Support Levels]
30
30
 
31
31
  To access the `public` ([SemVer](https://semver.org/)) APIs, import via `@fluidframework/runtime-definitions` like normal.
32
32
 
33
+ To access the `beta` APIs, import via `@fluidframework/runtime-definitions/beta`.
34
+
33
35
  To access the `legacy` APIs, import via `@fluidframework/runtime-definitions/legacy`.
34
36
 
35
37
  ## API Documentation
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-lint.entrypoint.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/dist/beta.d.ts"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-lint.entrypoint.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/lib/beta.d.ts"
5
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
3
  "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-report.esm.current.json",
4
- "mainEntryPointFilePath": "<projectFolder>/lib/public.d.ts"
4
+ "mainEntryPointFilePath": "<projectFolder>/lib/beta.d.ts"
5
5
  }
@@ -4,6 +4,9 @@
4
4
 
5
5
  ```ts
6
6
 
7
+ // @beta @input
8
+ export type MinimumVersionForCollab = `${1 | 2}.${bigint}.${bigint}` | `${1 | 2}.${bigint}.${bigint}-${string}`;
9
+
7
10
  // (No @packageDocumentation comment for this package)
8
11
 
9
12
  ```
@@ -397,7 +397,7 @@ export interface LocalAttributionKey {
397
397
  type: "local";
398
398
  }
399
399
 
400
- // @beta @legacy @input
400
+ // @beta @input
401
401
  export type MinimumVersionForCollab = `${1 | 2}.${bigint}.${bigint}` | `${1 | 2}.${bigint}.${bigint}-${string}`;
402
402
 
403
403
  // @beta @legacy
@@ -388,7 +388,7 @@ export interface LocalAttributionKey {
388
388
  type: "local";
389
389
  }
390
390
 
391
- // @beta @legacy @input
391
+ // @beta @input
392
392
  export type MinimumVersionForCollab = `${1 | 2}.${bigint}.${bigint}` | `${1 | 2}.${bigint}.${bigint}-${string}`;
393
393
 
394
394
  // @beta @legacy
package/beta.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ export * from "./lib/beta.js";
package/dist/beta.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ export {
12
+ // #region @beta APIs
13
+ MinimumVersionForCollab
14
+ // #endregion
15
+ } from "./index.js";
@@ -25,7 +25,7 @@
25
25
  * For example it might make sense to constrain this to something like `"1.4.0" | typeof defaultMinVersionForCollab | 2.${bigint}.0"`.
26
26
  *
27
27
  * @input
28
- * @legacy @beta
28
+ * @beta
29
29
  */
30
30
  export type MinimumVersionForCollab = `${1 | 2}.${bigint}.${bigint}` | `${1 | 2}.${bigint}.${bigint}-${string}`;
31
31
  //# sourceMappingURL=compatibilityDefinitions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compatibilityDefinitions.js","sourceRoot":"","sources":["../src/compatibilityDefinitions.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * Oldest version of Fluid Framework client packages to support collaborating with.\n * @remarks\n * String in a SemVer format indicating a specific version of the Fluid Framework client package, or the special case of {@link @fluidframework/runtime-utils#defaultMinVersionForCollab}.\n *\n * When specifying a given `MinimumVersionForCollab`, any client with a version that is greater than or equal to the specified version will be considered compatible.\n *\n * Must be at least {@link @fluidframework/runtime-utils#lowestMinVersionForCollab} and cannot exceed the current version.\n *\n * {@link @fluidframework/runtime-utils#validateMinimumVersionForCollab} can be used to check these invariants at runtime.\n * Since TypeScript cannot enforce them all for literals in code,\n * it may be useful to use `validateMinimumVersionForCollab` values which may come from constants in the codebase typed as a `MinimumVersionForCollab`.\n *\n * @privateRemarks\n * Since this uses the semver notion of \"greater\" (which might not actually mean a later release, or supporting more features), care must be taken with how this is used.\n * See remarks for {@link @fluidframework/runtime-utils#MinimumMinorSemanticVersion} for more details.\n *\n * Since this type is marked with `@input`, it can be generalized to allow more cases in the future as a non-breaking change.\n *\n * TODO: before stabilizing this further, some restrictions should be considered (since once stabilized, this can be relaxed, but not more constrained).\n * For example it might make sense to constrain this to something like `\"1.4.0\" | typeof defaultMinVersionForCollab | 2.${bigint}.0\"`.\n *\n * @input\n * @legacy @beta\n */\nexport type MinimumVersionForCollab =\n\t| `${1 | 2}.${bigint}.${bigint}`\n\t| `${1 | 2}.${bigint}.${bigint}-${string}`;\n"]}
1
+ {"version":3,"file":"compatibilityDefinitions.js","sourceRoot":"","sources":["../src/compatibilityDefinitions.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * Oldest version of Fluid Framework client packages to support collaborating with.\n * @remarks\n * String in a SemVer format indicating a specific version of the Fluid Framework client package, or the special case of {@link @fluidframework/runtime-utils#defaultMinVersionForCollab}.\n *\n * When specifying a given `MinimumVersionForCollab`, any client with a version that is greater than or equal to the specified version will be considered compatible.\n *\n * Must be at least {@link @fluidframework/runtime-utils#lowestMinVersionForCollab} and cannot exceed the current version.\n *\n * {@link @fluidframework/runtime-utils#validateMinimumVersionForCollab} can be used to check these invariants at runtime.\n * Since TypeScript cannot enforce them all for literals in code,\n * it may be useful to use `validateMinimumVersionForCollab` values which may come from constants in the codebase typed as a `MinimumVersionForCollab`.\n *\n * @privateRemarks\n * Since this uses the semver notion of \"greater\" (which might not actually mean a later release, or supporting more features), care must be taken with how this is used.\n * See remarks for {@link @fluidframework/runtime-utils#MinimumMinorSemanticVersion} for more details.\n *\n * Since this type is marked with `@input`, it can be generalized to allow more cases in the future as a non-breaking change.\n *\n * TODO: before stabilizing this further, some restrictions should be considered (since once stabilized, this can be relaxed, but not more constrained).\n * For example it might make sense to constrain this to something like `\"1.4.0\" | typeof defaultMinVersionForCollab | 2.${bigint}.0\"`.\n *\n * @input\n * @beta\n */\nexport type MinimumVersionForCollab =\n\t| `${1 | 2}.${bigint}.${bigint}`\n\t| `${1 | 2}.${bigint}.${bigint}-${string}`;\n"]}
package/dist/legacy.d.ts CHANGED
@@ -9,6 +9,10 @@
9
9
  */
10
10
 
11
11
  export {
12
+ // #region @beta APIs
13
+ MinimumVersionForCollab,
14
+ // #endregion
15
+
12
16
  // #region @legacyBeta APIs
13
17
  AliasResult,
14
18
  AttributionInfo,
@@ -52,7 +56,6 @@ export {
52
56
  ITelemetryContext,
53
57
  InboundAttachMessage,
54
58
  LocalAttributionKey,
55
- MinimumVersionForCollab,
56
59
  NamedFluidDataStoreRegistryEntries,
57
60
  NamedFluidDataStoreRegistryEntry,
58
61
  NamedFluidDataStoreRegistryEntry2,
@@ -9,6 +9,10 @@
9
9
  */
10
10
 
11
11
  export {
12
+ // #region @beta APIs
13
+ MinimumVersionForCollab,
14
+ // #endregion
15
+
12
16
  // #region @legacyBeta APIs
13
17
  AliasResult,
14
18
  AttributionInfo,
@@ -52,7 +56,6 @@ export {
52
56
  ITelemetryContext,
53
57
  InboundAttachMessage,
54
58
  LocalAttributionKey,
55
- MinimumVersionForCollab,
56
59
  NamedFluidDataStoreRegistryEntries,
57
60
  NamedFluidDataStoreRegistryEntry,
58
61
  NamedFluidDataStoreRegistryEntry2,
package/lib/beta.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ export {
12
+ // #region @beta APIs
13
+ MinimumVersionForCollab
14
+ // #endregion
15
+ } from "./index.js";
@@ -25,7 +25,7 @@
25
25
  * For example it might make sense to constrain this to something like `"1.4.0" | typeof defaultMinVersionForCollab | 2.${bigint}.0"`.
26
26
  *
27
27
  * @input
28
- * @legacy @beta
28
+ * @beta
29
29
  */
30
30
  export type MinimumVersionForCollab = `${1 | 2}.${bigint}.${bigint}` | `${1 | 2}.${bigint}.${bigint}-${string}`;
31
31
  //# sourceMappingURL=compatibilityDefinitions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compatibilityDefinitions.js","sourceRoot":"","sources":["../src/compatibilityDefinitions.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * Oldest version of Fluid Framework client packages to support collaborating with.\n * @remarks\n * String in a SemVer format indicating a specific version of the Fluid Framework client package, or the special case of {@link @fluidframework/runtime-utils#defaultMinVersionForCollab}.\n *\n * When specifying a given `MinimumVersionForCollab`, any client with a version that is greater than or equal to the specified version will be considered compatible.\n *\n * Must be at least {@link @fluidframework/runtime-utils#lowestMinVersionForCollab} and cannot exceed the current version.\n *\n * {@link @fluidframework/runtime-utils#validateMinimumVersionForCollab} can be used to check these invariants at runtime.\n * Since TypeScript cannot enforce them all for literals in code,\n * it may be useful to use `validateMinimumVersionForCollab` values which may come from constants in the codebase typed as a `MinimumVersionForCollab`.\n *\n * @privateRemarks\n * Since this uses the semver notion of \"greater\" (which might not actually mean a later release, or supporting more features), care must be taken with how this is used.\n * See remarks for {@link @fluidframework/runtime-utils#MinimumMinorSemanticVersion} for more details.\n *\n * Since this type is marked with `@input`, it can be generalized to allow more cases in the future as a non-breaking change.\n *\n * TODO: before stabilizing this further, some restrictions should be considered (since once stabilized, this can be relaxed, but not more constrained).\n * For example it might make sense to constrain this to something like `\"1.4.0\" | typeof defaultMinVersionForCollab | 2.${bigint}.0\"`.\n *\n * @input\n * @legacy @beta\n */\nexport type MinimumVersionForCollab =\n\t| `${1 | 2}.${bigint}.${bigint}`\n\t| `${1 | 2}.${bigint}.${bigint}-${string}`;\n"]}
1
+ {"version":3,"file":"compatibilityDefinitions.js","sourceRoot":"","sources":["../src/compatibilityDefinitions.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * Oldest version of Fluid Framework client packages to support collaborating with.\n * @remarks\n * String in a SemVer format indicating a specific version of the Fluid Framework client package, or the special case of {@link @fluidframework/runtime-utils#defaultMinVersionForCollab}.\n *\n * When specifying a given `MinimumVersionForCollab`, any client with a version that is greater than or equal to the specified version will be considered compatible.\n *\n * Must be at least {@link @fluidframework/runtime-utils#lowestMinVersionForCollab} and cannot exceed the current version.\n *\n * {@link @fluidframework/runtime-utils#validateMinimumVersionForCollab} can be used to check these invariants at runtime.\n * Since TypeScript cannot enforce them all for literals in code,\n * it may be useful to use `validateMinimumVersionForCollab` values which may come from constants in the codebase typed as a `MinimumVersionForCollab`.\n *\n * @privateRemarks\n * Since this uses the semver notion of \"greater\" (which might not actually mean a later release, or supporting more features), care must be taken with how this is used.\n * See remarks for {@link @fluidframework/runtime-utils#MinimumMinorSemanticVersion} for more details.\n *\n * Since this type is marked with `@input`, it can be generalized to allow more cases in the future as a non-breaking change.\n *\n * TODO: before stabilizing this further, some restrictions should be considered (since once stabilized, this can be relaxed, but not more constrained).\n * For example it might make sense to constrain this to something like `\"1.4.0\" | typeof defaultMinVersionForCollab | 2.${bigint}.0\"`.\n *\n * @input\n * @beta\n */\nexport type MinimumVersionForCollab =\n\t| `${1 | 2}.${bigint}.${bigint}`\n\t| `${1 | 2}.${bigint}.${bigint}-${string}`;\n"]}
package/lib/legacy.d.ts CHANGED
@@ -9,6 +9,10 @@
9
9
  */
10
10
 
11
11
  export {
12
+ // #region @beta APIs
13
+ MinimumVersionForCollab,
14
+ // #endregion
15
+
12
16
  // #region @legacyBeta APIs
13
17
  AliasResult,
14
18
  AttributionInfo,
@@ -52,7 +56,6 @@ export {
52
56
  ITelemetryContext,
53
57
  InboundAttachMessage,
54
58
  LocalAttributionKey,
55
- MinimumVersionForCollab,
56
59
  NamedFluidDataStoreRegistryEntries,
57
60
  NamedFluidDataStoreRegistryEntry,
58
61
  NamedFluidDataStoreRegistryEntry2,
@@ -9,6 +9,10 @@
9
9
  */
10
10
 
11
11
  export {
12
+ // #region @beta APIs
13
+ MinimumVersionForCollab,
14
+ // #endregion
15
+
12
16
  // #region @legacyBeta APIs
13
17
  AliasResult,
14
18
  AttributionInfo,
@@ -52,7 +56,6 @@ export {
52
56
  ITelemetryContext,
53
57
  InboundAttachMessage,
54
58
  LocalAttributionKey,
55
- MinimumVersionForCollab,
56
59
  NamedFluidDataStoreRegistryEntries,
57
60
  NamedFluidDataStoreRegistryEntry,
58
61
  NamedFluidDataStoreRegistryEntry2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/runtime-definitions",
3
- "version": "2.81.0",
3
+ "version": "2.82.0",
4
4
  "description": "Fluid Runtime definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -23,6 +23,16 @@
23
23
  "default": "./dist/index.js"
24
24
  }
25
25
  },
26
+ "./beta": {
27
+ "import": {
28
+ "types": "./lib/beta.d.ts",
29
+ "default": "./lib/index.js"
30
+ },
31
+ "require": {
32
+ "types": "./dist/beta.d.ts",
33
+ "default": "./dist/index.js"
34
+ }
35
+ },
26
36
  "./legacy": {
27
37
  "import": {
28
38
  "types": "./lib/legacy.d.ts",
@@ -57,12 +67,12 @@
57
67
  "main": "lib/index.js",
58
68
  "types": "lib/public.d.ts",
59
69
  "dependencies": {
60
- "@fluid-internal/client-utils": "~2.81.0",
61
- "@fluidframework/container-definitions": "~2.81.0",
62
- "@fluidframework/core-interfaces": "~2.81.0",
63
- "@fluidframework/driver-definitions": "~2.81.0",
64
- "@fluidframework/id-compressor": "~2.81.0",
65
- "@fluidframework/telemetry-utils": "~2.81.0"
70
+ "@fluid-internal/client-utils": "~2.82.0",
71
+ "@fluidframework/container-definitions": "~2.82.0",
72
+ "@fluidframework/core-interfaces": "~2.82.0",
73
+ "@fluidframework/driver-definitions": "~2.82.0",
74
+ "@fluidframework/id-compressor": "~2.82.0",
75
+ "@fluidframework/telemetry-utils": "~2.82.0"
66
76
  },
67
77
  "devDependencies": {
68
78
  "@arethetypeswrong/cli": "^0.18.2",
@@ -70,8 +80,8 @@
70
80
  "@fluid-tools/build-cli": "^0.63.0",
71
81
  "@fluidframework/build-common": "^2.0.3",
72
82
  "@fluidframework/build-tools": "^0.63.0",
73
- "@fluidframework/eslint-config-fluid": "~2.81.0",
74
- "@fluidframework/runtime-definitions-previous": "npm:@fluidframework/runtime-definitions@2.80.0",
83
+ "@fluidframework/eslint-config-fluid": "~2.82.0",
84
+ "@fluidframework/runtime-definitions-previous": "npm:@fluidframework/runtime-definitions@2.81.0",
75
85
  "@microsoft/api-extractor": "7.52.11",
76
86
  "concurrently": "^9.2.1",
77
87
  "copyfiles": "^2.4.1",
@@ -102,9 +112,11 @@
102
112
  "check:biome": "biome check .",
103
113
  "check:exports": "concurrently \"npm:check:exports:*\"",
104
114
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
115
+ "check:exports:cjs:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.cjs.json",
105
116
  "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
106
117
  "check:exports:cjs:legacyAlpha": "api-extractor run --config api-extractor/api-extractor-lint-legacyAlpha.cjs.json",
107
118
  "check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
119
+ "check:exports:esm:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.esm.json",
108
120
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
109
121
  "check:exports:esm:legacyAlpha": "api-extractor run --config api-extractor/api-extractor-lint-legacyAlpha.esm.json",
110
122
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
@@ -113,7 +125,7 @@
113
125
  "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
114
126
  "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
115
127
  "ci:build:docs": "api-extractor run",
116
- "clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
128
+ "clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts legacy \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
117
129
  "eslint": "eslint --quiet --format stylish src",
118
130
  "eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
119
131
  "format": "npm run format:biome",
@@ -26,7 +26,7 @@
26
26
  * For example it might make sense to constrain this to something like `"1.4.0" | typeof defaultMinVersionForCollab | 2.${bigint}.0"`.
27
27
  *
28
28
  * @input
29
- * @legacy @beta
29
+ * @beta
30
30
  */
31
31
  export type MinimumVersionForCollab =
32
32
  | `${1 | 2}.${bigint}.${bigint}`
package/biome.jsonc DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3
- "extends": ["../../../biome.jsonc"]
4
- }