Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 17, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.grpc:protoc-gen-grpc-java 1.71.0 -> 1.73.0 age adoption passing confidence
io.grpc:grpc-stub 1.71.0 -> 1.73.0 age adoption passing confidence
io.grpc:grpc-protobuf 1.71.0 -> 1.73.0 age adoption passing confidence

Release Notes

grpc/grpc-java (io.grpc:protoc-gen-grpc-java)

v1.73.0

API Changes

xds: Enable least request by default (#​12062)
core: Delete the long-deprecated GRPC_PROXY_EXP env variable (#​11988) (908f9f1). This was experimental and has been warning when used since v1.8.0. Use the Java-standard -Dhttps.proxyHost and -Dhttps.proxyPort instead
api: Remove deprecated SubchannelPicker.requestConnection() (f79ab2f). This API was replaced by LoadBalancer.requestConnection() in v1.22.0

Bug Fixes

config: prevents global stats config freeze in ConfiguratorRegistry.getConfigurators() (#​11991) (d4c46a7)
xds: XdsDepManager should ignore updates after shutdown (25199e9). This fixes a source of java.lang.NullPointerException: Cannot invoke "io.grpc.xds.XdsDependencyManager$RdsUpdateSupplier.getRdsUpdate()" because "routeSource" is null regression introduced in v1.72.0

Improvements

xds: listener type validation (#​11933) (c8d1e6e)
xds: add the missing xds.authority metric defined in gRFC A78 (#​12018) (6cd007d)

New Features

xds: float LRU cache across interceptors (#​11992) (7a08fdb)
xds: propagate audience from cluster resource in gcp auth filter. This completes the gRFC A83, implementation of GCP Authentication Filter. (#​11972) (84c7713)
opentelemetry: Implement grpc.lb.backend_service optional label (9619453). This completes the gRFC A89 implementation, which is enabled when requesting the new label

Documentation

api: Remove mention of "epoch" from Ticker.nanoTime() javadocs (84bd014)

v1.72.0

API Changes
  • util: Remove deprecated method GracefulSwitchLb.switchTo() (f207be3). It is rarely used outside of gRPC itself. The configuration is passed as lb policy configuration instead
  • xds: Add support for custom per-target credentials on the transport (#​11951) (1958e42)
  • xds: Explicitly set request hash key for the ring hash LB policy (892144d)
Bug Fixes
  • core: Apply ManagedChannelImpl's updateBalancingState() immediately (ca4819a)
  • xds: Fix cluster selection races when updating config selector (d82613a)
  • otel: Fix span names as per the A72 gRFC changes (#​11974) (94f8e93)
  • xds: ClusterResolverLoadBalancer handle update for both resolved addresses and errors via ResolutionResult (#​11997) (8681786)
Improvements
  • netty: Avoid allocating an exception on transport shutdown. This reduces allocation rate for connection-heavy workloads/load testing (a57c14a)
  • servlet: Set an explicit description for CANCELLED status (#​11927) (fca1d3c)
  • xds: gRFC A74 xDS Config Tears implementation in the XdsNameResolver (e80c197). While there is more remaining, users may already see reduced latency when resources are replaced. For example, if changing a route from one backend service to another, RPCs may see less latency during the transition
  • core: Log any exception during channel panic because of exception (3961a92). This prevents the exception from propagating up the stack on an arbitrary thread. Such exceptions are rarely interesting. Instead, the exception that caused the channel panic is the important one, and RPCs will still fail with its details
  • util: Graceful switch to new LB when leaving CONNECTING (2e260a4). Previously when using xDS and the configuration changes the LB policy, the old LB policy is used until the new one is READY. Now the old LB policy is used until the new policy becomes READY, TRANSIENT_FAILURE, or IDLE
  • core: Use java.time.Time.getNano directly in InstantTimeProvider. Previously reflection was used which would confuse R8 full mode (#​11977) (7507a9e)
  • core: Avoid cancellation exceptions when notifying watchers that already have their connections cancelled (#​11934) (350f90e)
  • rls: allow maxAge in RLS config to exceed 5 minutes if staleAge is set. Previously, the limit was 5 minutes, which isn't enough for some gRPC clients (#​11931) (c340f4a)
  • xds: avoid unnecessary dns lookup for CIDR addresses (#​11932) (602aece)
  • netty: Swap to UniformStreamByteDistributor (#​11954) (2f52a00). gRPC will no longer observe the HTTP/2 priorities, which were not used directly by gRPC and deprecated in RFC 9113
  • core: Avoid Set.removeAll() when passing a possibly-large List (#​11994) (666136b)
  • stub: trailersFromThrowable() metadata should be copied (#​11979) (a6e1c1f)
New Features
  • xds: xDS-based HTTP CONNECT configuration (#​11861) (1219706)
  • netty: Per-rpc authority verification against peer cert subject names. Overriding transport authority at rpc time is only allowed when using TlsChannelCredentials. The per-rpc authority verification feature is guarded by the environment variable GRPC_ENABLE_PER_RPC_AUTHORITY_CHECK in this release. When this is false or not set, the rpc will not fail when the authority verification fails but a warning will be logged. In a subsequent release the usage of this environment variable will be removed and RPCs will start failing if the authority doesn't match the peer certificate names. The environment variable is temporary; if you are depending on the existing insecure behavior, please file an issue (#​11724) (cdab410)
Thanks to

@​panchenko
@​emmanuel-ferdman
@​JoeCqupt


Configuration

📅 Schedule: Branch creation - "after 10pm" in timezone Europe/Prague, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the type: dependency-upgrade Upgrade a dependency label Apr 17, 2025
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from d643081 to f4a58d6 Compare April 25, 2025 01:08
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from f4a58d6 to 8b78fe6 Compare May 27, 2025 18:51
@renovate renovate bot changed the title fix(deps): update grpc-java monorepo to v1.72.0 fix(deps): update grpc-java monorepo to v1.73.0 May 27, 2025
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 8b78fe6 to 5b42240 Compare June 12, 2025 14:27
@renovate renovate bot changed the base branch from 7.0.x to 7.1.x June 12, 2025 14:27
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 5b42240 to 03619ca Compare June 14, 2025 03:27
@sonarqubecloud
Copy link

@sdelamo sdelamo merged commit aab7a4a into 7.1.x Jun 17, 2025
12 checks passed
@sdelamo sdelamo deleted the renovate/grpc-java-monorepo branch June 17, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependency-upgrade Upgrade a dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants