Skip to content

Releases: alta/protopatch

v0.5.3

08 Aug 22:03
5824e31
Compare
Choose a tag to compare

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

28 Apr 17:48
e9b9e5c
Compare
Choose a tag to compare

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

27 Feb 19:45
8a90215
Compare
Choose a tag to compare

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

01 Nov 16:16
Compare
Choose a tag to compare

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

23 Sep 17:37
Compare
Choose a tag to compare

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

23 Apr 15:48
Compare
Choose a tag to compare

Updated

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

v0.3.3

19 Mar 00:03
Compare
Choose a tag to compare

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

12 Mar 19:21
Compare
Choose a tag to compare

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

11 Mar 23:51
Compare
Choose a tag to compare

Fixed

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

v0.3.0

04 Jan 21:33
07a8b89
Compare
Choose a tag to compare

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.