Upgrading cloud_firestore 0.0 to 0.1
Breaking0.0.6 → 0.1.2Breaking1New2Changed1Fixed1Other2
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Code that read the document's path directly from a snapshot must now get it another way.
Must act 1 item needs code or config changes
What you must change
Breaking1
Removes the path field from DocumentSnapshot.
DocumentSnapshotAPI changes
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