Skip to content

Releases: apple/swift-metrics

2.4.1

21 Jun 21:16
971ba26
Compare
Choose a tag to compare

What's Changed

  • add increment and decrement public API to Meter by @tomerd in #132

Full Changelog: 2.4.0...2.4.1

2.4.0

30 May 11:18
2.4.0
3402510
Compare
Choose a tag to compare

What's Changed

  • Update CI by @yim-lee in #124
  • Use UUID instead of NSUUID in MetricsTests by @fabianfett in #126
  • Add Package.resolved to .gitignore by @fabianfett in #125
  • add "meter" - a new type of metric and metric handler by @tomerd in #123
  • Use the MetricsTestKit in the MetricsTests rather than using a copy of the TestMetrics utilities by @hamzahrmalik in #128
  • MetricsTestKit: expose all metrics publicly. This allows users to run checks on counters when they might not know the exact label by @hamzahrmalik in #127
  • Make 'values' on TestCounter, TestRecorder and TestMeter public by @hamzahrmalik in #129

New Contributors

Full Changelog: 2.3.4...2.4.0

2.3.4

02 Feb 10:02
2.3.4
e8bced7
Compare
Choose a tag to compare

What's Changed

  • Propagate displayUnit when using MultiplexMetricsHandler by @gjcairo in #122

CI updates

  • Add CI for Swift 5.8 and update nightly to Ubuntu 22.04 by @yim-lee in #121

New Contributors

  • @gjcairo made their first contribution in #122 - thank you!

Full Changelog: 2.3.3...2.3.4

2.3.3

07 Dec 10:50
2.3.3
9b39d81
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.3.2...2.3.3

2.3.2

20 Jul 08:39
2.3.2
53be786
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.3.1...2.3.2

2.3.1

25 May 05:35
2.3.1
1c1408b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.0...2.3.1

2.3.0

18 Mar 03:04
2.3.0
eadb828
Compare
Choose a tag to compare

2.2.0

16 Aug 10:08
2.2.0
Compare
Choose a tag to compare

New addition allowing for floating point counters. This API will be right away supported by SwiftPrometheus, other libs may follow.

SemVer Minor

New API:

  • Add FloatingPointCounter which allows reporting floating point metrics when necessary. Thanks @rauhul!

2.1.1

12 Nov 13:01
2.1.1
Compare
Choose a tag to compare

A minor new API to enable SystemMetrics from the new swift-metrics-extras (coming soon) repository.

SemVer Minor

New API:

  • Expose MetricsSystem.withWriterLockso it can be invoked by alternate "bootstrap" functions, such as SystemMetrics; #86 Thanks @MrLotU !

For details on the changes please refer to the 0.2.1 milestone

2.1.0

14 Oct 03:23
2.1.0
Compare
Choose a tag to compare

SemVer Minor

New API:

  • Timer.recordInterval(since:) for easier reporting of time since a "start" DispatchTime #83 - thank you @slashmo!

SemVer Patch

  • Metrics now include their labels when printed to ease debugging #82

For details on the changes please refer to the 0.2.1 milestone