Skip to content

v2.3.1

Latest
Compare
Choose a tag to compare
@ProdByGodfather ProdByGodfather released this 01 Aug 08:14
· 1 commit to master since this release

Release v2.3.1 - Enhanced gRPC Code Generation and Swagger Integration

Key Updates:

  1. Dynamic Method Naming: Added support for dynamic method naming in gRPC service definitions.
  2. Enhanced Swagger UI Integration: Improved Swagger UI integration with customizable version and port.
  3. Improved Error Handling: Enhanced error handling and logging in gRPC request processing.
  4. Updated Dependency Management: Added explicit dependencies for 'protobuf' and 'requests' in project configuration.
  5. Refined Type Mapping: Improved accuracy in translating Python types to Protocol Buffer and Swagger schema types.

New Features:

  • Dynamic Method Naming: Users can now specify custom method names when defining gRPC services using the relation function.
  • Configurable Swagger UI: Added options to set Swagger version and port when running the UI.

Improvements:

  • Enhanced Error Handling: Better error messages and logging for gRPC request processing.
  • Updated Dependencies: Added explicit dependencies for 'protobuf' and 'requests' in project configuration.
  • Refined Type Mapping: Improved accuracy in translating Python types to Protocol Buffer and Swagger schema types.

Bug Fixes:

  • Fixed issues with importing generated pb2 files in certain environments.
  • Resolved conflicts in handling complex data types in Swagger schema generation.

Documentation:

  • Updated README with new usage examples and detailed explanations of new features.
  • Added more comprehensive API documentation for core functions.

Compatibility:

  • Requires Python 3.8 or higher.
  • Fully compatible with previous versions of py2proto.

We recommend all users to upgrade to this version to benefit from the new features and improvements. As always, please report any issues or suggestions on our GitHub issue tracker.