googleapis
package.googleapis
package.googleapis
package.Page.next()
throws if Page.isLast
, this change only affects code not migrated to null-safety, when paging through results in pub-sub and storage without checking Page.isLast
. Code fully migrated to null-safety will have experienced a runtime null check error, and paging code for datastore already throw an Error
.lookupOrNull
method in DatastoreDB
and Transaction
.Model<int>
and Model<String>
, but not Model<dynamic>
.delimiter
to Bucket.list
and Bucket.page
(0.7.1
only added them the implementation).delimiter
to Bucket.list
and Bucket.page
.ExpandoModel
to ExpandoModel<T>
as we should have done in version 0.7.0
._discoveryapis_commons
, changing ApiRequestError
from an Error
to an Exception
. Version constraints on _discoveryapis_commons
allows both new and old versions.Model.id
.String
int
). A model can now be defined as class MyModel extends Model<String> {}
and myModel.id
will then be of type String
and myModel.key
of type Key<String>
.2.3.0
.DatastoreDB.lookupValue()
Transaction.rollback()
.Model
classes to contain constructors with optional or named arguments (as long as they're annotated with @required
).withTransaction()
.pkg:http
.package:_discoveryapis_commons
db.query(Person).run()
and getting back a generic Stream<Model>
, you now write db.query<Person>().run()
and get Stream<Person>
. The same goes for .lookup([key])
, which can now be written as .lookup<Person>([key])
and will return a List<Person>
.Made a number of strong-mode improvements.
Updated dependency on googleapis
and googleapis_beta
.
Remove support for FilterRelation.In
and “propertyname IN” for queries: This is not supported by the newer APIs and was originally part of fat-client libraries which performed multiple queries for each iten in the list.
Adds optional forComparision
named argument to Property.encodeValue
which will be set to true
when encoding a value for comparison in queries.
Upgrade to newer versions of package:googleapis
and package:googleapis_beta
Upgrade to use stable package:googleapis/datastore/v1.dart
.
The internal [DatastoreImpl] class takes now a project name without the s~
prefix.
db.query().filter()
.googleapis
and googleapis_beta
.googleapis
and googleapis_beta
.Storage.read
now honors offset
and length
arguments.googleapis/googleapis_beta
defaultPartition
parameter to the constructor of DatastoreDB
.package:appengine/db.dart
: Correctly handle ListProperties of length 1.package:gcloud/service_scope.dart
library.package:gcloud/http.dart
library using service scopes.Increased version constraint on googleapis{,_auth,_beta}.
Removed unused imports.