Swift Metrics Versions Save

Metrics API for Swift

2.4.4

2 weeks ago

What's Changed

Full Changelog: https://github.com/apple/swift-metrics/compare/2.4.3...2.4.4

2.4.3

2 weeks ago

Source break fix

This release fixes a minor source break caused between 2.4.1 and 2.4.2:

The PR https://github.com/apple/swift-metrics/pull/133 introduced the following method:

public func record(_ duration: Duration)

There was already a similar function

public func record(_ duration: DispatchTimeInterval)

This can cause ambiguity for the compiler when using . shortcuts because of an overlap in case names, e.g.

timer.record(.nanoseconds(123)) // <-- ambiguous, is this DispatchTimeInterval or Duration?

This release fixes this by having the new method be called record(duration:).

Fixed by https://github.com/apple/swift-metrics/pull/144 in 2.4.3, please use 2.4.3 instead. Thank you @hamzahrmalik for the diagnosis and fix.

What changed

Full Changelog: https://github.com/apple/swift-metrics/compare/2.4.2...2.4.3

2.4.2

2 weeks ago

Warning: source break

This release has an accidental minor source break:

The PR https://github.com/apple/swift-metrics/pull/133 introduced the following method:

public func record(_ duration: Duration)

There was already a similar function

public func record(_ duration: DispatchTimeInterval)

This can cause ambiguity for the compiler when using . shortcuts because of an overlap in case names, e.g.

timer.record(.nanoseconds(123)) // <-- ambiguous, is this DispatchTimeInterval or Duration?

Fixed by https://github.com/apple/swift-metrics/pull/144 in 2.4.3, please use 2.4.3 instead. Thank you @hamzahrmalik for the diagnosis and fix.

What's Changed

New Contributors

Full Changelog: https://github.com/apple/swift-metrics/compare/2.4.1...2.4.2

2.4.1

11 months ago

What's Changed

Full Changelog: https://github.com/apple/swift-metrics/compare/2.4.0...2.4.1

2.4.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/apple/swift-metrics/compare/2.3.4...2.4.0

2.3.4

1 year ago

What's Changed

CI updates

New Contributors

Full Changelog: https://github.com/apple/swift-metrics/compare/2.3.3...2.3.4

2.3.3

1 year ago

What's Changed

Full Changelog: https://github.com/apple/swift-metrics/compare/2.3.2...2.3.3

2.3.2

1 year ago

What's Changed

Full Changelog: https://github.com/apple/swift-metrics/compare/2.3.1...2.3.2

2.3.1

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/apple/swift-metrics/compare/2.3.0...2.3.1

2.3.0

2 years ago