@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 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
- - 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)
60
68
 
61
- Update package implementations to use TypeScript 5.4.5.
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
- - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
79
+ - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
72
80
 
73
- Fluid Framework packages have been updated to use the [package.json "exports"
74
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
75
- TypeScript types and implementation code.
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
- This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
85
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
78
86
 
79
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
80
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
87
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
88
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
81
89
 
82
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
83
- for use with modern versions of Node.js _and_ Bundlers.
84
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
85
- regarding the module and moduleResolution options.
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
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
88
- to distinguish stable APIs from those that are in development.**
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
- - aqueduct: Removed requestHandler utilities [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
110
+ - aqueduct: Removed requestHandler utilities [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
103
111
 
104
- The following `requestHandler` utilities have been removed:
112
+ The following `requestHandler` utilities have been removed:
105
113
 
106
- - `makeModelRequestHandler`
107
- - `defaultFluidObjectRequestHandler`
108
- - `defaultRouteRequestHandler`
109
- - `mountableViewRequestHandler`
110
- - `createFluidObjectResponse`
111
- - `rootDataStoreRequestHandler`
112
- - `handleFromLegacyUri`
113
- - `RuntimeRequestHandlerBuilder`
114
+ - `makeModelRequestHandler`
115
+ - `defaultFluidObjectRequestHandler`
116
+ - `defaultRouteRequestHandler`
117
+ - `mountableViewRequestHandler`
118
+ - `createFluidObjectResponse`
119
+ - `rootDataStoreRequestHandler`
120
+ - `handleFromLegacyUri`
121
+ - `RuntimeRequestHandlerBuilder`
114
122
 
115
- Please migrate all usage to the new `entryPoint` pattern.
123
+ Please migrate all usage to the new `entryPoint` pattern.
116
124
 
117
- See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
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
- - DEPRECATED: container-runtime: requestHandlers are deprecated [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
147
+ - DEPRECATED: container-runtime: requestHandlers are deprecated [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
140
148
 
141
- The concept of `requestHandlers` has been deprecated. Please migrate all usage of the following APIs to the new `entryPoint` pattern:
149
+ The concept of `requestHandlers` has been deprecated. Please migrate all usage of the following APIs to the new `entryPoint` pattern:
142
150
 
143
- - `requestHandler` property in `ContainerRuntime.loadRuntime(...)`
144
- - `RuntimeRequestHandler`
145
- - `RuntimeRequestHandlerBuilder`
146
- - `defaultFluidObjectRequestHandler(...)`
147
- - `defaultRouteRequestHandler(...)`
148
- - `mountableViewRequestHandler(...)`
149
- - `buildRuntimeRequestHandler(...)`
150
- - `createFluidObjectResponse(...)`
151
- - `handleFromLegacyUri(...)`
152
- - `rootDataStoreRequestHandler(...)`
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
- See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
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
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
164
+ - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
157
165
 
158
- The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
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
- - Some stack traces are improved ([#17380](https://github.com/microsoft/FluidFramework/issues/17380)) [34f2808ee9](https://github.com/microsoft/FluidFramework/commits/34f2808ee9764aef21b990f8b48860d9e3ce27a5)
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
- Some stack traces have been improved and might now include frames for async functions that weren't previously included.
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
- - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
192
+ - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
185
193
 
186
- 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.
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
 
@@ -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/request-handler",
3
- "version": "2.23.0",
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.23.0",
73
- "@fluidframework/core-interfaces": "~2.23.0",
74
- "@fluidframework/core-utils": "~2.23.0",
75
- "@fluidframework/runtime-definitions": "~2.23.0",
76
- "@fluidframework/runtime-utils": "~2.23.0"
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.23.0",
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.22.0",
87
- "@microsoft/api-extractor": "7.47.8",
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.0",
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",
@@ -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
- };