v1.7.0 - 2024-08-12
- #145 Remove
x/exp
dependency for greater compatibility. - #144 Change proto.Message and jsonpb.Anyresolver to aliased types to allow different implementations of the same interface.
v1.6.0 - 2024-08-08
- #142 Update code generator to make grpc
ServiceDesc
public.
v1.5.0 - 2024-06-05
- #119 The functions
proto.Marshal
,proto.Unmarshal
, andproto.MessageName
, as well as thejsonpb
marshaling and unmarshaling methods now all support officialgoogle.golang.org/protobuf
types. This allows users to gradually start using these types instead of gogo proto without needing to refactor all of their code with type switch statements.
v1.4.12 - 2024-03-20
- #115 Move any type from
cosmos-sdk/codec/types
totypes/any
.
v1.4.11 - 2023-08-18
- #83 Bump
golang.org/x/exp
to latest version. This solves API incompatibilities for users bumpingx/exp
to latest version in their app.
v1.4.10 - 2023-05-11
- #67 Remove warning about double registration. The Cosmos SDK does purposely double-registration so this warning is not useful.
v1.4.9 - 2023-05-03
- #62 Change public API for
MergedFileDescriptors
,MergedGlobalFileDescriptors
, etc. introduced in v1.4.8, retracting that release.
- #62 Add the
proto.HybridResolver
var which exposes the merged*protoregistry.Files
functionality in a high-performance way. Also add theproto.GogoResolver
var.
v1.4.8 - 2023-04-18
RETRACTED
- #61 Use all available cores when merging registries.
Existing calls to
proto.MergedRegistry()
do not need to change. The signature ofproto.MergedFileDescriptors
has changed to accept explicit arguments for the "global files" and "app files". Calls toproto.MergedFileDescriptors()
should change toproto.MergedGlobalFileDescriptors()
orproto.MergedGlobalFileDescriptorsWithValidation()
.
- #59 Reuse buffers and gzip readers to reduce memory allocations during MergedFileDescriptors.
- #60 Skip work to check import path and file descriptor differences during MergedFileDescriptors, when not in debug mode.
v1.4.7 - 2023-03-30
- #55 Get a file descriptor diff only when debug is enabled.
v1.4.6 - 2023-02-21
- #45 Remove the StdErr warning about file descriptor mismatches, which was deemed unclear and too invasive.
v1.4.5 - 2023-02-20
- #43 Relax runtime linter checks introduced in #37: instead of throwing an error, simply log a warning to StdErr. Also provide a helper function
DebugFileDescriptorsMismatch
to debug these errors. - #37 Add
MergedFileDescriptors
andMergedRegistry
to retrieve a registry with merged file descriptors from both gogo and protoregistry.
- #34 Allow empty package name, as per gogo original behavior. Fix regression introduced in v1.4.4
v1.4.4 - 2023-01-30
- #32 The prtoc-gen-gogo generator requires that all proto files import paths match their fully-qualified package name.
v1.4.3 - 2022-10-14
v1.4.2 - 2022-09-14
- #13 Add
AllFileDescriptors
function.
- #8 Fix typo in
doc.go
. - #8 Support for merging messages implementing Merger which are embedded by value.
- #8 Use reflect.Value.String() for String kinds in proto equal.
v1.4.1 - 2022-08-30
- #6 Add buf.yaml for cosmos/gogo-proto module.
- 226206f Fixed order of imports, make stable generation result.
v1.4.0 - 2022-03-18
- Migration from regen-network/protobuf, a fork of gogo/protobuf used by the Cosmos SDK to cosmos/gogoproto (this repository).