Protopatch Versions Save

protoc-gen-go patch utility

v0.5.3

10 months ago

Updated

  • google.golang.org/protobuf v1.30.0 → v1.31.0
  • github.com/envoyproxy/protoc-gen-validate v1.0.0 → v1.0.2
  • github.com/stretchr/testify v1.8.3 → v1.8.4
  • golang.org/x/tools v0.9.1 → v0.12.0

v0.5.2

1 year ago

Updated

  • google.golang.org/protobuf v1.28.1 → v1.30.0
  • github.com/envoyproxy/protoc-gen-validate v0.9.1 → v1.0.0

v0.5.1

1 year ago

Updated

  • github.com/envoyproxy/protoc-gen-validate v0.6.2 → v0.9.1
  • github.com/stretchr/testify v1.6.1 → v1.8.2
  • golang.org/x/tools v0.1.7 → v0.6.0
  • google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0 → v1.2.0
  • google.golang.org/protobuf v1.27.1 → v1.28.1
  • (other indirect dependencies)

v0.5.0

2 years ago

Added

  • #61: specify the Go type for a message field. Specify (go.field).type = "SomeType" to override the field type in generated Go code. The specified type must be castable to the field’s native type, and defined in the target package. Scalar and repeated fields are supported, e.g. type Things []Thing. This feature is similar to the casttype feature in gogoprotobuf.
  • #65: add optional support for proto3.

Updated

  • github.com/envoyproxy/protoc-gen-validate v0.6.1 → v0.6.2
  • golang.org/x/tools v0.1.6 → v0.1.7
  • Updated go.mod to Go 1.17 format

v0.4.0

2 years ago

Added

  • #65: embedded message fields. Set (go.field).embed = true to embed a message field in the generated Go struct. The resulting field will be a pointer to and sharing a name with the generated Go struct.

Updated

  • github.com/envoyproxy/protoc-gen-validate v0.6.0 → v0.6.1 (reverted breaking API change)
  • golang.org/x/tools v0.1.0 → v0.1.6
  • google.golang.org/protobuf v1.26.0 → v1.27.1

v0.3.4

3 years ago

Updated

  • Removed dependency on github.com/golang/protobuf
  • github.com/envoyproxy/protoc-gen-validate v0.5.1 → v0.6.0

v0.3.3

3 years ago

Updated

  • github.com/envoyproxy/protoc-gen-validate v0.4.1 → v0.5.0
  • github.com/golang/protobuf v1.4.3 → v1.5.1
  • golang.org/x/tools v0.0.0-20201223225330-bdbb3c917f0b → v0.1.0
  • google.golang.org/protobuf v1.25.0 → v1.26.0
  • protoc v3.14.0 → v3.15.6

v0.3.2

3 years ago

Fixed

  • Scan Go packages in a deterministic order (FIFO) to fix a flaky recurrence of a bug related to the fix for #40.

v0.3.1

3 years ago

Fixed

  • #40: enum values renamed with go.lint are now usable when imported into another proto file.

v0.3.0

3 years ago

Added

  • #37: new file-level go.lint option. When specified, protoc-gen-go-patch will attempt to fix generated Go names to their idiomatic equivalents, e.g. IdID, UrlURL, etc. It will also eliminate stutter from enum values, e.g. Foo_FOO_UNKNOWNFooUnknown. Thanks to @Green7 for the initial implementation in #22.
  • File-level (go.lint).initialisms option to specify your own initialisms for go.lint. Example: (go.lint).initialisms = 'RGB'; // Lints RgbColor to RGBColor. You may specify as many custom initialisms as needed. They will only affect identifiers declared in that file.

Fixed

  • Enum values nested under renamed messages will now be correctly renamed.