Skip to content

Swift Prometheus 2.0.0 Alpha 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@fabianfett fabianfett released this 22 Sep 13:52
· 9 commits to main since this release
bc4d19a

🚨 Breaking changes

This 2.0 pre-release contains breaking changes compared to the current released version 1.x:

  • PrometheusClient has been renamed to PrometheusCollectorRegistry
    • Most method names on PrometheusCollectorRegistry have been changed as well createMetric has been renamed to makeMetric in most cases
  • Summaries are no longer supported
  • The PromMetric protocol has been removed
  • The Collector types are no longer prefixed with Prom

Please refer to our documentation hosted on the Swift Package Index for more details regarding the new API.

Changes

SemVer Major

Other changes

  • Add package index config file, so docs are generated (#85, #99 patch credit @finestructure)
  • Remove FUNDING.yml (#88)
  • Remove Package.resolved (#87)
  • Remove XCTestManifest & LinuxMain (#89)
  • Prepare Dockerfiles and scripts for swift-server CI (#90)
  • Remove GitHub actions CI (#91)
  • Remove .jazzy.yaml (#96)
  • Add docc documentation (#100, #101)