Skip to content

Releases: mikaelvesavuori/mikrolog

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

Version 2.1.7

11 Nov 14:34
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.6...v2.1.7

Version 2.1.6

10 Nov 11:13
Compare
Choose a tag to compare

What's Changed

  • Fix isColdStart field being removed if false - move it to later insertion stage so it's always present

Full Changelog: v2.1.5...v2.1.6