diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e5547b..7c1f205 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ This file only calls out major changes. Please see [the list of Git commits]( https://github.com/api7/nginx-lua-prometheus/commits/main) for the full list of changes. +## 1.1.1 + +- Update a metric's pending increment in place instead of allocating a new + entry on every `incr()` before `sync()`, which removes the per-call + allocation for counters and histogram observations (#28). + ## 1.1.0 - Reuse expired index slots while their dictionary nodes still exist, avoid diff --git a/dist.ini b/dist.ini index c349c88..4bfd9b4 100644 --- a/dist.ini +++ b/dist.ini @@ -1,6 +1,6 @@ name = nginx-lua-prometheus-api7 abstract = Prometheus metric library for Nginx -version = 1.1.0 +version = 1.1.1 author = Anton Tolchanov is_original = no license = mit diff --git a/rockspec/nginx-lua-prometheus-api7-1.1.0-1.rockspec b/rockspec/nginx-lua-prometheus-api7-1.1.1-1.rockspec similarity index 94% rename from rockspec/nginx-lua-prometheus-api7-1.1.0-1.rockspec rename to rockspec/nginx-lua-prometheus-api7-1.1.1-1.rockspec index 2d18850..3fbc842 100644 --- a/rockspec/nginx-lua-prometheus-api7-1.1.0-1.rockspec +++ b/rockspec/nginx-lua-prometheus-api7-1.1.1-1.rockspec @@ -1,11 +1,11 @@ -- Note, this file must have version in its name -- (see https://github.com/knyar/nginx-lua-prometheus/issues/27) package = "nginx-lua-prometheus-api7" -version = "1.1.0-1" +version = "1.1.1-1" source = { url = "git+https://github.com/api7/nginx-lua-prometheus.git", - tag = "1.1.0", + tag = "1.1.1", } description = {