Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Releases: googleapis/google-cloud-cpp-spanner

v0.2.0

09 Oct 20:48
082a2b2
Compare
Choose a tag to compare

File Checksums

Extension SHA256 checksum
.tar.gz 301b0839a9c0ae451694ef646efb0ca6a8fb3231fd4f19739b2237df311df359
.zip f1cf443e35bacd5b7dd3914ea793cf94ab258e569a621cd9aaff86b2b375ee47

Release Notes

  • Breaking Changes

    • refactor Read to return ReadResult; remove ResultSet (#935)
    • removed Row<> from mutations API (#938). Removes the AddRow(Row<Ts...>)
      member function on the WriteMutation API. In place of this method there
      is now an AddRow(std::vector<Value>) method.
    • Change Value::Bytes to google::cloud::spanner::Bytes (#920)
    • implement CreateInstanceRequestBuilder (#933). Changed the function
      signature of InstanceAdminClient::CreateInstance().
    • Replace ExecuteSql with ExecuteQuery and ExecuteDml (#927)
    • Changed RowParser to require a Row<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 a Row<...> type.
    • Implements Database in terms of Instance (#652). This PR removes
      renames some accessors like InstanceId -> instance_id due to their
      trivial nature now (style guide). It also removes some methods like
      Database::ParentName(), which is now replaced by Database::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.
  • Feature changes

    • implement InstanceAdminClient methods CreateInstance, UpdateInstance,
      DeleteInstance, ListInstanceConfigs, GetInstanceConfig,
      SetIamPolicy.
    • implement DatabaseAdminClient methods TestIamPermissions,
      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)
  • Bug fixes

    • fix runtime install directory (#658)
    • give sample programs a long timeout time. (#622)
    • use RunTransaction for read write transaction sample (#654)

v0.1.0 - Alpha

12 Sep 16:07
1dcddd5
Compare
Choose a tag to compare

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.