Skip to content

Upgrading cloud_firestore 0.7 to 0.8

Review needed0.7.4 โ†’ 0.8.2+3New3Changed2Fixed2Other2

Review neededUpgrade verdict

2 changed defaults.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • changed: method Query.where( String field, { dynamic isEqualTo, dynamic isLessThan, dynamic isLessThanOrEqualTo, dynamic isGreaterThan, dynamic isGreaterThanOrEqualTo, bool isNull, }): Query โ†’ method Query.where( String field, { dynamic isEqualTo, dynamic isLessThan, dynamic isLessThanOrEqualTo, dynamic isGreaterThan, dynamic isGreaterThanOrEqualTo, dynamic arrayContains, bool isNull, }): Query
  • changed: method WriteBatch.commit(): Future<Null> โ†’ method WriteBatch.commit(): Future<void>
  • added: class FieldValue
  • added: class Timestamp implements Comparable<Timestamp>
  • added: ctor Timestamp(this._seconds, this._nanoseconds)
  • added: ctor Timestamp.fromDate(DateTime date)
  • added: ctor Timestamp.fromMicrosecondsSinceEpoch(int microseconds)
  • added: ctor Timestamp.fromMillisecondsSinceEpoch(int milliseconds)
  • added: ctor Timestamp.now()
  • added: enum FieldValueType
  • added: field FieldValue.type: final FieldValueType
  • added: field FieldValue.value: final dynamic
  • added: get Timestamp.hashCode: int
  • added: get Timestamp.microsecondsSinceEpoch: int
  • added: get Timestamp.millisecondsSinceEpoch: int
  • added: get Timestamp.nanoseconds: int
  • added: get Timestamp.seconds: int
  • added: member FieldValueType.arrayRemove
  • added: member FieldValueType.arrayUnion
  • added: member FieldValueType.delete
  • added: member FieldValueType.serverTimestamp
  • added: method Firestore.enablePersistence(bool enable): Future<void>
  • added: method Firestore.settings( {bool persistenceEnabled, String host, bool sslEnabled, bool timestampsInSnapshotsEnabled}): Future<void>
  • added: method Timestamp.compareTo(Timestamp other): int
  • added: method Timestamp.operator ==(dynamic o): bool
  • added: method Timestamp.toDate(): DateTime
  • added: method Timestamp.toString(): String
  • added: static field FirestoreMessageCodec.int>: const Map<FieldValueType, int>
  • added: static method FieldValue.arrayRemove(List<dynamic> elements): FieldValue
  • added: static method FieldValue.arrayUnion(List<dynamic> elements): FieldValue
  • added: static method FieldValue.delete(): FieldValue
  • added: static method FieldValue.serverTimestamp(): FieldValue