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): bump the prod group with 6 updates #8125

Merged
merged 6 commits into from
Jan 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Bumps the prod group with 6 updates:

Package From To
futures 0.3.29 0.3.30
tokio 1.35.0 1.35.1
metrics 0.21.1 0.22.0
metrics-exporter-prometheus 0.12.2 0.13.0
reqwest 0.11.22 0.11.23
owo-colors 3.5.0 4.0.0

Updates futures from 0.3.29 to 0.3.30

Release notes

Sourced from futures's releases.

0.3.30

  • Add {BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of (#2797)
  • Fix panic in FuturesUnordered::clear (#2809)
  • Fix panic in AsyncBufReadExt::fill_buf (#2801, #2812)
  • Improve support for targets without atomic CAS (#2811)
  • Remove build scripts (#2811)
Changelog

Sourced from futures's changelog.

0.3.30 - 2023-12-24

  • Add {BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of (#2797)
  • Fix panic in FuturesUnordered::clear (#2809)
  • Fix panic in AsyncBufReadExt::fill_buf (#2801, #2812)
  • Improve support for targets without atomic CAS (#2811)
  • Remove build scripts (#2811)
Commits
  • de1a0fd Release 0.3.30
  • 68d2845 Remove a redundant space in example (#2816)
  • fdd2ce7 Fix broken link in CopyBufAbortable docs (#2815)
  • 272a3c7 Use cfg(target_has_atomic) on no-std targets
  • c179201 FillBuf: Do not call poll_fill_buf twice
  • e6735f3 FuturesUnordered: Fix clear implementation
  • 04d01a0 FuturesOrdered: Use 64-bit index
  • e4aa659 remove redundant impl Unpin
  • 17851c1 provide a mechanism to determine if io read/write halves are from the same st...
  • 4910799 provide a non-destructive mechanism to determine if a sink/stream are paired
  • Additional commits viewable in compare view

Updates tokio from 1.35.0 to 1.35.1

Release notes

Sourced from tokio's releases.

Tokio v1.35.1

1.35.1 (December 19, 2023)

This is a forward part of a change that was backported to 1.25.3.

Fixed

  • io: add budgeting to tokio::runtime::io::registration::async_io (#6221)

#6221: tokio-rs/tokio#6221

Commits

Updates metrics from 0.21.1 to 0.22.0

Commits
  • da3edb3 (cargo-release) version 0.22.0
  • 3b3a991 chore: clean up some clippy lints
  • c04acc4 chore(metrics-observer,metrics-exporter-tcp): update to prost 0.12
  • 4bc6c26 update RELEASES.md
  • 0e5874d enhancement(metrics): add support for scoped (local) recorders (#414)
  • 49d96b1 Update ordered-float requirement from 3.4 to 4.2 (#421)
  • 545878b Update quanta requirement from 0.11 to 0.12 (#396)
  • 851c930 update changelog
  • e9b8230 Try other resolved addresses if the first one fails (#429)
  • 52f5a50 Add a clippy CI check (#416) (#417)
  • Additional commits viewable in compare view

Updates metrics-exporter-prometheus from 0.12.2 to 0.13.0

Commits
  • 6a793a3 (cargo-release) version 0.13.0
  • be3396c (cargo-release) version 0.15.0
  • 42d24d7 (cargo-release) version 0.16.0
  • da3edb3 (cargo-release) version 0.22.0
  • 3b3a991 chore: clean up some clippy lints
  • c04acc4 chore(metrics-observer,metrics-exporter-tcp): update to prost 0.12
  • 4bc6c26 update RELEASES.md
  • 0e5874d enhancement(metrics): add support for scoped (local) recorders (#414)
  • 49d96b1 Update ordered-float requirement from 3.4 to 4.2 (#421)
  • 545878b Update quanta requirement from 0.11 to 0.12 (#396)
  • Additional commits viewable in compare view

Updates reqwest from 0.11.22 to 0.11.23

Release notes

Sourced from reqwest's releases.

v0.11.23

What's Changed

  • Add Proxy::custom_http_auth(val) for setting the raw Proxy-Authorization header when connecting to proxies.
  • Fix redirect to reject locations that are not http:// or https://.
  • Fix setting nodelay when TLS is enabled but URL is HTTP.
  • (wasm) Add ClientBuilder::user_agent(val).
  • (wasm) add multipart::Form::headers(headers).

New Contributors

Changelog

Sourced from reqwest's changelog.

v0.11.23

  • Add Proxy::custom_http_auth(val) for setting the raw Proxy-Authorization header when connecting to proxies.
  • Fix redirect to reject locations that are not http:// or https://.
  • Fix setting nodelay when TLS is enabled but URL is HTTP.
  • (wasm) Add ClientBuilder::user_agent(val).
  • (wasm) add multipart::Form::headers(headers).
Commits

Updates owo-colors from 3.5.0 to 4.0.0

Commits
  • 1d5eaf2 Version 4.0.0
  • 5c2d8fc Version 4.0.0-rc.1
  • 4e88f4b Fix missed typo in previous fix
  • c0b9809 owo-colors 4.0.0-rc.0
  • 647100b Fix typo in public interface
  • 50217bc Reintroduce owo_colors::Stream to reduce version dependency on supports_color
  • 7dad7ea Simplify supports-color 2.0 upgrade
  • 457f546 Merge pull request #103 from LingMan/ci
  • e7046b4 Elide explicit lifetime annotations
  • 0f01a19 Merge branch 'master' into ci
  • Additional commits viewable 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the prod group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [futures](https://github.com/rust-lang/futures-rs) | `0.3.29` | `0.3.30` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.35.0` | `1.35.1` |
| [metrics](https://github.com/metrics-rs/metrics) | `0.21.1` | `0.22.0` |
| [metrics-exporter-prometheus](https://github.com/metrics-rs/metrics) | `0.12.2` | `0.13.0` |
| [reqwest](https://github.com/seanmonstar/reqwest) | `0.11.22` | `0.11.23` |
| [owo-colors](https://github.com/jam1garner/owo-colors) | `3.5.0` | `4.0.0` |


Updates `futures` from 0.3.29 to 0.3.30
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](rust-lang/futures-rs@0.3.29...0.3.30)

Updates `tokio` from 1.35.0 to 1.35.1
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.35.0...tokio-1.35.1)

Updates `metrics` from 0.21.1 to 0.22.0
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml)
- [Commits](metrics-rs/metrics@metrics-v0.21.1...metrics-v0.22.0)

Updates `metrics-exporter-prometheus` from 0.12.2 to 0.13.0
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml)
- [Commits](metrics-rs/metrics@metrics-exporter-prometheus-v0.12.2...metrics-exporter-prometheus-v0.13.0)

Updates `reqwest` from 0.11.22 to 0.11.23
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](seanmonstar/reqwest@v0.11.22...v0.11.23)

Updates `owo-colors` from 3.5.0 to 4.0.0
- [Commits](jam1garner/owo-colors@v3.5.0...v4.0.0)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod
- dependency-name: metrics
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod
- dependency-name: metrics-exporter-prometheus
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod
- dependency-name: owo-colors
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: prod
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested review from a team as code owners December 25, 2023 16:25
@dependabot dependabot bot added A-dependencies Area: Dependency file updates A-rust Area: Updates to Rust code C-trivial Category: A trivial change that is not worth mentioning in the CHANGELOG labels Dec 25, 2023
@dependabot dependabot bot removed the request for review from a team December 25, 2023 16:25
@dependabot dependabot bot requested a review from a team as a code owner December 27, 2023 20:00
@oxarbitrage
Copy link
Contributor

This PR needed a lot of changes on how metrics are called. Basically all metrics macro calls had to be changed, the value assigned to each metric is now done with a method:

  • metrics::gauge! now use .set() to set its value.
  • metrics::counter! now use .increment() to increment its value.
  • metrics::histogram! now use record() to sets its value.
  • increment_counter! was deprecated, we now just use counter!. This is happening at 1 place only in zebrad/src/components/metrics.rs.

I will like someone else to review as i made all the changes.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 1, 2024

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

teor2345
teor2345 previously approved these changes Jan 1, 2024
Copy link
Collaborator

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good!

Next time it might be helpful to split each dependency with extra changes into its own PR, to make the reviews and revisions quicker.

Copy link
Collaborator

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge to avoid code conflicts

mergify bot added a commit that referenced this pull request Jan 1, 2024
@mergify mergify bot merged commit f21d7c6 into main Jan 2, 2024
144 checks passed
@mergify mergify bot deleted the dependabot/cargo/prod-35352724d4 branch January 2, 2024 01:26
@oxarbitrage oxarbitrage mentioned this pull request Jan 17, 2024
41 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dependencies Area: Dependency file updates A-rust Area: Updates to Rust code C-trivial Category: A trivial change that is not worth mentioning in the CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants