Skip to content

Releases: PunGrumpy/logixlysia

logixlysia@6.6.0

28 Jun 12:02
22c5555

Choose a tag to compare

Minor Changes

  • 4660c5d: Add support for request-scoped logger context propagation using AsyncLocalStorage and export a global useLogger() hook.
  • 51f1ca9: Add support for structured HTTP error logging, formatting properties such as why, fix, link, and internal inside the development context tree console log.

Patch Changes

  • 04e1a2f: Fix thread-stream worker crash when using pino-pretty in Bun by initializing pretty print streams synchronously on the main thread.

logixlysia@6.5.1

09 Jun 03:37
29e0137

Choose a tag to compare

Patch Changes

  • 9cb2480: Add Request ID middleware, {requestId} custom log token, preset integrations, and expand telemetry unit tests for OTel & AI.
  • bcc4ce2: Fix autoRedact crashing routes with a request body. redactRequest no longer re-attaches the original (possibly already-consumed) request stream to its logging-only clone, which avoids the ReadableStream has already been used error when a redacted URL/header/method coincides with a parsed body (#329).

logixlysia@6.5.0

21 May 02:26
629ffa3

Choose a tag to compare

Minor Changes

  • 88ecd4c: Add logixlysia/ai subpath with mergeAIMetrics for LLM usage fields on access logs.
  • 23f4b42: Add logixlysia/otel subpath with injectTraceContext for optional OpenTelemetry span correlation.
  • 981de26: Add preset option (dev, prod, json) with resolveOptions for opinionated environment defaults.
  • d576f99: Add request-scoped context accumulation via mergeContext and getContext, merged into automatic access logs. Export createLogger and createPluginLogger for advanced setups.
  • cbe9d2c: Add wrapWs for WebSocket open, message, and close lifecycle logging with request context support.

Patch Changes

  • d3d15b4: Add default export conditions for Node and tsx resolution of logixlysia, logixlysia/otel, and logixlysia/ai.

    Allow Request or WebSocket objects as keys for mergeContext and getContext.

logixlysia@6.4.0

18 May 07:57
e78258b

Choose a tag to compare

Minor Changes

  • e285af6: Added logQueryParams configuration option and {query} token to allow including request query strings in the logs.

Patch Changes

  • 712b2ba:
    • Optimized log formatting performance by replacing multiple .replaceAll() calls with a single-pass regex replacement in formatLogOutput and formatTimestamp.
    • Optimized getIp string slicing to reduce array allocations.
    • Fixed a bug where padded HTTP methods (e.g., GET) lost their color formatting.
    • Added early bailout logic to bypass allocations and system calls when logging is effectively disabled, significantly improving disabled-state benchmark performance.

logixlysia@6.3.2

27 Apr 14:44
2cc3ae6

Choose a tag to compare

Patch Changes

  • 85691b3: Add autoRedact configuration option to automatically scrub sensitive PII (emails, IPs, credit cards, JWTs) from log messages, context objects, and errors before they are outputted.

logixlysia@6.3.1

05 Apr 07:18
87cdc1e

Choose a tag to compare

Patch Changes

  • 070d0be: Fix log rotation reliability and safety issues by serializing concurrent file operations, making cleanup resilient to partial failures, improving file-operation error visibility, hardening URL parsing/compression paths, and preventing rotated filename collisions under high concurrency.
  • c6b87cd: Fix a race condition in file and compression lock acquisition to ensure concurrent writes and rotations are serialized correctly.

logixlysia@6.3.0

23 Mar 20:02
28b8eef

Choose a tag to compare

Minor Changes

  • b92698a:
    • Add formatLogOutput with optional multi-line context tree; keep formatLine as a deprecated alias returning the main line only.
    • New config: service, slowThreshold, verySlowThreshold, showContextTree, contextDepth; default format includes {icon}, {service}, {statusText}, and {speed} tokens.
    • Startup banner shows URL and optional logixlysia package version in a boxed layout.

logixlysia@6.2.3

21 Mar 11:38
a2ed984

Choose a tag to compare

Patch Changes

  • afd4c83: Fix TypeScript inference for WebSocket ws.data and context store after .use(logixlysia()) (#220).
  • 0889128: Fix ERR_IMPORT_ATTRIBUTE_MISSING error on Node.js by avoiding ESM package.json import and using createRequire(import.meta.url) for startup banner JSON loading instead.

logixlysia@6.2.2

11 Mar 11:11
409362d

Choose a tag to compare

Patch Changes

  • f87971e: Fix display banner when using node adapter

logixlysia@6.2.1

09 Mar 06:05
08917eb

Choose a tag to compare

Patch Changes

  • a58bb01: Fix WebSocket ws.data type inference when using logixlysia (closes #220)

    The LogixlysiaStore index signature caused the combined store type to become Record<string, unknown>, overwriting the WebSocket context's ws.data type. Removed the index signature so ws.data preserves its proper type in WebSocket handlers.

  • 910f7fa: Fix Node.js v25+ compatibility for startup banner (closes #231)

    The banner extension imported elysia/package.json without the required import attribute, causing ERR_IMPORT_ATTRIBUTE_MISSING when running on Node.js. Added with { type: "json" } to the import so the package works on both Bun and Node.js.