Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 36 million developers.Sign up
- Fixes a bug where attempting to access a local app in a different region would result in an error.
- Fix bug where stream would sometimes fail to open because an expired session was note being refreshed.
- Various internal fixes and improvements.
- Support for Swift 5 and Xcode 10.2
- Added support for "compact" watch streams.
- Various API documentation improvements.
- Internal improvements
- Streamlined release process
- Added performance testing suite
- Introduces multi-user support for iOS SDK
- Adds the ability to
watcha set of documents for changes
- Adds support for MongoDB
- Various sync performance improvements
NOTE: This release has breaking changes for the Mobile Sync Beta.
- The methods configure, syncOne, syncMany, desyncOne, desyncMany, getSyncedIds, getPausedDocumentIds, and resumeSyncForDocument are now asynchronous and accept a completion listener. This is to prevent accidentally freezing the UI on sync tasks.
- Existing code that calls configure, syncOne, syncMany, desyncOne, and desyncMany, getSyncedIds, getPausedDocumentIDs and resumeSyncForDocument will need to be modified to pass in a completion listener. A no-op closure can be used if you do not need to react to the event.
In this release we have released the beta of Stitch Mobile Sync! Documentation to follow shortly.
We've also upgraded the underlying Swift Driver and MongoMobile libraries.
- Support for contacting applications deployed with a "local" deployment model
- Before the first call to the client v2 API, the SDK now contacts the global MongoDB Stitch server to find out the deployment model and localized hostname for the application. The call is then redirected to the localized hostname (e.g. calls to Stitch for an app deployed locally to US-VA will hit a stitch server residing specifically in that location, while an app deployed globally will always use the global Stitch URL)
- Subsequent calls to the API use the cached result
toArrayto all find operations, with soft deprecation of
- Linted internal code and fixed documentation generation issues.