Skip to content

Commit

Permalink
add changelog for getMetricsAsArray type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thierry committed Nov 10, 2021
1 parent d2057ad commit 95bdc60
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,21 @@ project adheres to [Semantic Versioning](http://semver.org/).
causing vscode to think that push/pushAdd and delete didn't promise
resulting in incorrect behavior.

- changed: `register.clusterMetrics()` no longer accepts a callback; it only
returns a promise.

### Added

## [14.0.0] - 2021-09-18

### Breaking

- types: fixed type for `registry.getMetricsAsArray()`
- changed: `linearBuckets` does not propagate rounding errors anymore.

Fewer bucket bounds will be affected by rounding errors. Histogram bucket
labels may change. [`6f1f3b2`](https://github.com/siimon/prom-client/commit/6f1f3b24c9c21311ff33e7d4b987b40c6b304e04)

- changed: The push gateway methods `pushAdd()`, `push()` and `delete()` now
return Promises instead of accepting a callback:

```js
// Old:
gateway.pushAdd({ jobName: 'test' }, (err, resp, body) => {});
Expand Down

0 comments on commit 95bdc60

Please sign in to comment.