Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade prom-client from 14.1.1 to 15.0.0 #326

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

lholmquist
Copy link
Member

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade prom-client from 14.1.1 to 15.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 4 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2023-10-09.
Release notes
Package name: prom-client
  • 15.0.0 - 2023-10-09

    Added

    • Support for OpenMetrics and Exemplars

    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

    New Contributors

    Full Changelog: v14.2.0...v15.0.0

  • 15.0.0-1 - 2023-03-13

    What's Changed

    • fix: correct exemplar formating (#556) 4a800f4
    • perf: improve performance of rendering metrics to Prometheus string (#549) a38aa2b
    • fix: Disable content encoding for pushgateway delete requests (#551) 0f872ff

    Full Changelog: v15.0.0-0...v15.0.0-1

  • 15.0.0-0 - 2023-03-09

    What's Changed

    Breaking changes

    • drop support for Node.js versions 10, 12 and 17

    New Contributors

    Full Changelog: v14.2.0...v15.0.0-0

  • 14.2.0 - 2023-03-06

    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

    New Contributors

    Full Changelog: v14.1.1...v14.2.0

  • 14.1.1 - 2022-12-31

    What's Changed

    • Fix incompatibility with perf_hooks accross nodejs versions by @ Fadoli in #515

    New Contributors

    Full Changelog: v14.1.0...v14.1.1

from prom-client GitHub release notes
Commit messages
Package name: prom-client
  • e054f6c 15.0.0
  • 938e8af chore: update changelog for release
  • 32690d0 fix: pushgateway reject with timeout (#574)
  • 638aa94 chore: drop node 14 (#591)
  • 0c5c051 fix: do not ignore error if request fails (#578)
  • 07e9a3c Fixes description for setToCurrentTime to seconds instead of milliseconds (#585)
  • 611e228 chore: update dependencies (#573)
  • 54238a1 chore: drop node 19 (#572)
  • 992d5a2 Fix typescript definitions for using with Registry<OpenMetricsContentType> (#571)
  • 1df34ed perf: improve perf by refactoring code to be cleaner and more efficient (#559)
  • 126d4f3 Update README.md
  • 2c37e80 added TS def for `Summary`'s `pruneAgedBuckets` (#558)
  • 4fb2ca9 15.0.0-1
  • 4a800f4 fix: correct exemplar formating (#556)
  • a38aa2b perf: improve performance of rendering metrics to Prometheus string (#549)
  • 0f872ff fix: Disable content encoding for pushgateway delete requests (#551)
  • 0382911 15.0.0-0
  • 84fae84 perf: swap order of escape regexes to avoid lookahead (#546)
  • a19a1ad perf: improve performance of getMetricAsString in next (#548)
  • 9e49ee6 Add openmetrics and exemplars support (#544)
  • 39ad0d7 chore: update all dated dependencies (#533)
  • acc2cb9 chore: drop EOL Node versions (#532)
  • 199b7d1 perf: swap order of escape regexes to avoid lookahead (#546)
  • 4ddf9a2 docs(README): remove await of getSingleMetric

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@codecov-commenter
Copy link

codecov-commenter commented Oct 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!.

@lholmquist lholmquist merged commit 0612b9f into main Feb 28, 2024
7 checks passed
@lholmquist lholmquist deleted the snyk-upgrade-02d498913ce0cbd6ffd0044d5953443f branch February 28, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants