v1.28.0
Added
idl.Parse
now returns structuredParseError
on parse failures.idl.Config
provides a new means of parsing Thrift IDLs. This is the
recommended API going forward.
Changed
- ThriftRW now tracks positional information about constant values in the
Thrift IDL. These were previously ignored. To access this information, see
the documentation foridl.Config
.
Fixed
- Support parsing
struct
fields without field identifiers. This is legacy
syntax still supported by Apache Thrift. Note that this is a parser-level
change only; ThriftRW will refuse to generate Go code from these.
Thanks to @jparise for their contributions to
this release.