NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #894 most downloaded on PyPI
Google Cloud Spanner API client library
Last release 1 months ago
03 Sep 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 58 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
10 years old
126 releases · first in 2017
add send and ack mutations Cloud Spanner Queues (#17728) (182ff9f), refs #17727
One column per quarter.
bump grpcio to 1.59.0; require Python 3.10+
regenerate google-cloud-spanner
add asynchronous code snippets and minor cleanup changes
drop Python 3.7-3.9 support and regenerate
drop Python 3.7-3.9 support and regenerate (#17169) (2408166f)
log client configuration at startup (#17040) (a830a785)
drop python runtime 3.9 (#17070) (cddabc0f)
update API sources and regenerate (#16998) (cef659d8)
Add last statement option samples
extends clause (@nicolo-ribaudo) - #17723 [7.x backport] fix(parser): improve super type argument parsing (@JLHwung) - babel-traverse - #17708 (5098df262245fb333ae73fc7eb568f905bc0190a)babel-plugin-transform-block-scoping, babel-traverse - #17737 [7.x backport] fix: Rename switch discriminant references when body creates shadowing variable (@magic-akari) (5098df262245fb333ae73fc7eb568f905bc0190a)Nothing published for this version
mark new AsyncIO APIs as experimental
routing_hint in messages .google.spanner.v1.ResultSet and .google.spanner.v1.PartialResultSet are changed (9d2338a69807463ddb159562eab7784fbce6f098).google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode is changed (9d2338a69807463ddb159562eab7784fbce6f098)params in message .google.spanner.v1.PartitionQueryRequest is changed (9d2338a69807463ddb159562eab7784fbce6f098)transaction_tag in message .google.spanner.v1.RequestOptions is changed (9d2338a69807463ddb159562eab7784fbce6f098)param_types in message .google.spanner.v1.PartitionQueryRequest is changed (9d2338a69807463ddb159562eab7784fbce6f098)commit_timestamp in message .google.spanner.v1.BatchWriteResponse is changed (9d2338a69807463ddb159562eab7784fbce6f098)snippet for setting read lock mode
handle errors during stream restart in snapshot
support mTLS certificates when available
Deprecate credentials_file argument
spanner: Add lazy decode to partitioned query
spanner: Support setting read lock mode
Support configuring logger in dbapi kwargs
Add support for multiplexed sessions - read/write
Add a last field in the PartialResultSet
last field in the PartialResultSet (d532d57)chunked_value in message .google.spanner.v1.PartialResultSet is changed (d532d57)precommit_token in message .google.spanner.v1.PartialResultSet is changed (d532d57)precommit_token in message .google.spanner.v1.ResultSet is changed (d532d57)query_plan in message .google.spanner.v1.ResultSetStats is changed (d532d57)row_count_lower_bound in message .google.spanner.v1.ResultSetStats is changed (d532d57)row_type in message .google.spanner.v1.ResultSetMetadata is changed (d532d57)rows in message .google.spanner.v1.ResultSet is changed (d532d57)stats in message .google.spanner.v1.PartialResultSet is changed (d532d57)stats in message .google.spanner.v1.ResultSet is changed (d532d57)values in message .google.spanner.v1.PartialResultSet is changed (d532d57)ResultSetMetadata is changed (d532d57)ResultSetStats is changed (d532d57)Add sample for pre-split feature
Add Attempt, Operation and GFE Metrics
IsolationLevel is added (#1224) (7a5afba)DefaultBackupScheduleType is changed (7a5afba)AUTOMATIC in enum DefaultBackupScheduleType is changed (7a5afba)GOOGLE_MANAGED in enum Type is changed (7a5afba)NONE in enum DefaultBackupScheduleType is changed (7a5afba)USER_MANAGED in enum Type is changed (7a5afba)base_config in message .google.spanner.admin.instance.v1.InstanceConfig is changed (7a5afba)default_backup_schedule_type in message .google.spanner.admin.instance.v1.Instance is changed (7a5afba)filter in message .google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest is changed (7a5afba)filter in message .google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest is changed (7a5afba)instance_config in message .google.spanner.admin.instance.v1.CreateInstanceConfigRequest is changed (7a5afba)instance_partition_deadline in message .google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest is changed (7a5afba)location in message .google.spanner.admin.instance.v1.ReplicaInfo is changed (7a5afba)node_count in message .google.spanner.admin.instance.v1.Instance is changed (7a5afba)node_count in message .google.spanner.admin.instance.v1.InstancePartition is changed (7a5afba)operations in message .google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse is changed (7a5afba)operations in message .google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse is changed (7a5afba)optional_replicas in message .google.spanner.admin.instance.v1.InstanceConfig is changed (7a5afba)parent in message .google.spanner.admin.instance.v1.ListInstancePartitionsRequest is changed (7a5afba)processing_units in message .google.spanner.admin.instance.v1.Instance is changed (7a5afba)processing_units in message .google.spanner.admin.instance.v1.InstancePartition is changed (7a5afba)referencing_backups in message .google.spanner.admin.instance.v1.InstancePartition is changed (7a5afba)replicas in message .google.spanner.admin.instance.v1.InstanceConfig is changed (7a5afba)storage_utilization_percent in message .google.spanner.admin.instance.v1.AutoscalingConfig is changed (7a5afba)unreachable in message .google.spanner.admin.instance.v1.ListInstancePartitionsResponse is changed (7a5afba)CreateInstanceConfigRequest is changed (7a5afba)DeleteInstanceConfigRequest is changed (7a5afba)UpdateInstanceConfigRequest is changed (7a5afba)CreateInstance in service InstanceAdmin is changed (7a5afba)CreateInstanceConfig in service InstanceAdmin is changed (7a5afba)CreateInstancePartition in service InstanceAdmin is changed (7a5afba)ListInstanceConfigOperations in service InstanceAdmin is changed (7a5afba)ListInstanceConfigs in service InstanceAdmin is changed (7a5afba)ListInstancePartitionOperations in service InstanceAdmin is changed (7a5afba)MoveInstance in service InstanceAdmin is changed (7a5afba)UpdateInstance in service InstanceAdmin is changed (7a5afba)UpdateInstanceConfig in service InstanceAdmin is changed (7a5afba)UpdateInstancePartition in service InstanceAdmin is changed (7a5afba)Add additional opentelemetry span events for session pool
Add connection variable for ignoring transaction warnings
Json data type for non object values
spanner: Add support for Cloud Spanner Default Backup Schedules
nox version in requirements.in for devcontainer. (#1215) (41604fe)Revert "chore(spanner): Issue#1143 - Update dependency"
Create a few code snippets as examples for using Spanner Graph in Python
Add field lock_hint in spanner.proto
Add support for multi region encryption config
spanner: Adding EXPECTED_FULFILLMENT_PERIOD to the indicate instance creation times (with FULFILLMENT_PERIOD_NORMAL or FULFILLMENT_PERIOD_EXTENDED ENU
Correcting name of variable from table_schema to schema_name
Add retry and timeout for batch dml
Add proto descriptors for proto and enum types in create/update/get database ddl requests
Batch Write API implementation and samples
retry_async instead of retry in async client (#1044) (1253ae4)Fix to reload table when checking if table exists
Enable leader aware routing by default. This update contains performance optimisations that will reduce the latency of read/write transactions that or
Foreign key on delete cascade action testing and samples
### Features * Set LAR as False
Enable leader aware routing by default. This update contains performance optimisations that will reduce the latency of read/write transactions that or
Add DdlStatementActionInfo and add actions to UpdateDatabaseDdlMetadata
Catch rst stream error for all transactions
Add support for updateDatabase in Cloud Spanner
Add support for UpdateDatabase in Cloud Spanner
### Features * Leader Aware Routing
Enable instance-level connection
Add databoost enabled property for batch transactions
Pass custom Client object to dbapi
Adding new fields for Serverless analytics
Enable "rest" transport in Python for services supporting numeric enums
Add typing to proto.Message based class attributes
Inline Begin transction for RW transactions
### Features * Fgac support and samples
Add snippets for Spanner DML with returning clause
Adding support and samples for jsonb
Nothing published for this version
deps: Require protobuf >= 3.20.2
Adding reason, domain, metadata & error_details fields in Custom Exceptions for additional info
Add custom instance config operations
Adds TypeAnnotationCode PG_JSONB
Your coding agent can read these notes before it upgrades. Set up the MCP server →