-
1.2.0
Stablereleased this
2026-02-25 13:18:22 +00:00 | 11 commits to main since this releaseWhat's New
SQLiteAppender
New appender that stores log events in an SQLite database. Requires
better-sqlite3as optional peer dependency (loaded dynamically).
Includesclose()method for clean shutdown.Source Map Resolution
Automatic call-site resolution for bundled environments (Vite, Webpack, esbuild). Uses
@jridgewell/trace-mappingas optional peer dependency.
Works in browsers, Electron, Tauri's WebView and Node.js.Call Site Offset
New
callSiteOffsetoption for logger wrappers. Skips additional stack frames so the call site points to the actual caller instead of the wrapper.
Configurable per logger, inherited from parents.Other Changes
- Upgrade to Node 22
- Extract stack-trace parsing into dedicated module
- Refactor logger.ts for better maintainability
- Add Handling Secrets recipe to README
- Add Reporting Issues section to README
- Update trace-mapping link to active monorepo
Stats
- 261 tests, 100% line and branch coverage
- 21 files changed, ~2300 lines added
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads