nitrojs/nitro 081aa276..476bfcc9
base and head as given
- Task definitions are now scanned from application task directories.
- Development servers now expose endpoints for listing and running tasks.
- The command line now supports listing and running development tasks.
- Task APIs are now available through automatic imports.
- files changed
- 18
- in a component
- 15
- lines in components
- 345
- components
- 5
- public routes changed
- 0
- schema statements
- 0
- new dependencies
- 0
- excluded by role
- 3
Where to focus your review
- Review the new exported surface2 components with export changes. Check compatibility and intended visibility.
- Verify behavior in dependent codeFollow the import paths below and exercise the consumers they reach.
- Inspect the paths tracing stopped at1 changed symbol stopped at heavily imported files. Inspect their consumers separately.
Development tasks
Added- Before
- Tasks did not exist
- After
- Tasks are scanned and run in development
Projects can define named tasks that Nitro discovers at startup. During development, they can list and invoke those tasks through the command line or task endpoints, with query and request-body data passed as payload.
In favour
- In favour: Loads task handlers only when invoked
- In favour: Uses one generated registry for task discovery
The model found nothing to weigh against this.
1 new dependency between components — Source Files → Runtime Code
What else could behave differently
8 components · 109 filesThese components import changed code, directly or through other files. A traced dependency is a place to review, not a confirmed runtime failure. Some paths stopped at heavily imported files; inspect those consumers separately.
Reached 3
| Component | Symbol | Cited at | Files | Reached by |
|---|---|---|---|---|
| Type Definitionssrc/types/ | Signature changed NitroOptions | src/types/nitro.ts:225-392 | 2 | 1 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. |
| Source Filessrc/ | Signature changed nitroImports1 of 7 changed symbols reaching it | src/imports.ts:3-25 | 12 | 5 direct · 1 at two steps · 6 at three stepsTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
| src/rollup/ | Signature changed NitroOptions | src/types/nitro.ts:225-392 | 10 | none direct · 1 at two steps · 7 at three steps · 2 at four stepsTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
Held back 2
| Component | Files | Reached by | Resolution |
|---|---|---|---|
| src/presets/ | 34 | none direct · 12 at three steps · 22 at four steps | precise |
| src/utils/ | 1 | none direct · 1 at three steps | precise |
Ranked lower 3
| Component | Files | Reached by |
|---|---|---|
| src/runtime/ | 42 | 3 direct · 1 at two steps · 11 at three steps · 27 at four steps |
| src/dev/ | 3 | 1 direct · 2 at three steps |
| src/cli/ | 5 | 5 direct |
Not traced past a hub 1
| Symbol | Hub file | Imported by |
|---|---|---|
| src/nitro.ts:createNitro | src/runtime/app.ts | 34 |
Statements 3
NitroOptions’ signature changed and reached 2 files in src/types/. 11nitroImports’ signature changed and reached 12 files in src/. 516NitroOptions’ signature changed and reached 10 files in src/rollup/. 17222 reached files belong to no component — tests, docs and config.
Routes, schema, dependencies
No public URL, no migration and no new package.
Inspect components, files and symbols
Component
File
Function
imports what changeddownstream of it, one mark per step
Diff
Analysis scope
427 → 5- files at head427
- components12
- changed by this change5
Where the new files landed
6 new files| New file | Belongs to | Used by | Calls | Serves |
|---|---|---|---|---|
| src/task.ts | Source Filesbase frame | CLI Commands | Runtime Code | — |
| src/runtime/2 new files | Runtime Codebase frame | Source Files | nothing outside its own component | — |
| src/cli/3 new filesnothing outside src/cli/commands/tasks/ imports any of it | CLI Commandsbase frame | nothing in the existing application | Source Files | — |
2 added files carry no component — 2 test.
18 files changed, 16 claims stated. 8 components reached in total.