NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #931 most downloaded on PyPI
Google Cloud Spanner API client library
Latest stable
3.71.0
Last release 2 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
Drag across the ruler to compare, or tap a release to open it.
support JSON object consisting of an array.
Add ListDatabaseRoles API to support role based access control
Your coding agent can read these notes before it upgrades. Set up the MCP server →
update API sources and regenerate
don't use a list for empty arguments
storage: support storage_class in AsyncAppendableObjectWriter
storage: resolve reST link target mismatch in README and add long_description_content_type ( #18210 ) ( 400f465 ), refs #18211
add support for Cross region backup proto changes
Django and SQLAlchemy APIs are failing to use rowcount
add context manager support in client
rowcount property (#628) (62ff9ae)remove database_version_time param from test_instance_list_backups
adding support for spanner request options tags
set a separate user agent for the DB API
### Features * add support for JSON type
use DML batches in executemany() method
add configurable leader placement support
opentelemetry-instrumentation (#429) (1620c12)add support for low-cost instances
add decimal validation for numeric precision and scale supported by Spanner
added support for numeric field for python decimal value
add encryption_info to Database
add support for Point In Time Recovery (PITR)
update CHANGELOG breaking change comment
Nothing published for this version
dbapi: add aborted transactions retry support (#168) (d59d502), closes #34 googleapis/python-spanner-django#544
list_instances, list_databases, list_instance_configs, and list_backups will now return protos rather than the handwritten wrapper
Nothing published for this version
Nothing published for this version
handle Unmergable errors when merging struct responses
add client_options to base class
remove client-usage sections that no longer apply
add support for using the emulator programatically
Export transaction._rolled_back as transaction.rolled_back
Add deprecation warnings; add field_mask to get_instance; add endpoint_uris to Instance proto; update timeouts; make mutations optional for commits (v…
Fix TransactionPingingPool to stop thowing ''NoneType' object is not callable' error. (#9609) Return sessions from pool in LIFO order.
11-11-2019 15:59 PST
Fix TransactionPingingPool to stop thowing ''NoneType' object is not callable' error. (#9609) Return sessions from pool in LIFO order. (#9454)
timeout_secs parameter. (#9381)test_transaction_batch_update* systests against partial success + abort. (#9579)Add batch_create_session calls to session pools.
Adjust gRPC timeouts (via synth).
10-15-2019 06:55 PDT
session_count optional for SpannerClient.batch_create_sessions (via synth). (#9280)batch_create_sessions method to generated client (via synth). (#9087)run_in_transaction return value docs. (#9264)api_core refs. (#9085)Add backoff for run_in_transaction when backend does not provide 'RetryInfo' in response.
07-24-2019 17:32 PDT
run_in_transaction when backend does not provide 'RetryInfo' in response. (#8461)1.9.0 (2026-09-24) Features crc32c: support Python 3.15
05-16-2019 12:54 PDT
client_info support to client. (#7878)google-cloud-core >= 1.0.0, < 2.0dev. (#7993)Nothing published for this version
Protoc-generated serialization update.
03-05-2019 12:57 PST
Normalize documentation for 'page_size' / 'max_results' / 'page_token'
update API sources and regenerate
12-10-2018 13:10 PST
operation_id parameter to Database.update_ddl. (#6825)Fix client_info bug, update docstrings.
1.6.0 (2026-10-01) Features declare Python3.15 support
10-08-2018 08:25 PDT
database.transaction(). (#6032)usage.html/client.html -> index.html. (#5996)grpc_gcp system tests. (#6049)Add support for session / pool labels
grpcio-gcp dependency for Cloud Spanner (#5904)grpc_gcp unit tests only with Python 2.7 / 3.6. (#5871)test_transaction_read_and_insert_then_rollback when aborted. (#5737)test_update_database_ddl systest. (#5704)Ensure that initial resume token is bytes, not text.
Added spanner_v1.COMMIT_TIMESTAMP.
spanner_v1.COMMIT_TIMESTAMP. (#5102)Removed custom timestamp class in favor of the one in google-api-core.
The minimum version for google-api-core has been updated to version 1.0.0. This may cause some incompatibility with older google-cloud libraries, you
google-api-core has been updated to version 1.0.0. This may cause some incompatibility with older google-cloud libraries, you will need to update those libraries if you have a dependency conflict. (#4944, #4946)to_pb has now been made private (_to_pb) in KeySet and KeyRange
to_pb has now been made private (_to_pb) in KeySet
and KeyRange (#4740)The underlying autogenerated client library was re-generated to pick up new features and resolve bugs, this may change the exceptions raised from vari
StreamedResultSet's row, consume_all, and consume_next members
private (#4492)Keyset can now infer defaults to start_closed or end_closed when only one argument is specified. (#4735)nox -s default session for all packages. (#4324)Bugfix: Clear session._transaction before calling _delay_until_retry
session._transaction before calling
_delay_until_retry (#4185)google-cloud-core >= 0.28.0 and adding dependency
on google-api-core (#4221, #4280)google-api-core for grpcio and
googleapis-common-protos dependencies (#4096, #4098)PyPI: https://pypi.org/project/google-cloud-spanner/0.29.0/
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.