Salta al contenuto

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  • #LogTape 2.2.0 is out!

    Mondo bun deno node nodejs logging logtape javascript opensource
    1
    0 Votazioni
    1 Post
    0 Visualizzazioni
    hongminhee@hollo.social
    #LogTape 2.2.0 is out! The headline is two new packages: @logtape/lint adds lint rules for ESLint v8/v9 (flat config), Oxlint, and Deno Lint that catch common logging mistakes before they reach production: template literal interpolation in message arguments, eager property evaluation where lazy is needed, unawaited async log callbacks, and missing meta sink configuration. @logtape/testing gives you createLogRecorder() and domain-aware assertion helpers, replacing the hand-rolled array-sink boilerplate that every project ends up writing. Other highlights: context: true on Express/Hono/Koa/Elysia middleware handles request ID generation, x-request-id header propagation, and implicit context. One option instead of several moving parts. Seven performance optimizations on the enabled-logging hot path New logtape.org website Full release notes: https://github.com/dahlia/logtape/discussions/179 #JavaScript #TypeScript #Deno #Node #NodeJS #Bun #logging #opensource