You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by "dependabot[bot]" <no...@github.com.INVALID> on 2022/06/06 19:19:37 UTC

[apache/incubator-teaclave] Bump prost-types from 0.6.1 to 0.8.0 in /services/proto/proto_gen (PR #649)

Bumps [prost-types](https://github.com/tokio-rs/prost) from 0.6.1 to 0.8.0.
&lt;details&gt;
&lt;summary&gt;Release notes&lt;/summary&gt;
&lt;p&gt;&lt;em&gt;Sourced from &lt;a href=&quot;https://github.com/tokio-rs/prost/releases&quot;&gt;prost-types&#39;s releases&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;h2&gt;v0.8.0&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;PROST!&lt;/em&gt; is a &lt;a href=&quot;https://developers.google.com/protocol-buffers/&quot;&gt;Protocol Buffers&lt;/a&gt; implementation for the &lt;a href=&quot;https://www.rust-lang.org/&quot;&gt;Rust Language&lt;/a&gt;. &lt;code&gt;prost&lt;/code&gt; generates simple, idiomatic Rust code from &lt;code&gt;proto2&lt;/code&gt; and &lt;code&gt;proto3&lt;/code&gt; files.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;NOTE: This version contains a security fix for &lt;code&gt;prost-types&lt;/code&gt; and is recommend that you upgrade to it from &amp;lt;0.7.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;prost&lt;/code&gt; 0.8.0 includes breaking changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Timestamp&lt;/code&gt;&#39;s &lt;code&gt;From&lt;/code&gt; implementation for converting into &lt;code&gt;SystemTime&lt;/code&gt; has been converted to a fallible &lt;code&gt;TryFrom&lt;/code&gt; implementation.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;prost-build&lt;/code&gt;&#39;s &lt;code&gt;compile_protos&lt;/code&gt; now takes &lt;code&gt;impl AsRef&amp;lt;Path&amp;gt;&lt;/code&gt; to allow each parameter to use its own generic type.&lt;/li&gt;
&lt;li&gt;Bundled &lt;code&gt;protoc&lt;/code&gt; version bumped to &lt;code&gt;3.15.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As well as many new (non-breaking) changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/pluth&quot;&gt;&lt;code&gt;@​pluth&lt;/code&gt;&lt;/a&gt; enabled zero-copy support for &lt;code&gt;Bytes&lt;/code&gt; based fields.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/sfackler&quot;&gt;&lt;code&gt;@​sfackler&lt;/code&gt;&lt;/a&gt; for fixing message optionals and oneofs in &lt;code&gt;prost-build&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/rubdos&quot;&gt;&lt;code&gt;@​rubdos&lt;/code&gt;&lt;/a&gt; for adding the ability to encode prost messages directly to a &lt;code&gt;Vec&amp;lt;u8&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;and numerous smaller fixes. Many thanks to the generous contributors who have helped out since 0.7:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/dfreese&quot;&gt;&lt;code&gt;@​dfreese&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/carols10cents&quot;&gt;&lt;code&gt;@​carols10cents&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/pluth&quot;&gt;&lt;code&gt;@​pluth&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/jfornoff&quot;&gt;&lt;code&gt;@​jfornoff&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/sphw&quot;&gt;&lt;code&gt;@​sphw&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/bpowers&quot;&gt;&lt;code&gt;@​bpowers&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/sfackler&quot;&gt;&lt;code&gt;@​sfackler&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/koushiro&quot;&gt;&lt;code&gt;@​koushiro&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/dbrgn&quot;&gt;&lt;code&gt;@​dbrgn&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/argv-minus-one&quot;&gt;&lt;code&gt;@​argv-minus-one&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/nagisa&quot;&gt;&lt;code&gt;@​nagisa&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/evanj&quot;&gt;&lt;code&gt;@​evanj&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/aquarhead&quot;&gt;&lt;code&gt;@​aquarhead&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;v0.7.0&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;PROST!&lt;/em&gt; is a &lt;a href=&quot;https://developers.google.com/protocol-buffers/&quot;&gt;Protocol Buffers&lt;/a&gt; implementation for the &lt;a href=&quot;https://www.rust-lang.org/&quot;&gt;Rust Language&lt;/a&gt;. &lt;code&gt;prost&lt;/code&gt; generates simple, idiomatic Rust code from &lt;code&gt;proto2&lt;/code&gt; and &lt;code&gt;proto3&lt;/code&gt; files.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;prost&lt;/code&gt; 0.7.0 includes breaking changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The minimum-supported Rust version (MSRV) is now 1.46.0.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;bytes&lt;/code&gt; public dependency version is now 1.0.&lt;/li&gt;
&lt;li&gt;The bundled &lt;code&gt;protoc&lt;/code&gt; version is now 3.14.0.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As well as many new (non-breaking) features and improvements:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/hockeybuggy&quot;&gt;&lt;code&gt;@​hockeybuggy&lt;/code&gt;&lt;/a&gt; added support for &lt;code&gt;deprecated&lt;/code&gt; field annotations.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/garbageslam&quot;&gt;&lt;code&gt;@​garbageslam&lt;/code&gt;&lt;/a&gt; and &lt;a href=&quot;https://github.com/dflemstr&quot;&gt;&lt;code&gt;@​dflemstr&lt;/code&gt;&lt;/a&gt; added &lt;code&gt;no_std&lt;/code&gt; support.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/joseph-wakeling-frequenz&quot;&gt;&lt;code&gt;@​joseph-wakeling-frequenz&lt;/code&gt;&lt;/a&gt; fixed a bug in Timestamp &lt;!-- raw HTML omitted --&gt; SystemTime conversions.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/rolftimmermans&quot;&gt;&lt;code&gt;@​rolftimmermans&lt;/code&gt;&lt;/a&gt; added support for generating Rust &lt;code&gt;bytes::Bytes&lt;/code&gt; fields from protobuf &lt;code&gt;bytes&lt;/code&gt; fields. When deserializing from a &lt;code&gt;Bytes&lt;/code&gt; instance, this enables zero-copy deserialization for &lt;code&gt;bytes&lt;/code&gt; fields!&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/olix0r&quot;&gt;&lt;code&gt;@​olix0r&lt;/code&gt;&lt;/a&gt; bumped the &lt;code&gt;bytes&lt;/code&gt; dependency to 0.6, which included most of the heavy lifting for the subsequent move to &lt;code&gt;bytes&lt;/code&gt; 1.0.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/danburkert&quot;&gt;&lt;code&gt;@​danburkert&lt;/code&gt;&lt;/a&gt; added support for the experimental proto3 optional field presence feature.&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- raw HTML omitted --&gt;
&lt;/blockquote&gt;
&lt;p&gt;... (truncated)&lt;/p&gt;
&lt;/details&gt;
&lt;details&gt;
&lt;summary&gt;Commits&lt;/summary&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/tokio-rs/prost/commit/998f288fe09a2e457fe23b54f61b1f106c608fb2&quot;&gt;&lt;code&gt;998f288&lt;/code&gt;&lt;/a&gt; release 0.8.0&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/tokio-rs/prost/commit/edb1464b71528286a6ce74278af05f19c3e0e820&quot;&gt;&lt;code&gt;edb1464&lt;/code&gt;&lt;/a&gt; derive: Fix unstable fn name collision warning (&lt;a href=&quot;https://github-redirect.dependabot.com/tokio-rs/prost/issues/499&quot;&gt;#499&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/tokio-rs/prost/commit/4ae66ccca65c3c348c577860bca0df0df821516d&quot;&gt;&lt;code&gt;4ae66cc&lt;/code&gt;&lt;/a&gt; Remove path type generic for better ergonomic (&lt;a href=&quot;https://github-redirect.dependabot.com/tokio-rs/prost/issues/496&quot;&gt;#496&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/tokio-rs/prost/commit/5d93c55426d9c219fb1fb065adfa8fd3e43833a1&quot;&gt;&lt;code&gt;5d93c55&lt;/code&gt;&lt;/a&gt; Bundled protoc only if the interpreter exists (&lt;a href=&quot;https://github-redirect.dependabot.com/tokio-rs/prost/issues/459&quot;&gt;#459&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/tokio-rs/prost/commit/fdc319c8f118f91cbc73752a30238273204dabc8&quot;&gt;&lt;code&gt;fdc319c&lt;/code&gt;&lt;/a&gt; prost-build lib.rs: Minor doc comment edits (&lt;a href=&quot;https://github-redirect.dependabot.com/tokio-rs/prost/issues/498&quot;&gt;#498&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/tokio-rs/prost/commit/d8cb390d606638e0bb24208a56996b680e9d21b4&quot;&gt;&lt;code&gt;d8cb390&lt;/code&gt;&lt;/a&gt; Add encode to Vec&amp;lt;u8&amp;gt; (&lt;a href=&quot;https://github-redirect.dependabot.com/tokio-rs/prost/issues/378&quot;&gt;#378&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/tokio-rs/prost/commit/59f2a7311dd6540696bfd0145f5281ce495f4385&quot;&gt;&lt;code&gt;59f2a73&lt;/code&gt;&lt;/a&gt; Fix &lt;a href=&quot;https://github-redirect.dependabot.com/tokio-rs/prost/issues/438&quot;&gt;#438&lt;/a&gt;: Check for overflow in &lt;code&gt;Duration&lt;/code&gt; and &lt;code&gt;Timestamp&lt;/code&gt; processing (&lt;a href=&quot;https://github-redirect.dependabot.com/tokio-rs/prost/issues/439&quot;&gt;#439&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/tokio-rs/prost/commit/0833d467bd55ee7ff427e0484fc299366ad9ab7d&quot;&gt;&lt;code&gt;0833d46&lt;/code&gt;&lt;/a&gt; Add afl fuzz tests (&lt;a href=&quot;https://github-redirect.dependabot.com/tokio-rs/prost/issues/272&quot;&gt;#272&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/tokio-rs/prost/commit/c8691b701a5e2e542e52122a73af1f696c437a09&quot;&gt;&lt;code&gt;c8691b7&lt;/code&gt;&lt;/a&gt; Update repository &amp;amp; author references to tokio-rs (&lt;a href=&quot;https://github-redirect.dependabot.com/tokio-rs/prost/issues/489&quot;&gt;#489&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/tokio-rs/prost/commit/6cf97ea422b09d98de34643c4dda2d4f8b7e23e6&quot;&gt;&lt;code&gt;6cf97ea&lt;/code&gt;&lt;/a&gt; Update outdated dependencies (&lt;a href=&quot;https://github-redirect.dependabot.com/tokio-rs/prost/issues/474&quot;&gt;#474&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Additional commits viewable in &lt;a href=&quot;https://github.com/tokio-rs/prost/compare/v0.6.1...v0.8.0&quot;&gt;compare view&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/details&gt;
&lt;br /&gt;


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prost-types&amp;package-manager=cargo&amp;previous-version=0.6.1&amp;new-version=0.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

&lt;details&gt;
&lt;summary&gt;Dependabot commands and options&lt;/summary&gt;
&lt;br /&gt;

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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/incubator-teaclave/network/alerts).

&lt;/details&gt;
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/649

-- Commit Summary --

  * Bump prost-types from 0.6.1 to 0.8.0 in /services/proto/proto_gen

-- File Changes --

    M services/proto/proto_gen/Cargo.lock (72)
    M services/proto/proto_gen/Cargo.toml (2)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/649.patch
https://github.com/apache/incubator-teaclave/pull/649.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/649
You are receiving this because you are subscribed to this thread.

Message ID: &lt;apache/incubator-teaclave/pull/649@github.com&gt;

Re: [apache/incubator-teaclave] Bump prost-types from 0.6.1 to 0.8.0 in /services/proto/proto_gen (PR #649)

Posted by Mingshen Sun <no...@github.com.INVALID>.
Closed #649.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/649#event-6890225912
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] Bump prost-types from 0.6.1 to 0.8.0 in /services/proto/proto_gen (PR #649)

Posted by "dependabot[bot]" <no...@github.com.INVALID>.
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/649#issuecomment-1168173727
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] Bump prost-types from 0.6.1 to 0.8.0 in /services/proto/proto_gen (PR #649)

Posted by Mingshen Sun <no...@github.com.INVALID>.
Teaclave's dependencies are pinned to specific versions and vendored here: https://github.com/apache/incubator-teaclave/tree/master/third_party.

We don't upgrade crates versions like this.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/649#issuecomment-1168173703
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>