Changelog

Latest releases for PunGrumpy/logixlysia. Data refreshes automatically every hour.

logixlysia@6.5.1

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

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

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

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

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

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

Patch Changes

  • afd4c83: Fix TypeScript inference for WebSocket ws.data and context store after .use(logixlysia()) ().
  • 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

Patch Changes

  • f87971e: Fix display banner when using node adapter

logixlysia@6.2.1

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.

logixlysia@6.2.0

Minor Changes

  • 2d90fd7: Enhance prettyPrint configuration support and documentation.

Patch Changes

  • 449cad5: Fix prettyPrint transport handling and align documentation types.
  • ecfb2e8: Publish only dist artifacts to npm.

logixlysia@6.1.0

Minor Changes

  • e58213b: Move elysia from dependencies to peerDependencies to follow best practices for Elysia plugins and avoid duplicate dependency installations.

Patch Changes

  • 43b2ef5:

    Added

    • Add logFilter configuration option to filter logs by level
    • Add LogFilter interface with level property to specify allowed log levels
    • Implement filtering logic in logger to prevent processing of filtered log levels
    • Add comprehensive tests for log filtering functionality

    Fixed

    • Fixed TypeScript error where logFilter property was missing in configuration type

    Changed

    • Updated TypeScript interfaces to support the new logFilter configuration option
  • f09e27e: Fix customLogFormat being ignored for error logs. Error logs now properly respect the customLogFormat configuration instead of using a hardcoded console.error format. Also adds missing RequestInfo type definition.

logixlysia@6.0.1

Patch Changes

  • 0051602: Add readme in Logixlysia
  • 85ee521: Update correct code

logixlysia@6.0.0

Major Changes

  • e953969: BREAKING CHANGE: Major update from PR #171

    This release includes breaking changes that may require updates to your code. Please refer to PR #171 for detailed information about the changes.

v5.3.0

(2025-10-11)

Features

  • log-rotation: enhance compression handling and documentation ()
  • log-rotation: implement complete rotation with interval support ()
  • log-rotation: implement complete rotation with interval support (), closes
  • pino-integration: enhance documentation and features for Pino integration ()
  • pino-integration: enhance documentation and features for Pino integration ()
  • rotation: add time-based rotation support in shouldRotate function ()

Bug Fixes

  • logger: add warning for unknown log levels in mapLogLevelToPino function ()
  • logger: enhance Pino output handling in emitPinoLog function ()
  • logger: enhance transport handling and client IP logging ()
  • logger: improve error handling in log function ()
  • logger: improve error stack handling in log function ()
  • pino-integration: remove outdated best practices link from documentation ()
  • rotation: improve cache check in shouldRotateByTime function ()
  • rotation: use basename for file path extraction in getRotatedFiles function ()

v5.2.0

(2025-09-21)

Features

  • logger: add option for disable internal log (), closes
  • logger: add options for file and transport logging control ()

v5.1.1

(2025-08-10)

Bug Fixes

  • preserve existing state when initializing logixlysia store (), closes

v5.1.0

(2025-06-24)

Features

  • linter: add Ultracite cursor rules for improved accessibility and code quality ()
  • logging: add custom log methods and context support (), closes
  • tests: add comprehensive tests for route logger functionality ()

Bug Fixes

  • logging: improve context serialization in log messages ()
  • logging: prevent duplicate logging when using custom logs ()
  • logging: set hasCustomLog to false in logixlysia function ()

v5.0.0

(2025-05-13)

Features

  • add custom logger support (), closes

Bug Fixes

  • improve server configuration defaults (), closes

v4.2.6

🐛 Bug Fix

  • feat(logging): enhance logging features with metrics tracking and log rotation ()
  • refactor(meta): update meta.json to include title and enhance description ()
  • feat(build): add bunup for make bundle faster ()

⚠️ Pushed to main

  • chore(package): bump version to 4.2.3 and remove publish script ()
  • ci(codeql): simplify CodeQL analysis configuration ()
  • ci(workflow): add .autorc file and update CI workflow for improved automation ()
  • chore(package): update @biomejs/biome version in devDependencies ()
  • ci(workflow): streamline CI configuration by simplifying linting and event triggers ()
  • ci(labeler): simplify labeler workflow by removing issue triggers ()
  • ci(pr): update pull request workflow for improved checks ()
  • chore(ci): remove npm workflow from GitHub Actions ()
  • fix(snippet): correct syntax error in Elysia app configuration ()

Authors: 1

  • Noppakorn Kaewsalabnil ()

v4.2.2

(2025-04-14)

Bug Fixes

  • package: remove unused devDependencies for cleaner setup ()