- Support override metadata properties in
copyObject.
- Support the latest version
^13.0.0of thegoogleapispackage.
- Support the latest version 12.0.0 of the
googleapispackage.
- After the first
Pagecreated byDatastore.withRetry()retries were not happening. This is now fixed, ensuring thatPage.next()will always retry whenDatastoreis wrapped withDatastore.withRetry(). - Calling with
wait: falseinSubscription.pull(wait: false)forPubSubhave been deprecated.
- Widen the SDK constraint to support Dart 3.0
- Support retrying Datastore operations.
- Support the latest version 1.0.0 of the
httppackage. - Support the latest version 12.0.0 of the
googleapispackage.
- Require Dart 2.19
- Add topics in
pubspec.yaml.
- Fix
Bucket.writewhen size is below 1MB.
- Throttle streams piped into
Bucket.writewhen the size is not known beforehand. - Support the latest version 9.0.0 of the
googleapispackage.
- Support the latest version 7.0.0 of the
googleapispackage.
- Support the latest version 6.0.0 of the
googleapispackage.
- Support the latest version of the
googleapispackage.
- BREAKING CHANGE:
Page.next()throws ifPage.isLast, this change only affects code not migrated to null-safety, when paging through results in pub-sub and storage without checkingPage.isLast. Code fully migrated to null-safety will have experienced a runtime null check error, and paging code for datastore already throw anError.
lookupOrNullmethod inDatastoreDBandTransaction.
- Require Dart 2.12 or later
- Migration to null safety.
- Fixed issue in reflection code affecting
Model<int>andModel<String>, but notModel<dynamic>.
- Added
delimitertoBucket.listandBucket.page(0.7.1only added them the implementation).
- Added
delimitertoBucket.listandBucket.page. - Fix typing of
ExpandoModeltoExpandoModel<T>as we should have done in version0.7.0.
- Upgrade dependency on
_discoveryapis_commons, changingApiRequestErrorfrom anErrorto anException. Version constraints on_discoveryapis_commonsallows both new and old versions.
- Fix path separator in Bucket.list().
- BREAKING CHANGE: Add generics support for
Model.id.
It is now possible to define the type of the id a model has (eitherStringorint). A model can now be defined asclass MyModel extends Model<String> {}andmyModel.idwill then be of typeStringandmyModel.keyof typeKey<String>.
- Require minimum Dart SDK
2.3.0.
- Added
DatastoreDB.lookupValue()
- Fixed bug in
Transaction.rollback().
- Added examples.
- Fixed formatting and lints.
- Allow
Modelclasses to contain constructors with optional or named arguments (as long as they're annotated with@required). - Add generics support to
withTransaction().
- Updated package description.
- Added an example showing how to use Google Cloud Storage.
- Fixed code formatting and lints.
- Support the latest
pkg:http.
- Add explicit dependency to
package:_discoveryapis_commons - Widen sdk constraint to <3.0.0
- BREAKING CHANGE: Add generics support. Instead of writing
db.query(Person).run()and getting back a genericStream<Model>, you now writedb.query<Person>().run()and getStream<Person>. The same goes for.lookup([key]), which can now be written as.lookup<Person>([key])and will return aList<Person>.
- Fixes to support Dart 2.
-
Made a number of strong-mode improvements.
-
Updated dependency on
googleapisandgoogleapis_beta.
-
Remove support for
FilterRelation.Inand "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 item in the list. -
Adds optional
forComparisonnamed argument toProperty.encodeValuewhich will be set totruewhen encoding a value for comparison in queries. -
Upgrade to newer versions of
package:googleapisandpackage:googleapis_beta
-
Upgrade to use stable
package:googleapis/datastore/v1.dart. -
The internal [DatastoreImpl] class takes now a project name without the
s~prefix.
- Fix analyzer warning.
- Remove crypto dependency and upgrade dart dependency to >=1.13 since this dart version provides the Base64 codec.
- Throw a [StateError] in case a query returned a kind for which there was no model registered.
- Address analyzer warnings.
- Support value transformation in
db.query().filter(). - Widen constraint on
googleapisandgoogleapis_beta.
- Widen constraint on
googleapisandgoogleapis_beta.
Storage.readnow honorsoffsetandlengtharguments.
- Widen constraint on
googleapis/googleapis_beta
- Fix broken import of package:googleapis/common/common.dart.
- Add support for Cloud Pub/Sub.
- Require Dart version 1.9.
- Enforce fully populated entity keys in a number of places.
- Deduce the query partition automatically from query ancestor key.
- Added optional
defaultPartitionparameter to the constructor ofDatastoreDB.
- Widened googleapis/googleapis_beta constraints in pubspec.yaml.
- Change the service scope keys to non-private symbols.
- Widen package:googleapis dependency constraint in pubspec.yaml.
- Bugfix in
package:appengine/db.dart: Correctly handle ListProperties of length 1.
- Introduced
package:gcloud/service_scope.dartlibrary. - Added global getters for getting gcloud services from the current service scope.
- Added an
package:gcloud/http.dartlibrary using service scopes.
-
Increased version constraint on googleapis{,_auth,_beta}.
-
Removed unused imports.
- First release.