This is the 1.42.0 (granola) release announcement for gRPC-Core and the wrapped languages C++, C#, Objective-C, Python, PHP and Ruby. Latest release notes are
here.
This release contains refinements, improvements, and bug fixes, with highlights listed below.
Core
- Update RDS parsing for use on servers. (#27715)
- Upgrade Abseil to LTS 20210324, Patch 2. (#27811)
- Upgrade bazel to 4.2.1 (LTS), upgrade bazel toolchain to 4.1.0. (#27410)
- Remove old backwards compatibility cronet compression workaround code. (#27701)
- EventEngine Test Suite: Timers. (#27496)
- EventEngine::Closure. (#27395)
- OpenCensusCallTracer: Move context generation to StartTransportStreamOpBatch. (#27523)
- Fix client idle filter. (#27611)
- allow connectivity state watching to work on lame channels. (#27747)
- grpclb: implement subchannel caching. (#27657)
- xds: change CSDS to populate new generic_xds_configs field. (#27794)
C++
- Describe support-levels for undocumented supported platforms. (#27363)
C#
- Fix link error when building app with Xamarin.iOS. (#27345)
- C#: metadata.Get and GetAll should accept uppercase keys. (#27383)
- Fix use-after-free metadata corruption in C# when receiving response headers for streaming response calls. (#27382)
Objective-C
- [objc] GRPCErrorCode enum base type to int32_t. (#27908)
- [objc] Adding lightweight generic to GPRCCallOptions's initialMetadata prop . (#27905)
- [objc] GRPCMetadataDictionary convenient typedef. (#27845)
- [objc] Switch to proto forward declare for gRPC codegen plugin. (#27444)
Python
- Add Aspects to Bazel py_proto_library and py_grpc_library Rules. (#27275)
- [Aio] Add add_done_callback/done/cancelled methods to ServicerContext. (#27767)
- [Aio] Correct the typing of input metadata. (#27768)
- Address leak when using request stream interceptors (#25449). (#27571)
- Catch ExecuteBatchError in _consume_request_iterator. (#27240)
- [Aio] Resolve deprecated warnings from asyncio. (#27635)
- Create Bazel gevent test harness. (#27507)
- Add python_requires >=3.6 to grpcio-* packages. (#27495)
- fix: use == instead of is when comparing with a certain types of literals. (#26519)
- python: fix type annotation for the _metadata field. (#27251)
Ruby
- ruby: add arm64 darwin support. (#25992)
- ruby: build native Darwin gems using rake-compiler-dock. (#25794)
--