Skip to content

Upgrading cloud_firestore 0.0 to 0.1

Breaking0.0.6 → 0.1.2Breaking1New2Changed1Fixed1Other2

BreakingUpgrade verdict

1 breaking change.

  • Code that read the document's path directly from a snapshot must now get it another way.
1 item needs code or config changes
Breaking1
Removes the path field from DocumentSnapshot.
DocumentSnapshot

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

  • removed: field DocumentSnapshot.path: final String
  • changed: method DocumentReference.setData(Map<String, dynamic> data): Future<Null> → method DocumentReference.setData(Map<String, dynamic> data, [SetOptions options]): Future<Null>
  • added: class SetOptions
  • added: get DocumentSnapshot.reference: DocumentReference
  • added: method DocumentReference.updateData(Map<String, dynamic> data): Future<Null>
  • added: static field SetOptions.merge: const SetOptions