middleapi/orpc c3068b4b..b178e9c1
base and head as given
- CORS support entered the server request path
- Response headers can now be contributed through server plugins
- Standard request handlers now depend on the plugin layer
- The plugin layer now depends on standard request handlers
- files changed
- 12
- in a component
- 9
- lines in components
- 292
- components
- 5
- public routes changed
- 0
- schema statements
- 0
- new dependencies
- 0
- excluded by role
- 3
Server request plugins
Added- Before
- Handlers had no plugin configuration
- After
- Handlers initialize configured plugins
Server adapters can now install CORS policies and let procedures append response headers through configured plugins. CORS preflight requests can return before route matching.
In favour
- In favour: CORS preflight handling bypasses route matching
- In favour: Procedure code can append headers without constructing responses
Against
- Against: Plugins and handlers now import each other across 9 edges
Inspect 7 source files behind this explanation
2 new dependencies between components — Server Plugins → Standard Adapter · Standard Adapter → Server Plugins
What else could behave differently
6 components · 22 filesThese components import changed code, directly or through other files. A traced dependency is a place to review, not a confirmed runtime failure.
Reached 3
| Component | Symbol | Cited at | Files | Reached by |
|---|---|---|---|---|
| Standard Adapterpackages/server/src/adapters/standard/ | Signature changed StandardHandlerOptions1 of 4 changed symbols reaching it | packages/server/src/adapters/standard/handler.ts:26-38 | 4 | 3 direct · 1 at two stepsTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
| Server Pluginspackages/server/src/plugins/ | Added StandardHandlerInterceptorOptions1 of 4 changed symbols reaching it | packages/server/src/adapters/standard/handler.ts:24 | 4 | 3 direct · 1 at two stepsTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
| packages/server/src/adapters/fetch/ | Signature changed StandardHandler1 of 4 changed symbols reaching it | packages/server/src/adapters/standard/handler.ts:40-109 | 5 | 1 direct · 2 at two steps · 2 at three stepsTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
Ranked lower 3
| Component | Files | Reached by |
|---|---|---|
| packages/server/src/adapters/node/ | 5 | 1 direct · 2 at two steps · 2 at three steps |
| packages/server/src/adapters/hono/ | 2 | none direct · 1 at two steps · 1 at three steps |
| packages/server/src/adapters/next/ | 2 | none direct · 1 at two steps · 1 at three steps |
Statements 4
StandardHandlerOptions' signature changed and reached 4 files in the standard adapter. 31StandardHandlerInterceptorOptions was added and reached 4 files in the plugins. 31StandardHandler's signature changed and reached 5 files in the fetch adapter. 122nodeHttpResponseSendStandardResponse's body changed and reached 5 files in the Node adapter. 1225 reached files belong to no component — tests, docs and config.
Routes, schema, dependencies
No public URL, no migration and no new package.
Not stated
- 1 route was found on files whose role excludes them, so no route is claimed for them.
Inspect components, files and symbols
Component
Interceptable.File
Function
imports what changeddownstream of it, one mark per step
Diff
Analysis scope
501 → 5- files at head501
- components55
- changed by this change5
Where the new files landed
4 new files| New file | Belongs to | Used by | Calls | Serves |
|---|---|---|---|---|
| packages/server/src/plugins/4 new files | Server Pluginsnew territory | Standard Adapter | packages/server/src/Standard Adapter | ./plugins |
12 files changed, 14 claims stated. 6 components reached in total.