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

Bump tonic-build from 0.9.2 to 0.12.1 #391

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 22, 2024

Bumps tonic-build from 0.9.2 to 0.12.1.

Release notes

Sourced from tonic-build's releases.

v0.12.1

0.12.1 (2024-07-17)

Bug Fixes

  • Reduce tokio-stream feature (#1795)

v0.12.0

v0.12.0 (2024-07-08)

This breaking release updates tonic to the hyper 1.0 ecosystem and also updates to prost v0.13.0.

Features

  • build: Custom codecs for generated code (#1599) (18a2b30)
  • channel: Make channel feature additive (#1574) (b947e1a)
  • codec: Make error when not utf8 value in compression encoding (#1768) (f8e1f87)
  • Implement http_body::Body::size_hint for custom body (#1713) (9728c01)
  • Make boxed function public (#1754) (2cc868f)
  • Relax GrpcMethod lifetime (#1598) (68bf17d)
  • tls: Add ability to add multiple ca certificates (#1724) (3457f92)
  • tls: Use rustls_pki_types::CertificateDer to describe DER encoded certificate (#1707) (96a8cbc)
  • tls: Remove tls roots implicit configuration (#1731) (de73617)
  • transport: Make service router independent from transport (#1572) (da48235)
  • transport: Make transport server and channel independent (#1630) (654289f)
  • transport: Rename reexported axum body (#1752) (5d7bfc2)
  • Use http::Extensions directly (#1710) (ed95d27)

Bug Fixes

  • tonic: flush accumulated ready messages when status received (#1756) (d312dcc), closes #1423

BREAKING CHANGES

  • tonic and crates updated to hyper 1.0 (#1670)
  • tonic and crates updated to prost 0.13 (#1779)
  • tonic_reflection::server is updated to use the generated tonic_reflection::pb::v1 code.
  • Make compression encoding configuration more malleable (#1757)
Changelog

Sourced from tonic-build's changelog.

0.12.1 (2024-07-17)

Bug Fixes

  • Reduce tokio-stream feature (#1795)

0.12.0 (2024-07-08)

This breaking release updates tonic to the hyper 1.0 ecosystem and also updates to prost v0.13.0.

Features

  • build: Custom codecs for generated code (#1599) (18a2b30)
  • channel: Make channel feature additive (#1574) (b947e1a)
  • codec: Make error when not utf8 value in compression encoding (#1768) (f8e1f87)
  • Implement http_body::Body::size_hint for custom body (#1713) (9728c01)
  • Make boxed function public (#1754) (2cc868f)
  • Relax GrpcMethod lifetime (#1598) (68bf17d)
  • tls: Add ability to add multiple ca certificates (#1724) (3457f92)
  • tls: Use rustls_pki_types::CertificateDer to describe DER encoded certificate (#1707) (96a8cbc)
  • tls: Remove tls roots implicit configuration (#1731) (de73617)
  • transport: Make service router independent from transport (#1572) (da48235)
  • transport: Make transport server and channel independent (#1630) (654289f)
  • transport: Rename reexported axum body (#1752) (5d7bfc2)
  • Use http::Extensions directly (#1710) (ed95d27)

Bug Fixes

  • tonic: flush accumulated ready messages when status received (#1756) (d312dcc), closes #1423

BREAKING CHANGES

  • tonic and crates updated to hyper 1.0 (#1670)
  • tonic and crates updated to prost 0.13 (#1779)
  • tonic_reflection::server is updated to use the generated tonic_reflection::pb::v1 code.
  • Make compression encoding configuration more malleable (#1757)
  • Removed implicit configuration of client TLS roots setup (#1731)

0.11.0 (2024-02-08)

BREAKING CHANGES:

... (truncated)

Commits
  • e0b6caf chore: release v0.12.1 (#1806)
  • aa57ffe tonic-reflection: Restructure crate to prep reintroducing v1alpha (#1802)
  • ad1a95d chore(server): Remove unnecessary trait bound from ServerIo::connect_info (#1...
  • b6ad603 chore(server): Remove unnecessary bound from TlsAcceptor::accept (#1799)
  • 539d6f7 chore(channel): Remove duplicate heap pin (#1798)
  • 4aad5af fixed hello world and route guide tutorials (#1791)
  • dd313db chore(codec): Remove redundant trim (#1797)
  • 819c390 chore(server): Remove unnecessary Connected trait bound (#1796)
  • 90356f6 chore: Reduce tokio-stream feature (#1795)
  • b2e5665 chore(examples): Remove clone on copy value (#1794)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Summary by CodeRabbit

  • New Features
    • Upgraded the tonic-build dependency to version 0.12.1, which may enhance performance and introduce new features.
  • Bug Fixes
    • Potential improvements in stability and functionality due to the updated dependency.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file. rust Pull requests that update Rust code labels Jul 22, 2024
Copy link
Contributor

coderabbitai bot commented Jul 22, 2024

Walkthrough

The primary change involves updating the tonic-build dependency version in the ext-processor crate's Cargo.toml from 0.9.2 to 0.12.1. This upgrade may introduce new features, enhancements, or fixes, potentially impacting the crate's functionality and build process. No other changes were made to the configuration or dependencies, focusing solely on this significant update.

Changes

Files Change Summary
crates/ext-processor/Cargo.toml Updated tonic-build version from 0.9.2 to 0.12.1

Poem

🐇 In the meadow, changes spring,
A new version, joy it brings!
With tonic-build, we leap and bound,
New features in our code are found.
Hops of joy, let's celebrate,
In the world of crates, we elevate! 🌼✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

dryrunsecurity bot commented Jul 22, 2024

DryRun Security Summary

The provided code changes update the dependencies in the Bulwark security engine project, including the tonic-build, prost, prost-types, and prettyplease dependencies, which is generally a positive change as it likely includes bug fixes and security improvements, but the project maintainers should thoroughly test the updated dependencies to ensure they do not introduce any regressions or new security issues.

Expand for full summary

Summary:

The provided code changes are updates to the dependencies in the Bulwark security engine project. The key changes include updating the tonic-build dependency from version 0.9.2 to 0.12.1, and updating the prost and prost-types dependencies from version 0.11.9 to 0.13.1. Additionally, the prettyplease dependency has been updated to the latest version without specifying a version number.

From an application security perspective, these updates are generally positive as they likely include bug fixes and security improvements. Updating dependencies to their latest versions is a recommended practice to ensure the application benefits from the latest security patches and enhancements. However, it's important to review the changelog or release notes for the new versions to ensure there are no known security vulnerabilities or breaking changes that could impact the Bulwark security engine. Additionally, the project maintainers should thoroughly test the updated dependencies to ensure they do not introduce any regressions or new security issues.

Files Changed:

  • crates/ext-processor/Cargo.toml: This file has been updated to use the latest version of the tonic-build dependency, which is a positive change as it likely includes security improvements and bug fixes.
  • Cargo.lock: This file has been updated to use the latest versions of the prettyplease, prost, and prost-types dependencies. While updating dependencies is generally a good practice, it's important to review the changes and ensure that the new versions do not introduce any security vulnerabilities or breaking changes.

Code Analysis

We ran 9 analyzers against 2 files and 0 analyzers had findings. 9 analyzers had no findings.

Riskiness

🟢 Risk threshold not exceeded.

View PR in the DryRun Dashboard.

@dependabot dependabot bot force-pushed the dependabot/cargo/tonic-build-0.12.1 branch 2 times, most recently from 2485cb4 to d1d7265 Compare August 10, 2024 04:42
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 083943f and d1d7265.

Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
Files selected for processing (1)
  • crates/ext-processor/Cargo.toml (1 hunks)
Additional comments not posted (1)
crates/ext-processor/Cargo.toml (1)

43-43: Verify compatibility and test coverage for tonic-build update.

The tonic-build dependency has been updated from 0.9.2 to 0.12.1. This update includes breaking changes and new features, such as compatibility with hyper 1.0 and prost 0.13.0. Ensure that the codebase is compatible with these changes and that tests cover any new functionality or potential issues introduced by this update.

@dependabot dependabot bot force-pushed the dependabot/cargo/tonic-build-0.12.1 branch from d1d7265 to 128ae94 Compare August 10, 2024 06:26
Bumps [tonic-build](https://github.com/hyperium/tonic) from 0.9.2 to 0.12.1.
- [Release notes](https://github.com/hyperium/tonic/releases)
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md)
- [Commits](hyperium/tonic@v0.9.2...v0.12.1)

---
updated-dependencies:
- dependency-name: tonic-build
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/tonic-build-0.12.1 branch from 128ae94 to 55118f4 Compare August 21, 2024 14:51
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between d1d7265 and 55118f4.

Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
Files selected for processing (1)
  • crates/ext-processor/Cargo.toml (1 hunks)
Additional comments not posted (1)
crates/ext-processor/Cargo.toml (1)

43-43: Verify compatibility and test the build process.

The tonic-build dependency has been updated from 0.9.2 to 0.12.1. Ensure that this update is compatible with other dependencies and does not introduce breaking changes.

Run the following script to verify compatibility and test the build process:

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 26, 2024

Superseded by #405.

@dependabot dependabot bot closed this Aug 26, 2024
@dependabot dependabot bot deleted the dependabot/cargo/tonic-build-0.12.1 branch August 26, 2024 22:57
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.

0 participants