Skip to content

Upgrading cloud_firestore 2 to 3

Breaking2.5.4 → 3.5.1Breaking1Platform1New3Changed5Fixed6Other9

BreakingUpgrade verdict

1 breaking change and a platform requirement change.

  • Android apps using this package must now target at least Android 4.4 (API level 19).
  • This package now requires Dart 2.16.0 or newer.
2 items need code or config changes

Dart SDK requirement changed in 3.1.10: >=2.12.0 <3.0.0 → >=2.16.0 <3.0.0.

Breaking1
Updates the Android minSdk version to 19, required by Firebase Android SDK 29.0.0.
minSdk
Platform1
Updates all Dart SDK version constraints to Dart >= 2.16.0.

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

  • changed: method FirebaseFirestore.runTransaction<T>( TransactionHandler<T> transactionHandler, { Duration timeout = …, }): Future<T> → method FirebaseFirestore.runTransaction<T>( TransactionHandler<T> transactionHandler, { Duration timeout = …, int maxAttempts = …, }): Future<T>