This file contains all the notable changes done to the Ballerina gRPC package through the releases.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Address CVE-2024-29025 netty's vulnerability
- Fixed client headers getting forwarded back to client by the server
- Address CVE-2023-33201 bouncy castle vulnerability
- Fixed performance issue due to
tcpnodelay
configuration
- Add descriptor map to
grpc:Descriptor
and stub initialization - Address CVE-2023-34462 netty Vulnerability
- Added server reflection support for gRPC services
- Added
gracefulStop
implementation for thegrpc:Listener
- Update protobuf-java version to fix protobuf vulnerability
- Fix no such record error when having the generated stub file in a separate module
- Update gRPC ServiceDescriptor annotation to Descriptor
- Introduced message-level annotations for the proto descriptor instead of a centralized proto descriptor
- Introduced packaging support
- Removed caller client object when generating code in client mode
- Added sample client calls with dummy values to generated client files
- Incorrect stub generated for message with Any type field in gRPC tool
- Incorrect stub generation for repeated values of any, struct, timestamp, and duration messages
- Unable to pass protobuf predefined types as repeated values and values in messages
- Fixes incorrect caller type name validation in gRPC compiler plugin
- Fix issue in ordering of services with duplicate output types
- Improve the enum creation logic to escape case sensitivity
- Constraint the compiler plugin validations only for remote functions
- Fix name conflict - similar user defined messages as predefined Google types
- Remove the start and stop logs of the listener
- Mark gRPC Service type distinct
- Make gRPC service type distinct
- Remove the start and stop logs of the listener
- Add Timestamp record type generation and runtime support
- Add gRPC Duration support
- Support a directory with protos as input in gRPC tool
- Support external import paths in gRPC tool
- Add OAuth2 JWT bearer grant type support
- Add authorization with JWTs with multiple scopes
- Enable gRPC trace and access logs for debugging
- Fix invalid string value for cert validation type in GrpcConstants.java
- Fix invalid int value conversion in GrpcUtil.java for cert validation
- Fix the gRPC backward incompatibility issue when adding a new field
- Fix Gzip compression at the server-side
- Fix initiating auth handlers per each request
- Rename
grpc:ListenerLdapUserStoreBasicAuthProvider
asgrpc:ListenerLdapUserStoreBasicAuthHandler
- Streaming services unable to resolve with context objects
- gRPC client streaming and bidirectional streaming fail to pass headers
- Function
isCancelled()
of caller is not generated in the stub file - gRPC service and client cannot pass a header list
- Manual Service registration testcase is not working
- CLI does not generate streaming context for client streaming services
- Context input parameter does not handle in server streaming client
- Server streaming stub generation does not allow empty parameters
- Bugs in streaming with Empty Type
- File joinPath API fails for a path with space in Windows
- Generate protobuf definition bal files using Ballerina syntax tree api
- Update the netty library version to 4.1.63.Final and the netty tc native to 2.0.31.Final
- Make file user store basic auth handler isolated