Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency io.grpc:grpc-stub to v1.70.0 #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.grpc:grpc-stub 1.68.2 -> 1.70.0 age adoption passing confidence

Release Notes

grpc/grpc-java (io.grpc:grpc-stub)

v1.70.0

Compare Source

Bug Fixes

  • Re-enable animalsniffer, fixing most violations (8ea3629). Violations would only have triggered on API level 23 and earlier, and the violations fixed here were highly unlikely to be triggered
  • api: Fix Android API level 23 and earlier compatibility for StatusRuntimeException without stacktrace (#​11072) (ebe2b48). This fixes a regression introduced in 1.64.0. The regression should have caused failures on API level 23 and earlier when a StatusRuntimeException or StatusException was created. However, for unknown reasons tests on old devices didn’t notice issues
  • okhttp: Improve certificate handling by rejecting non-ASCII subject alternative names and hostnames as seen in CVE-2021-0341 (#​11749) (a0982ca). 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
  • okhttp: Fix for ipv6 link local with scope (#​11725) (65b32e6)
  • xds: Preserve nonce when unsubscribing last watcher of a particular type so that new discovery requests of that type are handled correctly (1cf1927). This (along with 6c12c2b) 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 (6c12c2b)
  • xds: Unexpected types in the bootstrap’s server_features should be ignored (e8ff6da). They were previously required to be strings
  • xds: Remove xds authority label from metric registration (#​11760) (6516c73). This fixes the error “Incorrect number of required labels provided. Expected: 4” introduced in 1.69.0
  • xds: Fixed unsupported unsigned 32 bits issue for circuit breaker (#​11735) (f8f6139). This fixes clients treating large max_requests as “no requests” and failing all requests

Improvements

  • api: Introduce custom NameResolver.Args (#​11669) (0b2d440)
  • stub: Introduce new API: BlockingStubV2 which supports Bidi streaming, Client streaming, a cleaner Server streaming and Unary RPCs (#​10318) (ea8c31c)
  • bazel: Remove workaround for DoNotCall fixed in Bazel 3.4 (805cad3)
  • binder: A standard API for pointing resolvers at a different Android User. (#​11775) (1126a8e)
  • xds: Fix XDS control plane client retry timer backoff duration when connection closes after results are received (#​11766) (ef7c2d5)
  • xds: Parsing xDS Cluster Metadata (#​11741) (1edc4d8). Not used actively, but this adds validation. The validation is unlikely to fail but may reject invalid resources.
  • xds: Use "#server" as dataplane target value for xDS enabled gRPC servers (#​11715) (ebb43a6). This only impacts the grpc.target label in grpc.xds_client.* metrics. Previously the empty string was used
  • rls: Reduce RLS debug channel logging (7f9c1f3). This only matters when debug logging is enabled

Documentation

  • examples: Simplify graceful shutdown in Hostname example (f1109e4)
  • examples: Remove references to maven-central.storage-download.googleapis.com (c96e926)
  • examples: Updated the attachHeaders to newAttachHeadersInterceptor in HeaderClientInterceptor (#​11759) (5e8abc6)

Dependencies

  • Bazel 8 is released, so replace Bazel 6 testing with Bazel 7 (8a5f777)

Thanks to

v1.69.1

Compare Source

Bug Fixes
  • okhttp: Improve certificate handling by rejecting non-ASCII subject alternative names and hostnames as seen in CVE-2021-0341 (#​11749) (a0982ca). 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 (1cf1927). This (along with 6c12c2b) 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 (6c12c2b)
  • xds: Unexpected types in the bootstrap’s server_features should be ignored (e8ff6da). They were previously required to be strings
  • xds: Fixed unsupported unsigned 32 bits issue for circuit breaker (#​11735) (f8f6139). This fixes clients treating large max_requests as “no requests” and failing all requests
  • xds: Remove xds authority label from metric registration (#​11760) (6516c73). This fixes the error “Incorrect number of required labels provided. Expected: 4” introduced in 1.69.0

v1.69.0

Compare Source

v1.69.0

New Features

  • api: Allow LoadBalancers to specify an authority per-RPC.(#​11631) (c167ead) CallOptions.withAuthority() has higher precedence.
  • netty: Add soft Metadata size limit enforcement. (#​11603) (735b3f3) 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) (ba8ab79)
  • xds: Add grpc.xds_client metrics, as documented by OpenTelemetry Metrics (#​11661) (20d09ce). grpc.xds.authority is not yet available

Bug Fixes

  • api: When forwarding from Listener onAddresses to Listener2 continue to use onResult (#​11666) (dae078c). 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 (ef1fe87). 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 to CallOptions, AbstractStub methods that take TimeUnit and a time value (#​11562) (766b923)
  • core: Make timestamp usage in Channelz use nanos from Java.time.Instant when available (#​11604) (9176b55). 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) (e58c998)
  • servlet: Deframe failures should be logged on the server as warnings (#​11645) (a5db67d)
  • s2a: Rename the Bazel target s2av2_credentials to s2a (29dd9ba). 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) (b170334). 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) (921f88a). 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 (1993e68)
  • Upgrade google-auth-library to 1.24.1 (1993e68)
  • Upgrade error_prone_annotations to 2.30.0 (1993e68)
  • Upgrade Guava to 33.3.1-android (1993e68)
  • Upgrade opentelemetry-api to 1.43.0 (1993e68)
  • xds: Remove Bazel dependency on xds v2 (664f1fc). This had been done for the Maven Central binaries in 1.63.0, but had been missed for Bazel builds

Documentation

  • binder: Update error codes doc for new "Safer Intent" rules. (#​11639) (fe350cf)
  • examples: Use xds-enabled server and xds credentials in example-gcp-csm-observability (#​11706) (a79982c)

Thanks to
@​niloc132
@​rockspore
@​SreeramdasLavanya
@​vinodhabib

v1.68.3

Compare Source

Bug Fixes
  • okhttp: Improve certificate handling by rejecting non-ASCII subject alternative names and hostnames as seen in CVE-2021-0341 (#​11749) (a0982ca). 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 (1cf1927). This (along with 6c12c2b) 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 (6c12c2b)
  • xds: Unexpected types in the bootstrap’s server_features should be ignored (e8ff6da). They were previously required to be strings
  • xds: Fixed unsupported unsigned 32 bits issue for circuit breaker (#​11735) (f8f6139). This fixes clients treating large max_requests as “no requests” and failing all requests

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update 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 renovate label Nov 28, 2024
@renovate renovate bot changed the title fix(deps): update dependency io.grpc:grpc-stub to v1.68.2 fix(deps): update dependency io.grpc:grpc-stub to v1.69.0 Dec 10, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 3ec69b3 to 034659c Compare December 10, 2024 19:38
@renovate renovate bot changed the title fix(deps): update dependency io.grpc:grpc-stub to v1.69.0 fix(deps): update dependency io.grpc:grpc-stub to v1.69.1 Jan 17, 2025
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 034659c to 55f19e0 Compare January 17, 2025 02:34
Copy link

socket-security bot commented Jan 17, 2025

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: maven/io.grpc/[email protected]

View full report↗︎

@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 55f19e0 to f41d6c3 Compare January 17, 2025 06:16
@renovate renovate bot changed the title fix(deps): update dependency io.grpc:grpc-stub to v1.69.1 fix(deps): update dependency io.grpc:grpc-stub to v1.70.0 Jan 22, 2025
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from f41d6c3 to 2b2affd Compare January 22, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants