aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/CHANGELOG.md
Commit message (Collapse)AuthorAge
* Replace `QueryListenOptions` with simple booleans (#1106)Gravatar Gil2018-04-15
| | | | | | | | | | | | | | | | | | | | | | | * Replace `QueryListenOptions` with simple booleans Instead of calling addSnapshotListener( options:QueryListenOptions.includeQueryMetadataChanges() .includeDocumentMetadataChanges()) call addSnapshotListener(includeMetadataChanges:true) Also change `QuerySnapshot.documentChanges()` into a method which optionally takes `includeMetadataChanges:true`. By default even when listening to a query with `inlcudeMetadataChanges:true` metadata-only document changes are suppressed because they're confusing. * Revert QuerySnapshot.documentChanges back to a property Add usage.
* Replace the `SetOptions` object with a simple boolean. (#1098)Gravatar Gil2018-04-15
| | | | | | | | | Instead of calling `setData(["a": "b"], options: SetOptions.merge())` call `setData(["a": "b"], merge: true)`
* Replace `DocumentListenOptions` with a simple boolean. (#1099)Gravatar Gil2018-04-14
| | | | | | | | | | | | | | * Replace `DocumentListenOptions` with a simple boolean. Instead of calling `addSnapshotListener(options: DocumentListenOptions.includeMetadataChanges(true))` call `addSnapshotListener(includeMetadataChanges:true)` * Style
* Updating Firestore Changelog for v0.11.0Gravatar Sebastian Schmidt2018-04-02
|
* Add a flag to control whether DocumentSnapshots return Dates or Timestamps ↵Gravatar Konstantin Varlamov2018-03-30
| | | | | | | | for timestamp fields (#831) * add a new property `timestampsInSnapshotsEnabled` to `FirestoreSettings`, `false` by default; * add a verbose warning message urging users to opt into the new behavior; * set `timestampsInSnapshotsEnabled` to true in the integration tests to reduce the verbose console spam during the test run and make sure the flag won't break anything once it's flipped.
* backtick-escape code blockGravatar Morgan Chen2018-03-26
|
* Fix issue that could cause offline get()s to wait up to 10 seconds. (#978)Gravatar Michael Lehenbauer2018-03-26
| | | | | | | | | Port of https://github.com/firebase/firebase-js-sdk/pull/592 FSTOnlineStateTracker was reverting to OnlineState Unknown on every stream attempt rather than remaining Offline once the offline heuristic had been met (i.e. 2 stream failures or 10 seconds). This means that getDocument() requests made while offline could be delayed up to 10 seconds each time (or until the next backoff attempt failed).
* Add a CHANGELOG entry for fixed absl symbols (#918)Gravatar Gil2018-03-14
|
* Update CHANGELOG for Firestore v0.10.4 (#914)Gravatar Gil2018-03-13
|
* Fix MutationQueue issue resulting in re-sending acknowledged writes. (#909)Gravatar Michael Lehenbauer2018-03-12
| | | | | | | | Port of: https://github.com/firebase/firebase-js-sdk/pull/559 Should address #772 once released. getNextMutationBatchAfterBatchId() was not respecting highestAcknowledgedBatchId and therefore we were resending writes after the network was disabled / re-enabled.
* Merge Release 4.10.1 into Master (#896)Gravatar zxu2018-03-09
| | | | | | | | | | | | | | | | | | | | | | | * Version bumps for Firebase 4.10.1 (#891) * Minimal fix for b/74357976 (#890) Fixes b/74357976 which caused unauthenticated users to be unable to reach the Firestore backend and updates the changelog. * Copy all C++ strings to NSString where they're not obviously safe (#893) This fixes a known instances of memory corruption where in FSTLevelDBMutationQueue, the NSString view was retained for later, and the incorrect user was used, causing b/74381054. gRPC does not necessarily copy its string argumnets and if our hostname were configured to a non-default one it's possible that we could corrupt the host cache too. All remaining usages of util::WrapNSStringNoCopy are obviously safe: passed into logging or other known transient usages. * fix lint
* Add 10 second timeout waiting for connection before client behaves as-if ↵Gravatar Michael Lehenbauer2018-03-05
| | | | | | | | | | | | | | | | | | | | offline. (#872) [Port of https://github.com/firebase/firebase-js-sdk/commit/0fa319e5e019dd0d40ab441d2ff9f8f6d4724e43] * Refactored FSTOnlineState tracking out of FSTRemoteStore and into new FSTOnlineStateTracker component. * Added a 10 second timeout to transition from OnlineState.Unknown to OnlineState.Offline rather than waiting indefinitely for the stream to succeed or fail. * Removed hack to run SpecTests using an FSTDispatchQueue that wrapped dispatch_get_main_queue(). This was incompatible with [FSTDispatchQueue runDelayedCallbacksUntil:] since it queues work and blocks waiting for it to complete. Now spec tests create / use a proper FSTDispatchQueue. * Added a SpecTest to verify OnlineState timeout behavior. * Misc cleanup: * Renamed FSTOnlineState states: Failed => Offline, Healthy => Online * Renamed FSTTimerIds (ListenStreamConnection => ListenStreamConnectionBackoff) * Added ability to run timers from spec tests.
* Update CHANGELOG for Firestore v0.10.2 (#856)Gravatar Gil2018-02-26
|
* Update CHANGELOG for Firestore v0.10.1 (#768)Gravatar Gil2018-02-08
|
* Add changelog entry for my last PR (oops) and also add a few that we missed ↵Gravatar Michael Lehenbauer2018-01-29
| | | | last release. (#724)
* Update CHANGELOG for Firestore v0.10.0 (#649)Gravatar Gil2018-01-11
|
* Fix FSTLocalDocumentsView to allow multiple mutations while offline (#644)Gravatar rsgowman2018-01-11
| | | | | * Fix FSTLocalDocumentsView to allow multiple mutations while offline. Previously, only the last mutation would actually be visible.
* b/68276665: Raise isFromCache=true events when offline (#567)Gravatar Michael Lehenbauer2017-12-15
| | | | | | | | | | | | | | | | * Plumbs FSTOnlineState changes through to views. * View sets this.current to false on FSTOnlineStateFailed, triggering isFromCache=true events. It will automatically be returned to true once the listen is reestablished and we get a new CURRENT message. * Updated tests (and added one new one) to verify behavior. * Unifies setOnlineStateToUnknown, setOnlineStateToHealthy, and updateAndBroadcastOnlineState into a single updateOnlineState method. * Split disableNetwork into (public) disableNetwork and (private) disableNetworkWithTargetOnlineState methods.. * Some miscellaneous comment cleanup. * Add missing comment per CR feedback.
* MergeGravatar Sebastian Schmidt2017-12-12
|\
| * Moving changelogGravatar Sebastian Schmidt2017-12-12
| |
| * Merge branch 'firestore-api-changes' into mrschmidt-timestampsGravatar Sebastian Schmidt2017-12-12
| |\
* | | Addressing commentsGravatar Sebastian Schmidt2017-12-12
| | |
| * | Addressing commentsGravatar Sebastian Schmidt2017-12-12
| | |
| | * Merge branch 'master' into firestore-api-changesGravatar Marek Gilbert2017-12-11
| | |\
| | | * Update CHANGELOG for Firestore v0.9.4 (#556)Gravatar Gil2017-12-11
| | |/ | |/|
| | * Revisit commit method in FIRWriteBatch (#541)Gravatar zxu2017-12-11
| |/ |/| | | | | | | | | | | | | | | | | * revisit FIRWriteBatch commit * make commitWithCompletion completion nullable; * add commit; * add unit test; * add swift build test for commit; * update CHANGELOG.
* | make FIRDocumentListenOptions.includeMetadataChanges private (#540)Gravatar zxu2017-12-08
| | | | | | | | | | | | | | | | * make FIRDocumentListenOptions.includeMetadataChanges private as discussed in Firestore API discussion, the name clashes creates confusion. Android SDK already not exposing the property; here change iOS SDK to match it. * update CHANGELOG
* | Implement NSPredicate-based query (#531)Gravatar zxu2017-12-07
|/ | | | | | * implement queryFilteredUsingPredicate in FIRQuery; * add unit test and integration test for queryFilteredUsingPredicate; * project change of adding the FIRQueryTests.m file; * refactoring queryFilteredUsingPredicate to split logic into two helpers;
* Merge pull request #510 from firebase/mrschmidt-crashGravatar Sebastian Schmidt2017-12-01
|\ | | | | Fixing race in FSTWriteStream
| * Adding Changelog entryGravatar Sebastian Schmidt2017-12-01
| |
* | Fix StringView to properly convert NSStrings (#509)Gravatar rsgowman2017-11-30
| | | | | | | | | | | | | | | | | | NSStrings are utf16, so NSString::length returns the number of utf16 characters present in the string. When the string is entirely made up of US-ASCII characters, everything's fine. But when characters requiring 16 bits are present, the size calculations were incorrect. Fixed by calculating the length based on the destination character set (i.e. UTF8).
* | Remove dependency on FirebaseAuth (#505)Gravatar rsgowman2017-11-30
|/ | | | We now use the internal core functionality instead.
* Update CHANGELOG for Firestore v0.9.3 (#498)Gravatar Gil2017-11-28
|
* Update CHANGELOG for Firestore v0.9.2 (#436)Gravatar Gil2017-11-07
|
* Update CHANGELOG for Firestore v0.9.1 (#395)Gravatar Gil2017-10-22
|
* Fix validation of nested arrays to allow indirect nesting (#377)Gravatar Gil2017-10-16
|
* Update CHANGELOG for Firestore v0.9.0 (#371)Gravatar Gil2017-10-11
|
* Adding NS_SWIFT_NAME for FIRListenerRegistration (#339)Gravatar Sebastian Schmidt2017-10-06
|
* Add an NS_SWIFT_NAME for FIRSnapshotMetadata (#334)Gravatar Gil2017-10-04
| | | | | Fixes b/67332554 Note that this is a breaking change for Swift users of the API.
* Add a CHANGELOG for Firestore (#333)Gravatar Gil2017-10-04