Releases: mikaelvesavuori/mikrolog
Version 2.2.3
What's Changed
- Fix metadata being removed globally and not just on the log
Full Changelog: v2.2.2...v2.2.3
Summary of changes
This update ensures that, for example, metadata configs remain across multiple logs.
Version 2.2.2
What's Changed
- Loosen transport
instanceof
checking
Full Changelog: v2.2.1...v2.2.2
Summary of changes
This fixes issues where errors may be thrown inadvertently.
Version 2.2.1
What's Changed
- Make log buffer static
Full Changelog: v2.2.0...v2.2.1
Summary of changes
This should ensure that log buffers are correctly handled.
Version 2.2.0
What's Changed
- Add transport support
- Add transport support for Axiom as the first implementation
- Update dependencies
- Update test configuration
Full Changelog: v2.1.17...v2.2.0
Summary of changes
This is a pretty nice improvement, as you'll be able to add a transport to augment MikroLog.
Version 2.1.17
What's Changed
- Support
redactedKeys
andmaskedValues
for nested items
Full Changelog: v2.1.15...v2.1.16
Summary of changes
This will make redaction and masking much more powerful when you have more complex data to log out.
Version 2.1.16
What's Changed
- Pick up correlation ID automatically from
process.env.CORRELATION_ID
if it exists - Migrate from ESlint and Prettier to Biome for code linting, formatting, and such
- Simplify and update CI workflows
- Minor cleaning based on Biome-suggested fixes
Full Changelog: v2.1.15...v2.1.16
Summary of changes
Now you'll get the correlation ID automatically set, which is a really nice thing, making your life a bit simpler.
Version 2.1.15
What's Changed
- Bundle for both ESM and CommonJS environments
- Migrate from Ava to Vitest for unit tests
Full Changelog: v2.1.14...v2.1.15
Summary of changes
The biggest improvement for users will be that you can use independently bundled variants of the library for either ESM or CommonJS.
Version 2.1.14
Version 2.1.13
What's Changed
- Add support for one-time enrichment
- Add back comments in build so they are visible for library users
- Add enrich capability for correlationId as detailed in README but was actually missing
- Remove unnecessary fallback options, once again bumping test coverage to 100%
Full Changelog: v2.1.12...v2.1.13
Version 2.1.12
What's Changed
- Fix error where start() method would reset existing settings
- Bump dependencies
Full Changelog: v2.1.11...v2.1.12