Release History
1.16.2 / 2020-05-28
Documentation
- Fix a few broken links
1.16.1 / 2020-05-21
Bug Fixes
- Increased default timeouts to match clients in other languages
- Run system tests against the emulator, skipping those not supported by the emulator
- Do not require a key file when running against the emulator
1.16.0 / 2020-03-20
Features
- Added support for backing up and restoring databases (#5053)
1.15.0 / 2020-03-15
Features
- Added support for query options (#4907)
- Added support for specifying the query optimizer version.
- Support separate project setting for quota/billing
1.14.0 / 2020-02-18
Features
- allow custom lib name and version for telemetry purpose (#4762)
- allow custom lib name and version for telemetry purpose
- format docs
- added custom lib name and version prefix
- update test cases for lib name and version
1.13.1 / 2020-01-22
Documentation
- fix incorrect doc links in CONTRIBUTING.md
- Update copyright year
- Update Status documentation
1.13.0 / 2020-01-08
Features
- Add support for SPANNER_EMULATOR_HOST
1.12.2 / 2019-12-19
Bug Fixes
- Rename endpoint_urls to endpoint_uris
- Revert #commit mutations to positional in lower-level API
- Revert breaking change to test_iam_permissions in lower-level API
Performance Improvements
- Add Instance#endpoint_urls and GetInstanceRequest#field_mask in lower-level API
- Add service address and port for lower-level API clients
1.12.1 / 2019-11-12
Features
- Add InstanceConfig#replicas (ReplicaInfo) to the lower-level API.
Documentation
- Update lower-level API documentation.
Bug Fixes
- Update minimum runtime dependencies.
1.12.0 / 2019-10-29
This release requires Ruby 2.4 or later.
Documentation
- Clarify which Google Cloud Platform environments support automatic authentication
1.11.0 / 2019-10-07
BREAKING CHANGES (LOWER-LEVEL API ONLY)
- Make the session_count argument required in the lower-level API batch_create_sessions call
Performance Improvements
- Update Pool#init to use BatchCreateSessions
- Update pool checkout to pop sessions for LIFO
Documentation
- Update Policy example code
- Update IAM Policy class description and sample code
1.10.1 / 2019-09-04
Documentation
- Update low-level IAM documentation
- Update GetPolicyOption#requested_policy_version docs
- Un-deprecate Policy#version
1.10.0 / 2019-08-23
Features
- Add Batch Create Sessions to low-level API
- Add SpannerClient#batch_create_sessions
- Add BatchCreateSessionsRequest
- Add BatchCreateSessionsResponse
- Support overriding of service endpoint
Bug Fixes
- Low-level admin clients now honor service_address and service_port
Documentation
- Update documentation
1.9.5 / 2019-07-31
- Reduce thread usage at startup
- Allocate threads in pool as needed, not all up front
- Update documentation links
1.9.4 / 2019-07-08
- Add IAM GetPolicyOptions in the lower-level API.
- Support overriding service host and port in the lower-level interface.
1.9.3 / 2019-06-27
- Update network configuration for some initial_retry_delay_millis and timeout_millis settings
1.9.2 / 2019-06-13
- Update IAM:
- Deprecate Policy#version
- Add Binding#condition
- Add Google::Type::Expr
- Update documentation
- Update retry configuration
- Use VERSION constant in GAPIC client
1.9.1 / 2019-04-30
- Fix Spanner session limit bug.
- Update AUTHENTICATION.md guide.
- Update documentation for common types.
- Update generated documentation.
- Extract gRPC header values from request.
1.9.0 / 2019-03-08
- Spanner Batch DML.
- Add Transaction#batch_update.
- Add BatchUpdate.
- Add BatchUpdateError.
- Add SpannerClient#execute_batch_dml.
1.8.0 / 2019-02-01
- Make use of Credentials#project_id
- Use Credentials#project_id If a project_id is not provided, use the value on the Credentials object. This value was added in googleauth 0.7.0.
- Loosen googleauth dependency Allow for new releases up to 0.10. The googleauth devs have committed to maintaining the current API and will not make backwards compatible changes before 0.10.
- Performance improvements for Data#to_h
- Add Data skip_dup_check optional arg
- This enhancement allows users to skip the dupplicate name check when serializing Data to a Ruby Hash or Array. This speeds up the serialization, but data may be lost.
- Update network configuration
- Update Client#close to block on session release
1.7.2 / 2018-11-15
- Allow Spanner streams to recover from more errors.
1.7.1 / 2018-10-08
- Add DML and Partitioned DML support
- Add execute_update to process DML statements
- Add execute_partition_update for Partitioned DML
- Rename execute_query method
- Maintain naming consistency with execute_update method.
- Maintain compatibility by adding query, execute and execute_sql aliases.
1.6.4 / 2018-09-20
- Update Spanner generated files.
- Add DML/PDML code structures.
- Update documentation.
- Change documentation URL to googleapis GitHub org.
- Fix circular require warning.
1.6.3 / 2018-09-12
- Add missing documentation files to package.
1.6.2 / 2018-09-10
- Update documentation.
1.6.1 / 2018-08-21
- Update documentation.
1.6.0 / 2018-06-28
- Add Session labels
- Add labels optional argument to Project#client and #batch_client.
- Add labels optional argument to Project#batch_client.
- Bug fix when an error is raised while returning results.
1.5.0 / 2018-06-12
- Support STRUCT values in query parameters.
- Add
Fields#structto create aDataobject.
- Add
- Documentation updates.
1.4.0 / 2018-03-26
- Add support for commit_timestamp.
1.3.1 / 2018-02-27
- Add Batch Client
- Support partitioned reads and queries.
- Support Shared Configuration.
- Fix issue with IAM Policy not refreshing properly.
- Fix issue when using Time objects as keys.
1.2.0 / 2017-12-19
- Update Low Level API code
- Remove deprecated constructor arguments.
- Update documentation.
- Update google-gax dependency to 1.0.
1.1.1 / 2017-11-15
- Fix Admin Credentials (GAPIC) environment variable names.
1.1.0 / 2017-11-14
- Add
Google::Cloud::Spanner::Credentialsclass. - Rename constructor arguments to
project_idandcredentials. (The previous argumentsprojectandkeyfileare still supported.) - Document
Google::Auth::Credentialsascredentialsvalue. - Update generated low level GAPIC code.
- Updated
google-gax(grpc,google-protobuf),googleauthdependencies.
1.0.0 / 2017-09-29
- Release 1.0
0.23.2 / 2017-09-12
- Update connection configuration.
0.23.1 / 2017-08-18
- Update connection configuration.
0.23.0 / 2017-07-27
- Add
Job#errorreturningSpanner::Status.
0.22.0 / 2017-07-11
- Remove
Policy#deep_dup. - Add thread pool size to
Sessionpool configuration. - Add error handling for some GRPC errors.
- Do not allow nested snapshots or transactions.
- Update initialization to raise a better error if project ID is not specified.
- Update GAPIC configuration to exclude
UNAVAILABLEerrors from automatic retry. - Update example code in the API documentation and guide.
0.21.0 / 2017-06-08
Initial implementation of the Google Cloud Spanner API Ruby client.