⚠️ NOTE: These changes may not reflect the final plugin changes/API as it's still going through review.
Along with the below changes, the plugin has undergone a quality of life update to better support exceptions thrown. Any Firestore specific errors now return a FirebaseException, allowing you to directly access the code (e.g. permission-denied) and message.
Firestore:
- BREAKING:
settings()is now a synchronous setter that accepts aSettingsinstance.- NEW: This change allows us to support changing Firestore settings (such as using the Firestore emulator) without having to quit the application, e.g. Hot Restarts.
- DEPRECATED: Calling
document()is deprecated in favor ofdoc().