Changelog

6.60.0 (2024-02-21)

Features

  • Add an API method for reordering firewall policies (62319f0)
  • spanner: Add field for multiplexed session in spanner.proto (62319f0)
  • Update TransactionOptions to include new option exclude_txn_from_change_streams (#2853) (62319f0)

Bug Fixes

  • Add ensureDecoded to proto type (#2897) (e99b78c)
  • spanner: Fix write replace used by dataflow template and import export (#2901) (64b9042)

Dependencies

  • Update dependency com.google.cloud:google-cloud-trace to v2.36.0 (#2749) (51a348a)

Documentation

  • Update comments (62319f0)
  • Update the comment regarding eligible SQL shapes for PartitionQuery (62319f0)

6.59.0 (2024-02-15)

Features

  • Support public methods to use autogenerated admin clients. (#2878) (53bcb3e)

Dependencies

  • Update dependency com.google.cloud:sdk-platform-java-config to v3.25.0 (#2888) (8e2da51)

Documentation

  • README for OpenTelemetry metrics and traces (#2880) (c8632f5)
  • Samples and tests for database Admin APIs. (#2775) (14ae01c)

6.58.0 (2024-02-08)

Features

  • Open telemetry implementation (#2770) (244d6a8)
  • spanner: Support max_commit_delay in Spanner transactions (#2854) (e2b7ae6)
  • Support Directed Read in Connection API (#2855) (ee477c2)

Bug Fixes

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.24.0 (#2856) (968877e)

6.57.0 (2024-01-29)

Features

  • Add FLOAT32 enum to TypeCode (#2800) (383fea5)
  • Add support for Proto Columns (#2779) (30d37dd)
  • spanner: Add proto descriptors for proto and enum types in create/update/get database ddl requests (#2774) (4a906bf)

Bug Fixes

  • Remove google-cloud-spanner-executor from the BOM (#2844) (655000a)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.22.0 (#2785) (f689f74)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.23.0 (#2801) (95f064f)

Documentation

6.56.0 (2024-01-05)

Features

  • Add autoscaling config in the instance to support autoscaling in systests (#2756) (99ae565)
  • Add support for Directed Read options (#2766) (26c6c63)
  • Update OwlBot.yaml file to pull autogenerated executor code (#2754) (20562d4)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.21.0 (#2772) (173f520)

Documentation

  • Samples and tests for auto-generated createDatabase and createInstance APIs. (#2764) (74a586f)

6.55.0 (2023-12-01)

Features

Bug Fixes

  • deps: Update the Java code generator (gapic-generator-java) to 2.30.0 (#2703) (961aa78)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.20.0 (#2746) (12bcabb)
  • Update dependency commons-io:commons-io to v2.15.1 (#2745) (b9d9571)

6.54.0 (2023-11-15)

Features

  • Enable session leaks prevention by cleaning up long-running tra… (#2655) (faa7e5d)

Bug Fixes

  • Copy backup issue when backup is done across different instance IDs (#2732) (7f6b158)
  • Respect SPANNER_EMULATOR_HOST env var when autoConfigEmulator=true (#2730) (9c19934)

Dependencies

  • Update dependency com.google.cloud:google-cloud-trace to v2.30.0 (#2725) (8618042)

6.53.0 (2023-11-06)

Features

  • Move session lastUseTime parameter from PooledSession to SessionImpl class. Fix updation of the parameter for chained RPCs within one transaction. (#2704) (e75a281)
  • Rely on graal-sdk version declaration from property in java-shared-config (#2696) (cfab83a)

Bug Fixes

  • Prevent illegal negative timeout values into thread sleep() method in ITTransactionManagerTest. (#2715) (1c26cf6)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.19.0 (#2719) (e320753)
  • Update dependency com.google.cloud:google-cloud-trace to v2.28.0 (#2670) (078b7ca)
  • Update dependency com.google.cloud:google-cloud-trace to v2.29.0 (#2714) (b400eca)
  • Update dependency commons-cli:commons-cli to v1.6.0 (#2710) (e3e8f6a)
  • Update dependency commons-io:commons-io to v2.15.0 (#2712) (a5f59aa)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.28 (#2692) (d8a2b02)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.28 (#2705) (2b17f09)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.10.1 (#2723) (9cf6d0e)

6.52.1 (2023-10-20)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.18.0 (#2691) (b425021)

6.52.0 (2023-10-19)

Features

6.51.0 (2023-10-14)

Features

  • spanner: Add autoscaling config to the instance proto (#2674) (8d38ca3)

Bug Fixes

  • Always include default client lib header (#2676) (74fd174)

6.50.1 (2023-10-11)

Bug Fixes

  • Noop in case there is no change in autocommit value for setAutocommit() method (#2662) (9f51b64)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.17.0 (#2660) (96b9dd6)
  • Update dependency commons-io:commons-io to v2.14.0 (#2649) (fa1b73c)

6.50.0 (2023-10-09)

Features

  • Support setting core pool size for async API in system property (#2632) (e51c55d), closes #2631

Dependencies

  • Update dependency com.google.cloud:google-cloud-trace to v2.24.0 (#2577) (311c2ad)

6.49.0 (2023-09-28)

Features

  • Add session pool option for modelling a timeout around session acquisition. (#2641) (428e294)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1 (#2637) (3f48624)

Documentation

  • Improve timeout and retry sample (#2630) (f03ce56)
  • Remove reference to returning clauses for Batch DML (#2644) (038d8ca)

6.48.0 (2023-09-26)

Features

Bug Fixes

  • Retry aborted errors for writeAtLeastOnce (#2627) (2addb19)

Dependencies

  • Update actions/checkout action to v4 (#2608) (59f3e70)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.27 (#2574) (e804a4c)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.27 (#2575) (6fe132a)

6.47.0 (2023-09-12)

Features

  • Add devcontainers for enabling github codespaces usage. (#2605) (a7d60f1)
  • Disable dynamic code loading properties by default (#2606) (d855ebb)

Bug Fixes

  • Add reflection configurations for com.google.rpc classes (#2617) (c42460a)
  • Avoid unbalanced session pool creation (#2442) (db751ce)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.15.0 (#2615) (ac762fb)

6.46.0 (2023-09-06)

Features

Bug Fixes

Documentation

6.45.3 (2023-08-17)

Bug Fixes

  • Use streaming read/query settings for stream retry (#2579) (f78b838)

6.45.2 (2023-08-14)

Bug Fixes

  • GetColumnCount would fail for empty partititioned result sets (#2588) (9a2f3fc)

6.45.1 (2023-08-11)

Bug Fixes

6.45.0 (2023-08-04)

Features

  • Enable leader aware routing by default in Connection API. This enables its use in the JDBC driver and PGAdapter. The update contains performance optimisations that will reduce the latency of read/write transactions that originate from a region other than the default leader region. (2a85446)
  • Enable leader aware routing by default. This update contains performance optimisations that will reduce the latency of read/write transactions that originate from a region other than the default leader region. (441c1b0)
  • Long running transaction clean up background task. Adding configuration options for closing inactive transactions. (#2419) (423e1a4)
  • Support partitioned queries + data boost in Connection API (#2540) (4e31d04)

Bug Fixes

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.14.0 (#2562) (dbd5c75)
  • Update dependency org.openjdk.jmh:jmh-core to v1.37 (#2565) (d5c36bf)
  • Update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.37 (#2566) (73e92d4)

6.44.0 (2023-07-27)

Features

  • Enable leader aware routing by default. This update contains performance optimisations that will reduce the latency of read/write transactions that originate from a region other than the default leader region. (55c93ac)
  • Foreign key on delete cascade (#2340) (f659105)

Bug Fixes

Documentation

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.22.0 (#2525) (be0db6f)
  • Update dependency com.google.cloud:google-cloud-monitoring to v3.23.0 (#2542) (67351dd)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.1 (#2537) (9396d8d)
  • Update dependency com.google.cloud:google-cloud-trace to v2.21.0 (#2526) (2d95234)
  • Update dependency com.google.cloud:google-cloud-trace to v2.22.0 (#2543) (47c6a43)
  • Update dependency org.graalvm.sdk:graal-sdk to v22.3.3 (#2533) (0806b11)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.10.0 (#2539) (8801b2b)

6.43.2 (2023-07-09)

Bug Fixes

  • Recognize ABORT statements for PostgreSQL (#2479) (da47b0a)

Documentation

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.0 (#2521) (bdb2461)

6.43.1 (2023-06-26)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.20.0 (#2492) (faa6807)
  • Update dependency com.google.cloud:google-cloud-monitoring to v3.21.0 (#2510) (f10400b)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.12.0.with temp exclusions. (#2512) (ce04645)
  • Update dependency com.google.cloud:google-cloud-trace to v2.19.0 (#2493) (1dc7cea)
  • Update dependency com.google.cloud:google-cloud-trace to v2.20.0 (#2511) (2ea52ec)
  • Update dependency commons-io:commons-io to v2.13.0 (#2490) (b087b0e)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.23 (#2500) (0b794a6)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.23 (#2501) (9db5c78)
  • Update dependency org.json:json to v20230618 (#2504) (8a87fee)

6.43.0 (2023-06-07)

Features

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.11.0 (#2486) (82400d5)

6.42.3 (2023-05-31)

Performance Improvements

  • Only capture the call stack if the call is actually async (#2471) (ae9c8ad)

6.42.2 (2023-05-30)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.19.0 (#2466) (6de2cf6)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.10.1 (#2465) (0a89f49)
  • Update dependency com.google.cloud:google-cloud-trace to v2.18.0 (#2467) (45609ed)

6.42.1 (2023-05-22)

Dependencies

  • Update dependency commons-io:commons-io to v2.12.0 (#2439) (d08b226)

6.42.0 (2023-05-15)

Features

  • Add support for UpdateDatabase in Cloud Spanner (#2265) (2ea06e7)
  • Add support for UpdateDatabase in Cloud Spanner (#2429) (09f20bd)

Bug Fixes

  • Add error details for INTERNAL error (#2413) (ed62aa6)
  • Use javax.annotation.Nonnull in executor framework (#2414) (afcc598)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.18.0 (#2426) (05a45f8)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.9.0 (#2427) (42dbfe3)
  • Update dependency com.google.cloud:google-cloud-trace to v2.17.0 (#2428) (6f7fee8)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.22 (#2423) (679bb36)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.22 (#2424) (a72f4ff)
  • Update dependency org.graalvm.sdk:graal-sdk to v22.3.2 (#2391) (c082a1f)

6.41.0 (2023-04-28)

Features

Dependencies

  • Update dependency com.google.api.grpc:proto-google-cloud-spanner-executor-v1 to v1.4.0 (#2395) (02dc53c)
  • Update dependency com.google.cloud:google-cloud-monitoring to v3.17.0 (#2406) (d46097f)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.8.0 (#2400) (b815cb8)
  • Update dependency com.google.cloud:google-cloud-trace to v2.16.0 (#2407) (7993be2)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.9.3 (#2401) (8aa7a1d)

6.40.1 (2023-04-17)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.16.0 (#2383) (5d5c33a)
  • Update dependency com.google.cloud:google-cloud-trace to v2.15.0 (#2384) (6b4ce1f)

6.40.0 (2023-04-14)

Features

Performance Improvements

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.7.0 (#2377) (40402af)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.21 (#2379) (ae7262d)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.21 (#2380) (0cb159e)

6.39.0 (2023-04-11)

Features

  • Capture stack trace for session checkout is now optional (#2350) (6b6427a)

6.38.2 (2023-04-01)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.15.0 (#2356) (e4c001a)
  • Update dependency com.google.cloud:google-cloud-trace to v2.14.0 (#2357) (dbb8e66)

6.38.1 (2023-03-29)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.6.0 (#2352) (19175ce)

6.38.0 (2023-03-20)

Features

  • Add option to wait on session pool creation (#2329) (ff17244)
  • Add PartitionedUpdate support to executor (#2228) (2c8ecf6)
  • Adding support for databoost enabled in PartitionedRead and PartitionedQuery (#2316) (f39e4a3)

Bug Fixes

  • Correcting the proto field Id for field data_boost_enabled (#2328) (6159d7e)
  • Update executeCloudBatchDmlUpdates. (#2326) (27ef53c)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.14.0 (#2333) (9c81109)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.5.0 (#2335) (5eac2be)
  • Update dependency com.google.cloud:google-cloud-trace to v2.13.0 (#2334) (c461ba0)

6.37.0 (2023-03-03)

Features

  • Adding new fields for Serverless analytics (#2315) (ce9cd74)

Bug Fixes

Dependencies

  • Update dependency com.google.api.grpc:proto-google-cloud-spanner-executor-v1 to v1.3.0 (#2306) (8372250)
  • Update dependency com.google.cloud:google-cloud-monitoring to v3.13.0 (#2311) (6ba613b)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.4.0 (#2312) (266c49c)
  • Update dependency com.google.cloud:google-cloud-trace to v2.12.0 (#2313) (e5f76c6)
  • Update dependency org.json:json to v20230227 (#2310) (badcc14)

6.36.1 (2023-02-21)

Bug Fixes

  • Prevent illegal negative timeout values into thread sleep() method while retrying exceptions in unit tests. (#2268) (ce66098)

Dependencies

  • Update dependency com.google.api.grpc:proto-google-cloud-spanner-executor-v1 to v1.2.0 (#2256) (f0ca86a)
  • Update dependency com.google.cloud:google-cloud-monitoring to v3.12.0 (#2284) (0be701a)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.3.0 (#2285) (bb5d5c6)
  • Update dependency com.google.cloud:google-cloud-trace to v2.11.0 (#2286) (3c80932)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.20 (#2280) (685d1ea)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.20 (#2281) (f2aabc2)

6.36.0 (2023-02-08)

Features

  • Support UNRECOGNIZED types + decode BYTES columns lazily (#2219) (fc721c4)

Bug Fixes

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.11.0 (#2262) (d566613)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.2.0 (#2264) (b5fdbc0)
  • Update dependency com.google.cloud:google-cloud-trace to v2.10.0 (#2263) (96f0c81)

6.35.2 (2023-01-24)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.10.0 (#2249) (d18780e)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.2 (#2246) (1adaf7c)
  • Update dependency com.google.cloud:google-cloud-trace to v2.9.0 (#2250) (3cd5ab0)

6.35.1 (2023-01-18)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.9.0 (#2230) (717f70f)
  • Update dependency com.google.cloud:google-cloud-trace to v2.8.0 (#2231) (557ea16)
  • Update dependency org.graalvm.sdk:graal-sdk to v22.3.1 (#2238) (d5f5237)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.9.2 (#2223) (3278f91)

6.35.0 (2023-01-12)

Features

  • Add support for new cloud client test framework in google-cloud-spanner-executor (#2217) (d75ebc1)
  • spanner: Add samples for fine grained access control (#2172) (77969e3)

Bug Fixes

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.8.0 (#2192) (fe7e755)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.1 (#2222) (7d3bcca)
  • Update dependency com.google.cloud:google-cloud-trace to v2.7.0 (#2193) (da2b924)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.19 (#2180) (43b54e9)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.19 (#2181) (b42eb38)

6.34.1 (2022-12-13)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 (#2187) (4d9df2b)

6.34.0 (2022-12-12)

Features

Bug Fixes

  • Remove the statement of session number limits (#1928) (ddd0625), closes #1927
  • Update samples/snippets pom.xml configuration to avoid fat jar (#2100) (19058b4)
  • Use a proper endpoint for DirectPath tests (#2186) (4d74a0d)

Dependencies

  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.18 (#2171) (f348780)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.18 (#2145) (dcdd2c3)

6.33.0 (2022-11-17)

Features

  • Adding samples for Jsonb data type (#2147) (1112203)
  • Analyze update returns param types (#2156) (7c5e3da)
  • Support DML with Returning clause in Connection API (#1978) (aac20be)
  • Support PostgreSQL END statement (#2131) (4c29c17)
  • Update transaction.proto to include different lock modes (#2112) (d0195b4)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.7.0 (#2164) (82385b8)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.6 (#2150) (dba545f)
  • Update dependency com.google.cloud:google-cloud-trace to v2.6.0 (#2165) (99f2779)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.17 (#2144) (dd24b89)
  • Update dependency org.openjdk.jmh:jmh-core to v1.36 (#2160) (29f9096)
  • Update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.36 (#2161) (9148aa3)

6.32.0 (2022-10-27)

Features

  • Enable client to server compression (#2117) (50f8425)
  • Increase default number of channels when gRPC-GCP channel pool is enabled (#1997) (44f27fc)
  • Update result_set.proto to return undeclared parameters in ExecuteSql API (#2101) (826eb93)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.4.6 (#2093) (b08db44)
  • Update dependency com.google.cloud:google-cloud-monitoring to v3.5.0 (#2113) (99d825b)
  • Update dependency com.google.cloud:google-cloud-monitoring to v3.6.0 (#2125) (7d86fe4)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 (#2122) (308a65c)
  • Update dependency com.google.cloud:google-cloud-trace to v2.3.7 (#2094) (6ec3f3f)
  • Update dependency com.google.cloud:google-cloud-trace to v2.4.0 (#2114) (84347f1)
  • Update dependency com.google.cloud:google-cloud-trace to v2.5.0 (#2126) (5167928)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.15 (#2109) (bf092ad)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.16 (#2119) (b2d27e8)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.15 (#2110) (d28b202)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.16 (#2120) (151cf77)
  • Update dependency org.graalvm.sdk:graal-sdk to v22.2.0.1 (#2102) (68c2089)
  • Update dependency org.graalvm.sdk:graal-sdk to v22.3.0 (#2116) (9d6930b)

6.31.2 (2022-10-05)

Bug Fixes

  • update protobuf to v3.21.7 (ac71008)

6.31.1 (2022-10-03)

Dependencies

  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 (#2090) (8f46938)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.14 (#2031) (c5e9ba1)

6.31.0 (2022-09-29)

Features

  • Support customer managed instance configurations (#1742) (c1c805c)

Dependencies

  • Update dependency com.google.cloud:google-cloud-trace to v2.3.4 (#2027) (14890ed)
  • Update dependency com.google.cloud:google-cloud-trace to v2.3.5 (#2083) (cef4e0a)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.14 (#2030) (04b59ff)
  • Update dependency org.json:json to v20220924 (#2035) (a26a14a)

6.30.2 (2022-09-21)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.4.5 (#2022) (0536962)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.9.1 (#2023) (3fb4235)

6.30.1 (2022-09-20)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.4.4 (#2014) (9cebad4)
  • Update dependency com.google.cloud:google-cloud-trace to v2.3.3 (#2004) (54f9095)

6.30.0 (2022-09-16)

Features

Bug Fixes

  • Retries of updates in the Connection API ignored analyze mode (#2010) (d54f252)

Dependencies

  • Update dependency com.google.cloud:google-cloud-monitoring to v3.4.3 (#2003) (2f04f18)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 (#2002) (342190a)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 (#2013) (16db975)

6.29.1 (2022-09-02)

Dependencies

  • Update dependency com.google.cloud (e90575d)

6.29.0 (2022-08-29)

Features

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.4.1 (#1968) (e93ab4c)
  • update dependency com.google.cloud:google-cloud-trace to v2.3.1 (#1967) (6479d19)

6.28.0 (2022-08-11)

Features

  • Add ListDatabaseRoles API to support role based access control (cb13534)
  • support multiple PostgreSQL transaction options (#1949) (8b99f30)

Bug Fixes

  • target new spanner db admin service config (#1956) (cb13534)
  • Use the key instead of the value to verify the number of channels created in ChannelUsageTest. (#1965) (ea329bb)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.3.6 (#1962) (5bb9844)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v3 (#1960) (327b5f0)
  • update dependency org.junit.vintage:junit-vintage-engine to v5.9.0 (#1959) (f908626)

6.27.0 (2022-07-19)

Features

  • Adding new fields for Instance Create Time and Update Time (#1913) (2c71e02)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.3.1 (#1933) (e3d646b)
  • update dependency org.graalvm.buildtools:junit-platform-native to v0.9.13 (#1944) (765d11b)
  • update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.13 (#1945) (0da75b8)
  • update dependency org.graalvm.sdk:graal-sdk to v22.2.0 (#1953) (c7f1040)

6.26.0 (2022-07-13)

Features

  • Adding two new fields for Instance create_time and update_time (#1908) (00b3817)
  • changes to support data, timestamp and arrays in IT tests (#1840) (c667653)
  • Error Details Improvement (c8a2184)
  • Error Details Improvement (#1929) (c8a2184)

Bug Fixes

Dependencies

  • update dependency com.google.cloud:google-cloud-trace to v2.3.0 (#1934) (2813eb2)

6.25.7 (2022-06-30)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 (#1924) (dde5ee8)
  • update dependency org.graalvm.buildtools:junit-platform-native to v0.9.12 (#1906) (1800cd9)

6.25.6 (2022-06-22)

Bug Fixes

  • PostgreSQL parser should not treat \ as an escape char (#1921) (260bbe3), closes #1920

Documentation

  • sample: relocate native image sample from old repo (#1758) (ef187f4)

Dependencies

  • update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.11 (#1907) (01f8a07)
  • update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.12 (#1918) (be8b50b)

6.25.5 (2022-05-31)

Bug Fixes

  • add configurations for Explain feature (#1899) (86895b7)
  • gracefully ignore RejectedExecutionException during Connection#close() (#1887) (091bd1d)

6.25.4 (2022-05-26)

Dependencies

  • update dependency org.graalvm.sdk:graal-sdk to v22.1.0.1 (#1894) (cddb745)

6.25.3 (2022-05-25)

Bug Fixes

  • add native image configurations for Spanner classes (#1858) (92d0292)

6.25.2 (2022-05-25)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.3.0 (#1888) (1b109e9)
  • update dependency com.google.cloud:google-cloud-trace to v2.2.0 (#1889) (f89f70e)

6.25.1 (2022-05-23)

Dependencies

  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.35 (#1790) (d68095b)

6.25.0 (2022-05-20)

Features

Bug Fixes

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 (#1880) (daccd1b)
  • update opencensus.version to v0.31.1 (#1863) (2d2b526)

6.24.0 (2022-05-05)

Features

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.2.8 (#1831) (088fb50)
  • update dependency com.google.cloud:google-cloud-monitoring to v3.2.9 (#1851) (4d6bb2d)
  • update dependency com.google.cloud:google-cloud-trace to v2.1.11 (#1799) (049635d)

Documentation

6.23.3 (2022-04-21)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 (#1830) (3c55eb3)

Documentation

6.23.2 (2022-04-11)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.2.7 (#1810) (0acb53d)
  • update dependency org.openjdk.jmh:jmh-core to v1.35 (#1789) (3511fe6)

6.23.1 (2022-03-29)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.2.6 (#1797) (48097de)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.9.0 (#1791) (603e91c)

6.23.0 (2022-03-28)

Features

6.22.0 (2022-03-25)

Features

Bug Fixes

  • Correct recording values in opencensus measureMap in HeaderInterceptor (#1726) (bdb2b89)
  • return errors from BatchCreateSession to dialect detection (#1760) (6550a9d), closes #1759

Dependencies

  • update dependency com.google.cloud:google-cloud-trace to v2.1.7 (#1748) (a794387)
  • update dependency com.google.cloud:google-cloud-trace to v2.1.8 (#1757) (2b54949)
  • update dependency com.google.cloud:google-cloud-trace to v2.1.9 (#1782) (d623b7e)
  • update dependency org.json:json to v20220320 (#1761) (6eee5eb)

6.21.2 (2022-03-10)

Dependencies

  • update dependency com.google.cloud:google-cloud-trace to v2.1.6 (#1743) (6b0f813)

6.21.1 (2022-03-09)

Dependencies

  • update dependency com.google.cloud:google-cloud-trace to v2.1.5 (#1739) (b553c03)

6.21.0 (2022-03-08)

Features

  • parse query parameters in PostgreSQL query (#1732) (7357ac6)
  • Track PG Adapter usage from user-agent headers (#1711) (cb640ab)

Bug Fixes

  • annotating some fields as REQUIRED (#1695) (8b90b6c)
  • catch ExecutionException for op.getName (#1729) (8ea3ac0)
  • PostgreSQL supports newline in quoted literals and identifiers (#1731) (f403d99)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.2.4 (#1719) (20336cd)
  • update dependency com.google.cloud:google-cloud-monitoring to v3.2.5 (#1727) (92a9f14)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.8.0 (#1722) (9704974)
  • update dependency com.google.cloud:google-cloud-trace to v2.1.4 (#1728) (d193a26)

6.20.0 (2022-02-22)

Features

  • allows for getting json columns using getValue (#1699) (a51973b)

Bug Fixes

  • java: make system property accessible for native image compilation (#1694) (e3fb2b2)
  • use information_schema instead of pg_catalog for dialect detection (#1708) (91e157a)

6.19.1 (2022-02-18)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.2.3 (#1698) (cd4f4ca)
  • update dependency com.google.cloud:google-cloud-trace to v2.1.3 (#1684) (e70e5c4)

6.19.0 (2022-02-16)

Features

Bug Fixes

  • allow getting metadata without calling next() (#1691) (4cfe74e)
  • do not delete session in close method for BatchReadOnlyTransactionImpl (#1688) (5dc3e19)
  • untyped null parameters would cause NPE (#1680) (7095f94), closes #1679

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.2.2 (#1666) (8ea2220)
  • update dependency com.google.cloud:google-cloud-trace to v2.1.2 (#1664) (4f46635)

6.18.0 (2022-02-03)

Features

Dependencies

  • java: update actions/github-script action to v5 (#1339) (#1659) (203b346)
  • update actions/github-script action to v5 (#1658) (a2f3790)
  • update dependency com.google.cloud:google-cloud-monitoring to v3.2.1 (#1637) (73c9434)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 (#1662) (ece31c0)
  • update opencensus.version to v0.31.0 (#1661) (1e86a3a)

6.17.4 (2022-01-07)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.6.0 (#1632) (c7d4d4d)
  • update dependency com.google.cloud:google-cloud-trace to v2.1.1 (#1633) (4607c21)

6.17.3 (2021-12-17)

Bug Fixes

Dependencies

6.17.2 (2021-12-15)

Dependencies

6.17.1 (2021-12-08)

Dependencies

  • update dependency com.google.cloud:google-cloud-trace to v2.1.0 (#1574) (eaf2831)

6.17.0 (2021-12-06)

Features

  • NaNs in Mutations are equal and have the same hashcode (#1554) (91a18fc)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.2.0 (#1571) (0e0d9f7)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 (#1570) (563879e)
  • update dependency org.json:json to v20211205 (#1572) (59593bd)

6.16.0 (2021-11-15)

Features

  • support RPC priority for JDBC connections and statements (#1548) (b61a0d4)

6.15.2 (2021-11-10)

Bug Fixes

6.15.1 (2021-10-27)

Dependencies

6.15.0 (2021-10-27)

Features

6.14.0 (2021-10-25)

Features

  • Introduce Native Image testing build script changes (#1500) (7a034c9)

Bug Fixes

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.1.0 (#1506) (ea35b27)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.4.0 (#1501) (d5a37b8)
  • update dependency com.google.cloud:google-cloud-trace to v2.0.6 (#1504) (667b8b1)

6.13.0 (2021-10-07)

Features

Bug Fixes

  • keep track of any BeginTransaction option for a Read (#1485) (757d6ec)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.0.7 (#1491) (58f0e5a)

6.12.5 (2021-09-27)

Bug Fixes

  • sessions were not always removed from checkedOutSessions (#1438) (49360b1)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.0.6 (#1443) (159c026)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.3.0 (#1439) (6bdeddf)
  • update dependency com.google.cloud:google-cloud-trace to v2.0.5 (#1459) (2ce9a1b)

6.12.4 (2021-09-16)

Bug Fixes

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.0.5 (#1431) (32eee0a)

6.12.3 (2021-09-15)

Bug Fixes

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.0.4 (#1422) (d57d47e)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.1 (#1420) (85b4f31)
  • update dependency com.google.cloud:google-cloud-trace to v2.0.4 (#1425) (ce8776a)

6.12.2 (2021-09-01)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.0.3 (#1402) (417fc5a)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 (#1397) (cc543c7)
  • update dependency com.google.cloud:google-cloud-trace to v2.0.3 (#1399) (2874720)

6.12.1 (2021-08-25)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3.0.2 (#1372) (8d08076)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.1.0 (#1369) (c94ad5b)
  • update dependency com.google.cloud:google-cloud-trace to v2.0.2 (#1373) (1b7933d)

6.12.0 (2021-08-24)

Features

6.11.1 (2021-08-17)

Dependencies

  • update dependency org.openjdk.jmh:jmh-core to v1.33 (#1338) (fa88b73)
  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.33 (#1339) (94cfecc)

6.11.0 (2021-08-12)

Features

Documentation

  • use 'latest' stats package in samples to prevent build failures (#1313) (6a8351c), closes #1273

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v3 (#1341) (de7b540)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2 (#1331) (cd1ad7b)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v2.0.1 (#1344) (300837f)
  • update dependency com.google.cloud:google-cloud-trace to v2 (#1342) (d24886b)

6.10.1 (2021-07-21)

Dependencies

  • update dependency com.google.cloud:grpc-gcp to v1.1.0 (#1306) (fa0c65d)

6.10.0 (2021-07-19)

Features

  • exposes default leader in database, and leader options / replicas in instance config (#1283) (d72c2f7)

Bug Fixes

Dependencies

  • update dependency com.google.cloud:google-cloud-trace to v1.4.2 (#1291) (c4208ed)

6.9.1 (2021-07-05)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.3.4 (#1278) (c692336)

6.9.0 (2021-07-05)

Features

  • add support for tagging to Connection API (#623) (5722372)
  • spanner: add leader_options to InstanceConfig and default_leader to Database (#1271) (f257671)
  • support setting an async executor provider (#1263) (369c8a7)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v1.4.0 (#1269) (025e162)

6.8.0 (2021-06-29)

Features

Bug Fixes

  • Add shopt -s nullglob to dependencies script (#1256) (d1712f7)

6.7.0 (2021-06-21)

Features

  • add support for instance processing units (#665) (9c1c8e9)
  • spanner: add processing_units to Instance resource (#1248) (e3c7e8f)

Bug Fixes

  • Update dependencies.sh to not break on mac (#1249) (1e1df84)

6.6.1 (2021-06-10)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.3.3 (#1241) (9816b3f)

6.6.0 (2021-06-07)

Features

  • adds query optimizer statistics support (#385) (e294532)
  • support encoded credentials in connection URL (#1223) (43d5d7e)

Documentation

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.3.0 (#1225) (2023839)
  • update dependency com.google.cloud:google-cloud-monitoring to v2.3.2 (#1229) (8a23ad0)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v1.3.0 (#1230) (db64451)
  • update dependency com.google.cloud:google-cloud-trace to v1.4.0 (#1226) (da4407a)
  • update dependency com.google.cloud:google-cloud-trace to v1.4.1 (#1231) (76af3ac)
  • update dependency org.openjdk.jmh:jmh-core to v1.32 (#1221) (b009c9b)
  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.32 (#1222) (7ef76a9)

6.5.0 (2021-05-25)

Features

Bug Fixes

  • stop invoking callback after pausing and cancelling result set (#1192) (78e6784), closes #1191

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v1.2.0 (#1194) (9935066)

6.4.4 (2021-05-17)

Bug Fixes

6.4.3 (2021-05-16)

Bug Fixes

  • re-adds test utility method for connection (#1178) (0e0dcb7)

6.4.2 (2021-05-14)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.2.3 (#1170) (3bb6885)
  • update dependency com.google.cloud:google-cloud-trace to v1.3.4 (#1171) (6faa310)

6.4.1 (2021-05-13)

Documentation

  • close Spanner instance when it is no longer needed (#1116) (85bd0cf)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.2.2 (#1158) (63eed2e)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 (#1152) (2e7f18a)
  • update dependency org.openjdk.jmh:jmh-core to v1.30 (#1137) (699a426)
  • update dependency org.openjdk.jmh:jmh-core to v1.31 (#1160) (43a0fb9)
  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.30 (#1138) (ad6649d)
  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.31 (#1161) (4d17da2)

6.4.0 (2021-04-29)

Features

Bug Fixes

  • allow using case-insensitive user-agent key (#1110) (f4f9e43)
  • check for timeout in connection after last statement finished (#1086) (aec0b54), closes #1077
  • check for timeout in connection after last statement finished (#1086) (51d753c), closes #1077
  • do not keep references to invalidated clients (#1093) (b4595a6), closes #1089
  • prevent potential NullPointerException in Struct with Array field that contains null elements (#1107) (c414abb), closes #1106

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.2.1 (#1104) (37ca990)
  • update dependency com.google.cloud:google-cloud-trace to v1.3.3 (#1103) (b4327c0)

Documentation

6.3.3 (2021-04-24)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v1 (#1095) (a21e0bb)

6.3.2 (2021-04-20)

Dependencies

  • update dependency com.google.cloud:google-cloud-trace to v1.3.2 (#1081) (e145c95)

6.3.1 (2021-04-20)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.1 (#1074) (ccd8cd1)

6.3.0 (2021-04-19)

Features

  • async work as functional interface (#1068) (734fb60)
  • spanner: add progress field to UpdateDatabaseDdlMetadata (#1063) (7992342)
  • transaction callable as functional interface (#1066) (b036a77)

Bug Fixes

  • release scripts from issuing overlapping phases (#1064) (2f6fe5e)

Dependencies

  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.29 (#1014) (81ee9b0)

6.2.1 (2021-04-13)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.2.0 (#1054) (0b59b94)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 (#1045) (94dcb46)
  • update dependency com.google.cloud:google-cloud-trace to v1.3.1 (#1050) (cbb1038)

6.2.0 (2021-04-07)

Features

Bug Fixes

  • local connection checker ignores exceptions (#1036) (2d61bc4)

6.1.0 (2021-03-31)

Features

Bug Fixes

Dependencies

  • update dependency org.openjdk.jmh:jmh-core to v1.29 (#1013) (a71079f)

Documentation

6.0.0 (2021-03-21)

⚠ BREAKING CHANGES

  • add closeAsync() method to Connection (#984)
  • drops support of Java 7 (#946)
  • customer-managed encryption keys for Spanner (#666)

Features

5.2.0 (2021-03-18)

Features

  • add autoConfigEmulator connection option (#931) (32fdd60)

Bug Fixes

  • all throwables should be ignored in shutdown hook (#950) (213dddc), closes #949

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.1.0 (#953) (f991c87)
  • update dependency com.google.cloud:google-cloud-trace to v1.3.0 (#947) (c1d560b)
  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.28 (#924) (693fe5d)

5.1.0 (2021-03-10)

Features

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.0.14 (#919) (178500c)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 (#944) (b74b764)
  • update dependency org.json:json to v20210307 (#943) (4088981)
  • update dependency org.openjdk.jmh:jmh-core to v1.28 (#923) (b4d6e5a)

5.0.0 (2021-02-26)

⚠ BREAKING CHANGES

  • add CommitStats to Connection API (#608)

Features

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.0 (#917) (aca9d45)
  • update dependency com.google.cloud:google-cloud-trace to v1.2.13 (#918) (8843998)

4.0.2 (2021-02-23)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.0.13 (#901) (10749c7)
  • update dependency com.google.cloud:google-cloud-trace to v1.2.12 (#896) (84ee6e0)

4.0.1 (2021-02-22)

Bug Fixes

  • wrong use of getRetryDelayInMillis() / 1000 in documentation and retry loops (#885) (a55d7ce), closes #874

Documentation

  • Add OpenCensus to OpenTelemetry shim to README (#879) (b58d73d)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 (#895) (e3e2c95)

4.0.0 (2021-02-17)

⚠ BREAKING CHANGES

  • Point In Time Recovery (PITR) (#452)
  • add support for CommitStats (#544)

Features

  • add option for returning Spanner commit stats (#817) (80d3585)
  • add support for CommitStats (#544) (44aa384)
  • allow session pool settings in connection url (#821) (e1e9152)
  • generate sample code in the Java microgenerator (#859) (7cdfb82)
  • Point In Time Recovery (PITR) (#452) (ab14a5e)

Bug Fixes

  • allows user-agent header with header provider (#871) (3de7e2a)
  • make compiled statements immutable (#843) (118d1b3)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.0.12 (#854) (58cebd8)
  • update dependency com.google.cloud:google-cloud-trace to v1.2.11 (#825) (49c8c5d)

Documentation

3.3.2 (2021-01-18)

Bug Fixes

  • closes pool maintainer on invalidation (#784) (d122ed9)
  • UNAVAILABLE error on first query could cause transaction to get stuck (#807) (c7dc6e6), closes #799

Dependencies

  • update opencensus.version to v0.28.3 (#806) (77910a0)

3.3.1 (2021-01-14)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Bug Fixes

  • blanks span for session keepAlive traces (#797) (1a86e4f)
  • mark transaction as invalid if no tx is returned before RS is closed (#791) (e02e5a7)
  • remove time series before adding it (#766) (90255ea), closes #202
  • safeguard against statements errors when requesting tx (#800) (c4776e4)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.1 (#794) (f0beabb)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 (#796) (1a71e50)

3.3.0 (2021-01-07)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Features

Bug Fixes

  • Set up DirectPath e2e tests correctly (#780) (9b94c6e)

3.2.1 (2021-01-06)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Bug Fixes

Dependencies

  • grpc-alts is only used for tests (#757) (c8ef46f)
  • update dependency com.google.cloud:google-cloud-monitoring to v2.0.11 (#754) (ee2de33)

Documentation

3.2.0 (2020-12-17)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Features

  • include client version in user agent header (#747) (fc63bc3)
  • introduce TransactionOptions and UpdateOptions (#716) (5c96fab)

Bug Fixes

  • reduce the probability of RESOURCE_EXHAUSTED errors during tests (#734) (cd946d7), closes #733

Documentation

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.0 (#751) (f52776f)
  • update dependency com.google.cloud:google-cloud-trace to v1.2.10 (#759) (405c4cc)

3.1.3 (2020-12-14)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.1 (09968d5)

3.1.2 (2020-12-14)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.0.9 (#710) (37a636d)

3.1.1 (2020-12-10)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Dependencies

  • update dependency com.google.cloud:google-cloud-trace to v1.2.8 (#699) (e3289bd)

3.1.0 (2020-12-10)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Features

  • allow lenient mode for connection properties (#671) (f6a8ba6)
  • retry admin request limit exceeded error (#669) (3f9f74a), closes #655

Bug Fixes

  • fixes changelog of upgrade 2.0.0 (#672) (c035546)
  • transaction retry could fail if tx contained failed statements (#688) (f78c64e), closes #685

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 (#680) (81cba9a)
  • update dependency com.google.cloud:google-cloud-trace to v1.2.7 (#646) (0e17be0)
  • update dependency org.openjdk.jmh:jmh-core to v1.27 (#691) (a2e82e4)
  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.27 (#692) (bca15c2)

3.0.5 (2020-11-19)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Bug Fixes

  • delete stale sample databases (#622) (7584baa)
  • does not generate codeowners (#631) (9e133a9)
  • query could hang transaction if ResultSet#next() is not called (#643) (48f92e3), closes #641

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.0.8 (#644) (447a99b)

3.0.4 (2020-11-17)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Reverts

  • Revert "fix: skip failing backup tests for now" (#634) (b22cd7d), closes #634

3.0.3 (2020-11-16)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Dependencies

  • update dependency org.json:json to v20201115 (#624) (60e31d1)

3.0.2 (2020-11-13)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Bug Fixes

  • adds api spanner team as samples code owners (#610) (35cc56c)
  • make enums in the Connection API public (#579) (19b1629), closes #253
  • session retry could cause infinite wait (#616) (8a66d84), closes #605
  • updates project / instance for samples tests (#613) (2589e7d)

Documentation

  • add descriptions for connection URL properties (#609) (34221d7)

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2.0.7 (#573) (5135e50)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 (#567) (2e9c133)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.15.0 (#614) (3fa7910)
  • update dependency com.google.cloud:google-cloud-trace to v1.2.6 (#574) (efabe0f)

3.0.1 (2020-10-28)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

Bug Fixes

  • adds assembly descriptor to snippets samples (#559) (d4ae85c)
  • always delete all backups from an owned test instance (#557) (ff571b0), closes #542
  • fixes the code of conduct document (#541) (7b9d1db)
  • SessionNotFound was not retried for AsyncTransactionManager (#552) (5969f83)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 (#521) (0f4c017)

3.0.0 (2020-10-23)

⚠ IMPORTANT: Known issue with this version of the client

Since v3.0.0, transactions can get stuck if the Spanner backend returns a retryable error when consuming the first record of a read / query in a transaction.

A fix is submitted and available in version v3.3.2

Please use v3.3.2 instead of this version.

Apologies for the inconvenience.

⚠ BREAKING CHANGES

  • initialize should be protected (#536)
  • async connection API (#392)

Features

Bug Fixes

Dependencies

  • update dependency com.google.cloud:google-cloud-monitoring to v2 (#498) (3ab7348)
  • update dependency com.google.cloud:google-cloud-monitoring to v2.0.5 (#525) (fb874ec)
  • update dependency com.google.cloud:google-cloud-monitoring to v2.0.6 (#540) (ce3bed6)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.10.2 (#500) (eb59929)
  • update dependency com.google.cloud:google-cloud-trace to v1.2.3 (#496) (0595a80)
  • update dependency com.google.cloud:google-cloud-trace to v1.2.4 (#526) (1020989)
  • update dependency com.google.cloud:google-cloud-trace to v1.2.5 (#539) (eddd6ad)
  • update dependency org.openjdk.jmh:jmh-core to v1.26 (#506) (0f13c4c)
  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.26 (#507) (600f397)
  • update opencensus.version to v0.27.1 (#497) (62fa39a)
  • update opencensus.version to v0.28.1 (#533) (777f5fc)
  • update opencensus.version to v0.28.2 (#538) (e1843ef)

2.0.2 (2020-10-02)

Bug Fixes

  • improve numeric range checks (#424) (9f26785)
  • ResultSet#close() should not throw exceptions from session creation (#487) (60fb986)
  • skip failing backup tests for now (#463) (f037f2d)
  • use credentials key in pool (#430) (28103fb)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.10.0 (#453) (e05ee0e)

2.0.1 (2020-09-18)

Bug Fixes

  • do not close delegate rs in callback runnable (#425) (dce3ee7)
  • re-adds method used in internal testing (#438) (c36e41b)

2.0.0 (2020-09-16)

⚠ BREAKING CHANGES

  • Remove Guava ImmutableList from API surface (#411) (b35304e)

Features

Bug Fixes

  • fix aborted handling of batchUpdateAsync (#421) (6154008)
  • uses old version of gax-grpc method (#426) (fe6dc79)

Miscellaneous Chores

1.61.0 (2020-09-09)

Features

Bug Fixes

  • iterate over async result set in sync (#416) (45d8419)
  • remove potential infinite loop in administrative requests (#398) (81d2c76)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 (#409) (ae43165)
  • update dependency org.openjdk.jmh:jmh-core to v1.25.1 (#399) (52fc363)
  • update dependency org.openjdk.jmh:jmh-core to v1.25.2 (#412) (86d18cd)
  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.25.2 (#400) (8a40a96)

Documentation

  • updates bom and spanner version in readme (#415) (def7fdf)

1.60.0 (2020-08-18)

Features

  • adds clirr check on pre-commit hook (#388) (bd5c93f)
  • include SQL statement in error message (#355) (cc5ac48)

Bug Fixes

Dependencies

  • stop auto updates of commons-lang3 (#362) (8f07ed6)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.6 (#374) (6f47b8a)
  • update dependency org.openjdk.jmh:jmh-core to v1.24 (#375) (94f568c)
  • update dependency org.openjdk.jmh:jmh-core to v1.25 (#382) (ec7888e)
  • update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.25 (#376) (8ffdc48)

1.59.0 (2020-07-16)

Features

Bug Fixes

  • check if emulator is running if env var is set (#340) (597f501)
  • fix potential unnecessary transaction retry (#337) (1a4f4fd), closes #327
  • respect PDML timeout when using streaming RPC (#338) (d67f108)
  • runs sample tests in java 8 and java 11 (#345) (b547e31)
  • set gRPC keep-alive to 120 seconds (#339) (26be103)

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.3 (#334) (45acd89)
  • update shared config to 0.9.2 (#328) (75df62c)

1.58.0 (2020-07-07)

Features

Bug Fixes

  • set default values for streaming retry (#316) (543373b)

Performance Improvements

Dependencies

  • update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.2 (#315) (3d6fb9f)

1.57.0 (2020-06-29)

Features

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

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

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)

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)

1.54.0 (2020-05-05)

Features

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

Bug Fixes

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)

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

1.51.0 (2020-03-13)

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)

1.50.0 (2020-02-28)

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

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)

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

1.49.1 (2020-01-24)

Bug Fixes

  • stop sending RPCs to deleted database (#34) (11e4a90), closes #16

Performance Improvements

Reverts

  • Revert "perf: close sessions async (#24)" (#43) (809ed88), closes #24 #43

1.49.0 (2020-01-16)

Features

Bug Fixes

Dependencies

  • mockito scope should be test (#29) (9b0733d)
  • update dependency com.google.truth:truth to v1.0.1 (#35) (fa2b471)
  • update dependency org.threeten:threetenbp to v1.4.1 (c22c831)

1.48.0 (2020-01-10)

Features

  • add public method to get gRPC status code (#25) (2dbe3cf), closes #14
  • make repo releasable, add parent/bom (#4) (f0073ee)

Dependencies

  • update dependency org.jacoco:jacoco-maven-plugin to v0.8.5 (#7023) (d8b6438)