Skip to content

Upgrading cloud_firestore 0.2 to 0.3

Breaking0.2.12 → 0.3.2Breaking1New3

BreakingUpgrade verdict

1 breaking change.

  • This version requires the SDK versions used by the Flutter beta release, so older setups may need updating.
1 item needs code or config changes

Dart SDK requirement changed in 0.3.0: >=1.8.0 <2.0.0 → >=2.0.0-dev.28.0 <3.0.0.

Requires Flutter >=0.1.4 <2.0.0 from 0.3.0 (none stated before).

Breaking1
Sets SDK constraints to match the Flutter beta release.

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

  • removed: class ServerValue
  • removed: static field ServerValue.String>: const Map<String, String>
  • removed: static field ServerValue.timestamp: const Map<String, String>
  • added: class FirestoreMessageCodec extends StandardMessageCodec
  • added: class GeoPoint
  • added: class WriteBatch
  • added: ctor FirestoreMessageCodec()
  • added: ctor GeoPoint(this.latitude, this.longitude)
  • added: field GeoPoint.latitude: final double
  • added: field GeoPoint.longitude: final double
  • added: get DocumentReference.hashCode: int
  • added: get GeoPoint.hashCode: int
  • added: method DocumentReference.operator ==(dynamic o): bool
  • added: method Firestore.batch(): WriteBatch
  • added: method FirestoreMessageCodec.readValueOfType(int type, ReadBuffer buffer): dynamic
  • added: method FirestoreMessageCodec.writeValue(WriteBuffer buffer, dynamic value): void
  • added: method GeoPoint.operator ==(dynamic o): bool
  • added: method WriteBatch.commit(): Future<Null>
  • added: method WriteBatch.delete(DocumentReference document): void
  • added: method WriteBatch.setData(DocumentReference document, Map<String, dynamic> data, [SetOptions options]): void
  • added: method WriteBatch.updateData(DocumentReference document, Map<String, dynamic> data): void