Releases: jochen-schweizer/express-prom-bundle
Releases · jochen-schweizer/express-prom-bundle
7.0.0
- bumped peer dependency prom-client to v15 (thanks to @steve1337)
- respect
pruneAgedBuckets
option for Summary (thanks to @timm-stelzer-e-farm) - respect
collectDefaultMetrics.prefix
option forup
metric (thanks to @gandazgul) - use status code 499 for requests that are closed before response is sent (thanks to @petuomin)
- README now has an example of
normalizePath()
that simply uses the route instead of guessing what looks like a variable part. Yet it doesn't seem to work with subrouters (thanks to @Cellaryllis) - switched type-checking tool from dtslint to tsd
6.6.0
6.5.0
6.4.1
- added
urlPathReplacement
option (thanks to @prabhumarappan) - added types for
excludeRoutes
(thanks to @RyanBard)
6.3.6
- types for metricType summary added
6.3.5
- readme now mentions previously hidden option
httpDurationMetricName
6.3.4
- type definitions for
urlValueParser
now allow passing RegExp directly (thanks to @thewizarodofoz)
6.3.3
6.3.2
- peer dependency
prom-client
set to>=12.0.0
instead of^13.0.0
(it was a regression), thanks to @billyjanitsch
Minor dev changes:
- travis now run tests on node 14 instead of 13
- added eslint test to travis build
- dtslint now tests only the latest TS version on travis. This was a workaround for dtslint failing on travis when referencing types for prom-client in older versions of TS