fluid-framework 2.93.0 → 2.100.1

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,13 @@
1
1
  # fluid-framework
2
2
 
3
+ ## 2.100.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Node 22 is now the minimum supported Node.js version ([#27116](https://github.com/microsoft/FluidFramework/pull/27116)) [e8214d29663](https://github.com/microsoft/FluidFramework/commit/e8214d29663f5ee98d737daed82506a25d8de8d0)
8
+
9
+ All Fluid Framework client packages now require Node.js 22 or later. This aligns with the standing Node upgrade policy as Node 20 reaches end-of-life on April 30, 2026.
10
+
3
11
  ## 2.93.0
4
12
 
5
13
  ### Minor Changes
@@ -1555,6 +1555,8 @@ export class SchemaFactoryAlpha<out TScope extends string | undefined = string |
1555
1555
  scopedFactoryAlpha<const T extends TName, TNameInner extends number | string = string>(name: T): SchemaFactoryAlpha<ScopedSchemaName<TScope, T>, TNameInner>;
1556
1556
  readonly stagedOptional: <const T extends ImplicitAllowedTypes, const TCustomMetadata = unknown>(t: T, props?: Omit<FieldPropsAlpha<TCustomMetadata>, "stagedOptionalUpgrade" | "defaultProvider"> | undefined) => FieldSchemaAlpha<FieldKind.Optional, T, TCustomMetadata, FieldPropsAlpha<TCustomMetadata>>;
1557
1557
  static readonly stagedOptional: <const T extends ImplicitAllowedTypes, const TCustomMetadata = unknown>(t: T, props?: Omit<FieldPropsAlpha<TCustomMetadata>, "stagedOptionalUpgrade" | "defaultProvider"> | undefined) => FieldSchemaAlpha<FieldKind.Optional, T, TCustomMetadata, FieldPropsAlpha<TCustomMetadata>>;
1558
+ readonly stagedOptionalRecursive: <const T extends System_Unsafe.ImplicitAllowedTypesUnsafe, const TCustomMetadata = unknown>(t: T, props?: Omit<FieldPropsAlpha<TCustomMetadata>, "stagedOptionalUpgrade" | "defaultProvider"> | undefined) => FieldSchemaAlphaUnsafe<FieldKind.Optional, T, TCustomMetadata, FieldPropsAlpha<TCustomMetadata>>;
1559
+ static readonly stagedOptionalRecursive: <const T extends System_Unsafe.ImplicitAllowedTypesUnsafe, const TCustomMetadata = unknown>(t: T, props?: Omit<FieldPropsAlpha<TCustomMetadata>, "stagedOptionalUpgrade" | "defaultProvider"> | undefined) => FieldSchemaAlphaUnsafe<FieldKind.Optional, T, TCustomMetadata, FieldPropsAlpha<TCustomMetadata>>;
1558
1560
  readonly withDefault: <Kind extends FieldKind, Types extends ImplicitAllowedTypes, TCustomMetadata = unknown>(fieldSchema: FieldSchema<Kind, Types, TCustomMetadata>, defaultValue: NodeProvider<ApplyKindInput<InsertableTreeNodeFromImplicitAllowedTypes<Types>, Kind, true>>) => FieldSchemaAlpha<Kind, Types, TCustomMetadata, FieldPropsAlpha<TCustomMetadata> & {
1559
1561
  defaultProvider: DefaultProvider;
1560
1562
  }>;
@@ -1613,6 +1615,7 @@ export interface SchemaStatics {
1613
1615
  // @alpha @sealed @system
1614
1616
  export interface SchemaStaticsAlpha {
1615
1617
  readonly stagedOptional: <const T extends ImplicitAllowedTypes, const TCustomMetadata = unknown>(t: T, props?: Omit<FieldPropsAlpha<TCustomMetadata>, "defaultProvider" | "stagedOptionalUpgrade">) => FieldSchemaAlpha<FieldKind.Optional, T, TCustomMetadata, FieldPropsAlpha<TCustomMetadata>>;
1618
+ readonly stagedOptionalRecursive: <const T extends System_Unsafe.ImplicitAllowedTypesUnsafe, const TCustomMetadata = unknown>(t: T, props?: Omit<FieldPropsAlpha<TCustomMetadata>, "defaultProvider" | "stagedOptionalUpgrade">) => FieldSchemaAlphaUnsafe<FieldKind.Optional, T, TCustomMetadata, FieldPropsAlpha<TCustomMetadata>>;
1616
1619
  readonly withDefault: <Kind extends FieldKind, Types extends ImplicitAllowedTypes, TCustomMetadata = unknown>(fieldSchema: FieldSchema<Kind, Types, TCustomMetadata>, defaultValue: NodeProvider<InsertableTreeFieldFromImplicitField<FieldSchema<Kind, Types>>>) => FieldSchemaAlpha<Kind, Types, TCustomMetadata, FieldPropsAlpha<TCustomMetadata> & {
1617
1620
  defaultProvider: DefaultProvider;
1618
1621
  }>;
@@ -1664,7 +1667,9 @@ export interface SharedTreeOptions extends SharedTreeOptionsBeta, Partial<CodecW
1664
1667
  }
1665
1668
 
1666
1669
  // @beta @input
1667
- export type SharedTreeOptionsBeta = ForestOptions & Partial<CodecWriteOptionsBeta>;
1670
+ export interface SharedTreeOptionsBeta extends ForestOptions, Partial<CodecWriteOptionsBeta> {
1671
+ readonly healUnresolvableIdentifiersOnDecode?: boolean;
1672
+ }
1668
1673
 
1669
1674
  // @alpha @sealed
1670
1675
  export interface SimpleAllowedTypeAttributes<out Type extends SchemaType = SchemaType> {
@@ -1008,7 +1008,9 @@ export interface SharedObjectKind<out TSharedObject = unknown> extends ErasedTyp
1008
1008
  export const SharedTree: SharedObjectKind<ITree>;
1009
1009
 
1010
1010
  // @beta @input
1011
- export type SharedTreeOptionsBeta = ForestOptions & Partial<CodecWriteOptionsBeta>;
1011
+ export interface SharedTreeOptionsBeta extends ForestOptions, Partial<CodecWriteOptionsBeta> {
1012
+ readonly healUnresolvableIdentifiersOnDecode?: boolean;
1013
+ }
1012
1014
 
1013
1015
  // @public @sealed @system
1014
1016
  export interface SimpleNodeSchemaBase<out TNodeKind extends NodeKind, out TCustomMetadata = unknown> {
@@ -1372,7 +1372,9 @@ export type SharedStringSegment = TextSegment | Marker;
1372
1372
  export const SharedTree: SharedObjectKind<ITree>;
1373
1373
 
1374
1374
  // @beta @input
1375
- export type SharedTreeOptionsBeta = ForestOptions & Partial<CodecWriteOptionsBeta>;
1375
+ export interface SharedTreeOptionsBeta extends ForestOptions, Partial<CodecWriteOptionsBeta> {
1376
+ readonly healUnresolvableIdentifiersOnDecode?: boolean;
1377
+ }
1376
1378
 
1377
1379
  export { Side }
1378
1380
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluid-framework",
3
- "version": "2.93.0",
3
+ "version": "2.100.1",
4
4
  "description": "The main entry point into Fluid Framework public packages",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -57,24 +57,24 @@
57
57
  "main": "lib/index.js",
58
58
  "types": "lib/public.d.ts",
59
59
  "dependencies": {
60
- "@fluidframework/container-definitions": "~2.93.0",
61
- "@fluidframework/container-loader": "~2.93.0",
62
- "@fluidframework/core-interfaces": "~2.93.0",
63
- "@fluidframework/core-utils": "~2.93.0",
64
- "@fluidframework/driver-definitions": "~2.93.0",
65
- "@fluidframework/fluid-static": "~2.93.0",
66
- "@fluidframework/map": "~2.93.0",
67
- "@fluidframework/runtime-utils": "~2.93.0",
68
- "@fluidframework/sequence": "~2.93.0",
69
- "@fluidframework/shared-object-base": "~2.93.0",
70
- "@fluidframework/tree": "~2.93.0"
60
+ "@fluidframework/container-definitions": "~2.100.1",
61
+ "@fluidframework/container-loader": "~2.100.1",
62
+ "@fluidframework/core-interfaces": "~2.100.1",
63
+ "@fluidframework/core-utils": "~2.100.1",
64
+ "@fluidframework/driver-definitions": "~2.100.1",
65
+ "@fluidframework/fluid-static": "~2.100.1",
66
+ "@fluidframework/map": "~2.100.1",
67
+ "@fluidframework/runtime-utils": "~2.100.1",
68
+ "@fluidframework/sequence": "~2.100.1",
69
+ "@fluidframework/shared-object-base": "~2.100.1",
70
+ "@fluidframework/tree": "~2.100.1"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@arethetypeswrong/cli": "^0.18.2",
74
74
  "@biomejs/biome": "~2.4.5",
75
- "@fluid-tools/build-cli": "^0.64.0",
75
+ "@fluid-tools/build-cli": "^0.65.0",
76
76
  "@fluidframework/build-common": "^2.0.3",
77
- "@fluidframework/build-tools": "^0.64.0",
77
+ "@fluidframework/build-tools": "^0.65.0",
78
78
  "@fluidframework/eslint-config-fluid": "^9.0.0",
79
79
  "@microsoft/api-extractor": "7.58.1",
80
80
  "@types/node": "~22.19.17",