Skip to content

Releases: prometheus/client_python

0.21.0 / 2024-09-20

20 Sep 15:30
v0.21.0
3b183b4
Compare
Choose a tag to compare

What's Changed

[CHANGE] Reject invalid (not GET or OPTION) HTTP methods. #1019
[ENHANCEMENT] Allow writing metrics when holding a lock for the metric in the same thread. #1014
[BUGFIX] Check for and error on None label values. #1012
[BUGFIX] Fix timestamp comparison. #1038

0.20.0 / 2024-02-14

14 Feb 15:55
v0.20.0
7a80f00
Compare
Choose a tag to compare

What's Changed

  • [CHANGE/BUGFIX] Update OpenMetrics Content Type to 1.0.0. #997
  • [FEATURE] Enable graceful shutdown for start_{http,wsgi}_server by returning the server and thread. #999
  • [FEATURE] Allow resetting counter metrics. #1005
  • [BUGFIX] wsgi server: address family discovery is not quite right. #1006

0.19.0 / 2023-11-20

21 Nov 00:49
v0.19.0
2dcd17e
Compare
Choose a tag to compare

What's Changed

[FEATURE] support HTTPS/TLS in start_http_server. #946
[BUGFIX] fix: error in determining timestamp less than. #979

0.18.0 / 2023-10-30

30 Oct 17:16
v0.18.0
a000193
Compare
Choose a tag to compare

[CHANGE] Remove support for Python versions < 3.8. #936
[FEATURE] Add mostrecent aggregation to Gauge. #967
[ENHANCEMENT] Typing improvements. #935, #970
[ENHANCEMENT] Allow enabling or disabling _created metrics from code. #973
[BUGFIX] Change #!/usr/bin/python to #!/usr/bin/env python in remaining places. #945

0.17.1 / 2023-07-19

10 Jul 21:20
v0.17.1
c72c4f3
Compare
Choose a tag to compare

[BUGFIX] Use #!/usr/bin/env python instead of #!usr/bin/python in bridge/graphite.py. #928

0.17.0 / 2023-05-24

24 May 21:38
v0.17.0
1b9709e
Compare
Choose a tag to compare

[ENHANCEMENT] Add additional typing. #887, #903
[BUGFIX] Fix typo in python_gc_objects_collected metadata. #894
[BUGFIX] Do not include .pyc files in the build wheel. #906

0.16.0 / 2023-01-23

23 Jan 22:15
v0.16.0
fd4da6c
Compare
Choose a tag to compare

[FEATURE] Support HELP text in multiprocess mode. #804
[ENHANCEMENT] Reduce the mmap minimum size. #853
[BUGFIX] Use the correct OpenMetrics encoder when application/openmetrics-text is requested in ASGI apps. #864
[BUGFIX] Allow Prometheus format parser to handle a missing space after labels. #872

0.15.0 / 2022-10-13

13 Oct 14:49
v0.15.0
db391db
Compare
Choose a tag to compare

[CHANGE] Remove choose_formatter. choose_formatter only existed for v0.14.x and was deprecated in v0.14.1. #846
[FEATURE] Support TLS auth when using push gateway with tls_auth_handler. #841
[ENHANCEMENT] Add sum, livemin, and livemax multiprocess modes for Gauges. #794

0.14.1 / 2022-04-08

08 Apr 16:11
v0.14.1
5c18ede
Compare
Choose a tag to compare

[BUGFIX] Revert choose_encoder being renamed to choose_formatter to fix a breaking change. For the 0.14.x release cycle choose_formatter will still exist, but will be removed in 0.15.0. #796

0.14.0 / 2022-04-05

05 Apr 21:05
v0.14.0
041e0f5
Compare
Choose a tag to compare

[ENHANCEMENT] Continued typing improvements and coverage. #759, #771, #781
[ENHANCEMENT] Allow binding to IPv6 addresses. #657
[ENHANCEMENT] Negotiate gzip content-encoding, enabled by default. #776
[ENHANCEMENT] Allow disabling _created metrics via the PROMETHEUS_DISABLE_CREATED_SERIES environment variable. #774
[BUGFIX] Correct minor typo in exception raised when exemplar labels are too long. #773