| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-06-17 | 1.8 kB | |
| v0.39.0 source code.tar.gz | 2026-06-17 | 2.7 MB | |
| v0.39.0 source code.zip | 2026-06-17 | 3.4 MB | |
| Totals: 3 Items | 6.1 MB | 0 | |
Added
- Redoc is now a third built-in OpenAPI docs UI, alongside Scalar (default)
and Swagger UI. Set
docs: { ui: "redoc" }on theAppconstructor to render Redoc at/docs, and pass Redoc options throughdocs.redoc(forwarded toRedoc.init). A newredocHtmlhelper is exported from@daloyjs/core/docsfor manual mounting, with matchingRedocConfigurationandRedocHtmlOptionstypes. Because Redoc spins up ablob:Web Worker for search, the auto-mounted/docsCSP widens withworker-src 'self' blob:forui: "redoc"only — Scalar and Swagger UI keep the tighter default.
Fixed
otelTracingnow follows the OTel HTTP semantic conventions forserver.address/server.port. The span attributeserver.addresspreviously carried the host with its port (e.g.api.example.com:8443); it now holds the bare hostname and the port is emitted separately as the numericserver.port, so traces line up with conformant backends.httpMetricsno longer drives the in-flight gauge negative on OPTIONS preflight. A CORS preflight handled by the framework'spreflightHooks(when noOPTIONSroute is registered) callsonSendwithout a prioronRequest, so the gauge is now only balanced — and request/duration metrics recorded — when a matchingonRequestactually ran for that request.
Documentation
- Added runnable observability example stacks: an OpenTelemetry tracing demo wired to Jaeger over OTLP, and a Prometheus + Grafana metrics integration stack.
create-daloy is a lockstep 0.39.0 bump: every template now pins
@daloyjs/core@^0.39.0 (jsr:@daloyjs/daloy@^0.39.0 for the Deno template).
Full changelog: https://github.com/daloyjs/daloy/compare/v0.38.3...v0.39.0