Skip to content

Releases: googleapis/java-spanner

v1.57.0

30 Jun 04:31
9483925
Compare
Choose a tag to compare

1.57.0 (2020-06-29)

Features

  • deps: adopt flatten plugin and google-cloud-shared-dependencies and update ExecutorProvider (#302) (5aef6c3)

v1.56.0

19 Jun 01:16
caf75c4
Compare
Choose a tag to compare

1.56.0 (2020-06-17)

Features

Bug Fixes

  • backend now supports optimizer version for DML (#252) (24b986b)
  • include an explicit version for javax-annotations-api (#261) (e256d22)
  • inconsistent json and yaml spanner configs (#238) (627fdc1)
  • test allowed a too old staleness (#214) (f4fa6bf)
  • use millis to prevent rounding errors (#260) (22ed458)

Dependencies

v1.55.1

25 May 23:46
4be2f73
Compare
Choose a tag to compare

1.55.1 (2020-05-21)

Bug Fixes

  • PDML retry settings were not applied for aborted tx (#232) (308a465), closes #199
  • remove the need for any env var in all tests (#235) (374fb40)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.4.0 (#224) (2cf04aa)

v1.55.0

19 May 03:16
2e533b7
Compare
Choose a tag to compare

1.55.0 (2020-05-19)

Features

  • mark when a Spanner client is closed (#198) (50cb174)

Bug Fixes

  • make it possible to override backups methods (#195) (2d19c25)
  • Partitioned DML timeout was not always respected (#203) (13cb37e), closes #199
  • partitionedDml stub was not closed (#213) (a2d9a33)
  • reuse clientId for invalidated databases (#206) (7b4490d)
  • use nanos to prevent truncation errors (#204) (a608460), closes #200

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.3.1 (#190) (ad41a0d)

v1.54.0

06 May 01:16
3b258cf
Compare
Choose a tag to compare

1.54.0 (2020-05-05)

Features

  • deps: import shared-dependencies bom and use maven-flatten-plugin (#172) (060a81a)

Bug Fixes

v1.53.0

22 Apr 14:01
5806b0e
Compare
Choose a tag to compare

1.53.0 (2020-04-22)

Features

  • optimize maintainer to let sessions be GC'ed instead of deleted (#135) (d65747c)

Bug Fixes

Performance Improvements

Dependencies

  • update core dependencies (#109) (5753f1f)
  • update core dependencies (#132) (77c1558)
  • update dependency com.google.api:api-common to v1.9.0 (#127) (b2c744f)
  • update dependency com.google.guava:guava-bom to v29 (#147) (3fe3ae0)
  • update dependency io.grpc:grpc-bom to v1.29.0 (#164) (2d2ce5c)
  • update dependency org.threeten:threetenbp to v1.4.3 (#120) (49d1abc)

v1.52.0

20 Mar 14:01
1d3c4ac
Compare
Choose a tag to compare

1.52.0 (2020-03-20)

Features

Bug Fixes

  • add client id to metrics to avoid collisions (#117) (338e136), closes #106
  • ignore added interface methods for generated code (#101) (402cfa1), closes #99
  • use grpc 1.27.2 to prevent version conflicts (#105) (37b7c88)

Dependencies

v1.51.0

13 Mar 14:01
b9c141c
Compare
Choose a tag to compare

1.51.0 (2020-03-13)

IMPORTANT: Known issue with this version of the client

Since v1.50.0, users exporting OpenCensus metrics from the client library may come across the error:

java.lang.IllegalArgumentException: A different metric with the same name already registered.

if more than one instance client is initialized within the same process. A fix is submitted and is pending an OpenCensus release.

If you rely on OpenCensus metrics, please update to v1.52.0 which contains a fix.

Apologies for the inconvenience.

Features

Bug Fixes

  • never use credentials in combination with plain text (#98) (7eb8d49)

Dependencies

  • update dependency com.google.cloud:google-cloud-core-bom to v1.93.1 (#91) (29d8db8)
  • update dependency io.opencensus:opencensus-api to v0.25.0 (#95) (57f5fd0)

v1.50.0

02 Mar 15:01
77bc049
Compare
Choose a tag to compare

1.50.0 (2020-02-28)

IMPORTANT: Known issue with this version of the client

Since v1.50.0, users exporting OpenCensus metrics from the client library may come across the error:

java.lang.IllegalArgumentException: A different metric with the same name already registered.

if more than one instance client is initialized within the same process. A fix is submitted and is pending an OpenCensus release.

If you rely on OpenCensus metrics, please update to v1.52.0 which contains a fix.

Apologies for the inconvenience.

Features

  • add metrics to capture acquired and released sessions data (#67) (94d0557)
  • add session timeout metric (#65) (8d84b53)
  • instrument Spanner client with OpenCensus metrics (#54) (d9a00a8)

Bug Fixes

  • multiple calls to end of span (#75) (3f32f51)
  • prevent potential thread starvation in SessionPool (#85)(248048a)

Dependencies

  • update core dependencies (#87) (b096651)
  • update dependency com.google.cloud:google-cloud-core-bom to v1.92.5 (56742c9)
  • update dependency com.google.http-client:google-http-client-bom to v1.34.2 (#88) (628093d)
  • update dependency com.google.protobuf:protobuf-bom to v3.11.4 (#77) (fb2c683)
  • update dependency io.grpc:grpc-bom to v1.27.1 (054b7e7)
  • update opencensus.version to v0.25.0 (#70) (26a3eff)

Documentation

  • regen: update sample code to set total timeout, add API client header test (#66) (1178958)

v1.49.2

06 Feb 15:01
ce93f87
Compare
Choose a tag to compare

1.49.2 (2020-02-06)

Bug Fixes

  • stop sending RPCs on InstanceNotFound (#61) (7618ac8), closes #60
  • use default retry settings for aborted tx (#48) (6709552)
  • use resource type to identify type of error (#57) (89c3e77)
  • use streaming retry settings for ResumableStreamIterator (#49) (63b33e9)

Dependencies