@fluidframework/synthesize 2.30.0 → 2.31.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,9 @@
1
1
  # @fluidframework/synthesize
2
2
 
3
+ ## 2.31.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.30.0
4
8
 
5
9
  Dependency updates only.
@@ -60,45 +64,45 @@ Dependency updates only.
60
64
 
61
65
  ### Minor Changes
62
66
 
63
- - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
67
+ - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
64
68
 
65
- Update package implementations to use TypeScript 5.4.5.
69
+ Update package implementations to use TypeScript 5.4.5.
66
70
 
67
71
  ## 2.0.0-rc.4.0.0
68
72
 
69
73
  ### Minor Changes
70
74
 
71
- - Deprecated members of IFluidHandle are split off into new IFluidHandleInternal interface [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
75
+ - Deprecated members of IFluidHandle are split off into new IFluidHandleInternal interface [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
72
76
 
73
- Split IFluidHandle into two interfaces, `IFluidHandle` and `IFluidHandleInternal`.
74
- Code depending on the previously deprecated members of IFluidHandle can access them by using `toFluidHandleInternal` from `@fluidframework/runtime-utils/legacy`.
77
+ Split IFluidHandle into two interfaces, `IFluidHandle` and `IFluidHandleInternal`.
78
+ Code depending on the previously deprecated members of IFluidHandle can access them by using `toFluidHandleInternal` from `@fluidframework/runtime-utils/legacy`.
75
79
 
76
- External implementation of the `IFluidHandle` interface are not supported: this change makes the typing better convey this using the `ErasedType` pattern.
77
- 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.
78
- Such handle implementation may break in the future and thus should be replaced with use of handles produced by the Fluid Framework client packages.
80
+ External implementation of the `IFluidHandle` interface are not supported: this change makes the typing better convey this using the `ErasedType` pattern.
81
+ 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.
82
+ Such handle implementation may break in the future and thus should be replaced with use of handles produced by the Fluid Framework client packages.
79
83
 
80
84
  ## 2.0.0-rc.3.0.0
81
85
 
82
86
  ### Major Changes
83
87
 
84
- - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
88
+ - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
85
89
 
86
- Fluid Framework packages have been updated to use the [package.json "exports"
87
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
88
- TypeScript types and implementation code.
90
+ Fluid Framework packages have been updated to use the [package.json "exports"
91
+ field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
92
+ TypeScript types and implementation code.
89
93
 
90
- This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
94
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
91
95
 
92
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
93
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
96
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
97
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
94
98
 
95
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
96
- for use with modern versions of Node.js _and_ Bundlers.
97
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
98
- regarding the module and moduleResolution options.
99
+ We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
100
+ for use with modern versions of Node.js _and_ Bundlers.
101
+ [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
102
+ regarding the module and moduleResolution options.
99
103
 
100
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
101
- to distinguish stable APIs from those that are in development.**
104
+ **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
105
+ to distinguish stable APIs from those that are in development.**
102
106
 
103
107
  ## 2.0.0-rc.2.0.0
104
108
 
@@ -132,9 +136,9 @@ Dependency updates only.
132
136
 
133
137
  ### Major Changes
134
138
 
135
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
139
+ - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
136
140
 
137
- The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
141
+ The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
138
142
 
139
143
  ## 2.0.0-internal.6.4.0
140
144
 
@@ -156,9 +160,9 @@ Dependency updates only.
156
160
 
157
161
  ### Major Changes
158
162
 
159
- - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
163
+ - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
160
164
 
161
- 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.
165
+ 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.
162
166
 
163
167
  ## 2.0.0-internal.5.4.0
164
168
 
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.47.8"
8
+ "packageVersion": "7.50.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/synthesize",
3
- "version": "2.30.0",
3
+ "version": "2.31.1",
4
4
  "description": "A library for synthesizing scope objects.",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -69,21 +69,21 @@
69
69
  "temp-directory": "nyc/.nyc_output"
70
70
  },
71
71
  "dependencies": {
72
- "@fluidframework/core-utils": "~2.30.0"
72
+ "@fluidframework/core-utils": "~2.31.1"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@arethetypeswrong/cli": "^0.17.1",
76
76
  "@biomejs/biome": "~1.9.3",
77
- "@fluid-internal/mocha-test-setup": "~2.30.0",
77
+ "@fluid-internal/mocha-test-setup": "~2.31.1",
78
78
  "@fluid-tools/build-cli": "^0.54.0",
79
79
  "@fluidframework/build-common": "^2.0.3",
80
80
  "@fluidframework/build-tools": "^0.54.0",
81
- "@fluidframework/core-interfaces": "~2.30.0",
82
- "@fluidframework/datastore": "~2.30.0",
81
+ "@fluidframework/core-interfaces": "~2.31.1",
82
+ "@fluidframework/datastore": "~2.31.1",
83
83
  "@fluidframework/eslint-config-fluid": "^5.7.3",
84
- "@fluidframework/runtime-utils": "~2.30.0",
85
- "@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@2.23.0",
86
- "@microsoft/api-extractor": "7.47.8",
84
+ "@fluidframework/runtime-utils": "~2.31.1",
85
+ "@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@2.31.0",
86
+ "@microsoft/api-extractor": "7.50.1",
87
87
  "@types/mocha": "^10.0.10",
88
88
  "@types/node": "^18.19.0",
89
89
  "c8": "^8.0.1",
@@ -94,7 +94,6 @@
94
94
  "mocha": "^10.8.2",
95
95
  "mocha-multi-reporters": "^1.5.1",
96
96
  "moment": "^2.21.0",
97
- "prettier": "~3.0.3",
98
97
  "rimraf": "^4.4.0",
99
98
  "typescript": "~5.4.5"
100
99
  },
@@ -126,7 +125,6 @@
126
125
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
127
126
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
128
127
  "check:format": "npm run check:biome",
129
- "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
130
128
  "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
131
129
  "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
132
130
  "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
@@ -136,7 +134,6 @@
136
134
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
137
135
  "format": "npm run format:biome",
138
136
  "format:biome": "biome check . --write",
139
- "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
140
137
  "lint": "fluid-build . --task lint",
141
138
  "lint:fix": "fluid-build . --task eslint:fix --task format",
142
139
  "test": "npm run test:mocha",
@@ -1,8 +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
- ...require("@fluidframework/build-common/prettier.config.cjs"),
8
- };