Skip to content

@adamchel adamchel released this Jun 6, 2019 · 1 commit to master since this release

  • Update Jackson dependency to fix security vulnerability.
Assets 2

@adamchel adamchel released this May 31, 2019 · 3 commits to master since this release

NOTE: This release has breaking changes for the MongoDB Mobile Sync Beta

  • Mobile sync now uses compact change streams, which should save on network usage for collections with large documents and frequent updates that only affect a few fields.
    • When calling configure on a Sync, the ChangeEventListener will no longer guarantee that the ChangeEvent will have a non-null result for getFullDocument() if the OperationType is UPDATE.
    • When calling configure on a Sync, the signature for ConflictHandler#resolveConflict has changed:
      • It now returns a ConflictResolution. See the documentation for ConflictResolution for more information.
      • The type of the remote event in resolveConflict is now a CompactChangeEvent, to reflect the type of event received from the server. This means that when the remote event is an UPDATE, getFullDocument() will always return null.
  • It is now possible to add a listener/callback on the stream returned by RemoteMongoCollection#watch and RemoteMongoCollection#watchCompact.
Assets 2

@adamchel adamchel released this May 15, 2019

  • Fixed a bug where an invalid session might not get refreshed, causing sync to freeze up and watch streams to fail to open.
Assets 2

@dkaminsky dkaminsky released this May 6, 2019 · 7 commits to master since this release

  • Adds support for findOne, findOneAndReplace, findOneAndUpdate, findOneAndDelete operations
  • Adds recovery for network reconnect
  • Uses hashing to improve synchronization behavior
  • Automatically versions documents when remote and local are unversioned
  • Local reads now permitted while sync is in progress
  • Fixes various internal bugs and performance issues with the Mobile Sync Beta.
Assets 2

@adamchel adamchel released this Mar 5, 2019 · 51 commits to master since this release

  • Fixes various internal bugs and performance issues with the Mobile Sync Beta.
    • 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 return a Task. This is to prevent accidentally freezing the UI on sync tasks.
      • Existing code that calls configure, syncOne, syncMany, desyncOne, and desyncMany does not need to change, since the they return Task<Void>. A completion listener can be added if you would like to react to configuration completing, or a document being configured as synced, but it is not necessary.
      • Existing code that calls getSyncedIds, getPausedDocumentIds, and resumeSyncForDocument must be called with a completion listener, or Tasks.await to use the result.
Assets 2

@dkaminsky dkaminsky released this Feb 27, 2019

  • Adds multi-user support to the SDK
  • Adds the ability to watch remote collections
  • Miscellaneous behind-the-scenes improvements in sync behavior
Assets 2
Feb 11, 2019
Changelog since 4.1.4:
Release 4.1.5 (276d66f); Jason Flax
Fix unnecessary find (19fac0f); Jason Flax
Fix codec and test bugs (19c8600); Jason Flax
STITCH-2507 Android SDK: syncMany / desyncMany inefficiently restart streams (#95) (ac3314f); Jason Flax
STITCH-2491 - Properly handle missing documents in DataSynchronizer (#93) (40158b1); Douglas Kaminsky

@edaniels edaniels released this Dec 22, 2018 · 111 commits to master since this release

This release addresses some dependency vulnerabilities:

  • io.jsonwebtoken:jjwt:0.9.0 -> io.jsonwebtoken:jjwt:0.9.1
  • com.fasterxml.jackson.core:jackson-databind:2.9.5 -> com.fasterxml.jackson.core:jackson-databind:2.9.7
  • com.fasterxml.jackson.module:jackson-module-kotlin:2.9.5 -> com.fasterxml.jackson.module:jackson-module-kotlin:2.9.7
Assets 2

@adamchel adamchel released this Dec 7, 2018 · 118 commits to master since this release

  • 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
  • Fixed a bug in the sync beta code where a remote event with no version didn't conflict with a local document with no version.
  • Fixed a bug in the sync beta example app where stale local data would sometimes be improperly displayed in the UI.
Assets 2
Nov 28, 2018
Changelog since 4.1.1:
Release 4.1.2 (1c5c43c); Eric Daniels
Interrupt periodically when stopping an NS listener (2c0a73d); Eric Daniels
STITCH-2185 Fix various issues with sync recovery logic, and add unit tests (#78) (b848cb0); Adam Chelminski
You can’t perform that action at this time.