@fluidframework/synthesize 2.30.0 → 2.31.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 +29 -25
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +8 -11
- package/prettier.config.cjs +0 -8
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
|
-
-
|
|
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
|
-
|
|
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
|
-
-
|
|
75
|
+
- Deprecated members of IFluidHandle are split off into new IFluidHandleInternal interface [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
72
76
|
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
-
-
|
|
88
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
85
89
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
-
|
|
94
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
91
95
|
|
|
92
|
-
|
|
93
|
-
|
|
96
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
97
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
94
98
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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
|
-
|
|
101
|
-
|
|
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
|
-
-
|
|
139
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
136
140
|
|
|
137
|
-
|
|
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
|
-
-
|
|
163
|
+
- Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
160
164
|
|
|
161
|
-
|
|
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
|
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/synthesize",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
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.
|
|
72
|
+
"@fluidframework/core-utils": "~2.31.0"
|
|
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.
|
|
77
|
+
"@fluid-internal/mocha-test-setup": "~2.31.0",
|
|
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.
|
|
82
|
-
"@fluidframework/datastore": "~2.
|
|
81
|
+
"@fluidframework/core-interfaces": "~2.31.0",
|
|
82
|
+
"@fluidframework/datastore": "~2.31.0",
|
|
83
83
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
84
|
-
"@fluidframework/runtime-utils": "~2.
|
|
85
|
-
"@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@2.
|
|
86
|
-
"@microsoft/api-extractor": "7.
|
|
84
|
+
"@fluidframework/runtime-utils": "~2.31.0",
|
|
85
|
+
"@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@2.30.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",
|