Skip to content

Releases: mikaelvesavuori/mikrolog

Version 2.1.17

21 Nov 15:22
Compare
Choose a tag to compare

What's Changed

  • Support redactedKeys and maskedValues 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

14 Nov 10:18
Compare
Choose a tag to compare

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

27 Apr 15:49
Compare
Choose a tag to compare

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

14 Feb 15:55
Compare
Choose a tag to compare

What's Changed

  • Add missing description comment for enrichNext()

Full Changelog: v2.1.13...v2.1.14

Version 2.1.13

14 Feb 08:58
Compare
Choose a tag to compare

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

12 Jan 19:00
Compare
Choose a tag to compare

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

17 Nov 11:24
Compare
Choose a tag to compare

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

15 Nov 10:21
Compare
Choose a tag to compare

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

14 Nov 10:36
Compare
Choose a tag to compare

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

14 Nov 10:35
Compare
Choose a tag to compare

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