Skip to content

v2.0.0

Compare
Choose a tag to compare
@johanbrandhorst johanbrandhorst released this 14 Oct 08:16
75c0d83

The grpc-gateway maintainers are pleased to announce the long anticipated release of v2.0.0

v2.0.0 includes ground-up rewrites of many parts of the runtime and generators to be compatible with the Go APIv2 Protobuf release. To help transition users to v2, we've put together a migration guide. Among the notable changes in v2 are:

  • Support the Go APIv2 Protobuf stack
  • Many changes to make the grpc-gateway behaviour more consistent with Protobuf JSON conventions
  • Rename protoc-gen-swagger to protoc-gen-openapiv2
  • Minimize the public API
  • Consolidation of error handling configuration
  • Enable HTTPBodyMarshaler by default
  • Use the gRPC status JSON representation for errors
  • Much more!

For a complete list of all the changes, please see the full changelog.

Note that GOPATH users will no longer be supported with this release. This was not a decision taken lightly, but on balance we expect the community to have moved to modules, or be in a position to move to modules, and the maintenance burden is significant smaller for us. If this is a significant issue for your or your organization, please let us know on the Slack channel or by raising an issue.