- Fix bug in
Bucket.updateMetadata
such thatacl: null
is allowed. Since, this is the only valid value for buckets with uniform access policies.
- Fix bug in
ObjectMetadata.replace
wherecontentEncoding
overwrotecontentDisposition
andcontentLanguage
.
-
BucketEntry
is nowsealed
this may cause breakage for anyone implementingBucketEntry
. -
Feature
BucketEntry
objects returns fromBucket.list
are now instances of:BucketDirectoryEntry
, or,BucketObjectEntry
, which implementsObjectInfo
exposing metadata.
This means that anyone using
Bucket.list
to find objects, does not need to useBucket.info
to fetch metadata for an object. -
Minimum Dart SDK constraint bumped to
^3.0.0
.
- Update the pubspec repository field to reflect the repo move.
- Support override metadata properties in
copyObject
.
- Support the latest version
^13.0.0
of thegoogleapis
package.
- Support the latest version 12.0.0 of the
googleapis
package.
- After the first
Page
created byDatastore.withRetry()
retries were not happening. This is now fixed, ensuring thatPage.next()
will always retry whenDatastore
is wrapped withDatastore.withRetry()
. - Calling with
wait: false
inSubscription.pull(wait: false)
forPubSub
have been deprecated.
- Widen the SDK constraint to support Dart 3.0
- Support retrying Datastore operations.
- Support the latest version 1.0.0 of the
http
package. - Support the latest version 12.0.0 of the
googleapis
package.
- Require Dart 2.19
- Add topics in
pubspec.yaml
.
- Fix
Bucket.write
when size is below 1MB.
- Throttle streams piped into
Bucket.write
when the size is not known beforehand. - Support the latest version 9.0.0 of the
googleapis
package.
- Support the latest version 7.0.0 of the
googleapis
package.
- Support the latest version 6.0.0 of the
googleapis
package.
- Support the latest version of the
googleapis
package.
- 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
.
lookupOrNull
method inDatastoreDB
andTransaction
.
- Require Dart 2.12 or later
- Migration to null safety.
- Fixed issue in reflection code affecting
Model<int>
andModel<String>
, but notModel<dynamic>
.
- Added
delimiter
toBucket.list
andBucket.page
(0.7.1
only added them the implementation).
- Added
delimiter
toBucket.list
andBucket.page
. - Fix typing of
ExpandoModel
toExpandoModel<T>
as we should have done in version0.7.0
.
- Upgrade dependency on
_discoveryapis_commons
, changingApiRequestError
from anError
to anException
. Version constraints on_discoveryapis_commons
allows 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 (eitherString
orint
). A model can now be defined asclass MyModel extends Model<String> {}
andmyModel.id
will then be of typeString
andmyModel.key
of typeKey<String>
.
- Require minimum Dart SDK
2.3.0
.
- Added
DatastoreDB.lookupValue()
- Fixed bug in
Transaction.rollback()
.
- Added examples.
- Fixed formatting and lints.
- Allow
Model
classes 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
googleapis
andgoogleapis_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 item in the list. -
Adds optional
forComparison
named argument toProperty.encodeValue
which will be set totrue
when encoding a value for comparison in queries. -
Upgrade to newer versions of
package:googleapis
andpackage: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
googleapis
andgoogleapis_beta
.
- Widen constraint on
googleapis
andgoogleapis_beta
.
Storage.read
now honorsoffset
andlength
arguments.
- 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
defaultPartition
parameter 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.dart
library. - Added global getters for getting gcloud services from the current service scope.
- Added an
package:gcloud/http.dart
library using service scopes.
-
Increased version constraint on googleapis{,_auth,_beta}.
-
Removed unused imports.
- First release.