Skip to content

Releases: googleapis/python-ndb

v1.9.0

10 Jun 18:47
ed47ad3
Compare
Choose a tag to compare

Features

  • don't flush entire global cache on transient errors (#654) (cbf2d7d)

Bug Fixes

  • correct inconsistent behavior with regards to namespaces (#662) (cf21a28), closes #661
  • correctly decode falsy values in legacy protocol buffers (#628) (69a9f63), closes #625
  • defer clearing global cache when in transaction (#660) (73020ed)
  • detect cache write failure for MemcacheCache (#665) (5d7f163), closes #656
  • do not set read_consistency for queries. (#664) (36a5b55), closes #666
  • limit memcache keys to 250 bytes (#663) (7dc11df), closes #619
  • properly handle error when clearing cache (#636) (d0ffcf3), closes #633
  • retry connection errors with memcache (#645) (06b466a), closes #620
  • support ordering by key for multi queries (#630) (508d8cb), closes #629

v1.8.0

06 Apr 18:47
3d8ecdf
Compare
Choose a tag to compare

Features

  • retry global cache operations on transient errors (#603) (5d6b650), closes #601

Bug Fixes

  • don't return None for entities found in queries (#612) (9e5e255), closes #586
  • fix bug with compressed blob property (#615) (d305f9f), closes #602
  • fix failing unit test (#607) (5d3927e), closes #606
  • handle unpickling between GAE NDB (2.7) to Cloud NDB (3) (#596) (5be4225)
  • mock call to tasklets.sleep in unit test (#609) (00e23f3), closes #608
  • prevent mismatch error when using default namespace on ancestor queries (#614) (ae67f04)
  • reimplement _clone_properties (#610) (e23f42b), closes #566
  • replicate legacy behavior for using cache with queries (#613) (edd1185), closes #586
  • support int as base type for BooleanProperty (#624) (a04bf3a)

v1.7.3

21 Jan 23:46
51f49a9
Compare
Choose a tag to compare

Bug Fixes

  • handle negatives in protobuf deserialization (#591) (0d3d3ca), closes #590
  • make nested retry blocks work for RPC calls (#589) (f125459)

Documentation

v1.7.2

16 Dec 20:02
d091f0f
Compare
Choose a tag to compare

Bug Fixes

  • always use brute-force counting with Datastore emulator and clean up related hacks (#585) (8480a8b)
  • return a tuple when empty result returned on query (#582) (7cf0e87)
  • support empty not_finished messages that cause query.count() to return early (#580) (fc31553), closes #575

Documentation

  • Add urlsafe() info to migration notes (#579) (9df2f9f)

v1.7.1

11 Nov 18:47
bcf6dbc
Compare
Choose a tag to compare

Bug Fixes

  • dependencies: Pin to less than 2.0.0 for google-cloud-datastore (#569) (c8860a6), closes #568

v1.7.0

23 Oct 19:47
ffecc5b
Compare
Choose a tag to compare

Features

  • fault tolerance for global caches (#560) (8ab8ee0), closes #557
  • Transaction propagation using ndb.TransactionOptions (#537) (f3aa027)

v1.6.1

08 Oct 22:17
b01ede2
Compare
Choose a tag to compare

Bug Fixes

  • [@non](https://www.github.com/non)_transactional decorator was not working correctly with async (#554) (758c8e6), closes #552
  • fix a connection leak in RedisCache (#556) (47ae172)
  • get_by_id and get_or_insert should use default namespace when passed in (#542) (3674650), closes #535

Documentation

  • address docs builds and memcached customization to docker file (#548) (88e7e24)
  • update docker image used for docs generation #549 (5e8bf57)

v1.6.0

18 Sep 01:01
1a8116f
Compare
Choose a tag to compare

Features

v1.5.2

08 Sep 17:32
3aa480a
Compare
Choose a tag to compare

Bug Fixes

  • avoid kind error when using subclasses in local structured properties (#531) (49f9e48)
  • fix bug when setting naive datetime on DateTimeProperty with timezone (#534) (ad42606), closes #517
  • make optimized Query.count() work with the datastore emulator (#528) (e5df1e3), closes #525
  • make sure keys_only ordered multiquery returns keys not entities (#527) (2078dc1), closes #526

Documentation

v1.5.1

28 Aug 19:01
521545c
Compare
Choose a tag to compare

Bug Fixes

  • fix exception handling bug in tasklets (#520) (fc0366a), closes #519
  • fix format exceptions in utils.logging_debug (#514) (d38c0a3), closes #508
  • transparently add sort properties to projection for multiqueries (#511) (4e46327), closes #509