Commit cf46451
committed
Release Spanner libraries version 5.0.0
Changes in Google.Cloud.Spanner.Data version 5.0.0:
### New features
Note: V5.0.0 contains all the new features added in previous beta versions V5.0.0-beta0x.
Here, we highlight those that introduced breaking changes with respect to previous stable versions V4.x.x.
- Transactions support SpannerTransactionCreationOptions and SpannerTransactionOptions.
BREAKING CHANGE: SpannerConection methods that open a transaction, like BeginTransacion, Open and RunWithRetriableTransaction sets of methods now
accept both option types as parameter, while some of the previously existing methods have been deprecated and will be removed on the next major version.
- After a successfull commit or rollback, the transaction is disposed.
BREAKING CHANGE: Attempting to use a disposed transaction will result in a client side error. See the Google.Cloud.Spanner.Data.SpannerTransaction.DisposeBehavior documentation for more information.
- Add support for FLOAT32
BREAKING CHANGE: The default mapping for values of CLR type decimal was FLOAT64 and it is now Numeric.
The default mapping for values of CLR type float was FLOAT64 and it is now FLOAT32.
- Support inline transactions.
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 distinguishing between read-only and read-write statistics have been removed. Similarly, `Google.Cloud.Spanner.V1.SessionPoolOptions.WriteSessionsFraction`
has bee removed.
- BREAKING CHANGE: Remove Obsolete code that had been introduced before v5.0.0-beta01.
Packages in this release:
- Release Google.Cloud.Spanner.Admin.Database.V1 version 5.0.0
- Release Google.Cloud.Spanner.Admin.Instance.V1 version 5.0.0
- Release Google.Cloud.Spanner.Common.V1 version 5.0.0
- Release Google.Cloud.Spanner.Data version 5.0.0
- Release Google.Cloud.Spanner.V1 version 5.0.01 parent b3fa6be commit cf46451
File tree
7 files changed
+37
-11
lines changed- apis
- Google.Cloud.Spanner.Admin.Database.V1/Google.Cloud.Spanner.Admin.Database.V1
- Google.Cloud.Spanner.Admin.Instance.V1/Google.Cloud.Spanner.Admin.Instance.V1
- Google.Cloud.Spanner.Common.V1/Google.Cloud.Spanner.Common.V1
- Google.Cloud.Spanner.Data
- Google.Cloud.Spanner.Data
- docs
- Google.Cloud.Spanner.V1/Google.Cloud.Spanner.V1
- generator-input
7 files changed
+37
-11
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
3 | 29 | | |
4 | 30 | | |
5 | 31 | | |
| |||
206 | 232 | | |
207 | 233 | | |
208 | 234 | | |
209 | | - | |
| 235 | + | |
210 | 236 | | |
211 | 237 | | |
212 | 238 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5015 | 5015 | | |
5016 | 5016 | | |
5017 | 5017 | | |
5018 | | - | |
| 5018 | + | |
5019 | 5019 | | |
5020 | 5020 | | |
5021 | 5021 | | |
| |||
5043 | 5043 | | |
5044 | 5044 | | |
5045 | 5045 | | |
5046 | | - | |
| 5046 | + | |
5047 | 5047 | | |
5048 | 5048 | | |
5049 | 5049 | | |
| |||
5068 | 5068 | | |
5069 | 5069 | | |
5070 | 5070 | | |
5071 | | - | |
| 5071 | + | |
5072 | 5072 | | |
5073 | 5073 | | |
5074 | 5074 | | |
| |||
5104 | 5104 | | |
5105 | 5105 | | |
5106 | 5106 | | |
5107 | | - | |
| 5107 | + | |
5108 | 5108 | | |
5109 | 5109 | | |
5110 | 5110 | | |
| |||
5120 | 5120 | | |
5121 | 5121 | | |
5122 | 5122 | | |
5123 | | - | |
| 5123 | + | |
5124 | 5124 | | |
5125 | 5125 | | |
5126 | 5126 | | |
| |||
0 commit comments