Skip to content

Releases: swift-server/swift-prometheus

2.0.0

01 May 13:29
2.0.0
bfcd4bb
Compare
Choose a tag to compare

Highlights

The 2.0 release brings new and improved APIs which provide a more correct user-experience and overall higher performance.

This release is a major version that contains breaking changes compared to the 1.x versions:

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

What's Changed (since 1.x series)

See also: 2.0.0-alpha.1, 2.0.0-alpha.2 for the previous alpha releases of the 2.x series.

New Contributors

Full Changelog: 1.0.2...2.0.0

2.0.0-alpha.2

29 Mar 09:23
2.0.0-alpha.2
bfcd4bb
Compare
Choose a tag to compare
2.0.0-alpha.2 Pre-release
Pre-release

Security Vulnerability Report

  • Un-sanitized metric name or labels can be used to take over exported metrics GHSA-x768-cvr2-345r

What's Changed

New Contributors

Full Changelog: 2.0.0-alpha.1...2.0.0-alpha.2

Swift Prometheus 2.0.0 Alpha 1

22 Sep 13:52
bc4d19a
Compare
Choose a tag to compare
Pre-release

🚨 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)

1.0.2

18 Jul 02:02
1.0.2
0d4bb1b
Compare
Choose a tag to compare

Patch fixes

Full Changelog: 1.0.1...1.0.2

1.0.1

18 Oct 05:03
1.0.1
2095e26
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.0...1.0.1

V 1.0.0

20 Jun 11:41
688e1fd
Compare
Choose a tag to compare

SemVer Minor

SemVer Patch

V 1.0.0 Alpha 15

31 Aug 08:28
ba329da
Compare
Choose a tag to compare
V 1.0.0 Alpha 15 Pre-release
Pre-release

SemVer Patch

  • Finer concurrency in 'MetricType.observe' / 'MetricType.collect' (#59, @avolokhov )
  • Make metrics collection independent from metrics creation (#60, @avolokhov )
  • Move labels equality check out of critical section in summary/histogram (#61, @avolokhov )

V 1.0.0 Alpha 14

17 Aug 07:29
7e0cf8f
Compare
Choose a tag to compare
V 1.0.0 Alpha 14 Pre-release
Pre-release

SemVer Minor

  • Add native support for floating point counter (#55, @MrLotU)

V 1.0.0 Alpha 13

05 Aug 11:02
e85499c
Compare
Choose a tag to compare
V 1.0.0 Alpha 13 Pre-release
Pre-release

SemVer Minor

  • Introduce PromSummary.capacity to improve performance (#57, @wacumov)

V 1.0.0 Alpha 12.1

02 Aug 12:02
Compare
Choose a tag to compare
V 1.0.0 Alpha 12.1 Pre-release
Pre-release

SemVer Patch

  • Fix bug in DimensionLabel equality. (daf102f)