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

build(deps): Update prometheus-client requirement from 0.17.0 to 0.18.0 #2822

Merged
merged 3 commits into from Aug 17, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 16, 2022

Updates the requirements on prometheus-client to permit the latest version.

Release notes

Sourced from prometheus-client's releases.

v0.18.0

See changelog for details.

Changelog

Sourced from prometheus-client's changelog.

[0.18.0]

Changed

  • Use parking_lot instead of std::sync::*.

    Before proemtheus-client would use the owning_ref crate to map the target of a std::sync::RwLockReadGuard. owning_ref has multiple unsoundness issues, see https://rustsec.org/advisories/RUSTSEC-2022-0040.html. Instead of replacing owning_ref with a similar crate, we switch to locking via parking_lot which supports the above mapping natively.

    See PR 78 and issue 77.

[0.17.0]

Changed

  • Updates to Rust 2021 Edition. See PR 65.

Added

  • Added a with_prefix method to Registry to allow initializing a registry with a prefix. See PR 70.
  • Added Debug implementations on most public types that were missing them. See PR 71.
  • Added example for actix-web framework. See PR 76.

Removed

  • Remove Add trait implementation for a private type which lead to compile time conflicts with existing Add implementations e.g. on String. See PR 69.

[0.16.0]

Changed

  • Require Registry default generic type SendEncodeMetric to be Sync. See PR 58.

[0.15.1] - 2022-02-04

Added

  • Expose Encoder methods. See [PR 41].

... (truncated)

Commits
  • bf08e49 CHANGELOG.md: Prepare v0.18.0 (#80)
  • 818c5c8 *: Move to parking_lot and thus make owning_ref obsolete (#78)
  • 8b7ab5b .github/workflows/: Add wasm32 as a cross-compile target (#79)
  • c9b42b1 examples/: Add actix-web binary (#76)
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [prometheus-client](https://github.com/prometheus/client_rust) to permit the latest version.
- [Release notes](https://github.com/prometheus/client_rust/releases)
- [Changelog](https://github.com/prometheus/client_rust/blob/master/CHANGELOG.md)
- [Commits](prometheus/client_rust@v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: prometheus-client
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 16, 2022
@mxinden
Copy link
Member

mxinden commented Aug 17, 2022

Closes #2794

@mxinden mxinden linked an issue Aug 17, 2022 that may be closed by this pull request
@mxinden mxinden merged commit d2c5053 into master Aug 17, 2022
@dependabot dependabot bot deleted the dependabot/cargo/prometheus-client-0.18.0 branch August 17, 2022 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RUSTSEC-2022-0040: Multiple soundness issues in owning_ref
1 participant