Changelog
6.71.0 (2024-07-03)
Features
- Include thread name in traces (#3173) (92b1e07)
- Support multiplexed sessions for RO transactions (#3141) (2b8e9ed)
6.70.0 (2024-06-27)
Features
Bug Fixes
- Do not end transaction span when rolling back to savepoint (#3167) (8ec0cf2)
- Remove unused DmlBatch span (#3147) (f7891c1)
Dependencies
- Update dependencies (#3181) (0c787e6)
- Update dependency com.google.cloud:sdk-platform-java-config to v3.32.0 (#3184) (9c85a6f)
- Update dependency commons-cli:commons-cli to v1.8.0 (#3073) (36b5340)
6.69.0 (2024-06-12)
Features
Dependencies
6.68.1 (2024-05-29)
Bug Fixes
6.68.0 (2024-05-27)
Features
- [java] allow passing libraries_bom_version from env (#1967) (#3112) (7d5a52c)
- Allow DML batches in transactions to execute analyzeUpdate (#3114) (dee7cda)
- spanner: Add support for Proto Columns in Connection API (#3123) (7e7c814)
Bug Fixes
Dependencies
6.67.0 (2024-05-22)
Features
Performance Improvements
Dependencies
- Update dependency com.google.cloud:google-cloud-monitoring to v3.44.0 (#3099) (da44e93)
- Update dependency com.google.cloud:sdk-platform-java-config to v3.30.1 (#3116) (d205a73)
6.66.0 (2024-05-03)
Features
- Allow DDL with autocommit=false (#3057) (22833ac)
- Include stack trace of checked out sessions in exception (#3092) (ba6a0f6)
Bug Fixes
Dependencies
6.65.1 (2024-04-30)
Dependencies
Documentation
6.65.0 (2024-04-20)
Features
- Remove grpclb (#2760) (1df09d9)
- Support client-side hints for tags and priority (#3005) (48828df), closes #2978
Bug Fixes
- deps: Update the Java code generator (gapic-generator-java) to 2.39.0 (#3001) (6cec1bf)
- NullPointerException on AbstractReadContext.span (#3036) (55732fd)
Dependencies
- Update dependency com.google.cloud:sdk-platform-java-config to v3.29.0 (#3045) (67a6534)
- Update dependency commons-cli:commons-cli to v1.7.0 (#3043) (9fea7a3)
6.64.0 (2024-04-12)
Features
- Add endpoint connection URL property (#2969) (c9be29c)
- Add PG OID support (#2736) (ba2a4af)
- Add SessionPoolOptions, SpannerOptions protos in executor protos (#2932) (1673fd7)
- Support max_commit_delay in Connection API (#2954) (a8f1852)
Bug Fixes
- Executor framework changes skipped in clirr checks, and added exception for partition methods in admin class (#3000) (c2d8e95)
Dependencies
- Update actions/checkout action to v4 (#3006) (368a9f3)
- Update actions/github-script action to v7 (#3007) (b0cfea6)
- Update actions/setup-java action to v4 (#3008) (d337080)
- Update dependency com.google.cloud:google-cloud-monitoring to v3.42.0 (#2997) (0615beb)
- Update dependency com.google.cloud:google-cloud-trace to v2.41.0 (#2998) (f50cd04)
- Update dependency commons-io:commons-io to v2.16.1 (#3020) (aafd5b9)
- Update opentelemetry.version to v1.37.0 (#3021) (8f1ed2a)
- Update stcarolas/setup-maven action to v5 (#3009) (541acd2)
6.63.0 (2024-03-30)
Features
Dependencies
- Update dependency com.google.cloud:google-cloud-monitoring to v3.40.0 (#2987) (0a1ffcb)
- Update dependency com.google.cloud:google-cloud-trace to v2.39.0 (#2988) (cf11641)
- Update dependency commons-io:commons-io to v2.16.0 (#2986) (4697261)
6.62.1 (2024-03-28)
Dependencies
- Update dependency com.google.cloud:google-cloud-monitoring to v3.39.0 (#2966) (a5cb1dd)
- Update dependency com.google.cloud:google-cloud-trace to v2.38.0 (#2967) (b2dc788)
6.62.0 (2024-03-19)
Features
- Allow attempt direct path xds via env var (#2950) (247a15f)
- Next release from main branch is 6.56.0 (#2929) (66374b1)
Bug Fixes
Performance Improvements
Dependencies
- Update dependency com.google.cloud:google-cloud-monitoring to v3.38.0 (#2942) (ba665bd)
- Update dependency com.google.cloud:google-cloud-trace to v2.37.0 (#2944) (b5e608e)
- Update dependency com.google.cloud:sdk-platform-java-config to v3.28.1 (#2952) (1e45237)
- Update opentelemetry.version to v1.36.0 (#2945) (e70b035)
Documentation
6.61.0 (2024-03-04)
Features
Bug Fixes
Dependencies
- Update dependency com.google.cloud:sdk-platform-java-config to v3.27.0 (#2935) (f8f835a)
- Update dependency org.json:json to v20240303 (#2936) (1d7044e)
Documentation
- Samples and tests for backup Admin APIs and overall spanner Admin APIs. (#2882) (de13636)
- Update all public documents to use auto-generated admin clients. (#2928) (ccb110a)
6.60.1 (2024-02-23)
Dependencies
- Update dependency com.google.cloud:google-cloud-monitoring to v3.37.0 (#2920) (a3441bb)
- Update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.0 (#2861) (a652c3b)
- Update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.1 (#2919) (8800a28)
- Update dependency org.json:json to v20240205 (#2913) (277ed81)
- Update dependency org.junit.vintage:junit-vintage-engine to v5.10.2 (#2868) (71a65ec)
- Update opentelemetry.version to v1.35.0 (#2902) (3286eae)
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
Documentation
- Update comments (62319f0)
- Update the comment regarding eligible SQL shapes for PartitionQuery (62319f0)
6.59.0 (2024-02-15)
Features
Dependencies
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
- Cast for Proto type (#2862) (0a95dba)
- Ignore UnsupportedOperationException for virtual threads (#2866) (aa9ad7f)
- Use default query options with statement cache (#2860) (741e4cf)
Dependencies
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
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
Documentation
6.55.0 (2023-12-01)
Features
Bug Fixes
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
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
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
6.52.0 (2023-10-19)
Features
6.51.0 (2023-10-14)
Features
Bug Fixes
6.50.1 (2023-10-11)
Bug Fixes
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
Dependencies
6.49.0 (2023-09-28)
Features
Dependencies
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
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
6.46.0 (2023-09-06)
Features
- Adding support for databoost (#2505) (dd3e9a0)
- Support PostgreSQL for autoConfigEmulator (#2601) (fbf1df9)
Bug Fixes
Documentation
6.45.3 (2023-08-17)
Bug Fixes
6.45.2 (2023-08-14)
Bug Fixes
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
Documentation
Dependencies
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
- Delay transaction start option (#2462) (f1cbd16)
- Make administrative request retries optional (#2476) (ee6548c)
Dependencies
6.42.3 (2023-05-31)
Performance Improvements
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
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
- Add TransactionExecutionOptions support to executor. (#2396) (8327f21)
- Leader Aware Routing (#2214) (9695ace)
- Make leak detection configurable for connections (#2405) (85213c8)
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
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
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
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
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
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
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
- Add custom instance config operations (#1999) (74f9c3b)
- Add gRPC RLS dependency (#1875) (31cf06e)
- Default transaction isolation (#1998) (33aa21c)
Bug Fixes
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
- add support for db roles list (#1916) (8034c67)
- add support for PG JSONB data type (#1964) (d2b426f)
- Adds auto-generated CL for googleapis for jsonb (#1983) (23e57ff)
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
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
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
Documentation
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
6.25.3 (2022-05-25)
Bug Fixes
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
6.25.0 (2022-05-20)
Features
- add build scripts for native image testing in Java 17 (#1440) (#1881) (993e893)
- Add support for Explain feature (#1852) (01f460e)
- AuditConfig for IAM v1 (f7437b2)
- support analyze DDL statement (#1879) (1704ac3)
- support analyzeUpdate (#1867) (2d8cfa4)
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
- Copy backup samples (#1802) (787ccad)
- support CREATE DATABASE in Connection API (#1845) (40110fe)
- support CredentialsProvider in Connection API (#1869) (f1d2d3e)
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
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
- Cross Region backup proto changes (#1754) (6d64104)
- support PG show transaction isolation level (#1777) (111f74c)
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
6.21.1 (2022-03-09)
Dependencies
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
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
- automatically detect database dialect (#1677) (9eccfc4)
- PostgreSQL dialect databases (#1673) (5f156f2)
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
- add database dialect (#1657) (269f090)
- Updating readme with new gfe latency metrics (#1630) (d02601a)
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
6.17.0 (2021-12-06)
Features
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
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
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
Dependencies
6.12.5 (2021-09-27)
Bug Fixes
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
6.12.3 (2021-09-15)
Bug Fixes
- drop databases after sample tests (#1401) (c9f5048)
- fix JSON sample test (#1417) (dc1f9a9)
- revert test category refactoring (#1419) (fe2ad14)
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
- add support for JSON data type (#872) (d7ff940)
- use dummy emulator-project when no project is set (#1363) (673855e), closes #1345
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
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
6.10.0 (2021-07-19)
Features
- exposes default leader in database, and leader options / replicas in instance config (#1283) (d72c2f7)
Bug Fixes
Dependencies
6.9.1 (2021-07-05)
Dependencies
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
6.8.0 (2021-06-29)
Features
Bug Fixes
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
6.6.1 (2021-06-10)
Dependencies
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
Dependencies
6.4.4 (2021-05-17)
Bug Fixes
6.4.3 (2021-05-16)
Bug Fixes
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
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
- fix javadoc for Date type (#1102) (ce095f7)
- use default timeout for restore operation (#1109) (3f3c13e), closes #1019
6.3.3 (2021-04-24)
Dependencies
6.3.2 (2021-04-20)
Dependencies
6.3.1 (2021-04-20)
Dependencies
6.3.0 (2021-04-19)
Features
- async work as functional interface (#1068) (734fb60)
- spanner: add
progress
field toUpdateDatabaseDdlMetadata
(#1063) (7992342) - transaction callable as functional interface (#1066) (b036a77)
Bug Fixes
Dependencies
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
6.1.0 (2021-03-31)
Features
Bug Fixes
- plain text when testing emulator connection (#1020) (1e6e23f)
- retry cancelled error on first statement in transaction (#999) (a95f6f8), closes #938
- transaction retries should not timeout (#1009) (6d9c3b8), closes #1008
- update link and directory (#1012) (865bf01)
Dependencies
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
- add closeAsync() method to Connection (#984) (e7ec96e)
- customer-managed encryption keys for Spanner (#666) (8338116)
- drops support of Java 7 (#946) (7af1951)
5.2.0 (2021-03-18)
Features
Bug Fixes
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
Dependencies
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
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
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
- add sample for timeout for one RPC (#707) (056f54f)
- cleanup inner region tags (#764) (90ad9d6)
- documents resume on update database ddl (#767) (aeb255d)
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
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
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
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
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
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
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
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
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
- adds options to the write operations (#531) (659719d)
- async connection API (#392) (3dd0675), closes #378
- inline begin transaction (#325) (d08d3de), closes #515
Bug Fixes
- AsyncTransactionManager did not propagate statement errors (#516) (4b8b845), closes #514
- AsyncTransactionManager should rollback on close (#505) (c580df8), closes #504
- close executor when closing pool (#501) (2086746)
- fixes javadocs for Key (#532) (768c19d)
- fixes sample tests (ed0665c)
- ignores failing backup operations (2ad0b7f)
- increase visibility of #get() (#486) (fa6d964)
- initialize should be protected (#536) (5c4c8c5)
- remove dependency on commons-lang (#494) (c99294b)
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
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
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
- Add experimental DirectPath support (#396) (46264d1)
- support setting timeout per RPC (#379) (5d115d4), closes #378
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
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
- enables emulator tests (#380) (f61c6d0)
- remove custom timeout and retry settings (#365) (f6afd21)
- remove unused kokoro files (#367) (6125c7d)
- retry pdml transaction on EOS internal error (#360) (a53d736)
- sets the project for the integration tests (#386) (c8fa458)
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
Performance Improvements
Dependencies
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
- include test-jar in bom (#253) (4e86a37)
- update dependency org.json:json to v20200518 (#239) (e3d7921)
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
1.55.0 (2020-05-19)
Features
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
1.54.0 (2020-05-05)
Features
Bug Fixes
- create filter in correct order (#180) (d80428a)
- remove error message checking (#183) (b477322), closes #175
- set resource type for database parameter of Backup (#174) (bb4d7cf)
- stop preparing session on most errors (#181) (d0e3d41), closes #177
1.53.0 (2020-04-22)
Features
Bug Fixes
- assign unique id's per test case (#129) (a553b6d)
- check for not null input for Id classes (#159) (ecf5826), closes #145
- clean up test instance if creation failed (#162) (ff571e1)
- fix flaky test and remove warnings (#153) (d534e35), closes #146
- increase test timeout and remove warnings (#160) (63a6bd8), closes #158
- retry non-idempotent long-running RPCs (#141) (4669c02)
- retry restore if blocked by pending restore (#119) (220653d), closes #118
- StatementParser did not accept multiple query hints (#170) (ef41a6e), closes #163
- wait for initialization to finish before test (#161) (fe434ff), closes #146
Performance Improvements
- increase sessions in the pool in batches (#134) (9e5a1cd)
- prepare sessions with r/w tx in-process (#152) (2db27ce), closes #151
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
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
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
Performance Improvements
- close sessions async (#24) (ab25087), closes #19
- close sessions async revert revert (#46) (c9864e5), closes #24 #43 #24
Reverts
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)