googleapis / api-linter

A linter for APIs defined in protocol buffers.
https://linter.aip.dev/
Apache License 2.0
558 stars 137 forks source link

chore: Update module github.com/jhump/protoreflect to v1.15.5 #1324

Closed renovate-bot closed 5 months ago

renovate-bot commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/jhump/protoreflect v1.15.4 -> v1.15.5 age adoption passing confidence

Release Notes

jhump/protoreflect (github.com/jhump/protoreflect) ### [`v1.15.5`](https://togithub.com/jhump/protoreflect/releases/tag/v1.15.5) [Compare Source](https://togithub.com/jhump/protoreflect/compare/v1.15.4...v1.15.5) This is a bugfix release to address bugs in the `desc/builder`, `desc/protoparse`, and `grpcreflect` packages and a compatibility issue with the most recent version of `github.com/bufbuild/protocompile`. ##### "github.com/jhump/protoreflect/desc/builder" Changes/fixes: - A regression was introduced in v1.15.0 of this package that could cause it to fail to include some imports in a file for custom options. If the custom option in question was in a known transitive dependency, the builder could fail to add the necessary import. This has been fixed. ##### "github.com/jhump/protoreflect/desc/protoparse" Changes/fixes: - As of v1.15.0, this package uses the [`github.com/bufbuild/protocompile`](https://pkg.go.dev/github.com/bufbuild/protocompile) package under the hood as the parser. But that package is still using major version zero, since it's API has not completely stabilized. A recent release (v0.8.0) included backwards-incompatible changes that caused this repo to no longer compile. This release addresses the compile errors: this repo now uses that latest release of `protocompile` and correctly compiles against it. - The use of v0.8.0 of protocompile fixes some issues in the `desc/protoparse` package that could cause it to incorrectly accept or reject some Protobuf source files. See the release notes for protocompile [v0.8.0](https://togithub.com/bufbuild/protocompile/releases/tag/v0.8.0) for more details. ##### "github.com/jhump/protoreflect/grpcreflect" Changes/fixes: - The `grpcreflect` client can automatically fallback to using v1alpha of the reflection protocol, if the server does not support v1. However, there are some cases where this error manifests as an "unavailable" error instead of "unimplemented". And, in those cases, the client was not correctly falling back to v1alpha. This release remedies that, so it can fallback to v1alpha when this category of error occurs.

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 this update again.



This PR has been generated by Mend Renovate. View repository job log here.