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.2 #405

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 26, 2024

Bumps tonic-build from 0.9.2 to 0.12.2.

Release notes

Sourced from tonic-build's releases.

v0.12.2

0.12.2 (2024-08-23)

Features

  • Move TimeoutExpired out of transport (#1826)
  • Move ConnectError type from transport (#1828)
  • channel: allow setting max_header_list_size (#1835)
  • router: Add RoutesBuilder constructor (#1855)
  • tls: Rename tls-roots feature with tls-native-roots (#1860)
  • router: Rename Routes::into_router with into_axum_router (#1862)
  • router: Implement from axum::Router for Routes (#1863)
  • channel: Re-enable TLS based on Cargo features in generated clients (#1866)
  • server: allow setting max_header_list_size (#1870)
  • build: Expose formatted service name (#1684)
  • reflection: add back support for v1alpha reflection protocol (#1888)

Bug Fixes

  • router: Add missing unimplemented fallback to RoutesBuilder (#1864)
  • server: Prevent server from exiting on ECONNABORTED (#1874)
  • web: fix panic in trailer parsing on multiple trailers (#1880)
  • web: fix empty trailer parsing causing infinite parser loop (#1883)

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)

... (truncated)

Changelog

Sourced from tonic-build's changelog.

0.12.2 (2024-08-23)

Features

  • Move TimeoutExpired out of transport (#1826)
  • Move ConnectError type from transport (#1828)
  • channel: allow setting max_header_list_size (#1835)
  • router: Add RoutesBuilder constructor (#1855)
  • tls: Rename tls-roots feature with tls-native-roots (#1860)
  • router: Rename Routes::into_router with into_axum_router (#1862)
  • router: Implement from axum::Router for Routes (#1863)
  • channel: Re-enable TLS based on Cargo features in generated clients (#1866)
  • server: allow setting max_header_list_size (#1870)
  • build: Expose formatted service name (#1684)
  • reflection: add back support for v1alpha reflection protocol (#1888)

Bug Fixes

  • router: Add missing unimplemented fallback to RoutesBuilder (#1864)
  • server: Prevent server from exiting on ECONNABORTED (#1874)
  • web: fix panic in trailer parsing on multiple trailers (#1880)
  • web: fix empty trailer parsing causing infinite parser loop (#1883)

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)

... (truncated)

Commits
  • 82a856f chore: prepare 0.12.2 release (#1881)
  • 4befdce chore(router): Allow unreachable patterns (#1890)
  • 8d6d46b tonic-reflection: add back support for v1alpha reflection protocol (#1888)
  • 4c9356c chore(examples): Call Routes::prepare (#1857)
  • c3be20c server: unify accept error handling (#1882)
  • f321d6a fix(web): fix empty trailer parsing causing infinite parser loop (#1883)
  • 46d8c2d fix(tonic-web): fix panic caused in trailer parsing when there is more than o...
  • 22475d8 fix(tonic-build,tonic) Add back TLS handling in genereated Client::connect ...
  • 086bcd2 server: allow setting max_header_list_size (#1870)
  • 7fb40a9 chore: Remove unnecessary static lifetime (#1877)
  • 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

  • Chores
    • Updated the tonic-build dependency to version 0.12.2, which may enhance the build process and introduce new features or improvements.

Bumps [tonic-build](https://github.com/hyperium/tonic) from 0.9.2 to 0.12.2.
- [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.2)

---
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 added dependencies Pull requests that update a dependency file. rust Pull requests that update Rust code labels Aug 26, 2024
Copy link
Contributor

coderabbitai bot commented Aug 26, 2024

Walkthrough

The change involves an update to the tonic-build dependency in the Cargo.toml file of the crates/ext-processor project. The version has been upgraded from 0.9.2 to 0.12.2, indicating a significant version increment that may introduce new features, improvements, or breaking changes. This update affects dependency management without altering the existing codebase.

Changes

File Path Change Summary
crates/ext-processor/Cargo.toml Updated tonic-build version from 0.9.2 to 0.12.2

Sequence Diagram(s)

(No sequence diagram generated as the changes are not complex enough to require one.)

Poem

🐇 In the realm of code where the rabbits play,
A version change hops in, brightening the day.
From 0.9 to 0.12, we leap with glee,
New features await, as fresh as the breeze!
So let’s compile and see what’s new,
A world of possibilities, just for you! 🌼


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 Aug 26, 2024

DryRun Security Summary

The pull request primarily focuses on updating dependencies in the Bulwark security engine project, with the most significant change being the update of the tonic-build dependency from version 0.9.2 to 0.12.2, and the Cargo.lock file being updated to include the latest versions of the prettyplease, prost, and prost-types dependencies.

Expand for full summary

Summary:

The changes in this pull request are primarily focused on updating dependencies in the Bulwark security engine project. The most significant change is the update to the tonic-build dependency from version 0.9.2 to 0.12.2 in the crates/ext-processor/Cargo.toml file. This is a routine maintenance task to keep the application up-to-date with the latest versions of the libraries it depends on.

Additionally, the Cargo.lock file has been updated to include 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 changelogs of the updated dependencies to ensure there are no known security vulnerabilities introduced by the new versions.

Files Changed:

  1. crates/ext-processor/Cargo.toml: The version of the tonic-build dependency has been updated from 0.9.2 to 0.12.2. This is a build-time dependency used to generate Protobuf-based gRPC code, and the update is unlikely to introduce any significant security risks, as long as the new version does not contain any known vulnerabilities.

  2. Cargo.lock: The dependencies in the Cargo.lock file have been updated, including the prettyplease dependency being updated to the latest version without a specific version number, and the prost and prost-types dependencies being updated to version 0.11.9. These updates should be reviewed to ensure that there are no known security vulnerabilities in the new versions of the dependencies.

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.

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

Outside diff range, codebase verification and nitpick comments (1)
crates/ext-processor/Cargo.toml (1)

43-43: Update version references for tonic-build in configuration files.

The tonic-build version has been updated to 0.12.2 in Cargo.toml, but supply-chain/config.toml and deny.toml still reference version 0.9.2. Update these files to ensure consistency:

  • supply-chain/config.toml: Update version to 0.12.2.
  • deny.toml: Update version to 0.12.2.
Analysis chain

Verify the impact of the tonic-build dependency update.

The update from version 0.9.2 to 0.12.2 includes new features, bug fixes, and potential breaking changes. Ensure that the project is compatible with the new version and that any breaking changes are handled.

Run the following script to check for any breaking changes or compatibility issues:

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of the `tonic-build` dependency update.

# Test: Check for any breaking changes or compatibility issues.
cargo check

Length of output: 86


Script:

#!/bin/bash
# Search for instances where `tonic-build` is used in the codebase.
rg 'tonic-build' -A 5

Length of output: 1184

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 5399a02 and 9869f54.

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)

Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 30, 2024

Superseded by #414.

@dependabot dependabot bot closed this Sep 30, 2024
@dependabot dependabot bot deleted the dependabot/cargo/tonic-build-0.12.2 branch September 30, 2024 22:35
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