版本历史

Version 1.2.2

Warning: May break some existing projects's generated names:

  • Improve snake_case function. #74, #75

Version 1.2.1

Warning: May break some existing projects's generated names:

  • Bugfix: pascal_case formatter. ISSUE #68, PR #69.

  • Bugfix: Fixed naming style of generated code such as IntegerConstant (style lookup supports inheritance). ISSUE #70 PR #70

Version 1.2.0

  • Feature: Add a simple language-server, tested on neovim and vscode.

  • Editor: Upgrade vscode extenions to support the bitproto-language-server.

Version 1.1.2

  • Feature: Allow using constants as option values. ISSUE #61, PR #63

Version 1.1.1

  • Fix bug: enum importing other bitproto's field name generation bug. #53 #52

  • Fix bug: import statements of bitprotos should be placed ahead of other declarations. #53

Version 1.1.0

  • Performance improvements for C bitprotolib, 40~60us improvement per call on stm32. PR #48.

  • Fix Python nested message __post_init___ function code generation. PR #48, commit 73f4b01.

Version 1.0.1

  • Add support for Python 3.11

Version 1.0.0

  • 第一次发布 1.0 版本

Version 0.4.6

  • 支持任意比特数目的有符号整数类型 例如 int24, 见 PR#45

Version 0.4.5

  • Use Python IntEnum for enum generation (respecting backward compatibility) PR#41.

Version 0.4.4

  • Minor fix compiler setup.py path issue.

Version 0.4.2

  • Allow using type as message field name, fixes issue #39.

Version 0.4.0

  • Add support for message and enum extensiblity for protocol forward compatibility.

  • Cut down the code size of generated language-specific files.

  • Refactor the bitproto compiler.

  • Refactor the bitproto serialization mechanism, using language-specific libraries instead of pure compiler-generated files.