Skip to content

chore(deps): update dependency google_cloud_cpp to v2.47.0#16016

Open
renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/google_cloud_cpp-2.x
Open

chore(deps): update dependency google_cloud_cpp to v2.47.0#16016
renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/google_cloud_cpp-2.x

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Mar 2, 2026

This PR contains the following updates:

Package Type Update Change
google_cloud_cpp http_archive minor v2.42.0v2.47.0

Release Notes

googleapis/google-cloud-cpp (google_cloud_cpp)

v2.47.0

Compare Source

New Libraries

We are happy to announce the following GA libraries. Unless specifically noted,
the APIs in these libraries are stable, and are ready for production use.

Spanner
  • feat(spanner): define IsolationLevel enum for Spanner transactions (#​15853)
Storage
  • feat(storage): take async client out of experimental (#​15573)
  • fix(storage): add extra validation for type in object_metadata_parser (#​15864)
  • feat(storage): Update the write handle while performing appendable object upload (#​15889)
  • feat(storage): add flag for enable and disable multi stream feature. (#​15893)
  • fix(storage): gRPC misuse causing crashes due to concurrent writes from Flush() and Write() (#​15802)
Google APIs interface definitions

v2.46.0

Compare Source

Spanner
  • feat(spanner): enable UUID data type (#​15867)
Storage
  • feat(storage): Add full object checksum validation at finalization for json path (#​15815)
  • feat(storage): add support for bucket encryption enforcement config (#​15844)
Google APIs interface definitions

v2.45.0

Compare Source

New Libraries

We are happy to announce the following GA libraries. Unless specifically noted,
the APIs in these libraries are stable, and are ready for production use.

Pubsub
  • fix(pubsub): impersonate sa credentials CompletionQueue lifetime (#​15833)
Storage
  • fix(storage): append object spec should only be set in the first request (#​15831)
Google APIs interface definitions

v2.44.0

Compare Source

BigQueryControl
  • !fix(bigquerycontrol): PatchRoutine RPC has been removed.
Bigtable
  • Support for (GoogleSQL) has been added to the Bigtable library. Please see the new (bigtable::Client) class for more details.
Spanner
  • fix(spanner): Do not compare iterators from different containers (#​15665)
Storage
  • fix(storage): always use latest write handle for fast resume in gRPC BidiWriteObject (#​15795)
  • feat(storage): add support for partial list bucket (#​15763)
  • fix(storage): Add start appendable condition for bypassing full object checksum (#​15786)
  • feat(storage): add GrpcMetricsExcludedLabelsOption for gRPC metrics label filtering (#​15735)
  • fix(storage): enable fast resume for rapid object write streams by including write handle (#​15762)
  • feat(storage): add configurable metrics export timeout for GCS gRPC Client (#​15629)
Common Libraries
  • feat(credentials): add support for creating ComputeEngine credentials explicitly (#​15789)
  • feat: Support scopes field in impersonated json (#​15675)
Google APIs interface definitions

v2.43.0

Compare Source

Storage
  • fix(storage): fixing flushing and finalization in buffered upload of async client (#​15572)
  • feat(storage): Add samples related to AppendableObject and OpenObject (#​15563)
  • feat(storage): Expose Flush() in AsyncWriter (#​15555)
  • fix(storage): Fix Resume() to use append_object_spec instead of write_object_spec for resumed appendable uploads (#​15558)
  • fix(storage): Increase AsyncWriter default MinLwmValue to avoid frequent flushes (#​15552)
Google APIs interface definitions

Configuration

📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), 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-bot renovate-bot requested a review from a team as a code owner March 2, 2026 21:34
@dpebot
Copy link
Collaborator

dpebot commented Mar 2, 2026

/gcbrun

@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a routine dependency update for google_cloud_cpp to version v2.47.0. This update incorporates a range of improvements, including the release of new GA client libraries and numerous feature enhancements and bug fixes across existing Google Cloud services, aiming to keep the project current with the latest stable releases and leverage new capabilities.

Highlights

  • Dependency Update: The google_cloud_cpp dependency has been updated from version v2.42.0 to v2.47.0.
  • New GA Libraries: This update introduces several new Generally Available (GA) libraries, including Cloud API Registry, Audit Manager, GKE Recommender, and Cloud Maintenance API.
  • Feature Enhancements and Bug Fixes: The new versions include various feature additions and bug fixes across Google Cloud services such as Spanner, Storage, Pubsub, Bigtable, and Common Libraries, improving functionality and stability.
Changelog
  • generator/templates/WORKSPACE.bazel
    • Updated the sha256 hash for the google_cloud_cpp archive.
    • Changed the strip_prefix to reflect the new version 2.47.0.
    • Updated the download url to point to v2.47.0.tar.gz.
  • google/cloud/ces/quickstart/WORKSPACE.bazel
    • Updated the sha256 hash for the google_cloud_cpp archive.
    • Changed the strip_prefix to reflect the new version 2.47.0.
    • Updated the download url to point to v2.47.0.tar.gz.
  • google/cloud/hypercomputecluster/quickstart/WORKSPACE.bazel
    • Updated the sha256 hash for the google_cloud_cpp archive.
    • Changed the strip_prefix to reflect the new version 2.47.0.
    • Updated the download url to point to v2.47.0.tar.gz.
  • google/cloud/vectorsearch/quickstart/WORKSPACE.bazel
    • Updated the sha256 hash for the google_cloud_cpp archive.
    • Changed the strip_prefix to reflect the new version 2.47.0.
    • Updated the download url to point to v2.47.0.tar.gz.
  • google/cloud/visionai/quickstart/WORKSPACE.bazel
    • Updated the sha256 hash for the google_cloud_cpp archive.
    • Changed the strip_prefix to reflect the new version 2.47.0.
    • Updated the download url to point to v2.47.0.tar.gz.
  • google/cloud/workloadmanager/quickstart/WORKSPACE.bazel
    • Updated the sha256 hash for the google_cloud_cpp archive.
    • Changed the strip_prefix to reflect the new version 2.47.0.
    • Updated the download url to point to v2.47.0.tar.gz.
Activity
  • This pull request was automatically generated by Renovate Bot to update the google_cloud_cpp dependency.
  • Automerge is currently disabled by configuration, requiring manual review and merging.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the google_cloud_cpp dependency from v2.42.0 to v2.47.0. The version and hash updates are applied correctly across multiple WORKSPACE.bazel files. However, this highlights a maintainability issue: the dependency definition is duplicated in at least six files, which goes against the repository's style guide. I've added a suggestion to centralize this definition to simplify future updates.

Comment on lines 24 to 29
http_archive(
name = "google_cloud_cpp",
sha256 = "699955112a4c57ae9111fbadeff1698674a1762acd77daf36360e6dfc227dc93",
strip_prefix = "google-cloud-cpp-2.42.0",
url = "https://github.com/googleapis/google-cloud-cpp/archive/v2.42.0.tar.gz",
sha256 = "2ed084223c8b156426311c6fd9dde7722fa251a4f24f58e34e0d62150ac3717b",
strip_prefix = "google-cloud-cpp-2.47.0",
url = "https://github.com/googleapis/google-cloud-cpp/archive/v2.47.0.tar.gz",
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This http_archive definition for google_cloud_cpp is duplicated in at least 6 WORKSPACE.bazel files. This makes maintenance more difficult, as evidenced by this PR where the same change needs to be applied in multiple places. This also violates the repository's style guide regarding code duplication.

To improve maintainability, consider factoring this dependency definition into a single, centralized location. Since these are quickstart examples that should be self-contained, one approach is to define the dependency in a separate .bzl file and fetch it using http_archive. This would centralize the definition while keeping the quickstarts independently runnable.

References
  1. The repository style guide states a preference for factoring out duplicated code if it appears 3 or more times in non-test files. The http_archive block for google_cloud_cpp is duplicated across multiple files, violating this guideline. (link)

@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.64%. Comparing base (118356f) to head (4677c3e).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16016      +/-   ##
==========================================
- Coverage   92.64%   92.64%   -0.01%     
==========================================
  Files        2333     2333              
  Lines      214631   214631              
==========================================
- Hits       198846   198835      -11     
- Misses      15785    15796      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants