Skip to content

Releases: cloudwego/thriftgo

v0.3.8

29 Mar 06:21
8e5212c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.8...v0.3.8

v0.3.6

18 Jan 03:05
54ad8e6
Compare
Choose a tag to compare

What's Changed

  • fix: streaming support including dot-separated thrift file by @felix021 in #154

Full Changelog: v0.3.5...v0.3.6

v0.3.5

10 Jan 06:46
9649481
Compare
Choose a tag to compare

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

23 Aug 12:26
9124651
Compare
Choose a tag to compare
feat: add IDL trimming (#118)

Co-authored-by: HeyJavaBean <imlehr@163.com>

v0.3.0

14 Aug 12:52
1412205
Compare
Choose a tag to compare
fix: only generate InitDefault when FrugalTag is on (#116)

v0.2.0

16 Aug 09:44
50ca81e
Compare
Choose a tag to compare

New Features

  1. a new language-neutral option --check-keywords has been introduced to detect misuse of keywords as identifiers.
  2. [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.
  3. [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
  4. [Golang] a new option gen_json_tag to control if the json tag should be generated

Refactoring

  1. The parser has been rewritten as a recursive decent parser, to improve performance and retain flexibility.
  2. By using the type meta, thriftgo itself has gotten rid of the dependency of the go library of apache thrift.

Bug fixing

  1. [Golang] the pattern of option use_package has been changed from pkg=path to path=replacement