Skip to content

Upgrading cloud_firestore 6 to 7

Breaking6.10.2 โ†’ 7.1.0Breaking1Security1Platform2Deprecated1New2Fixed7

BreakingUpgrade verdict

1 breaking change and 2 platform requirement changes and a security fix.

  • The iOS Firebase SDK is now version 13, which may require updating your iOS project setup.
  • Apple builds now use Firebase Apple SDK 13, and Swift package users need macOS 11 or newer.
  • Android apps must now target at least Android API level 24 (Android 7.0) and use Firebase BoM 35.
  • The iOS app no longer trusts certain security certificates that were compromised, which helps keep connections safe.
5 items need code or config changes
Breaking1
Bumps Firebase iOS SDK to 13.0.0.
Security1
Removes root certificates associated with compromised eMudhra intermediate CAs from the embedded trust store on iOS.
Platform2
Builds on Firebase Apple SDK 13 and requires macOS 11 for Swift packages.
Builds on Firebase BoM 35 and requires minSdk 24.
minSdk
Deprecated1
Deprecates setIndexConfigurationFromJSON.
setIndexConfigurationFromJSON

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

  • changed: method Pipeline.findNearest( Field vectorField, List<double> vectorValue, DistanceMeasure distanceMeasure, { int? limit, }): Pipeline โ†’ method Pipeline.findNearest( Field vectorField, List<double> vectorValue, DistanceMeasure distanceMeasure, { int? limit, String? distanceField, }): Pipeline
  • added: static method FieldValue.maximum(num value): FieldValue
  • added: static method FieldValue.minimum(num value): FieldValue