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

Update tokio-prost monorepo to 0.13 #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 28, 2024

This PR contains the following updates:

Package Type Update Change
prost dependencies minor 0.11 -> 0.13
prost-types dependencies minor 0.11 -> 0.13

Release Notes

tokio-rs/prost (prost)

v0.13.1

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

Bug fixes

  • Enum variant named Error causes ambiguous item (#​1098)

v0.13.0

Compare Source

note: this version was yanked in favor of 0.13.1

PROST! is a Protocol Buffers implementation for the Rust Language. 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 (#​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 (#​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 for enums (#​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 (#​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 (#​1074)
  • update criterion requirement from 0.4 to 0.5 (#​1071)
  • Remove unused libz-sys (#​1077)
  • build(deps): update itertools requirement from >=0.10, <=0.12 to >=0.10, <=0.13 (#​1070)

Documentation

  • better checking of tag duplicates, avoid discarding invalid variant errs (#​951)
  • docs: Fix broken link warnings (#​1056)
  • Add missing LICENSE symlink (#​1086)

Internal

  • workspace package metadata (#​1036)
  • fix: Build error due to merge conflict (#​1068)
  • build: Fix release scripts (#​1055)
  • chore: Add ci to check MSRV (#​1057)
  • ci: Add all tests pass job (#​1069)
  • ci: Add Dependabot (#​957)
  • ci: Ensure both README are the same and prost version is correct (#​1078)
  • ci: Set rust version of clippy job to a fixed version (#​1090)

v0.12.6

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

This patch update fixes a regression:

  • fix(prost-build): re-export error_message_protoc_not_found, protoc_from_env & protoc_include_from_env (#​1063)

v0.12.5

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

This patch update brings new fixes:

  • fix: include_file should handle proto without package (#​1002)
  • Place Config::format behind the format feature flag
  • Handle keyword Self after stripping enum type prefix (#​998)
Documentation
  • fix(readme): fix the link and badge for CI (#​1049)
Internal
  • style(codegen): Syntax to a separate file (#​1029)
  • chore(codegen): extract c string escaping to a separate file (#​1028)
  • style(prost-build): CodeGenerator::boxed method (#​1019)
  • style(prost-build): Consolidate field data into struct (#​1017)
  • style(prost-build): BytesType and MapType into a collections module. (#​1030)
  • style(prost-build): Split Config and Module into a separate module and files (#​1020)
  • style(prost-build): prost_path helper (#​1018)
  • style: Fix toml indent (#​1048)
  • style: Fix clippy warnings and enable clippy in CI (#​1008)
  • build: Use git submodule to download protobuf sources (#​1014)
  • ci: Add TOML validation with taplo (#​1034)
  • tests: Create a separate tempdir for each test (#​1044)
  • tests: Remove GoogleMessage3 and GoogleMessage4 benchmarks (#​1037)
  • chore: Update internal crates to Rust edition 2021 (#​1039)
  • chore: Update crate descriptions (#​1038)
  • chore: Fix clippy checks in CI (#​1032)
  • chore: Add Casper Meijn as author (#​1025)

v0.12.4

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

This patch update brings new features and fixes:

  • Bump MSRV to 1.70 (minimum supported Rust version)
  • Rename cargo feature prost-derive to derive (#​992)
  • Add @​generated comment on top of generated files (#​935)
  • Optimize implementation of prost::Name when generated by prost-build (#​956)
Dependencies
  • build(deps): Allow itertools 0.12 (#​948)
  • build(deps): Allow heck 0.5 (#​1012)
  • build(deps): Allow multimap 0.10 (#​1013)
Documentation
Internal
  • chore: Fix minimal versions (#​920)
  • fix: fq_message_name should begin with one dot (#​981)
  • improve encode_varint performance by bounding its loop (#​940)
  • style: Remove duplicate function call (#​989)
  • test: Improve test decode_varint_slow (#​977)
  • chore: Add dep: prefix to feature dependencies (#​919)
  • Minor clippy lint fixes. (#​1006)
  • chore: Use taiki-e/install-action to setup cargo-machete (#​909)
  • chore: Remove which dependency. (#​962)
  • chore: Update to actions/checkout@v4 (#​910)

v0.12.3

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

This patch updates brings a few new fixes:

v0.12.2

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

This patch updates brings a few new features and fixes:

v0.12.1

Compare Source

v0.12.0

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

This patch updates brings a few new features and fixes:

  • Bump syn to version 2
  • Bump MSRV to 1.64
  • Added TryFrom<i32> for enums
  • Optional debug implementations
  • Initial generic Any and Name impl/traits.

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented May 28, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: core/rust/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path core/rust/Cargo.toml --package [email protected] --precise 0.13.0
    Updating crates.io index
error: failed to select a version for the requirement `prost = "^0.11"`
candidate versions found which didn't match: 0.13.0
location searched: crates.io index
required by package `temporal-sdk-core v0.1.0 (https://github.com/temporalio/sdk-core?branch=master#42e2a94b)`
    ... which satisfies git dependency `temporal-sdk-core` (locked to 0.1.0) of package `temporal_bridge v0.1.0 (/tmp/renovate/repos/github/MercuryTechnologies/hs-temporal-sdk/core/rust)`
perhaps a crate was updated and forgotten to be re-vendored?

@renovate renovate bot force-pushed the renovate/tokio-prost-monorepo branch from 6f51afb to 0d7edf7 Compare June 4, 2024 14:39
@renovate renovate bot force-pushed the renovate/tokio-prost-monorepo branch from 0d7edf7 to b108cda Compare July 8, 2024 19:04
@renovate renovate bot changed the title Update tokio-prost monorepo to 0.12 Update tokio-prost monorepo to 0.13 Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants