Open renovate[bot] opened 10 months ago
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|---|---|---|---|
npm/prom-client@15.1.1 | filesystem, network, unsafe | +3 |
3.76 MB | simenb |
🚮 Removed packages: npm/prom-client@14.0.0
This PR contains the following updates:
^14.0.0
->^15.0.0
Release Notes
siimon/prom-client (prom-client)
### [`v15.1.3`](https://redirect.github.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1513---2024-06-27) [Compare Source](https://redirect.github.com/siimon/prom-client/compare/v15.1.2...v15.1.3) ##### Changed - Improve error message when number of registered labels mismatch with the number of labels provided ### [`v15.1.2`](https://redirect.github.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1512---2024-04-16) [Compare Source](https://redirect.github.com/siimon/prom-client/compare/v15.1.1...v15.1.2) ##### Changed - Add `Registry.PROMETHEUS_CONTENT_TYPE` and `Registry.OPENMETRICS_CONTENT_TYPE` constants to the TypeScript types - Correctly read and set `contentType` top level export ##### Added - Enable `bun.js` by catching `NotImplemented` error (Fixes [#570](https://redirect.github.com/siimon/prom-client/issues/570)) ### [`v15.1.1`](https://redirect.github.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1511---2024-03-26) [Compare Source](https://redirect.github.com/siimon/prom-client/compare/v15.1.0...v15.1.1) ##### Changed - Improve the memory usage of histograms when the `enableExemplars` option is disabled - fix: Avoid updating exemplar values during subsequent metric changes (Fixes [#616](https://redirect.github.com/siimon/prom-client/issues/616)) ### [`v15.1.0`](https://redirect.github.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1510---2023-12-15) [Compare Source](https://redirect.github.com/siimon/prom-client/compare/v15.0.0...v15.1.0) ##### Changed - remove unnecessary loop from `osMemoryHeapLinux` - Improve performance of `hashObject` by using pre-sorted array of label names - Fix type of `collectDefaultMetrics.metricsList` ##### Added - Allow Pushgateway to now require job names for compatibility with Gravel Gateway. - Allow `histogram.startTime()` to be used with exemplars. ### [`v15.0.0`](https://redirect.github.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1500---2023-10-09) [Compare Source](https://redirect.github.com/siimon/prom-client/compare/v14.2.0...v15.0.0) ##### Breaking - drop support for Node.js versions 10, 12, 14, 17 and 19 ##### Changed - Refactor histogram internals and provide a fast path for rendering metrics to Prometheus strings when there are many labels shared across different values. - Disable custom content encoding for pushgateway delete requests in order to avoid failures from the server when using `Content-Encoding: gzip` header. - Refactor `escapeString` helper in `lib/registry.js` to improve performance and avoid an unnecessarily complex regex. - Cleanup code and refactor to be more efficient - Correct TS types for working with OpenMetrics - Updated Typescript and Readme docs for `setToCurrentTime()` to reflect units as seconds. - Do not ignore error if request to pushgateway fails - Make sure to reject the request to pushgateway if it times out ##### Added - Support for OpenMetrics and Exemplars ### [`v14.2.0`](https://redirect.github.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1420---2023-03-06) [Compare Source](https://redirect.github.com/siimon/prom-client/compare/v14.1.1...v14.2.0) ##### Changed - Refactor `getMetricAsPrometheusString` method in the `Registry` class to use `Array.prototype.join` instead of loop of string concatenations. - Also use `Array.prototype.map`, and object spread instead of an explicit `for` loop - changed: updated the sample output in `example/default-metrics.js` - `summary` metrics now has a `pruneAgedBuckets` config parameter to remove entries without any new values in the last `maxAgeSeconds`. Default is `false` (old behavior) ##### Added - Add `get` method to type definitions of metric classes ### [`v14.1.1`](https://redirect.github.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1411---2022-12-31) [Compare Source](https://redirect.github.com/siimon/prom-client/compare/v14.1.0...v14.1.1) ##### Changed - Increase compatibility with external build system such as `rollup` by making perf_hooks optional in gc.js [14.1.1]: https://redirect.github.com/siimon/prom-client/compare/v14.1.0...v14.1.1 ### [`v14.1.0`](https://redirect.github.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1410---2022-08-23) [Compare Source](https://redirect.github.com/siimon/prom-client/compare/v14.0.1...v14.1.0) ##### Changed - types: converted all the generic Metric types to be optional - The `done()` functions returned by `gauge.startTimer()` and `summary.startTimer()` now return the timed duration. Histograms already had this behavior. - types: fixed type for `registry.getMetricsAsArray()` - Improve performance of `gague.inc()` and `gauge.dec()` by calling `hashObject()` once. ##### Added - The `processResources` metric was added, which keeps a track of all sorts of active resources. It consists of the following gauges: - `nodejs_active_resources` - Number of active resources that are currently keeping the event loop alive, grouped by async resource type. - `nodejs_active_resources_total` - Total number of active resources. It is supposed to provide the combined result of the `processHandles` and `processRequests` metrics along with information about any other types of async resources that these metrics do not keep a track of (like timers). - Support gzipped pushgateway requests ### [`v14.0.1`](https://redirect.github.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1401---2021-11-02) [Compare Source](https://redirect.github.com/siimon/prom-client/compare/v14.0.0...v14.0.1) ##### Changed - changed: typedef for pushgateway to reflect js implementation.Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.