Skip to content

Releases: alta/protopatch

v0.2.0

28 Dec 23:56
Compare
Choose a tag to compare

Breaking Changes

  • Renamed the stringer_name option to stringer to match the Go fmt.Stringer interface. For backwards compatibility, stringer_name will be supported for at least 6 months.

Added

  • Struct tags, including defaults generated by protoc-gen-go can be replaced. The struct tag code was overhauled using the terrific structtag package by @fatih. Thanks to @liov for the initial prototype in #15.
  • Updated docs, examples, and tests to use concise option syntax instead of {} delimited options.
  • Rudimentary tests for proto2 extension patching.

Fixed

v0.1.0

23 Dec 22:57
Compare
Choose a tag to compare

Initial tagged release.

Known Issues

  • #21 — Running protoc plugins other than go breaks on missing symbols.
  • #15 — It’s not currently possible to mix or replace existing generated struct tags.