Skip to content

Releases: googleapis/python-spanner

v3.12.0

02 Dec 09:51
2505187

Choose a tag to compare

Features

  • add context manager support in client (5ae4be8)
  • add context manager support in client (#637) (5ae4be8)
  • add support for python 3.10 (#626) (17ca61b), closes #623
  • db_api: add an ability to set ReadOnly/ReadWrite connection mode (#475) (cd3b950)
  • db_api: make rowcount property NotImplemented (#603) (b5a567f)
  • db_api: raise exception with message for executemany() (#595) (95908f6)
  • db_api: support JSON data type (#627) (d760c2c)
  • db_api: support stale reads (#584) (8ca868c)

Bug Fixes

  • db_api: emit warning instead of an exception for rowcount property (#628) (62ff9ae)
  • deps: drop packaging dependency (5ae4be8)
  • deps: require google-api-core >= 1.28.0 (5ae4be8)
  • improper types in pagers generation (5ae4be8)

Performance Improvements

  • dbapi: set headers correctly for dynamic routing (#644) (d769ff8)

Documentation

  • list oneofs in docstring (5ae4be8)

v3.11.1

05 Oct 11:32
aaec1db

Choose a tag to compare

Bug Fixes

  • add support for json data type (#593) (bc5ddc3)
  • remove database_version_time param from test_instance_list_backups (#609) (db63aee)

v3.11.0

30 Sep 04:02
97b2d6b

Choose a tag to compare

Features

  • adding support for spanner request options tags (#276) (e16f376)

v3.10.0

21 Sep 12:02
51fda1b

Choose a tag to compare

Features

  • set a separate user agent for the DB API (#566) (b5f977e)

Bug Fixes

  • db_api: move connection validation into a separate method (#543) (237ae41)
  • handle google.api_core.exceptions.OutOfRange exception and throw InegrityError as expected by dbapi standards (#571) (dffcf13)

v3.9.0

30 Aug 07:02
6cd4561

Choose a tag to compare

Features

v3.8.0

16 Aug 07:02
05a2c37

Choose a tag to compare

Features

  • use DML batches in executemany() method (#412) (cbb4ee3)

Bug Fixes

  • samples: batch_update() results processing error (#484) (bdd5f8b)

v3.7.0

30 Jul 04:17
89fe076

Choose a tag to compare

Features

Bug Fixes

  • avoid bad version of opentelemetry-instrumentation (#429) (1620c12)
  • deps: pin 'google-{api,cloud}-core' to allow 2.x versions (#415) (b0455d0)
  • disable always_use_jwt_access (c37bf21)
  • disable always_use_jwt_access (#395) (c37bf21)
  • enable self signed jwt for grpc (#427) (2487800)
  • support merging for NUMERIC values (#434) (06b4215), closes #433

Documentation

v3.6.0

24 Jun 05:03
32a5576

Choose a tag to compare

Features

Bug Fixes

  • db_api: use sqlparse to split DDL statements (#372) (ed9e124)
  • db_api: classify batched DDL statements (#360) (b8b24e1)
  • deps: add packaging requirement (#368) (89c126c)

Documentation

v3.5.0

15 Jun 04:02
ca13efd

Choose a tag to compare

Features

  • add decimal validation for numeric precision and scale supported by Spanner (#340) (aa36c5e)
  • add progress field to UpdateDatabaseDdlMetadata (#361) (1c03dcc)
  • add query statistics package support (#129) (6598dea)

Bug Fixes

  • an Aborted exception isn't properly retried (#345) (e69e6ab)
  • correctly classify select statements that begin with brackets (#351) (d526acc)
  • update to support the open-telemetry status code spec change (#358) (0f894f1)

v3.4.0

29 Apr 08:32
25a9f9b

Choose a tag to compare

Features

  • add samples for CMEK support (#275) (f8d9bd3)
  • added support for numeric field for python decimal value (#316) (070a171)
  • dbapi: remove string conversion for numeric fields (#317) (772aa3c)

Bug Fixes

  • correctly set resume token when restarting streams (#314) (0fcfc23)
  • support INSERT from SELECT clause with args (#306) (0dcda5e)

Performance Improvements

  • use protobuf for metadata to reduce type conversions (#325) (5110b9b)