@fluidframework/request-handler 2.23.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 +54 -46
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +10 -13
- package/prettier.config.cjs +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fluidframework/request-handler
|
|
2
2
|
|
|
3
|
+
## 2.31.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
7
|
+
## 2.30.0
|
|
8
|
+
|
|
9
|
+
Dependency updates only.
|
|
10
|
+
|
|
3
11
|
## 2.23.0
|
|
4
12
|
|
|
5
13
|
Dependency updates only.
|
|
@@ -56,9 +64,9 @@ Dependency updates only.
|
|
|
56
64
|
|
|
57
65
|
### Minor Changes
|
|
58
66
|
|
|
59
|
-
-
|
|
67
|
+
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
|
|
60
68
|
|
|
61
|
-
|
|
69
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
62
70
|
|
|
63
71
|
## 2.0.0-rc.4.0.0
|
|
64
72
|
|
|
@@ -68,24 +76,24 @@ Dependency updates only.
|
|
|
68
76
|
|
|
69
77
|
### Major Changes
|
|
70
78
|
|
|
71
|
-
-
|
|
79
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
72
80
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
81
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
82
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
83
|
+
TypeScript types and implementation code.
|
|
76
84
|
|
|
77
|
-
|
|
85
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
78
86
|
|
|
79
|
-
|
|
80
|
-
|
|
87
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
88
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
81
89
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
90
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
91
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
92
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
93
|
+
regarding the module and moduleResolution options.
|
|
86
94
|
|
|
87
|
-
|
|
88
|
-
|
|
95
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
96
|
+
to distinguish stable APIs from those that are in development.**
|
|
89
97
|
|
|
90
98
|
## 2.0.0-rc.2.0.0
|
|
91
99
|
|
|
@@ -99,22 +107,22 @@ Dependency updates only.
|
|
|
99
107
|
|
|
100
108
|
### Major Changes
|
|
101
109
|
|
|
102
|
-
-
|
|
110
|
+
- aqueduct: Removed requestHandler utilities [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
|
|
103
111
|
|
|
104
|
-
|
|
112
|
+
The following `requestHandler` utilities have been removed:
|
|
105
113
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
- `makeModelRequestHandler`
|
|
115
|
+
- `defaultFluidObjectRequestHandler`
|
|
116
|
+
- `defaultRouteRequestHandler`
|
|
117
|
+
- `mountableViewRequestHandler`
|
|
118
|
+
- `createFluidObjectResponse`
|
|
119
|
+
- `rootDataStoreRequestHandler`
|
|
120
|
+
- `handleFromLegacyUri`
|
|
121
|
+
- `RuntimeRequestHandlerBuilder`
|
|
114
122
|
|
|
115
|
-
|
|
123
|
+
Please migrate all usage to the new `entryPoint` pattern.
|
|
116
124
|
|
|
117
|
-
|
|
125
|
+
See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
|
|
118
126
|
|
|
119
127
|
## 2.0.0-internal.7.4.0
|
|
120
128
|
|
|
@@ -136,34 +144,34 @@ Dependency updates only.
|
|
|
136
144
|
|
|
137
145
|
### Major Changes
|
|
138
146
|
|
|
139
|
-
-
|
|
147
|
+
- DEPRECATED: container-runtime: requestHandlers are deprecated [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
140
148
|
|
|
141
|
-
|
|
149
|
+
The concept of `requestHandlers` has been deprecated. Please migrate all usage of the following APIs to the new `entryPoint` pattern:
|
|
142
150
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
- `requestHandler` property in `ContainerRuntime.loadRuntime(...)`
|
|
152
|
+
- `RuntimeRequestHandler`
|
|
153
|
+
- `RuntimeRequestHandlerBuilder`
|
|
154
|
+
- `defaultFluidObjectRequestHandler(...)`
|
|
155
|
+
- `defaultRouteRequestHandler(...)`
|
|
156
|
+
- `mountableViewRequestHandler(...)`
|
|
157
|
+
- `buildRuntimeRequestHandler(...)`
|
|
158
|
+
- `createFluidObjectResponse(...)`
|
|
159
|
+
- `handleFromLegacyUri(...)`
|
|
160
|
+
- `rootDataStoreRequestHandler(...)`
|
|
153
161
|
|
|
154
|
-
|
|
162
|
+
See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
|
|
155
163
|
|
|
156
|
-
-
|
|
164
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
157
165
|
|
|
158
|
-
|
|
166
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
159
167
|
|
|
160
168
|
## 2.0.0-internal.6.4.0
|
|
161
169
|
|
|
162
170
|
### Minor Changes
|
|
163
171
|
|
|
164
|
-
-
|
|
172
|
+
- Some stack traces are improved ([#17380](https://github.com/microsoft/FluidFramework/issues/17380)) [34f2808ee9](https://github.com/microsoft/FluidFramework/commits/34f2808ee9764aef21b990f8b48860d9e3ce27a5)
|
|
165
173
|
|
|
166
|
-
|
|
174
|
+
Some stack traces have been improved and might now include frames for async functions that weren't previously included.
|
|
167
175
|
|
|
168
176
|
## 2.0.0-internal.6.3.0
|
|
169
177
|
|
|
@@ -181,9 +189,9 @@ Dependency updates only.
|
|
|
181
189
|
|
|
182
190
|
### Major Changes
|
|
183
191
|
|
|
184
|
-
-
|
|
192
|
+
- Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
185
193
|
|
|
186
|
-
|
|
194
|
+
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.
|
|
187
195
|
|
|
188
196
|
## 2.0.0-internal.5.4.0
|
|
189
197
|
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/request-handler",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "A simple request handling library for Fluid Framework",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -69,22 +69,22 @@
|
|
|
69
69
|
"temp-directory": "nyc/.nyc_output"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@fluidframework/container-runtime-definitions": "~2.
|
|
73
|
-
"@fluidframework/core-interfaces": "~2.
|
|
74
|
-
"@fluidframework/core-utils": "~2.
|
|
75
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
76
|
-
"@fluidframework/runtime-utils": "~2.
|
|
72
|
+
"@fluidframework/container-runtime-definitions": "~2.31.0",
|
|
73
|
+
"@fluidframework/core-interfaces": "~2.31.0",
|
|
74
|
+
"@fluidframework/core-utils": "~2.31.0",
|
|
75
|
+
"@fluidframework/runtime-definitions": "~2.31.0",
|
|
76
|
+
"@fluidframework/runtime-utils": "~2.31.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
80
80
|
"@biomejs/biome": "~1.9.3",
|
|
81
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
81
|
+
"@fluid-internal/mocha-test-setup": "~2.31.0",
|
|
82
82
|
"@fluid-tools/build-cli": "^0.54.0",
|
|
83
83
|
"@fluidframework/build-common": "^2.0.3",
|
|
84
84
|
"@fluidframework/build-tools": "^0.54.0",
|
|
85
85
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
86
|
-
"@fluidframework/request-handler-previous": "npm:@fluidframework/request-handler@2.
|
|
87
|
-
"@microsoft/api-extractor": "7.
|
|
86
|
+
"@fluidframework/request-handler-previous": "npm:@fluidframework/request-handler@2.30.0",
|
|
87
|
+
"@microsoft/api-extractor": "7.50.1",
|
|
88
88
|
"@types/diff": "^3.5.1",
|
|
89
89
|
"@types/mocha": "^10.0.10",
|
|
90
90
|
"@types/node": "^18.19.0",
|
|
@@ -94,10 +94,9 @@
|
|
|
94
94
|
"cross-env": "^7.0.3",
|
|
95
95
|
"diff": "^3.5.0",
|
|
96
96
|
"eslint": "~8.55.0",
|
|
97
|
-
"mocha": "^10.2
|
|
97
|
+
"mocha": "^10.8.2",
|
|
98
98
|
"mocha-multi-reporters": "^1.5.1",
|
|
99
99
|
"moment": "^2.21.0",
|
|
100
|
-
"prettier": "~3.0.3",
|
|
101
100
|
"rimraf": "^4.4.0",
|
|
102
101
|
"typescript": "~5.4.5"
|
|
103
102
|
},
|
|
@@ -129,7 +128,6 @@
|
|
|
129
128
|
"check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
|
|
130
129
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
131
130
|
"check:format": "npm run check:biome",
|
|
132
|
-
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
133
131
|
"ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
|
|
134
132
|
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
135
133
|
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
@@ -139,7 +137,6 @@
|
|
|
139
137
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
140
138
|
"format": "npm run format:biome",
|
|
141
139
|
"format:biome": "biome check . --write",
|
|
142
|
-
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
143
140
|
"lint": "fluid-build . --task lint",
|
|
144
141
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
145
142
|
"test": "npm run test:mocha",
|