Skip to content
Logixlysia
Esc
navigateopen⌘Jpreview

Changelog

logixlysia@6.6.0

June 28, 2026

Release

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

June 9, 2026

Release

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

May 21, 2026

Release

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

May 18, 2026

Release

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

April 27, 2026

Release

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

April 5, 2026

Release

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

March 23, 2026

Release

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

March 21, 2026

Release

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.1

March 9, 2026

Release

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

February 2, 2026

Release

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

January 8, 2026

Release

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.0

December 21, 2025

Release

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

October 11, 2025

Release

5.3.0 (2025-10-11)

Features

  • log-rotation: enhance compression handling and documentation (e874ae4)
  • log-rotation: implement complete rotation with interval support (673b800)
  • log-rotation: implement complete rotation with interval support (9016a51), closes #138
  • pino-integration: enhance documentation and features for Pino integration (67c67d7)
  • pino-integration: enhance documentation and features for Pino integration (3968a51)
  • rotation: add time-based rotation support in shouldRotate function (4addd18)

Bug Fixes

  • logger: add warning for unknown log levels in mapLogLevelToPino function (b18b044)
  • logger: enhance Pino output handling in emitPinoLog function (cd9d4b7)
  • logger: enhance transport handling and client IP logging (e81d81d)
  • logger: improve error handling in log function (a1874e1)
  • logger: improve error stack handling in log function (ab01fb2)
  • pino-integration: remove outdated best practices link from documentation (2cb8b0c)
  • rotation: improve cache check in shouldRotateByTime function (9c5ea06)
  • rotation: use basename for file path extraction in getRotatedFiles function (60f27b0)
v5.2.0

September 27, 2025

Release

5.2.0 (2025-09-21)

Features

  • logger: add option for disable internal log (0a25e46), closes #125
  • logger: add options for file and transport logging control (8e56b0f)
v5.1.0

June 25, 2025

Release

5.1.0 (2025-06-24)

Features

  • linter: add Ultracite cursor rules for improved accessibility and code quality (94602aa)
  • logging: add custom log methods and context support (7c0c0b9), closes #94
  • tests: add comprehensive tests for route logger functionality (3ed0670)

Bug Fixes

  • logging: improve context serialization in log messages (ac74afc)
  • logging: prevent duplicate logging when using custom logs (358f319)
  • logging: set hasCustomLog to false in logixlysia function (807d0ec)
v4.2.6

April 15, 2025

Release

🐛 Bug Fix

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

⚠️ Pushed to main

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

Authors: 1

v4.2.1

April 13, 2025

Release

4.2.1 (2025-04-13)

Bug Fixes

  • ci: replace lint step with Reviewdog integration for enhanced linting feedback (81cd883)
v4.2.0

April 13, 2025

Release

4.2.0 (2025-04-13)

Features

  • docs: add screenshot to documentation introduction (800bb17)
  • website: add new components and integrate react-fast-marquee (6332f62)
  • website: add Open Graph image for enhanced social sharing (de35d41)
  • website: add transparent mode to navigation title (9c01757)
  • website: add website documentation (82e281c)
  • website: enhance logging features and update documentation (fa7ea45)
  • website: initialize new documentation website with Fumadocs (c864d9f)
  • website: integrate GitHub info component into layout (5cd282c)

Bug Fixes

  • docs: correct license information in documentation (e64f156)
  • docs: update file logging examples for clarity and consistency (1d8653f)
  • docs: update help section for user support (84e5052)
  • playground: correct class name syntax for overflow visibility (25ed919)
  • website: adjust z-index for background image and hero component (af593a7)
  • website: adjust z-index for hero component to improve visibility (4cc144e)
  • website: simplify sidebar configuration in layout component (dc7e479)
  • website: update logo assets and adjust class names (18c8c57)
  • website: update sidebar configuration to include collapsible property (2d27ee3)
v4.1.1

January 31, 2025

Release

4.1.1 (2025-01-31)

Bug Fixes

  • package: wrong place @elysiajs/swagger and move to devDependencies (a5e1a96)
v4.0.0

October 28, 2024

Release

4.0.0 (2024-10-28)

⚠ BREAKING CHANGES

  • timestamp: The timestamp format in logs will now respect the new timestamp configuration options when provided

Features

  • timestamp: add customize timestamp formatting (5a4e2a5), closes #69
v3.6.0

July 24, 2024

Release

3.6.0 (2024-07-24)

Features

  • custom-log: add unix epoch timestamp option on customLogFormat configuration (58d3e5b), closes #56
  • transports: add custom tranporter support for flexible logging (69e1b89), closes #51
v3.0.0

April 8, 2024

Release

3.0.0 (2024-04-08)

⚠ BREAKING CHANGES

  • Added support for custom log format in the logger
  • Enhanced flexibility for define thier preferred log message structure

Features

  • options: add support for custom log format (acc9380)
v2.2.2

April 6, 2024

Release

2.2.2 (2024-04-06)

Bug Fixes

  • eslint: change to use eslint.config.cjs instead .eslintrc.cjs (506a33b)
  • package.json to reduce vulnerabilities (f768e88)
v2.0.0

November 19, 2023

Release

2.0.0 (2023-11-19)

Features

  • add example for test (8f0f1ee)
  • add log on start (f1adeb9)
  • add logger format and enhance logging functionality (c0887e8)
  • add new style on logging (f1d9583)
  • ci: add google automated workflows (526e069)
  • setting environment (6f5e553)

Bug Fixes

CI/CD