allegro / allegro/swiftbox-metrics-statsd

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

Ouverte
#2 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Swift
Étoiles
2
Forks
3
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

[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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.