Skip to content

v1.4.1

Compare
Choose a tag to compare
@ProdByGodfather ProdByGodfather released this 21 Jul 06:31
· 10 commits to master since this release

Release v1.4.1 - Enhanced Proto Generation with Repeated and Map Fields Support And fixing the latest bugs of version 1.4.0

We are excited to announce the release of py2proto v1.4.0! This version brings significant improvements to our Protocol Buffer generation capabilities, enhancing the library's flexibility and power.

What's New

1. Support for Repeated Fields

  • Users can now define repeated fields using Python's List type.
  • The generator automatically translates List[Type] to repeated Type in the generated .proto file.

2. Map Fields Support

  • Introduced support for map fields using Python's Dict type.
  • Dict[KeyType, ValueType] is now correctly translated to map<KeyType, ValueType> in the .proto file.

3. Improved Type Mapping

  • Enhanced the internal type mapping system to better handle various Protocol Buffer data types.
  • Added support for additional Protocol Buffer types like sint32, sfixed64, etc.

4. Updated Documentation

  • Comprehensive README update with detailed usage examples.
  • Improved API documentation for better user understanding.