v1.3.0
LatestApril 28, 2026Added
- 12 framework adapters — Koa, Hono, NestJS (interceptor), Next.js API routes, Hapi, Elysia (Bun), Apollo Server, AWS Lambda, tRPC, and Restify alongside existing Express and Fastify
- Outbound HTTP tracking — every fetch, axios, and undici call your server makes is captured per-request; sensitive query params (token, api_key, secret, password…) are redacted from outbound URLs before logging
- Process monitoring — startup event (Node version, hostname, pid, CPU count), recurring memory/CPU metrics (rss, heapUsed, load average) every 30 s via processMetrics option, and optional uncaughtException/unhandledRejection capture via captureUnhandledErrors
- Sensitive field masking — addField() keys matching authorization, password, token, api_key, cookie, secret, credit_card, ssn, private_key, and 15 more patterns are replaced with [REDACTED] before shipping; case-insensitive
- Global tags — tags: { service, version, env } option attaches static key/value pairs to every event
- node-redis v4 auto-instrumentation — brings auto-patched DB libraries to 9 total
- requestSize / responseSize fields on LogEntry read from Content-Length headers (no body buffering)
- outboundCalls array on LogEntry and RequestContext
- Shared factory.ts — eliminates duplication across all 12 adapter files; all adapters use the same setup(), buildEntry(), finalize() pipeline
- GitHub Actions CI — matrix testing on Node 18, 20, and 22; npm publish --dry-run gate on every push to master
- 107 tests — 63 new tests covering all v1.3.0 features (unit + integration)
Changed
- apiKey is now required — omitting it prints a one-time signup prompt and returns a no-op middleware so the app boots normally with nothing tracked
Fixed
- skip-override set correctly on all Fastify hooks