Skip to content

Commit

Permalink
Update tokio-prost monorepo to 0.13.0 (#434)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [prost](https://togithub.com/tokio-rs/prost) | workspace.dependencies
| minor | `0.12.4` -> `0.13.0` |
| [prost-build](https://togithub.com/tokio-rs/prost) |
workspace.dependencies | minor | `0.12.4` -> `0.13.0` |
| [prost-types](https://togithub.com/tokio-rs/prost) |
workspace.dependencies | minor | `0.12.4` -> `0.13.0` |

---

### Release Notes

<details>
<summary>tokio-rs/prost (prost)</summary>

###
[`v0.13.0`](https://togithub.com/tokio-rs/prost/blob/HEAD/CHANGELOG.md#PROST-version-0130)

[Compare
Source](https://togithub.com/tokio-rs/prost/compare/v0.12.6...v0.13.0)

*PROST!* is a [Protocol
Buffers](https://developers.google.com/protocol-buffers/) implementation
for the [Rust Language](https://www.rust-lang.org/). `prost` generates
simple, idiomatic Rust code from `proto2` and `proto3` files.

This major update brings new features and fixes:

#### Breaking changes

- derive Copy trait for messages where possible
([#&#8203;950](https://togithub.com/tokio-rs/prost/issues/950))

`prost-build` will automatically derive `trait Copy` for some messages.
If you manually implement `Copy` you should remove your implementation.

- Change generated functions signatures to remove type parameters
([#&#8203;1045](https://togithub.com/tokio-rs/prost/issues/1045))

The function signature of `trait Message` is changed to use `impl Buf`
instead of a named generic type. If you implement `trait Message`, you
should change the function signature.

- Lightweight error value in TryFrom<i32> for enums
([#&#8203;1010](https://togithub.com/tokio-rs/prost/issues/1010))

When a `impl TryFrom<i32>` is generated by `prost` derive macros, it
will now return the error type `UnknownEnumValue` instead of
`DecodeError`. The new error can be used to retreive the integer value
that failed to convert.

#### Features

- fix: Only touch include file if contents is changed
([#&#8203;1058](https://togithub.com/tokio-rs/prost/issues/1058))

Most generated files are untouched when the contents doesn't change. Use
the same mechanism for include file as well.

#### Dependencies

- update env_logger requirement from 0.10 to 0.11
([#&#8203;1074](https://togithub.com/tokio-rs/prost/issues/1074))
- update criterion requirement from 0.4 to 0.5
([#&#8203;1071](https://togithub.com/tokio-rs/prost/issues/1071))
- Remove unused libz-sys
([#&#8203;1077](https://togithub.com/tokio-rs/prost/issues/1077))
- build(deps): update itertools requirement from >=0.10, <=0.12 to
>=0.10, <=0.13
([#&#8203;1070](https://togithub.com/tokio-rs/prost/issues/1070))

#### Documentation

- better checking of tag duplicates, avoid discarding invalid variant
errs ([#&#8203;951](https://togithub.com/tokio-rs/prost/issues/951))
- docs: Fix broken link warnings
([#&#8203;1056](https://togithub.com/tokio-rs/prost/issues/1056))
- Add missing LICENSE symlink
([#&#8203;1086](https://togithub.com/tokio-rs/prost/issues/1086))

#### Internal

- workspace package metadata
([#&#8203;1036](https://togithub.com/tokio-rs/prost/issues/1036))
- fix: Build error due to merge conflict
([#&#8203;1068](https://togithub.com/tokio-rs/prost/issues/1068))
- build: Fix release scripts
([#&#8203;1055](https://togithub.com/tokio-rs/prost/issues/1055))
- chore: Add ci to check MSRV
([#&#8203;1057](https://togithub.com/tokio-rs/prost/issues/1057))
- ci: Add all tests pass job
([#&#8203;1069](https://togithub.com/tokio-rs/prost/issues/1069))
- ci: Add Dependabot
([#&#8203;957](https://togithub.com/tokio-rs/prost/issues/957))
- ci: Ensure both README are the same and prost version is correct
([#&#8203;1078](https://togithub.com/tokio-rs/prost/issues/1078))
- ci: Set rust version of clippy job to a fixed version
([#&#8203;1090](https://togithub.com/tokio-rs/prost/issues/1090))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/spiraldb/vortex).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Jul 9, 2024
1 parent d469842 commit 7c25c6c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ num_enum = "0.7.2"
parquet = "52.0.0"
paste = "1.0.14"
pin-project = "1.1.5"
prost = "0.12.4"
prost-build = "0.12.4"
prost-types = "0.12.4"
prost = "0.13.0"
prost-build = "0.13.0"
prost-types = "0.13.0"
pyo3 = { version = "0.21.2", features = ["extension-module", "abi3-py311"] }
pyo3-log = "0.11.0"
rand = "0.8.5"
Expand Down

0 comments on commit 7c25c6c

Please sign in to comment.