You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hono acceptance: 30-line program with hono/cors or hono/logger middleware end-to-end #486
Closes the second + third bullet of #421's acceptance list:
A 30-line Hono program (routing + JSON request/response + one middleware — e.g. a logger or a basic auth header check) compiles via `perry compile`, produces a single-file native binary, serves real HTTP traffic, and matches the same program under `node --experimental-strip-types` byte-for-byte for response bodies/headers.
At least one official Hono middleware (`hono/cors` or `hono/logger`) verified end-to-end.
Blocked on
#485 (class-field arrow methods on inherited classes don't apply across compilePackages). Hono's request/response dispatch chain is built entirely from arrow-class-fields on `HonoBase`; until those get applied to `new Hono()` instances, no real HTTP traffic can flow.
Compile + run `./test-hono-min` listening on a free port.
Curl real HTTP traffic, diff response body + headers against `node --experimental-strip-types test-hono-min.ts`.
Repeat with `hono/cors`.
Add to parity test suite.
What stays out of scope
The full `@hono/perry-server` adapter is the fourth bullet of #421's acceptance — separate ticket since it's substantial work (signal handling, graceful shutdown, hyper integration, docs).
Activity
fix(compile): refs #486 — classify relative imports inside compile pa…
fix(codegen+runtime+stdlib): refs #486 — class field defaults, respon…
fix(transform): refs #486 — cross-module method inlining loses class …
fix(hir+codegen+transform): refs #486 — class-expression self-binding…
docs(changelog): refs #486 — v0.5.649 add changelog entry for new Reg…
fix(runtime+codegen): refs PerryTS#486 — dynamic string-or-number add…
fix(transform): refs #486 — scan catch param id in generator's max-lo…
fix(codegen): refs #486 — try/switch/labeled now walked by collectors…
docs(stdlib): document hono compat in stdlib/http.md + porting.md
merge: land #8630 (class semantics tail) with six audit fixes (#8643)