NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #1341 by repository stars
Latest stable
v1.19.0
Last release 1 months ago
05 Oct 2026
Ships unpredictably
gaps range from 2 weeks to 1.4 years
Nearly every release is documented
notes for 39 of 39 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
353 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
This contains a few minor changes/fixes to make the output of the protoparse package more closely resemble the descriptor protos parsed by protoc.
This contains a few minor changes/fixes to make the output of the protoparse package more closely resemble the descriptor protos parsed by protoc.
Changes/fixes:
protoc). Now it does.protoc would synthesize aggregate spans for ancestor paths, all the way up to the root path (empty path with a span that encompasses entire file). The parser in this package now also generates source info for these paths.This is a small release, mostly to support an initial release of goprotoc.
This is a small release, mostly to support an initial release of goprotoc.
Additions:
ImportResolver type has a new SkipFallbackRules field. When set, any global rules set via calls to desc.RegisterImportPath will be ignored by the resolver; only rules set directly on the resolver will be respected.Additions:
ResolveFilenames function has been added to help pre-process file names that may contain absolute paths. This is meant for use when the parser's Accessor is dealing with actual files on the filesystem (including when using the default accessor).Changes/fixes:
protoc for the same input files:
syntax field will not be set unless the file's syntax is proto3.MethodDescriptorProto.options field will be set if the source used { } to terminate the method (vs. ;), even if there were no options inside.Your coding agent can read these notes before it upgrades. Set up the MCP server →
This release is mostly bug fixes and performance improvements to various packages. Though it does also include minor API addition to the dynamic packa
This release is mostly bug fixes and performance improvements to various packages. Though it does also include minor API addition to the dynamic package.
Additions:
MarshalAppend method was added to dynamic.Message, which gives caller more control over allocation of byte slices.Changes/fixes:
nil. Now they are instead cleared (e.g. every key+value removed) so that they do not need to be re-allocated when the message is re-used.MapRange to reflect.Value), reflective operations on map fields and values use the new MapRange method instead of MapKeys. This is much more efficient (less memory used, fewer allocations).dynamic.Message is cloned using the proto.Clone method, the new message failed to copy an internal field (the message's associated dynamic.MessageFactory. This could cause strange behavior during de-serialization, where construction of nested message objects in the clone would vary from the source message.dynamic.Message instances, for messages defined in "proto2" syntax, would previously be considered not equal if one of them had no value for a repeated or map field but the other had an explicitly empty value. However, for protobufs (and as implemented in proto.Equal), empty and unset map and repeated values should be indistinguishable. This was fixed.dynamic.Message for parsing "extended Any syntax" in the text format. This format allows google.protobuf.Any messages to be represented in a much more readable manner, where the embedded message value uses the text format (instead of being represented as bytes in the binary format).dynamic.Message with a float or double field with an infinite or NaN value could not be correctly marshaled to JSON. No error would occur, but the resulting JSON output would be invalid and un-parseable. This has been remedied.dynamic.Message could not be unmarshaled via the text format if the text data included an infinite or NaN value. This has also been remedied.Changes/fixes:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release includes numerous changes and enhancements in several packages herein.
This release includes numerous changes and enhancements in several packages herein.
Additions:
ImportResolver type and RegisterImportPath functions, to aid with working around known link errors that can happen due to the way that generated code registers file descriptors in the proto runtime.Changes/Fixes:
Previously, custom options were not examined. The result was that the built *desc.FileDescriptor did not have dependencies that properly reflected the true transitive closure of the descriptors therein.
While this was not usually a problem when using the built descriptors, trying to use them with the protoprint package would fail to print these custom options (since they could not be resolved from the file's imports). This is now fixed.
Changes/Fixes:
IncludeSourceInfo field on the Parser to true.Additions:
Added ParseFilesButDoNotLink method to the Parser. This allows a "light weight" parse that simply turns a proto source file into a FileDescriptorProto.
Note that since linking is skipped, many aspects of the file cannot be checked and some properties in the resulting descriptor will be wrong. For example, options cannot be interpreted, type references will be left as they are in source (e.g. unqualified), and fields with enum types will actually indicate they their type is message (the only way to distinguish an enum field from a message field is during linking, to examine whether the referenced element is an enum or a message).
Changes/Fixes:
*dynamic.Message to/from JSON:
google.protobuf.Value or google.protobuf.ListValue could not be correctly unmarshalled from "null" or "[]" JSON, respectively. This is now fixed.EmitDefaults on the marshaler was true, the code would incorrectly include all of the oneof fields in the resulting JSON, each showing their default value. This makes it impossible for unmarshalling code to know which field was actually supposed to be set.EmitDefaults on the marshaler was false, but the oneof field had its default/zero value, it would be incorrectly excluded from the resulting JSON. This makes it impossible for unmarshalling code to know which field was supposed to be set.MergeFrom method of a dynamic message has a slightly more efficient implementation for merging in unknown extension fields.Additions:
GetKnownType method was added to KnownTypeRegistry.SetExtension function, which can be used to set extension values using a *desc.FieldDescriptor to describe the extension and can be used to set extension fields on either dynamic messages or generated message structs.Changes/Fixes:
MessageAsPType method of the registry, for converting a message descriptor to a google.protobuf.Type, would panic with the following error:reflect: call of reflect.Value.Type on zero Value
This is now fixed.MessageRegistry could not resolve types provided by a TypeFetcher unless that fetcher could provide the entire transitive closure for the type. Now, such types can be resolved as long as the type's dependencies are known to the registry (e.g. explicitly added via AddMessage or AddEnum methods).Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The OmitDetachedComments field of protoprint.Printer has been deprecated in favor of a new field that provides more control over what comments are inc…
This version includes several enhancements to the "github.com/jhump/protoreflect/desc/protoprint" package.
Changes/fixes:
extend ... blocks.Printer.SortElements is true: options now show up after the package and import statements.Additions:
protoprint.Printer type has a new method that allows printing any kind of descriptor to a string, not just files.protoprint.Printer which provide more control over how comments, type references, and whitespace get printed.Deprecations:
OmitDetachedComments field of protoprint.Printer has been deprecated in favor of a new field that provides more control over what comments are included in the printed output.This repo is sufficiently mature and used in enough production systems that a "1.0" release is overdue.
This repo is sufficiently mature and used in enough production systems that a "1.0" release is overdue.
This 1.0.0 release includes a go.mod file, so it should be easy to use with vgo (or with GO111MODULE=on with Go 1.11). We'll use semantic versioning going forward.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.