github protocolbuffers/protobuf-go v1.24.0

latest releases: v1.34.1, v1.34.0, v1.33.0...
3 years ago

Overview

This release moves the generation of well-known types into this module.

Notable changes

New features:

Minor changes:

  • CL/235297: all: add weak dependency on google.golang.org/genproto module

Bug fixes:

  • CL/234697: testing/protopack: fix format precision

Centralized host for all well-known types

This release moves the generation of well-known types (e.g., FieldMask) into this module. Previously, some of the well-known types were generated into the google.golang.org/genproto module. This sets the stage for a future release of this module to provide first-class support for the well-known types.

As a consequence of this migration, this module incurs a weak dependency on the google.golang.org/genproto module. This dependency may be dropped in the distant future, but it will persist for some time to ensure that users of this module use a sufficiently new version of google.golang.org/genproto (if they happen to depend on it) so as to avoid duplicate registration problems with regard to the well-known types.

Upcoming breakage changes

There are no new upcoming breaking changes to announce in this release.

As a reminder, the following have already been announced and may take effect in the near future:

Don't miss a new protobuf-go release

NewReleases is sending notifications on new releases.