Sourced from io.grpc:protoc-gen-grpc-java's releases.
v1.69.1
Bug Fixes
- okhttp: Improve certificate handling by rejecting non-ASCII subject alternative names and hostnames as seen in CVE-2021-0341 (#11749) (a0982ca0a). Hostnames are considered trusted and CAs are required to use punycode for non-ASCII hostnames, so this is expected to provide defense-in-depth. See also the related GoSecure blog post and the AOSP fix
- xds: Preserve nonce when unsubscribing last watcher of a particular type so that new discovery requests of that type are handled correctly (1cf1927d1). This (along with 1cf1927d1) fixes a nonce-handling regression introduced in 1.66.0 that could cause resources to appear to not exist until re-creating the ADS stream. Triggering the behavior required specific config changes. It is easiest to trigger when clusters use EDS and routes are changed from one cluster to another. The error “found 0 leaf (logical DNS or EDS) clusters for root cluster” might then be seen
- xds: Remember nonces for unknown types (6c12c2bd2)
- xds: Unexpected types in the bootstrap’s server_features should be ignored (e8ff6da2c). They were previously required to be strings
- xds: Fixed unsupported unsigned 32 bits issue for circuit breaker (#11735) (f8f613984). This fixes clients treating large max_requests as “no requests” and failing all requests
- xds: Remove xds authority label from metric registration (#11760) (6516c7387). This fixes the error “Incorrect number of required labels provided. Expected: 4” introduced in 1.69.0
v1.69.0
v1.69.0
New Features
- api: Allow
LoadBalancer
s to specify an authority per-RPC.(#11631) (c167ead85) CallOptions.withAuthority() has higher precedence.- netty: Add soft Metadata size limit enforcement. (#11603) (735b3f3fe) The soft limit is a lower size limit that fails an increasing percentage of RPCs as the Metadata size approaches the upper limit. This can be used as an “early warning” that the Metadata size is growing too large
- alts: support altsCallCredentials in
GoogleDefaultChannelCredentials
(#11634) (ba8ab796e)- xds: Add grpc.xds_client metrics, as documented by OpenTelemetry Metrics (#11661) (20d09cee5).
grpc.xds.authority
is not yet availableBug Fixes
- api: When forwarding from
Listener
onAddresses toListener2
continue to use onResult (#11666) (dae078c0a). This fixes a 1.68.1 "IllegalStateException: Not called from the SynchronizationContext" regression (#11662) that could be seen in certain custom NameResolvers- okhttp: If the frame handler thread is null do not schedule it on the executor (ef1fe8737). This fixes a 1.68.1 NullPointerException regression when a custom transportExecutor was provided to the channel and it did not have enough threads to run new tasks
Improvements
- api: Add
java.time.Duration
overloads toCallOptions
,AbstractStub
methods that take TimeUnit and a time value (#11562) (766b92379)- core: Make timestamp usage in Channelz use nanos from Java.time.Instant when available (#11604) (9176b5528). This increases the timestamp precision from milliseconds
- okhttp: Fix for ipv6 link local with scope (#11725) (e98e7445b)
- binder: Let
AndroidComponentAddress
specify a target UserHandle (#11670) (e58c998a4)- servlet: Deframe failures should be logged on the server as warnings (#11645) (a5db67d0c)
- s2a: Rename the Bazel target s2av2_credentials to s2a (29dd9bad3). The target s2a had been referenced by IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS but didn’t previously exist
- services: Make channelz work with proto lite (#11685) (b1703345f). This compatibility is on the source level. There is not a pre-built binary on Maven Central that supports proto lite
- services: Deprecate ProtoReflectionService (#11681) (921f88ae3). The class implements the deprecated v1alpha of the reflection protocol. Prefer ProtoReflectionServiceV1, which implements the v1 version of the reflection protocol
Dependencies
- Upgrade proto-google-common-protos to 2.48.0 (1993e68b0)
- Upgrade google-auth-library to 1.24.1 (1993e68b0)
- Upgrade error_prone_annotations to 2.30.0 (1993e68b0)
- Upgrade Guava to 33.3.1-android (1993e68b0)
- Upgrade opentelemetry-api to 1.43.0 (1993e68b0)
- xds: Remove Bazel dependency on xds v2 (664f1fcf8). This had been done for the Maven Central binaries in 1.63.0, but had been missed for Bazel builds
Documentation
... (truncated)
5e14f99
Bump version to 1.69.1d13bc25
Update README etc to reference 1.69.105d9628
fix security issue with okhttp (#11749)112dccb
xds: fixed unsupported unsigned 32 bits issue for circuit breaker (#11735)0de7bfe
xds: Remove xds authority label from metric registratione3e343d
xds: Remember nonces for unknown typesaba8a0c
xds: Preserve nonce when unsubscribing typeded82e2
xds: Unexpected types in server_features should be ignoredeccb137
Bump version to 1.69.1-SNAPSHOT34a7cff
Bump version to 1.69.0