FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(deps): update dependency com_github_googleapis_google_cloud_cpp to v2 by renovate-bot · Pull Request #9490 · googleapis/google-cloud-cpp · GitHub

chore(deps): update dependency com_github_googleapis_google_cloud_cpp to v2 - #9490

Merged
coryan merged 1 commit into
googleapis:mainfrom
renovate-bot:renovate/com_github_googleapis_google_cloud_cpp-2.x
Jul 15, 2022
Merged

chore(deps): update dependency com_github_googleapis_google_cloud_cpp to v2#9490
coryan merged 1 commit into
googleapis:mainfrom
renovate-bot:renovate/com_github_googleapis_google_cloud_cpp-2.x

Conversation

renovate-bot commented Jul 15, 2022
edited by coryan
Loading

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
com_github_googleapis_google_cloud_cpp http_archive major v1.36.0 -> v2.0.0

Release Notes

googleapis/google-cloud-cpp

v2.0.0

Compare Source

BREAKING CHANGES

As previously announced, google-cloud-cpp now requires C++ >= 14. This is
motivated by similar changes in our dependencies, and because C++ 14 has been
the default C++ version in all the compilers we support for several years.

We think this change is large enough that deserves a major version bump to
signal the new requirements.

If you are already using C++ >= 14 you need to make no changes. If you are
using C++11: please consider updating as soon as possible. To ease your
transition to C++ >= 14 we will, if requested, backport critical fixes to
v1.42.0 until 2023-07-01. After 2023-07-01 we will drop all support to v1.42.0
and earlier versions.

Debian 9 (Stretch) is EOL

Debian 9 (Stretch) reached EOL on 2022-06-30. Therefore, we have stopped testing
or supporting this distribution. This was the last distribution we supported
that required GCC < 7.3, and/or CMake < 3.10. Starting with this release we
require CMake >= 3.10, and only test with GCC >= 7.3.

OTHER CHANGES

Bigtable

We introduced a new constructor for Table which accepts a
DataConnection instead of a DataClient. The DataConnection is a new
interface that more closely matches the client surface of Table. Read more
about *Connection classes in our
Architecture Design document.

What are the benefits of DataConnection?

The new API greatly simplifies mocking. Every Table::Foo(..) call has an
associated DataConnection::Foo(...) call. This allows you to set expectations
on the exact values returned by the client call. See
Mocking the Cloud Bigtable C++ Client for a complete
example on how to mock the behavior of Table with
bigtable_mocks::MockDataConnection.

The new DataConnection API offers more consistency across our libraries. It
also enables the use of some common library features, such as our
UnifiedCredentialsOption. Also, any new features will be added to
the DataConnection API first.

Do I need to update my code?

No. If the benefits are not appealing enough, you do not need to update your
code. All code that currently uses DataClient will continue to function as
before. This includes uses of testing::MockDataClient.

However, if you are using testing::MockDataClient to mock the behavior of
Table in your tests:

  1. Be aware that we have announced our intention to remove classes derived from
    DataClient on or around 2023-05. Your tests will break then.
  2. Please consider using bigtable_mocks::MockDataConnection. It will greatly
    simplify your tests.
How do I update existing DataClient code?

See Migrating from DataClient to DataConnection.

  • doc(bigtable): how to mock the Data API (#​9415)
  • feat(bigtable): modern Table constructor (#​9403)
  • feat(generator): support explicit routing headers (#​9368)
  • fix(bigtable)!: pass app profile id to connection as options (#​9388)
  • feat(bigtable): add AppProfileIdOption (#​9382)
  • feat(bigtable): table resource name as a class (#​9377)
  • feat(bigtable): instance name as a class (#​9374)
  • feat(bigtable): introduce MockDataConnection and MakeTestRowReader (#​9335)
  • feat(bigtable): introduce DataConnection (#​9323)
  • feat(bigtable): modern Data API policy options (#​9320)
Pub/Sub
  • doc(pubsub): improve documentation for *AckHandler (#​9404)
  • feat(pubsub): update subscription builders (#​9326)
Common Libraries
  • fix(generator): handle explicit routing params for nested fields (#​9408)
  • feat(common): truncation support for plain strings in the RPC log (#​9351)
New Libraries

We are introducing a new client library. While we do not anticipate any API
changes to this library before declaring it GA, we are releasing it early in
case it elicits some feedback that requires changes.

v1.42.0

Compare Source

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.

Expand to see the full list of new GA libraries...
##### [Bigtable](https://togithub.com/googleapis/google-cloud-cpp/blob/main/google/cloud/bigtable/README.md)
  • feat(bigtable): add AsyncWaitForConsistency() helper for Table Admin (#​9310)
  • doc: broken link in Bigtable README (#​9265)
Pub/Sub
  • feat(pubsub): implement per-batch compression (#​9270)
  • feat(common): include status error payloads in the RPC log (#​9186)
Spanner
  • feat(common): include status error payloads in the RPC log (#​9186)
Storage
Common Libraries
  • feat(common): include status error payloads in the RPC log (#​9186)
    (#​9169)
  • fix(common): workaround GCC "ambiguous" overload errors (#​9144)
  • fix(common): compile with GCC (MinGW-w64) under Windows (#​9140)

v1.41.0

Compare Source

Bigtable
  • fix(bigtable): remove unnecessary sleeps from BulkApply (#​9091)
  • feat(bigtable): configure *Clients with EndpointOption (#​9082)
  • feat(bigtable): default construct a RowReader (#​8958)
  • doc(bigtable): compiler warnings for ClientOptions (#​8914)
  • doc(bigtable): deprecate RowReader public ctors (#​8887)
  • doc(bigtable): deprecate AsyncRowReader (#​8870)
Document AI
  • fix(documentai): make quickstart functional (#​9108)
IAM

The library has been expanded to include IAM Policy, an API
to grant, change, and revoke access to all
GCP resources that accept allow policies.

Cloud Monitoring
  • feat(monitoring): generate async version of CreateTimeSeries() (#​8983)
Pub/Sub
  • doc(pubsub): fix typos Pub/Sub vs. Pubsub (#​9034)
  • doc(pubsub): implement IAM examples (#​8917)
  • doc(pubsub): deprecate SubscriberOptions (#​8916)
  • doc(pubsub): deprecate PublisherOptions (#​8911)
  • doc(pubsub): deprecate functions consuming ConnectionOptions (#​8900)
Spanner
  • doc(spanner): add a comment about building a "NaN" PgNumeric (#​8891)
  • feat(spanner): spanner::Value support for spanner::PgNumeric (#​8872)
  • feat(spanner): add support for spanner::PgNumeric (#​8856)
Storage
  • feat(storage): implement suffix and prefix OLM rules (#​9030)
  • feat(storage): helper functions for new lifecycle action (#​9028)
  • fix: format multiple scopes correctly in service account assertions (#​8975)
  • fix(storage): avoid crashes when parsing ErrorInfo (#​8968)
  • fix(storage): all HmacKey requests accept UserProject (#​8928)
  • fix(storage): handle full but not finalized uploads (#​8896)
  • fix(storage): resume "gunzipped" downloads (#​8894)
  • fix(storage): use Status for CurlHandle::SetOption() (#​8871)
  • fix(storage): set buffersize once per handle (#​8865)
Common Libraries

BREAKING CHANGES

  • We have changed the preference order for determining the service endpoint from
    (1) ${emulator_env}, (2) EndpointOption, (3) ${endpoint_env}, and (4)
    default value, to (1) ${emulator_env}, (2) ${endpoint_env}, (3)
    EndpointOption, and (4) default value. That is, the more dynamic
    ${endpoint_env} is now preferred over any EndpointOption set in the code.

Other Changes:

  • doc: links to other libraries preserve version (#​9112)
  • docs: document connection and mock connection (#​9084)
  • feat(generator): SetIamPolicy() can be idempotent (#​9078)
  • fix(common): compilation error with coroutines and futures (#​9046)
  • fix: support absolute paths for CMAKE_INSTALL_*DIR (#​9022)
  • fix(generator): missing #include in generated code (#​8979)
  • fix(common): compile with storage and without gRPC (#​8923)
  • doc(common): deprecate ConnectionOptions member functions (#​8907)
  • doc: make the minimum Bazel and CMake versions easier to find (#​8909)
New Libraries

We are introducing 2 new client libraries for GCP services. While we do not
anticipate any API changes to these libraries before declaring them GA, we are
releasing them early in case they elicit some feedback that requires changes.

Expand to see the full list of new libraries...

v1.40.2

Compare Source

What's Changed

Full Changelog: v1.40.1...v1.40.2

v1.40.1

Compare Source

What's Changed
  • fix: correct check for storage vs. rest enabled (#​8850)

Full Changelog: v1.40.0...v1.40.1

v1.40.0

Compare Source

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

Expand to see the full list of new GA libraries...
##### [Bigtable](https://togithub.com/googleapis/google-cloud-cpp/blob/main/google/cloud/bigtable/README.md)
  • doc(bigtable): deprecate DataClient member fns (#​8813)
  • doc(bigtable): deprecate ClientOptions (#​8824)
Pub/Sub
  • doc(pubsub): document publish return value (#​8703)
Spanner
  • fix(spanner)!: FLOAT64 NaN values are considered equal (#​8805)
Storage

BREAKING CHANGES

  • While the interface and behavior for storage::Client::WriteObject() remains
    stable, its implementation has changed. Normally implementation details are
    not breaking changes, but any application mocking the storage library
    necessarily depends on these implementation details. We updated the
    [mocking examples][storage-mocking-link] to guide you in changing any tests
    (#​8806).

Other Changes:

  • feat(storage): new option to disable decompressive transcoding (#​8834)
  • fix(storage): disable checksums for transcoded objects (#​8830)
  • doc: fix typo, change "optional" to "optimal" (#​8825)
Storage Transfer Service

BREAKING CHANGES

The library has been disabled on macOS due to a protobuf naming clash. See
#​8785 for details.

New Libraries

We are introducing 3 new client libraries for GCP services. While we do not
anticipate any API changes to these libraries before declaring them GA, we are
releasing them early in case they elicit some feedback that requires changes.

Expand to see the full list of new libraries...

v1.39.2

Compare Source

What's Changed

Full Changelog: v1.39.1...v1.39.2

v1.39.1

Compare Source

What's Changed

Full Changelog: v1.39.0...v1.39.1

v1.39.0

Compare Source

BREAKING CHANGES

  • Starting with this release Linux and Windows builds based on CMake
    no longer set CMAKE_CXX_STANDARD to 11. We rely on the compiler's
    default C++ language standard. Note that all the compilers we support default
    to C++14.

    • On macOS the default is C++98, as google-cloud-cpp requires C++ >= 11, we continue
      to set CMAKE_CXX_STANDARD on that platform.
    • This only changes the default C++ version, we continue to test and support C++11.
    • For more details, see #​6767.
  • The following deprecated, legacy IAM classes have been removed:
    google::cloud::IamPolicy, google::cloud::IamBinding,
    google::cloud::IamBindings. They were designed before
    [IAM conditions][iam-conditions-link]. They did not work with IAM policies
    that include IAM conditions. See [#​5929] for more details.

  • cleanup!: restrict testing_util build visibility (#​8584)

  • cleanup!: change bazel visibility to private for {tests,quickstarts,examples,samples,benchmarks} (#​8578)

Other Changes

  • fix: treat kDeadlineExceeded as permanent error in all services (#​8525)
Bigtable

BREAKING CHANGES

  • InstanceAdmin::GetIamPolicy and InstanceAdmin::SetIamPolicy have been
    retired. If you are affected by this removal, please use
    InstanceAdmin::GetNativeIamPolicy and InstanceAdmin::SetNativeIamPolicy
    instead. See [#​5929] for more details.
KMS

The library has been expanded to include the following services (#​8530):

Pub/Sub
  • fix(pubsub): increase grpc.max_metadata_size limit (#​8626)
Spanner
  • feat(spanner): add remaining PostgreSQL samples (#​8627)
  • feat(spanner): add initial PostgreSQL samples (#​8617)
  • feat(spanner): integration tests for Database.database_dialect (#​8589)
  • feat(spanner): integration tests and sample for CopyBackup() (#​8574)
  • fix(spanner): correct handling of PartialResultSet.resume_token (#​8521)
  • fix(spanner): capture the ReadRequest by value in the reader factory (#​8515)
Storage

BREAKING CHANGES

  • Client::GetBucketIamPolicy and Client::SetBucketIamPolicy have been
    retired. If you are affected by this removal, please use
    Client::GetNativeBucketIamPolicy and Client::SetNativeBucketIamPolicy
    instead. See [#​5929] for more details.
  • cleanup(common)!: remove legacy IAM classes (#​8667)
  • cleanup(storage)!: remove deprecated IAM functions ([#​8664](https://github.com/googleapis/google-cloud-cpp/pull
  • cleanup!: change storage bazel visibility to private by default (#​8583)

Other Changes

  • doc(storage): add custom-dual regions example (#​8595)
    /8664))
  • fix(storage): ParallelUploadFile() and WithObjectMetadata (#​8629)
  • fix(storage): return an error on short writes (#​8562)
  • fix(storage): use correct offset and size types (#​8538)
Common Libraries

Other Changes

  • feat(common): g::c::future support for coroutines (#​8532)

v1.38.0

Compare Source

Service Management API
  • The DisableService() and EnableService() RPCs are now retired. These RPCs
    were deprecated and non-functional at the time this client library was
    generated. We do not expect this will actually break any existing code.
    Nevertheless, we apologize for any confusion.
Pub/Sub Lite

BREAKING CHANGES

  • We mistakenly declared GA for this library. Though the current public APIs are
    stable, the library is incomplete. We are still working on the APIs to publish
    and receive messages. We apologize for any confusion or inconvenience this
    caused.
Common Libraries
  • fix(pubsublite)!: revert GA declaration (#​8497)
  • fix: no experimental- prefix for GA targets (#​8496)
  • fix(container): missing CMake dependency (#​8492)

v1.37.0

Compare Source

BREAKING CHANGES

  • As previously announced, we are removing certain legacy CMake targets and
    Bazel rules in this release.
    • Bazel Users: applications should use the targets at the top-level
      directory, e.g. //:bigtable, or //:pubsub. Targets in each directory
      (e.g. //google/cloud/bigtable:bigtable_client) are now retired or marked
      private.
    • CMake Users: applications should use the
      google-cloud-cpp::* targets (e.g. google-cloud-cpp::pubsub).
      • All exported targets without a google-cloud-cpp:: prefix are retired.
        These include, but are not limited to:
        • Any target starting with googleapis-c++::
        • Any exported targets without a prefix, including:
          google_cloud_cpp_common, google_cloud_cpp_grpc_utils,
          bigtable_client, bigtable_protos, firestore_client,
          pubsub_client, storage_client, spanner_client.
        • Some target aliases, including bigtable::client, bigtable::protos
    • pkg-config users: applications should use the modules starting with
      google_cloud_cpp. All other modules are now retired.
    • Direct users of -l${library} flags: we do not recommend that
      applications uses -l flags directly, please use pkg-config and/or
      the target names under CMake or Bazel. We make this recommendation because
      we do not know of any mechanism to provide backwards compatibility for such
      flags.
    • More details about the rationale for these changes in #​5726.
BigQuery

The library has been expanded to include the following services:

Bigtable

BREAKING CHANGE: The bigtable::AdminClient interface has changed
significantly. Any code that extends this class or calls its experimental public
APIs (reset(), Channel()) will be broken. For the most part, this should
only affect customers who mock this class in their tests. Code that calls
bigtable::MakeAdminClient() or bigtable::CreateDefaultAdminClient() will
continue to work as before.

This change will allow us to deliver new features more quickly by reducing the
maintenance costs of the library. It also provides a better mocking interface
for bigtable::TableAdmin. We apologize if you are inconvenienced by this
change.

If only your tests are broken, please use
bigtable_admin_mocks::MockBigtableTableAdminConnection in place of
bigtable::testing::MockAdminClient. The new mock should be more intuitive
because of the differences described below:

MockBigtableTableAdminConnection MockAdminClient
Mocks result of entire retry loop Mocks result of one call in a retry loop
Returns familiar google::cloud:: types Returns grpc:: types

If more than your tests are broken, please use
bigtable_admin::BigtableTableAdminClient in favor of bigtable::TableAdmin,
and bigtable_admin::BigtableTableAdminConnection in favor of
bigtable::AdminClient. These classes will incorporate the newest features of
both the [Cloud Bigtable Admin API] and the C++ client library. For more
information on these new classes, see our [Architecture Design] document.

Again, we apologize for making this breaking change, but we believe it is in the
best long-term interest of our customers.

BREAKING CHANGE: The bigtable::InstanceAdminClient class has been marked
as final. After the changes in v1.36.0, there is no need
or reason to be extending this class.

OTHER CHANGES:

  • feat(bigtable): better support for PSC and VPC-SC (#​8458)
  • fix(bigtable): ReadRows retries from the last_scanned_row_key (#​8423)
  • feat(bigtable): support x-goog-user-project (#​8324)
IAM
  • docs(iam): added comments on private_key_data (#​8204)
Pub/Sub
  • feat(pubsub): support AuthorityOption (#​8460)
  • feat(pubsub): support x-goog-user-project (#​8456)
  • feat(pubsub): per-call Options for SubscriptionAdminClient (#​8414)
  • feat(pubsub): per-call options in TopicAdminClient (#​8411)
  • feat(pubsub): per-call options in SchemaAdminClient (#​8406)
  • doc(pubsub): add region tag for subscription with filter (#​8326)
Spanner

All the spanner::Client operations now take optional google::cloud::Options
arguments, replacing the existing ClientOptions, CommitOptions,
PartitionOptions, QueryOptions, and ReadOptions arguments, or adding
options to operations that previously had none. Users should migrate to these
new overloads. (Note that the old spanner::*Options types have not been
deprecated as they are still used in the spanner::Connection interface.)

OTHER CHANGES:

  • feat(spanner): use prevailing Options in ConnectionImpl (#​8466)
  • feat(spanner): convert ReadOptions/PartitionOptions to Options (#​8448)
  • fix(spanner): instantiate OptionsSpan objects in legacy admin calls (#​8440)
  • feat(spanner): convert QueryOptions to Options in main client API (#​8430)
  • fix(spanner): add Options save/restore to PartialResultSetSource (#​8355)
  • feat(spanner): support x-goog-user-project (#​8316)
Storage
  • feat(storage): support AuthorityOption (#​8462)
  • fix(storage): json["projectTeam"] might be present but null (#​8446)
  • doc(storage): improve {Bucket,Object}Metadata docs (#​8434)
  • fix(storage): ignored fields in lifecycle patches (#​8389)
  • doc(storage): show how to configure endpoints (#​8354)
  • doc(storage): UserIp option is deprecated (#​8468)
Common Libraries
  • feat(generator): all bidir streams are experimental (#​8471)
  • feat: better support for PSC and VPC-SC (#​8453)
  • fix: wait until AutomaticallyCreatedBackgroundThreads start (#​8452)
  • fix: restore Options over deletion of StreamRange::reader_ (#​8403)
  • feat(common): converting constructors for future (#​8329)
  • fix: add Options save/restore to StreamRange and cancellations (#​8256)
  • feat(generator): support parameters named "options" (#​8283)
  • feat(generator): support x-goog-user-project (#​8245)
  • fix: correct uses of target_compatible_with (#​8257)
  • fix(generator): Connection base-class operations should fail (#​8236)
New Libraries

We are introducing client libraries for 9 more GCP services. While we do not
anticipate any API changes to these libraries before declaring them GA, we are
releasing them early in case they elicit some feedback that requires changes.

Expand to see the full list of new libraries...

We are happy to announce that the following GA libraries. We expect these
libraries to have a stable API, to offer the full functionality of the
GA version of service they wrap, and are ready for production use.

Expand to see the full list of new GA libraries...

Configuration

📅 Schedule: Branch creation - "every weekday" (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, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.


This change is 

renovate-bot requested a review from a team July 15, 2022 18:02
trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 15, 2022

dpebot commented Jul 15, 2022

Copy link
Copy Markdown
Collaborator

/gcbrun

google-cloud-cpp-bot removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 15, 2022

codecov Bot commented Jul 15, 2022
edited
Loading

Copy link
Copy Markdown

Codecov Report

Merging #9490 (b5f4178) into main (dad8a9b) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #9490      +/-   ##
==========================================
- Coverage   94.63%   94.63%   -0.01%     
==========================================
  Files        1486     1486              
  Lines      137065   137065              
==========================================
- Hits       129710   129706       -4     
- Misses       7355     7359       +4     
Impacted Files Coverage Δ
...le/cloud/storage/internal/curl_download_request.cc 87.58% <0.00%> (-1.01%) ⬇️
...cloud/pubsub/internal/subscription_session_test.cc 97.98% <0.00%> (-0.84%) ⬇️
google/cloud/pubsub/samples/samples.cc 92.43% <0.00%> (+0.07%) ⬆️
...bigtable/examples/bigtable_hello_instance_admin.cc 82.00% <0.00%> (+2.00%) ⬆️
...e/cloud/pubsublite/internal/alarm_registry_impl.cc 100.00% <0.00%> (+2.94%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dad8a9b...b5f4178. Read the comment docs.

Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: b5f4178aff901396bbe2962073e22929264b46b4

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

coryan merged commit e022823 into googleapis:main Jul 15, 2022
renovate-bot deleted the renovate/com_github_googleapis_google_cloud_cpp-2.x branch July 15, 2022 20:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

4 participants


Back | FazBrowse Home | New Git URL