v0.0.21
v0.0.21 Release Notes
Unified serverReady trigger/action model; removed legacy shape; added vscodeCommand action; fire-and-forget httpRequest.
Highlights
Removed serverReady fields (path, line, command, httpRequest, pattern, immediateOnAttach). New unified serverReady structure:
interface ServerReady {
trigger?: { path?: string; line?: number; pattern?: string }; // omit for immediate attach
action:
| { shellCommand: string }
| {
httpRequest: {
url: string;
method?: string;
headers?: Record<string, string>;
body?: string;
};
}
| { vscodeCommand: { command: string; args?: unknown[] } };
}Added
vscodeCommandreadiness action.
Changed
- HTTP request action now fire‑and‑forget (non-blocking) to avoid delaying user breakpoint continuation.
Schema
- Replaced prior multi-variant + mutual exclusion schema with unified
trigger+ discriminatedactionunion;actionrequired,triggeroptional.
Docs
- README server readiness section rewritten with new examples (breakpoint, pattern, immediate attach, vscodeCommand) and Azure Functions attach sequence diagram.
Tests
- Updated existing serverReady tests to new structure (shellCommand + httpRequest).
- Added
serverReadyVscodeCommandtest. - Removed obsolete auto-select launch configuration test file.
Internal
- Introduced
executeServerReadyActionhelper centralizing phases (entry,late,immediate). - Simplified advancement logic after serverReady hits. Enforced NO FALLBACK principle (no legacy inference).
Upgrade Guidance
- Breakpoint mode: wrap previous
path/lineintrigger. - Pattern mode: move
patterntotrigger.pattern. - Immediate attach: omit
triggerentirely (same effect as priorimmediateOnAttach: true).