Releases: ReallySmallSoftware/cordova-plugin-firestore
Releases · ReallySmallSoftware/cordova-plugin-firestore
Fix error in JS error handling
4.1.1 Implement ios error mapping
Error handling
Return consistent error codes from iOS and Android based on the Javascript version.
Add FieldValue and array functionality
- Amended typescript support
- Updated android firebase dependencies
- Migrate to androidx
- Added in, array-contains and array-contains-any to where method
- Updated Javascript version from 5.5.0 to 7.6.0
- Implemented FieldValue.increment(n), FieldValue.arrayRemove(elements), FieldValue.arrayUnion(elements)
- BREAKING CHANGE: DocumentReference.onSnapshot mimics native Javascritp SDK more accurately
- Add Firestore.totalReads() in Android and iOS to help debug usage
Sub document improvements and additional of tests
User-facing improvements
- Breaking change: QuerySnapshot.docs() now wraps documents in QueryDocumentSnapshots like firebase-js-sdk
- Revert minimum cordova-ios to 4.5.0 and cordova-android to 7.0.0
- Firestore.doc() improvement, can now call .parent correctly on first-level documents
- CollectionReference.doc() supports id generation when no argument is passed
- Native logs improvement
Technical improvements
- Rename javascript imports to be consistent with file names, this allows running
the JavaScript when running tests - Add tests for the new features and refactoring
Sub collection and doc implementation
- Updated README
- Updated Android dependencies
- Added full nested collection implementation - may break backwards compatibility
- Added doc() support to Firestore class
- Add parent to DocumentReference and CollectionReference
- Fix podspec for cordova-ios 5
Geopoint and Timestamp support
- Refactor README
- Reset some significant breaking changes
- Make sure jshint task passes
- Implement Geopoint and Timestamp
Merge changes and new features
- Merge multi-project config changes
- Merge sub document changes
- Update Web SDK reference to 5.2.0
- Introduce QueryDataSnapshot
- Implement timestampsInSnapshots option in configuration
Updated Firebase dependencies
- Update Android dependency versions
- Update iOS dependency versions
- Update plugin dependencies
Transactions and FieldValue
- Add support for FieldValue
- Add experimental support for Transactions
- Add startswith polyfill
1.0.10
Correct messages that were being logged as errors