Releases: mikaelvesavuori/mikrolog
Releases · mikaelvesavuori/mikrolog
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
Version 2.1.11
What's Changed
- Ensure cold start check is only done in
start()
- Add tests
- Cleanup tests
- Add
isColdStart
to Metadata type - Allow 0 and false to be retained in
filterMetadata()
Full Changelog: v2.1.10...v2.1.11
Version 2.1.10
What's Changed
- fix(): spread dynamic metadata before static metadata
- Remove unneeded ts-ignores
- Try adding Foresight to CI
- Update
SECURITY
- fix(): ensure start function will take in all inputs when resetting
- Update docs
Full Changelog: v2.1.9...v2.1.10
Version 2.1.9
What's Changed
- Revert back to previous private variable solution on checking if it's a cold start
Full Changelog: v2.1.8...v2.1.9
Version 2.1.8
What's Changed
- Attempt to use process environment variable to contain IS_COLD_START
- Add tests
- Cleanup tests
Full Changelog: v2.1.7...v2.1.8
Version 2.1.7
What's Changed
- feat(): use
aws-metadata-utils
rather than doing metadata work inside MikroLog
Full Changelog: v2.1.6...v2.1.7