@fluidframework/request-handler 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/request-handler
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,9 +64,9 @@ 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
 
@@ -72,24 +76,24 @@ Dependency updates only.
72
76
 
73
77
  ### Major Changes
74
78
 
75
- - 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)
76
80
 
77
- Fluid Framework packages have been updated to use the [package.json "exports"
78
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
79
- 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.
80
84
 
81
- 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:
82
86
 
83
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
84
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
87
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
88
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
85
89
 
86
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
87
- for use with modern versions of Node.js _and_ Bundlers.
88
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
89
- 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.
90
94
 
91
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
92
- 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.**
93
97
 
94
98
  ## 2.0.0-rc.2.0.0
95
99
 
@@ -103,22 +107,22 @@ Dependency updates only.
103
107
 
104
108
  ### Major Changes
105
109
 
106
- - 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)
107
111
 
108
- The following `requestHandler` utilities have been removed:
112
+ The following `requestHandler` utilities have been removed:
109
113
 
110
- - `makeModelRequestHandler`
111
- - `defaultFluidObjectRequestHandler`
112
- - `defaultRouteRequestHandler`
113
- - `mountableViewRequestHandler`
114
- - `createFluidObjectResponse`
115
- - `rootDataStoreRequestHandler`
116
- - `handleFromLegacyUri`
117
- - `RuntimeRequestHandlerBuilder`
114
+ - `makeModelRequestHandler`
115
+ - `defaultFluidObjectRequestHandler`
116
+ - `defaultRouteRequestHandler`
117
+ - `mountableViewRequestHandler`
118
+ - `createFluidObjectResponse`
119
+ - `rootDataStoreRequestHandler`
120
+ - `handleFromLegacyUri`
121
+ - `RuntimeRequestHandlerBuilder`
118
122
 
119
- Please migrate all usage to the new `entryPoint` pattern.
123
+ Please migrate all usage to the new `entryPoint` pattern.
120
124
 
121
- 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.
122
126
 
123
127
  ## 2.0.0-internal.7.4.0
124
128
 
@@ -140,34 +144,34 @@ Dependency updates only.
140
144
 
141
145
  ### Major Changes
142
146
 
143
- - 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)
144
148
 
145
- 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:
146
150
 
147
- - `requestHandler` property in `ContainerRuntime.loadRuntime(...)`
148
- - `RuntimeRequestHandler`
149
- - `RuntimeRequestHandlerBuilder`
150
- - `defaultFluidObjectRequestHandler(...)`
151
- - `defaultRouteRequestHandler(...)`
152
- - `mountableViewRequestHandler(...)`
153
- - `buildRuntimeRequestHandler(...)`
154
- - `createFluidObjectResponse(...)`
155
- - `handleFromLegacyUri(...)`
156
- - `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(...)`
157
161
 
158
- 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.
159
163
 
160
- - 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)
161
165
 
162
- 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.
163
167
 
164
168
  ## 2.0.0-internal.6.4.0
165
169
 
166
170
  ### Minor Changes
167
171
 
168
- - 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)
169
173
 
170
- 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.
171
175
 
172
176
  ## 2.0.0-internal.6.3.0
173
177
 
@@ -185,9 +189,9 @@ Dependency updates only.
185
189
 
186
190
  ### Major Changes
187
191
 
188
- - 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)
189
193
 
190
- 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.
191
195
 
192
196
  ## 2.0.0-internal.5.4.0
193
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.30.0",
3
+ "version": "2.31.1",
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.30.0",
73
- "@fluidframework/core-interfaces": "~2.30.0",
74
- "@fluidframework/core-utils": "~2.30.0",
75
- "@fluidframework/runtime-definitions": "~2.30.0",
76
- "@fluidframework/runtime-utils": "~2.30.0"
72
+ "@fluidframework/container-runtime-definitions": "~2.31.1",
73
+ "@fluidframework/core-interfaces": "~2.31.1",
74
+ "@fluidframework/core-utils": "~2.31.1",
75
+ "@fluidframework/runtime-definitions": "~2.31.1",
76
+ "@fluidframework/runtime-utils": "~2.31.1"
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.30.0",
81
+ "@fluid-internal/mocha-test-setup": "~2.31.1",
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.23.0",
87
- "@microsoft/api-extractor": "7.47.8",
86
+ "@fluidframework/request-handler-previous": "npm:@fluidframework/request-handler@2.31.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",
@@ -97,7 +97,6 @@
97
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
- };