All Versions
6
Latest Version
Avg Release Cycle
87 days
Latest Release
201 days ago

Changelog History

  • v1.3.2

    July 09, 2019

    Notable changes:

    • #785: grpc code generation: add an UnimplementedServer type implementing each server interface, returning an unimplemented error for each method
    • 🖨 #851: convert prints to os.Stderr to use log.Printf
    • #883: jsonpb: fix marshaling of Duration with negative nanoseconds
  • v1.3.1

    March 14, 2019

    Notable change:

    • The set of dependencies specified in go.mod has now been reduced to only the standard library.
  • v1.3.0

    February 26, 2019

    Notable changes:

    • #699: add a go.mod module file
    • 📦 #701: stop generating package "// import" comment
    • 🗄 #741: deprecate {Unm,M}arshalMessageSet{JSON}
    • #760: different internal implementation of oneofs
      • .pb.go files generated by protoc-gen-go@v1.3.0 will require the proto@v1.3.0 package to work
    • various minor changes to code generation
  • v1.2.0

    August 20, 2018

    Notable changes:

    • #605 jsonpb.Unmarshal correctly handles escaped strings for some of the well-known types
    • #627 jsonpb.Unmarshal correctly returns an error when trying to marshal a scalar enum into repeated enums.
    • #630 jsonpb.Unmarshal correctly handles string versions of numeric primitives
    • #644 jsonpb.Unmarshal correctly handles enum values in maps
    • 🐎 #624 fixes a performance regression where nested maps led to quadratic behavior
    • #628 reverts strict UTF-8 validation for proto2 string fields
    • #660 makes UTF-8 validation errors for proto3 string fields non-fatal
  • v1.1.0

    April 30, 2018

    Notable changes:

    • ⚡️ The serialization logic (for both Marshal and Unmarshal) has been optimized. Testing inside Google demonstrate that the new implementation is about 1.3x to 2.1x faster.
    • protocolbuffers/protobuf#272 Unknown fields in proto3 are now preserved.
    • #472 JSON marshal and unmarshal now check for proto2 required field.
    • #483 GetExtension returns the raw bytes if the ExtensionDesc does not have type information.
    • #499 Invalid UTF-8 in string types are rejected during marshal and unmarshal.
    • #511 Fields of bad wire types are treated as unknown fields instead of an error.
    • 👍 #544 The protoc-gen-go generator supports the paths=source_relative option.
    • #561 Unknown fields in map entries are now ignored instead of causing an unmarshal error.
    • #583 The "import public" feature is now implemented using Go type aliases.
  • v1.0.0

    April 30, 2018