Skip to content

Releases: mikaelvesavuori/mikrometric

Version 1.0.11

27 Apr 16:15
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: v1.0.10...v1.0.11

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 1.0.10

01 Feb 06:37
Compare
Choose a tag to compare

What's Changed

  • Disable filtering of zero values from data/metadata, should fix #1

Full Changelog: v1.0.9...v1.0.10

Version 1.0.8

14 Feb 09:10
Compare
Choose a tag to compare

What's Changed

  • Add back comments so library users can see them

Full Changelog: v1.0.7...v1.0.8

Version 1.0.7

12 Jan 19:01
Compare
Choose a tag to compare

What's Changed

  • Fix error where reset() would not keep previous setting
  • Bump dependencies

Full Changelog: v1.0.6...v1.0.7

Version 1.0.6

15 Nov 10:20
Compare
Choose a tag to compare

What's Changed

  • Reorder spreading of properties to prioritize preserving custom-set properties and custom metadata
  • Add note on this to README

Full Changelog: v1.0.5...v1.0.6

Version 1.0.5

14 Nov 18:56
Compare
Choose a tag to compare

What's Changed

  • Add support for custom static metadata
  • Update docs
  • Bump version
  • Add tests
  • Update SECURITY

Full Changelog: v1.0.4...v1.0.5

Version 1.0.4

14 Nov 18:01
Compare
Choose a tag to compare

What's Changed

  • docs(): add setCorrelationId instructions to README
  • feat(): add support for setCorrelationId()
  • add test for setCorrelationId()
  • feat(): remove unused loggroup and logstream names

Full Changelog: v1.0.3...v1.0.4

Version 1.0.3

11 Nov 19:21
Compare
Choose a tag to compare

What's Changed

  • Use aws-metadata-utils instead of doing AWS metadata checks inside MikroMetric
  • Add filtering and sorting of metric object
  • Add additional AWS metadata to metric
  • Add test data and tests
  • Change some names, update docs and do housekeeping
  • Fix optional constructor values to be required and get 100% coverage as result

Full Changelog: v1.0.2...v1.0.3

Version 1.0.2

11 Nov 19:19
Compare
Choose a tag to compare

What's Changed

  • Make sure that service name is with lowercase first letter on default dimension

Full Changelog: v1.0.1...v1.0.2

v1.0.1

11 Nov 09:12
Compare
Choose a tag to compare

What's Changed

  • Fix use lowercase format on keys rather than start with uppercase
  • Add test for Lambda metadata
  • Add setEnv()/clearEnv() to tests

Full Changelog: v1.0.0...v1.0.1