Version 0.6.0 (Pre M1)
General
- Update required version of
protobuf
to3.0.0-alpha-1
. - Add
from_service_account_json
,from_service_account_p12
andfrom_environment
factories toConnection
base class, allowing creation of a connection without first creating a set of credentials.
Datastore
- Fix serious bug where the transaction ID was not passed along to transactions, effectively making a transaction act as a batch.
- Add appropriate scope to un-scoped credentials passed to connection constructor.
- Enable
connection
as an optional argument to all methods and functions which use a connection. - Require
exclude_from_indexes
to be a tuple or list inEntity
constructor. - Require
projection
,order
andgroup_by
to be a tuple or list inQuery
constructor. - Re-purpose
datastore.get
to take a single key; move previous functionality todatastore.get_multi
. Similar
changes were made for
datastore.put --> datastore.put_multi
and
datastore.delete --> datastore.delete_multi
Storage
- Add support for "futures", to allow GET/PATCH to work correctly in a batch.
- Remove default chunk size in upload/download.
- Add lazily-loaded default connection and project.
- Remove connection property from
Blob
/ACL
/Bucket
classes. - Enable
connection
as an optional argument to all methods and functions which use a connection. - Add appropriate scope to un-scoped credentials passed to connection constructor.
- Update public blob URL to use
storage.googleapis.com
. - Remove
Bucket.__iter__
andBucket.__contains__
. - Limit
Bucket.make_public(recursive=True)
to abort if more than 256 objects are in the bucket. This is similar to what is done inBucket.delete(force=True)
.
Pub/Sub
- Add an option to auto-add a timestamp to published, messages, allowing them to be sorted / logged.
- Add appropriate scope to un-scoped credentials passed to connection constructor.
- Enable
connection
as an optional argument to all methods and functions which use a connection. - Fix a bug in
Subscription.pull
for cases whenreceivedMessages
is not returned.