Releases: prometheus/client_python
Releases · prometheus/client_python
0.21.0 / 2024-09-20
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
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
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
[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
[BUGFIX] Use #!/usr/bin/env python instead of #!usr/bin/python in bridge/graphite.py. #928
0.17.0 / 2023-05-24
[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
[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
[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 Gauge
s. #794
0.14.1 / 2022-04-08
[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
[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