Releases: cloudwego/thriftgo
Releases · cloudwego/thriftgo
v0.3.8
What's Changed
Full Changelog: v0.3.8...v0.3.8
v0.3.6
v0.3.5
What's Changed
- fix: semantic check by @FGYFFFF in #150
- feat: add option for unmasked required fields by @AsterDY in #151
- fix: fix "can't make recurse-dir relative" for trimmer tool by @tksky1 in #152
- feat: support generate nested struct for slim template by @FGYFFFF in #101
- feat: thrift streaming by @felix021 in #153
Full Changelog: v0.3.4...v0.3.5
v0.3.1
feat: add IDL trimming (#118) Co-authored-by: HeyJavaBean <imlehr@163.com>
v0.3.0
fix: only generate InitDefault when FrugalTag is on (#116)
v0.2.0
New Features
- a new language-neutral option
--check-keywords
has been introduced to detect misuse of keywords as identifiers. - [Golang] a new option
template
is introduced to provide alternative code templates.- Right now there is only another template named
slim
available, which generates only basic definitions without any serialization or deserialization code, nor the implementations of processor or client.
- Right now there is only another template named
- [Golang] a new option
gen_type_meta
is introduced to generates some type meta information along with the go codes. These meta information can be used to do serialization or deserialization with the new package meta - [Golang] a new option
gen_json_tag
to control if the json tag should be generated
Refactoring
- The parser has been rewritten as a recursive decent parser, to improve performance and retain flexibility.
- Thus, the building of thriftgo no longer needs the external parser generate tool https://github.com/pointlander/peg
- By using the type meta, thriftgo itself has gotten rid of the dependency of the go library of apache thrift.
Bug fixing
- [Golang] the pattern of option
use_package
has been changed frompkg=path
topath=replacement