allegro / allegro/swiftbox-metrics-statsd

Consider depending on Swift Metrics 2.x (whilst still allowing 1.x)

未关闭
#2 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Swift
星标
2
派生
3
PR 合并指标
30 天内没有已合并 PR

描述

[Swift Metrics 2.0](https://github.com/apple/swift-metrics/releases/tag/2.0.0) just got released. It is almost completely compatible with Swift Metrics 1.x unless you exhaustively switch on the `TimeUnit` enum. I would highly recommend depending on `swift-metrics` like the following:

```swift
// swift-metrics 1.x and 2.x are almost API compatible, so most clients should use
.package(url: "https://github.com/apple/swift-metrics.git", "1.0.0" ..< "3.0.0"),
```

alternatively, `from: "2.0.0"` will also work but may in the interim cause compatibility issues with packages that specify `from: "1.0.0"`.

If at all possible, this should be done before tagging the next release here. If using `"1.0.0" ..< "3.0.0"` this isn't even a SemVer major change because 1.x versions are still accepted.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。