Changelog
June 28, 2026
Minor Changes
- 4660c5d: Add support for request-scoped logger context propagation using
AsyncLocalStorageand export a globaluseLogger()hook. - 51f1ca9: Add support for structured HTTP error logging, formatting properties such as
why,fix,link, andinternalinside 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.
June 9, 2026
Patch Changes
- 9cb2480: Add Request ID middleware,
{requestId}custom log token, preset integrations, and expand telemetry unit tests for OTel & AI. - bcc4ce2: Fix
autoRedactcrashing routes with a request body.redactRequestno longer re-attaches the original (possibly already-consumed) request stream to its logging-only clone, which avoids theReadableStream has already been usederror when a redacted URL/header/method coincides with a parsed body (#329).
May 21, 2026
Minor Changes
- 88ecd4c: Add
logixlysia/aisubpath withmergeAIMetricsfor LLM usage fields on access logs. - 23f4b42: Add
logixlysia/otelsubpath withinjectTraceContextfor optional OpenTelemetry span correlation. - 981de26: Add
presetoption (dev,prod,json) withresolveOptionsfor opinionated environment defaults. - d576f99: Add request-scoped context accumulation via
mergeContextandgetContext, merged into automatic access logs. ExportcreateLoggerandcreatePluginLoggerfor advanced setups. - cbe9d2c: Add
wrapWsfor WebSocket open, message, and close lifecycle logging with request context support.
Patch Changes
-
d3d15b4: Add
defaultexport conditions for Node and tsx resolution oflogixlysia,logixlysia/otel, andlogixlysia/ai.Allow
Requestor WebSocket objects as keys formergeContextandgetContext.
May 18, 2026
Minor Changes
- e285af6: Added
logQueryParamsconfiguration 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 informatLogOutputandformatTimestamp. - Optimized
getIpstring 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.
- Optimized log formatting performance by replacing multiple
April 27, 2026
Patch Changes
- 85691b3: Add
autoRedactconfiguration option to automatically scrub sensitive PII (emails, IPs, credit cards, JWTs) from log messages, context objects, and errors before they are outputted.
April 5, 2026
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.
March 23, 2026
Minor Changes
- b92698a:
- Add
formatLogOutputwith optional multi-line context tree; keepformatLineas 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.
- Add
March 21, 2026
Patch Changes
- afd4c83: Fix TypeScript inference for WebSocket
ws.dataand contextstoreafter.use(logixlysia())(#220). - 0889128: Fix
ERR_IMPORT_ATTRIBUTE_MISSINGerror on Node.js by avoiding ESMpackage.jsonimport and usingcreateRequire(import.meta.url)for startup banner JSON loading instead.
March 11, 2026
Patch Changes
- f87971e: Fix display banner when using node adapter
March 9, 2026
Patch Changes
-
a58bb01: Fix WebSocket
ws.datatype inference when using logixlysia (closes #220)The
LogixlysiaStoreindex signature caused the combined store type to becomeRecord<string, unknown>, overwriting the WebSocket context’sws.datatype. Removed the index signature sows.datapreserves its proper type in WebSocket handlers. -
910f7fa: Fix Node.js v25+ compatibility for startup banner (closes #231)
The banner extension imported
elysia/package.jsonwithout the required import attribute, causingERR_IMPORT_ATTRIBUTE_MISSINGwhen running on Node.js. Addedwith { type: "json" }to the import so the package works on both Bun and Node.js.
February 2, 2026
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.
January 8, 2026
Minor Changes
- e58213b: Move
elysiafrom dependencies to peerDependencies to follow best practices for Elysia plugins and avoid duplicate dependency installations.
Patch Changes
-
43b2ef5:
Added
- Add
logFilterconfiguration option to filter logs by level - Add
LogFilterinterface withlevelproperty 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
logFilterproperty was missing in configuration type
Changed
- Updated TypeScript interfaces to support the new
logFilterconfiguration option
- Add
-
f09e27e: Fix
customLogFormatbeing ignored for error logs. Error logs now properly respect thecustomLogFormatconfiguration instead of using a hardcodedconsole.errorformat. Also adds missingRequestInfotype definition.
December 21, 2025
Patch Changes
- 0051602: Add readme in Logixlysia
- 85ee521: Update correct code
December 21, 2025
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.
October 11, 2025
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)
September 27, 2025
August 24, 2025
June 25, 2025
May 13, 2025
April 15, 2025
🐛 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
- Noppakorn Kaewsalabnil (@PunGrumpy)
April 14, 2025
April 13, 2025
April 13, 2025
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)
February 24, 2025
January 31, 2025
January 31, 2025
October 28, 2024
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
September 26, 2024
September 18, 2024
August 23, 2024
3.6.1 (2024-08-21)
Performance Improvements
- logger: improve performance and fix TypeScript errors (d3ed751)
July 24, 2024
July 12, 2024
June 17, 2024
June 6, 2024
June 2, 2024
May 22, 2024
May 7, 2024
April 9, 2024
April 8, 2024
April 8, 2024
April 8, 2024
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)
April 7, 2024
April 6, 2024
April 6, 2024
April 6, 2024
March 19, 2024
March 19, 2024
January 25, 2024
January 7, 2024
January 3, 2024
November 19, 2023
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
- change name (ee0c164)
- change to use chalk instead piccolors (b2fe4f5)
- types: add types (38e1f63)
- update jsdocs and add new banner (226c7eb)
- utils: update jsdocs (8cab996)
CI/CD
- using automated release from Google release-please-action
November 18, 2023