| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
/gcbrun |
Sorry, something went wrong.
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR contains the following updates:
Release Notes
googleapis/google-cloud-cppv2.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:
DataClient on or around 2023-05. Your tests will break then.
simplify your tests.
How do I update existing DataClient code?
See Migrating from DataClient to DataConnection.
Pub/Sub
Common Libraries
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,
Expand to see the full list of new GA libraries...the APIs in these libraries are stable, and are ready for production use.
- Dataplex
- DialogFlow CX
- DialogFlow ES
##### [Bigtable](https://togithub.com/googleapis/google-cloud-cpp/blob/main/google/cloud/bigtable/README.md)Pub/Sub
Spanner
Storage
(#9220)
(#9214)
(#9209)
(#9208)
(#9207)
(#9206)
(#9205)
(#9204)
(#9203)
(#9202)
(#9199)
(#9247)
Common Libraries
(#9169)
v1.41.0
Compare Source
Bigtable
Document AI
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
Pub/Sub
Spanner
Storage
Common Libraries
BREAKING CHANGES
(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:
New Libraries
We are introducing 2 new client libraries for GCP services. While we do not
Expand to see the full list of new libraries...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.
v1.40.2
Compare Source
What's Changed
Full Changelog: v1.40.1...v1.40.2
v1.40.1
Compare Source
What's Changed
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
Expand to see the full list of new GA libraries...noted, the APIs in these libraries are stable, and are ready for production use.
- Compute Engine OS Login
- Cloud Speech-to-Text
- Google Cloud Logging
##### [Bigtable](https://togithub.com/googleapis/google-cloud-cpp/blob/main/google/cloud/bigtable/README.md)Pub/Sub
Spanner
Storage
BREAKING CHANGES
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:
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
Expand to see the full list of new libraries...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.
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.
to set CMAKE_CXX_STANDARD on that platform.
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
Bigtable
BREAKING CHANGES
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
Spanner
Storage
BREAKING CHANGES
retired. If you are affected by this removal, please use
Client::GetNativeBucketIamPolicy and Client::SetNativeBucketIamPolicy
instead. See [#5929] for more details.
Other Changes
/8664))
Common Libraries
Other Changes
v1.38.0
Compare Source
Service Management API
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
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
v1.37.0
Compare Source
BREAKING CHANGES
Bazel rules in this release.
directory, e.g. //:bigtable, or //:pubsub. Targets in each directory
(e.g. //google/cloud/bigtable:bigtable_client) are now retired or marked
private.
google-cloud-cpp::* targets (e.g. google-cloud-cpp::pubsub).
These include, but are not limited to:
google_cloud_cpp_common, google_cloud_cpp_grpc_utils,
bigtable_client, bigtable_protos, firestore_client,
pubsub_client, storage_client, spanner_client.
google_cloud_cpp. All other modules are now retired.
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.
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:
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:
IAM
Pub/Sub
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:
Storage
Common Libraries
New Libraries
We are introducing client libraries for 9 more GCP services. While we do not
Expand to see the full list of new libraries...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.
We are happy to announce that the following GA libraries. We expect these
Expand to see the full list of new GA libraries...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.
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.
This PR has been generated by Mend Renovate. View repository job log here.
This change is