Releases: PunGrumpy/logixlysia
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
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
logixlysia@6.2.3
logixlysia@6.2.2
Patch Changes
- f87971e: Fix display banner when using node adapter
logixlysia@6.2.1
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.
logixlysia@6.2.0
logixlysia@6.1.0
Minor Changes
- e58213b: Move
elysiafrom dependencies to peerDependencies to follow best practices for Elysia plugins and avoid duplicate dependency installations.
Patch Changes
-
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.
logixlysia@6.0.1
logixlysia@6.0.0
v5.3.0
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)