Releases: thriftrw/thriftrw-go
Releases · thriftrw/thriftrw-go
v1.18.0
v1.17.0
v1.16.1
v1.16.0
v1.15.0
v1.14.0
v1.13.1
v1.13.0
Added
- gen: Added support for a
go.label
annotation that allows overriding the
user-readable string names of enum items and struct fields. This has no
effect on the names of the generated Go entities. - Generated types now implement
zapcore.ObjectMarshaler
or
zapcore.ArrayMarshaler
where appropriate. This should lead to much faster
logging of these objects. - Added
go.nolog
annotation for struct fields: Those with
this annotation will not be included in Zap logging. - gen/enum:
MarshalText
andUnmarshalText
now round-trips, even if
the enum value is unrecognized.
Fixed
- ThriftRW now does a bounds-check on field identifiers rather than silently
truncating them. - gen: Equals methods on generated structs no longer panic if either value is
nil. - gen: Fixed a bug where
*_Values
functions for empty enums would not be
generated. - gen: Fixed infinite loop in generated
Equals
methods of specific typedefs.
v1.12.0
Added
- gen: Added
ThriftPackageImporter
to control import path
resolution Thrift files. - Structs now include getter functions for all fields. This
improves Apache Thrift compatibility. - Enums now implement encoding.TextMarshaler.
Changed
- gen:
NewGenerator
is now usable from other packages.