382 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			Markdown
		
	
	
	
			
		
		
	
	
			382 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			Markdown
		
	
	
	
| ## 0.12.5
 | |
| 
 | |
| * Makes `startAtDocument`, `startAfterDocument`, `endAtDocument` and `endBeforeDocument` work
 | |
|   with `Query.collectionGroup` queries.
 | |
| * Fixes `startAtDocument`, `startAfterDocument`, `endAtDocument` and `endBeforeDocument` to
 | |
|   also work with a descending order as the last explicit sort order.
 | |
| * Fixed an integration test by increasing the value of `cacheSizeBytes` to a valid value.
 | |
| 
 | |
| ## 0.12.4
 | |
| 
 | |
| * Added support for `Query.collectionGroup`.
 | |
| 
 | |
| ## 0.12.3
 | |
| 
 | |
| * Added support for `cacheSizeBytes` to `Firestore.settings`.
 | |
| 
 | |
| ## 0.12.2
 | |
| 
 | |
| * Ensure that all channel calls to the Dart side from the Java side are done
 | |
|   on the UI thread. This change allows Transactions to work with upcoming
 | |
|   Engine restrictions, which require channel calls be made on the UI thread.
 | |
|   **Note** this is an Android only change, the iOS implementation was not impacted.
 | |
| * Updated the Firebase reporting string to `flutter-fire-fst` to be consistent
 | |
|   with other reporting libraries.
 | |
| 
 | |
| ## 0.12.1
 | |
| 
 | |
| * Added support for `Source` to `Query.getDocuments()` and `DocumentReference.get()`.
 | |
| 
 | |
| ## 0.12.0+2
 | |
| 
 | |
| * Bump the minimum Flutter version to 1.5.
 | |
| * Replace invokeMethod with invokeMapMethod wherever necessary.
 | |
| 
 | |
| ## 0.12.0+1
 | |
| 
 | |
| * Send user agent to Firebase.
 | |
| 
 | |
| ## 0.12.0
 | |
| 
 | |
| * **Breaking change**. Fixed `CollectionReference.parent` to correctly return a `DocumentReference`.
 | |
|   If you were using the method previously to obtain the parent
 | |
|   document's id via `collectionReference.parent().id`,
 | |
|   you will have to use `collectionReference.parent().documentID` now.
 | |
| * Added `DocumentReference.parent`.
 | |
| 
 | |
| ## 0.11.0+2
 | |
| 
 | |
| * Remove iOS dependency on Firebase/Database and Firebase/Auth CocoaPods.
 | |
| 
 | |
| ## 0.11.0+1
 | |
| 
 | |
| * Update iOS CocoaPod dependencies to '~> 6.0' to ensure support for `FieldValue.increment`.
 | |
| 
 | |
| ## 0.11.0
 | |
| 
 | |
| * Update Android dependencies to latest.
 | |
| 
 | |
| ## 0.10.1
 | |
| 
 | |
| * Support for `startAtDocument`, `startAfterDocument`, `endAtDocument`, `endBeforeDocument`.
 | |
| * Added additional unit and integration tests.
 | |
| 
 | |
| ## 0.10.0
 | |
| 
 | |
| * Support for `FieldValue.increment`.
 | |
| * Remove `FieldValue.type` and `FieldValue.value` from public API.
 | |
| * Additional integration testing.
 | |
| 
 | |
| ## 0.9.13+1
 | |
| 
 | |
| * Added an integration test for transactions.
 | |
| 
 | |
| ## 0.9.13
 | |
| 
 | |
| * Remove Gradle BoM to avoid Gradle version issues.
 | |
| 
 | |
| ## 0.9.12
 | |
| 
 | |
| * Move Android dependency to Gradle BoM to help maintain compatibility
 | |
|   with other FlutterFire plugins.
 | |
| 
 | |
| ## 0.9.11
 | |
| 
 | |
| * Bump Android dependencies to latest.
 | |
| 
 | |
| # 0.9.10
 | |
| 
 | |
| * Support for cloud_firestore running in the background on Android.
 | |
| * Fixed a bug in cleanup for DocumentReference.snapshots().
 | |
| * Additional integration testing.
 | |
| 
 | |
| ## 0.9.9
 | |
| 
 | |
| * Remove `invokeMapMethod` calls to prevent crash.
 | |
| 
 | |
| ## 0.9.8
 | |
| 
 | |
| * Add metadata field to DocumentSnapshot.
 | |
| 
 | |
| ## 0.9.7+2
 | |
| 
 | |
| * Bump the minimum Flutter version to 1.2.0.
 | |
| * Add template type parameter to `invokeMethod` calls.
 | |
| 
 | |
| ## 0.9.7+1
 | |
| 
 | |
| * Update README with example of getting a document.
 | |
| 
 | |
| ## 0.9.7
 | |
| 
 | |
| * Fixes a NoSuchMethodError when using getDocuments on iOS (introduced in 0.9.6).
 | |
| * Adds a driver test for getDocuments.
 | |
| 
 | |
| ## 0.9.6
 | |
| 
 | |
| * On iOS, update null checking to match the recommended pattern usage in the Firebase documentation.
 | |
| * Fixes a case where snapshot errors might result in plugin crash.
 | |
| 
 | |
| ## 0.9.5+2
 | |
| 
 | |
| * Fixing PlatformException(Error 0, null, null) which happened when a successful operation was performed.
 | |
| 
 | |
| ## 0.9.5+1
 | |
| 
 | |
| * Log messages about automatic configuration of the default app are now less confusing.
 | |
| 
 | |
| ## 0.9.5
 | |
| 
 | |
| * Fix an issue on some iOS devices that results in reading incorrect dates.
 | |
| 
 | |
| ## 0.9.4
 | |
| 
 | |
| * No longer sends empty snapshot events on iOS when encountering errors.
 | |
| 
 | |
| ## 0.9.3
 | |
| 
 | |
| * Fix transactions on iOS when getting snapshot that doesn't exist.
 | |
| 
 | |
| ## 0.9.2
 | |
| 
 | |
| * Fix IllegalStateException errors when using transactions on Android.
 | |
| 
 | |
| ## 0.9.1
 | |
| 
 | |
| * Fixed Firebase multiple app support in transactions and document snapshots.
 | |
| 
 | |
| ## 0.9.0+2
 | |
| 
 | |
| * Remove categories.
 | |
| 
 | |
| ## 0.9.0+1
 | |
| 
 | |
| * Log a more detailed warning at build time about the previous AndroidX
 | |
|   migration.
 | |
| 
 | |
| ## 0.9.0
 | |
| 
 | |
| * **Breaking change**. Migrate from the deprecated original Android Support
 | |
|   Library to AndroidX. This shouldn't result in any functional changes, but it
 | |
|   requires any Android apps using this plugin to [also
 | |
|   migrate](https://developer.android.com/jetpack/androidx/migrate) if they're
 | |
|   using the original support library.
 | |
| 
 | |
| ## 0.8.2+3
 | |
| 
 | |
| * Resolved "explicit self reference" and "loses accuracy" compiler warnings.
 | |
| 
 | |
| ## 0.8.2+2
 | |
| 
 | |
| * Clean up Android build logs. @SuppressWarnings("unchecked")
 | |
| 
 | |
| ## 0.8.2+1
 | |
| 
 | |
| * Avoid crash in document snapshot callback.
 | |
| 
 | |
| ## 0.8.2
 | |
| 
 | |
| * Added `Firestore.settings`
 | |
| * Added `Timestamp` class
 | |
| 
 | |
| ## 0.8.1+1
 | |
| 
 | |
| * Bump Android dependencies to latest.
 | |
| 
 | |
| ## 0.8.1
 | |
| 
 | |
| * Fixed bug where updating arrays in with `FieldValue` always throws an Exception on Android.
 | |
| 
 | |
| ## 0.8.0
 | |
| 
 | |
| Note: this version depends on features available in iOS SDK versions 5.5.0 or later.
 | |
| To update iOS SDK in existing projects run `pod update Firebase/Firestore`.
 | |
| 
 | |
| * Added `Firestore.enablePersistence`
 | |
| * Added `FieldValue` with all currently supported values: `arrayUnion`, `arrayRemove`, `delete` and
 | |
|   `serverTimestamp`.
 | |
| * Added `arrayContains` argument in `Query.where` method.
 | |
| 
 | |
| ## 0.7.4
 | |
| 
 | |
| * Bump Android and Firebase dependency versions.
 | |
| 
 | |
| ## 0.7.3
 | |
| 
 | |
| * Updated Gradle tooling to match Android Studio 3.1.2.
 | |
| 
 | |
| ## 0.7.2
 | |
| 
 | |
| * Fixes crash on Android if a FirebaseFirestoreException happened.
 | |
| 
 | |
| ## 0.7.1
 | |
| 
 | |
| * Updated iOS implementation to reflect Firebase API changes.
 | |
| * Fixed bug in Transaction.get that would fail on no data.
 | |
| * Fixed error in README.md code sample.
 | |
| 
 | |
| ## 0.7.0+2
 | |
| 
 | |
| * Update transactions example in README to add `await`.
 | |
| 
 | |
| ## 0.7.0+1
 | |
| 
 | |
| * Add transactions example to README.
 | |
| 
 | |
| ## 0.7.0
 | |
| 
 | |
| * **Breaking change**. `snapshots` is now a method instead of a getter.
 | |
| * **Breaking change**. `setData` uses named arguments instead of `SetOptions`.
 | |
| 
 | |
| ## 0.6.3
 | |
| 
 | |
| * Updated Google Play Services dependencies to version 15.0.0.
 | |
| 
 | |
| ## 0.6.2
 | |
| 
 | |
| * Support for BLOB data type.
 | |
| 
 | |
| ## 0.6.1
 | |
| 
 | |
| * Simplified podspec for Cocoapods 1.5.0, avoiding link issues in app archives.
 | |
| 
 | |
| ## 0.6.0
 | |
| 
 | |
| * **Breaking change**. Renamed 'getCollection()' to 'collection().'
 | |
| 
 | |
| ## 0.5.1
 | |
| 
 | |
| * Expose the Firebase app corresponding to a Firestore
 | |
| * Expose a constructor for a Firestore with a non-default Firebase app
 | |
| 
 | |
| ## 0.5.0
 | |
| 
 | |
| * **Breaking change**. Move path getter to CollectionReference
 | |
| * Add id getter to CollectionReference
 | |
| 
 | |
| ## 0.4.0
 | |
| 
 | |
| * **Breaking change**. Hide Firestore codec class from public API.
 | |
| * Adjusted Flutter SDK constraint to match Flutter release with extensible
 | |
|   platform message codec, required already by version 0.3.1.
 | |
| * Move each class into separate files
 | |
| 
 | |
| ## 0.3.2
 | |
| 
 | |
| * Support for batched writes.
 | |
| 
 | |
| ## 0.3.1
 | |
| 
 | |
| * Add GeoPoint class
 | |
| * Allow for reading and writing DocumentReference, DateTime, and GeoPoint
 | |
|   values from and to Documents.
 | |
| 
 | |
| ## 0.3.0
 | |
| 
 | |
| * **Breaking change**. Set SDK constraints to match the Flutter beta release.
 | |
| 
 | |
| ## 0.2.12
 | |
| 
 | |
| * Fix handling of `null` document snapshots (document not exists).
 | |
| * Add `DocumentSnapshot.exists`.
 | |
| 
 | |
| ## 0.2.11
 | |
| * Fix Dart 2 type errors.
 | |
| 
 | |
| ## 0.2.10
 | |
| * Fix Dart 2 type errors.
 | |
| 
 | |
| ## 0.2.9
 | |
| * Relax sdk upper bound constraint to  '<2.0.0' to allow 'edge' dart sdk use.
 | |
| 
 | |
| ## 0.2.8
 | |
| * Support for Query.getDocuments
 | |
| 
 | |
| ## 0.2.7
 | |
| 
 | |
| * Add transaction support.
 | |
| 
 | |
| ## 0.2.6
 | |
| 
 | |
| * Build fixes for iOS
 | |
| * Null checking in newly added Query methods
 | |
| 
 | |
| ## 0.2.5
 | |
| 
 | |
| * Query can now have more than one orderBy field.
 | |
| * startAt, startAfter, endAt, and endBefore support
 | |
| * limit support
 | |
| 
 | |
| ## 0.2.4
 | |
| 
 | |
| * Support for DocumentReference.documentID
 | |
| * Support for CollectionReference.add
 | |
| 
 | |
| ## 0.2.3
 | |
| 
 | |
| * Simplified and upgraded Android project template to Android SDK 27.
 | |
| * Updated package description.
 | |
| 
 | |
| ## 0.2.2
 | |
| 
 | |
| * Add `get` to DocumentReference.
 | |
| 
 | |
| ## 0.2.1
 | |
| 
 | |
| * Fix bug on Android where removeListener is sometimes called without a handle
 | |
| 
 | |
| ## 0.2.0
 | |
| 
 | |
| * **Breaking change**. Upgraded to Gradle 4.1 and Android Studio Gradle plugin
 | |
|   3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in
 | |
|   order to use this version of the plugin. Instructions can be found
 | |
|   [here](https://github.com/flutter/flutter/wiki/Updating-Flutter-projects-to-Gradle-4.1-and-Android-Studio-Gradle-plugin-3.0.1).
 | |
| * Relaxed GMS dependency to [11.4.0,12.0[
 | |
| 
 | |
| ## 0.1.2
 | |
| 
 | |
| * Support for `DocumentReference` update and merge writes
 | |
| * Suppress unchecked warnings and package name warnings on Android
 | |
| 
 | |
| ## 0.1.1
 | |
| 
 | |
| * Added FLT prefix to iOS types.
 | |
| 
 | |
| ## 0.1.0
 | |
| 
 | |
| * Added reference to DocumentSnapshot
 | |
| * Breaking: removed path from DocumentSnapshot
 | |
| * Additional test coverage for reading collections and documents
 | |
| * Fixed typo in DocumentChange documentation
 | |
| 
 | |
| ## 0.0.6
 | |
| 
 | |
| * Support for getCollection
 | |
| 
 | |
| ## 0.0.5
 | |
| 
 | |
| * Support `isNull` filtering in `Query.where`
 | |
| * Fixed `DocumentChange.oldIndex` and `DocumentChange.newIndex` to be signed
 | |
|   integers (iOS)
 | |
| 
 | |
| ## 0.0.4
 | |
| 
 | |
| * Support for where clauses
 | |
| * Support for deletion
 | |
| 
 | |
| ## 0.0.3
 | |
| 
 | |
| * Renamed package to cloud_firestore
 | |
| 
 | |
| ## 0.0.2
 | |
| 
 | |
| * Add path property to DocumentSnapshot
 | |
| 
 | |
| ## 0.0.1+1
 | |
| 
 | |
| * Update project homepage
 | |
| 
 | |
| ## 0.0.1
 | |
| 
 | |
| * Initial Release
 |