Skip to content

Releases: swift-server/swift-prometheus

2.2.0

17 Sep 03:56
2.2.0
8a8ff47
Compare
Choose a tag to compare

What's Changed

SemVer Minor

  • new: MetricNameDescriptor overload option by @incertum in #126
  • new: add optional HELP line support by @incertum in #130
  • feat: add {emitToString, emitToBuffer} options + dedup TYPE and HELP per metric name by @incertum in #135

SemVer Patch

  • inline histogram record (gives 10x boost) by @blindspotbounty in #124
  • Fixed missing '&' for inout parameter in Docs by @andresfigueira in #114
  • refactor[Counter + Gauge]: uniquely identify metric time series by name and label sets (1/2) by @incertum in #131
  • refactor[Histograms]: uniquely identify metric time series by name and label sets (2/2) by @incertum in #134
  • Concurrency: enable 6.0 language mode / concurrency safety by @ktoso in #140

Other Changes

  • Correct license headers by @rnro in #122
  • Enable release mode builds by @josephnoir in #129
  • Adds a test to confirm defaultValueHistogramBuckets are respected by @ktoso in #132
  • Push 'Add Benchmarks for metrics #106' over the finish line by @ktoso in #133
  • update: docs + usage featuring latest improvements by @incertum in #139
  • Add MAINTAINERS.md file by @ktoso in #141
  • add RELEASE.md document by @ktoso in #143
  • Update README with Swift Metrics backend info by @ktoso in #144

New Contributors

Full Changelog: 2.1.0...2.2.0

2.1.0

18 Mar 13:13
54f1894
Compare
Choose a tag to compare

Bumped the minimum Swift tools version to 5.9.

What's Changed

SemVer Minor

Other Changes

New Contributors

Full Changelog: 2.0.0...2.1.0

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)