Repository navigation
Releases
Releases · jskits/loggerjs
1.0.1
1.0.0
LoggerJS 1.0: every @loggerjs/* package moves to 1.0.0.
- The
@loggerjs/coreroot exports only the kernel, and the@loggerjs/browserand@loggerjs/noderoots export the kernel plus their stable components. The exports deprecated in 0.7 are removed from the roots and stay available from their subpaths. - Node 22 or later is required.
@loggerjs/coreis a peer dependency of every other package; install it alongside them, for examplenpm install @loggerjs/core @loggerjs/node.- Semantic versioning covers Stable exports. Compatible exports and Experimental packages change only after a deprecation in an earlier minor. See API stability and the support windows in SECURITY.md.
Upgrading from 0.7: migration guide.
Full Changelog: v0.7.0...v1.0.0
0.7.0
0.6.0
0.5.6
0.5.5
0.5.4
v0.5.4
Highlights
- Improved browser support-log persistence with durable IndexedDB session metadata.
- Fixed BullMQ
addBulk()classification so bulk job publishing is reported aspublish. - Added clearer frontend support-log setup examples for IndexedDB persistence, localStorage spill, and ZIP export.
- Raised coverage floors and expanded edge-case coverage across browser, OTLP, Pretty, and Node integrations.
Browser
- Added a dedicated IndexedDB session-summary store and migrated persisted log stores to DB version 4.
- Made
indexedDbTransport().sessions()read ordered session summaries without scanning every persisted log entry. - Fixed session metadata maintenance when entries are flushed, overwritten, pruned, removed, or cleared.
- Serialized
clear()with in-flight flushes and localStorage spill draining to avoid stale persisted entries. - Added short support-log examples using stable subpath imports:
@loggerjs/browser/transport-indexeddb@loggerjs/browser/export-zip
- Expanded runtime fallback coverage for BroadcastChannel, WebSocket, ReportingObserver, and browser HTTP delivery.
Node
- Fixed
bullMqIntegration()soaddBulk()is classified as apublishoperation instead ofother. - Added contract coverage for documented integration boundaries:
- Prisma integration wraps raw-query methods only.
- BullMQ integration wraps Queue-like methods only.
- Nest integration remains Express-compatible middleware, not an exception filter or interceptor.
OpenTelemetry
- Hardened OTLP HTTP transport coverage for:
- default content type
- custom headers
minLevelfiltering- missing
fetch - rejected
fetch - non-2xx collector responses
- Raised the OTLP package coverage floor.
Pretty Output
- Expanded formatter, console transport, and stream transport coverage for:
- output suppression
- time formatting
- truncation
- console fallback
- batch entry points
- write failures
- stream errors
- flush rejection
- close lifecycle behavior
- Raised the Pretty package coverage floor.
Quality & Tooling
- Added coverage-ratchet documentation with measured package-level floors and explicit rules for future threshold changes.
- Refreshed the test inventory to 703 passing tests.
- Added Commitizen workflow setup for conventional commits.
- Updated package versions to
0.5.4across all published subpackages.
Package Notes
The following packages are version-aligned to 0.5.4 with no runtime source changes in this release:
@loggerjs/cloudwatch@loggerjs/codecs@loggerjs/core@loggerjs/database@loggerjs/datadog@loggerjs/elastic@loggerjs/loki@loggerjs/processors@loggerjs/sentry
Full Changelog: v0.5.3...v0.5.4