Skip to content

Releases: googleapis/python-spanner

v3.8.0

16 Aug 07:02
05a2c37
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)

v3.3.0

25 Mar 05:32
6b517f2
Compare
Choose a tag to compare

Features

  • add encryption_info to Database (#284) (2fd0352)
  • add support for CMEK (#105) (e990ff7)
  • add support for custom timeout and retry parameters in execute_update method in transactions (#251) (8abaebd)
  • added retry and timeout params to partition read in database and snapshot class (#278) (1a7c9d2)
  • db_api: support executing several DDLs separated by semicolon (#277) (801ddc8)

Bug Fixes

  • avoid consuming pending null values when merging (#286) (c6cba9f)
  • db_api: allow file path for credentials (#221) (1de0284)
  • db_api: ensure DDL statements are being executed (#290) (baa02ee)
  • db_api: revert Mutations API usage (#285) (e5d4901)

Documentation

v3.2.0

08 Mar 10:52
215aaae
Compare
Choose a tag to compare

Features

Bug Fixes

v3.1.0

23 Feb 08:18
2bdd21c
Compare
Choose a tag to compare

Features

  • add support for Point In Time Recovery (PITR) (#148) (a082e5d)
  • add support to log commit stats (#205) (434967e)

Bug Fixes

  • connection attribute of connection class and include related unit tests (#228) (4afea77)
  • db_api: add dummy lastrowid attribute (#227) (0375914)
  • fix execute insert for homogeneous statement (#233) (36b12a7)
  • use datetime timezone info when generating timestamp strings (#236) (539f145)

Performance Improvements

v3.0.0

15 Jan 11:17
58359f9
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • convert operations pbs into Operation objects when listing operations (#186)

Features

  • add support for instance labels (#193) (ed462b5)
  • add support for ssl credentials; add throttled field to UpdateDatabaseDdlMetadata (#161) (2faf01b)
  • adding missing docstrings for functions & classes (#188) (9788cf8)
  • autocommit sample (#172) (4ef793c)

Bug Fixes

  • convert operations pbs into Operation objects when listing operations (#186) (ed7152a)
  • Convert PBs in system test cleanup (#199) (ede4343)
  • dbapi: autocommit enabling fails if no transactions begun (#177) (e981adb)
  • dbapi: executemany() hiding all the results except the last (#181) (020dc17)
  • dbapi: Spanner protobuf changes causes KeyError's (#206) (f1e21ed)
  • remove client side gRPC receive limits (#192) (90effc4)
  • Rename to fix "Mismatched region tag" check (#201) (c000ec4)

Documentation

v2.1.0

02 Dec 09:33
cf87cdf
Compare
Choose a tag to compare

Features

Bug Fixes

Reverts