This repository has been archived by the owner on Dec 8, 2021. It is now read-only.
Releases: googleapis/google-cloud-cpp-spanner
Releases · googleapis/google-cloud-cpp-spanner
v0.2.0
File Checksums
Extension | SHA256 checksum |
---|---|
.tar.gz | 301b0839a9c0ae451694ef646efb0ca6a8fb3231fd4f19739b2237df311df359 |
.zip | f1cf443e35bacd5b7dd3914ea793cf94ab258e569a621cd9aaff86b2b375ee47 |
Release Notes
-
Breaking Changes
- refactor
Read
to returnReadResult
; removeResultSet
(#935) - removed
Row<>
from mutations API (#938). Removes theAddRow(Row<Ts...>)
member function on theWriteMutation
API. In place of this method there
is now anAddRow(std::vector<Value>)
method. - Change
Value::Bytes
togoogle::cloud::spanner::Bytes
(#920) - implement
CreateInstanceRequestBuilder
(#933). Changed the function
signature ofInstanceAdminClient::CreateInstance()
. - Replace
ExecuteSql
withExecuteQuery
andExecuteDml
(#927) - Changed
RowParser
to require aRow<Ts...>
template param (#653).
ResultSet::Rows
used to be a variadic template that took the individual
C++ types for each row. With this change that function is now a template
with one parameter, which must be aRow<...>
type. - Implements
Database
in terms ofInstance
(#652). This PR removes
renames some accessors likeInstanceId
->instance_id
due to their
trivial nature now (style guide). It also removes some methods like
Database::ParentName()
, which is now replaced byDatabase::instance()
. - Fixes inconsistent naming of the Batch DML params struct. (#650). This
struct has been renamed, so any code using this struct will need to be
updated.
- refactor
-
Feature changes
- implement
InstanceAdminClient
methodsCreateInstance
,UpdateInstance
,
DeleteInstance
,ListInstanceConfigs
,GetInstanceConfig
,
SetIamPolicy
. - implement
DatabaseAdminClient
methodsTestIamPermissions
,
SetIamPolicy
,GetIamPolicy
. - implement retries for
Commit()
,PartitionRead
,PartitionQuery
,
ExecuteBatchDml
,CreateSession
,Rollback
. - implement
PartialResultSetRead
with resumes (#693) - use separate policies for retry vs. rerun (#667)
- implement
DatabaseAdminConnection
(#638) - implement overloads on
UpdateInstanceRequestBuilder
(#921) - implement metadata decorator for
InstanceAdminStub
. (#678) - implement logging wrapper for
InstanceAdminStub
. (#676) - support install components for the library (#659)
- implement
-
Bug fixes
v0.1.0 - Alpha
File Checksums
Extension | SHA256 checksum |
---|---|
.tar.gz | 5dd3446b1aef40fc8425bb14b86b4d3f0e589ea51efb731453aebd9545159d33 |
.zip | 2783c11d0cbe29d85f8995c4648d370f407080f030e00d19dfaae7c90be338b4 |
Release Notes
- This is the initial Alpha release of the library.
- While this version is not recommended for production workloads it is stable
enough to use in experimental code. We welcome feedback about the library
through GitHub issues. - The API is expected to undergo incompatible changes before Beta and GA.
- The library supports all the operations to read and write data into Cloud
Spanner. - The library supports some administrative operations such as creating,
updating, and dropping databases.