-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release Spanner libraries version 5.0.0-beta01
Changes in Google.Cloud.Spanner.Data version 5.0.0-beta01: ### Bug fixes - Have SpannerTransaction check if it has been disposed before executing commands. ([commit c97a70a](c97a70a)) ### New features - Add leader routing support. ([commit eb2157a](eb2157a)) - Add FLOAT32 enum to TypeCode ([commit 18e6491](18e6491)) - Add proto descriptors for proto and enum types in create/update/get database ddl requests ([commit 7085e3f](7085e3f)) - Add max_commit_delay API ([commit 3984609](3984609)) - Add proto and enum types ([commit ea75989](ea75989)) - **BREAKING CHANGE** Support inline transactions. ([#11360](#11360)) - Add directed_read_option in spanner.proto ([commit 3b374e0](3b374e0)) - Add PG.OID type cod annotation ([commit a8662dc](a8662dc)) - Add autoscaling config to the instance proto ([commit 07022a6](07022a6)) - Add BatchWrite API ([commit 7a127d0](7a127d0)) ### Documentation improvements - Update the comment regarding eligible SQL shapes for PartitionQuery ([commit 1eb3d3e](1eb3d3e)) - Updated comment formatting ([commit 3b374e0](3b374e0)) BREAKING CHANGE: In supporting inline transactions the main breaking change is behavioral: transactions are not prewarmed, instead they are acquired as needed, mainly through inlining transaction creation in the first command that attempts to use a transaction. The method `Google.Cloud.Spanner.V1.PooledSession.WithFreshTransactionOrNewAsync` has been removed, as a transaction is not created by the session until command execution. Use instead `Google.Cloud.Spanner.V1.PooledSession.RefreshedOrNewAsync` which returns a new PooledSession instance that either represents the same session but with no transaction associated to it or a newly acquired session. Since transactions are not prewarmed, the session pool does not need to distinguish between read-only and read-write session/transaction pairs. In the statistics classes that may be used for diagnostic purposes all properties distinguising between read-only and read-write statistics have been removed. Similarly, `Google.Cloud.Spanner.V1.SessionPoolOptions.WriteSessionsFraction` has bee removed. Packages in this release: - Release Google.Cloud.Spanner.Admin.Database.V1 version 5.0.0-beta01 - Release Google.Cloud.Spanner.Admin.Instance.V1 version 5.0.0-beta01 - Release Google.Cloud.Spanner.Common.V1 version 5.0.0-beta01 - Release Google.Cloud.Spanner.Data version 5.0.0-beta01 - Release Google.Cloud.Spanner.V1 version 5.0.0-beta01
- Loading branch information
1 parent
f21d994
commit f5efd85
Showing
7 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...e.V1/Google.Cloud.Spanner.Admin.Database.V1/Google.Cloud.Spanner.Admin.Database.V1.csproj
This file contains 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
2 changes: 1 addition & 1 deletion
2
...e.V1/Google.Cloud.Spanner.Admin.Instance.V1/Google.Cloud.Spanner.Admin.Instance.V1.csproj
This file contains 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
2 changes: 1 addition & 1 deletion
2
...ud.Spanner.Common.V1/Google.Cloud.Spanner.Common.V1/Google.Cloud.Spanner.Common.V1.csproj
This file contains 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
2 changes: 1 addition & 1 deletion
2
apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.csproj
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
apis/Google.Cloud.Spanner.V1/Google.Cloud.Spanner.V1/Google.Cloud.Spanner.V1.csproj
This file contains 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
This file contains 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