Closed sigv closed 10 months ago
I'm guessing the updated @jhump protoreflect depends on bufbuild?
Indeed. You can see v1.14.1
go.mod without github.com/bufbuild/protocompile
dependency.
All of the v1.15.x
versions have some bufbuild
dependency however:
v1.15.0
go.mod depended on v0.2.1-0.20230123224550-da57cd758c2f
v1.15.1
go.mod depended on v0.4.0
v1.15.2
go.mod depends on v0.6.0
I'm guessing the updated @jhump protoreflect depends on bufbuild?
Yeah, there were two major changes as of v1.15:
desc
package are now just wrappers around the stuff added in API v2 of the protobuf runtime, in google.golang.org/protobuf/reflect/protoreflect
. This greatly improves interop between the official protoreflect library and mine (which predates the official one).protoparse
package would have been a tremendous pain to overhaul to support the above bullet. So instead, it is now just a thin API veneer over github.com/bufbuild/protocompile
-- a newer parser/compiler that directly works with the v2 API's official protoreflect package.
This bumps
github.com/jhump/protoreflect
to v1.15.2 andgoogle.golang.org/grpc
to v1.57.0.The proposal already exists by Dependabot, as PRs #403 and #409, but the version bump pulls in
grpc.reflection.v1.ServerReflection
resulting in minor test change being required.Transient dependency
github.com/bufbuild/protocompile
is now added, and requires at least Go 1.18. This PR includes the version removal.