This repository has been archived by the owner on Mar 11, 2022. It is now read-only.
Releases: cloudant/sync-android
Releases · cloudant/sync-android
2.4.1 (2020-03-06)
- [IMPROVED] Record checkpoint on empty
_changes
result in pull replications. This change optimizes
filtered replications when changes in remote database doesn't match the replication filter. - [UPGRADED] Upgraded to version 2.19.0 of the
cloudant-http
library.
2.4.0 (2019-01-15)
- [NEW]
Database
methodsread
,contains
,create
, anddelete
now accept local (non-replicating documents). These documents must have their document ID prefixed with_local/
and must have their revision ID set tonull
(where applicable). - [FIXED] Fixed purge_seq to return a String object when replicating with CouchDB 2.3 databases.
2.3.0 (2018-08-14)
- [NEW] Added API for specifying a list of document IDs in the filtered pull replicator.
- [IMPROVED] Forced a TLS1.2
SSLSocketFactory
where possible on Android API versions < 20 (it is already enabled by default on newer API levels).
2.2.0 (2018-02-14)
- [NEW] Added API for specifying a mango selector in the filtered pull replicator
- [IMPROVED] Improved efficiency of sub-query when picking winning revisions. This improves performance when inserting revisions, including during pull replication.
- [UPGRADED] Upgraded to version 2.12.0 of the
cloudant-http
library.
2.1.0 (2017-12-04)
- [NEW] Added API for upcoming IBM Cloud Identity and Access
Management support for Cloudant on IBM Cloud. Note: IAM API key
support is not yet enabled in the service. - [IMPROVED] Updated documentation by replacing deprecated links with the latest Bluemix or CouchDB links.
- [IMPROVED] Added
seq_interval
to improveChanges
API throughput when replicating from
a CouchDB 2.x endpoint. - [UPGRADED] Upgraded to version 2.11.0 of the
cloudant-http
library.
2.0.2 (2017-06-20)
- [FIXED] Removed cloudant-sync-datastore-android project dependency
on com.google.android:android. This dependency was inadvertently
made a run-time dependency where it should have been a build-time
dependency.
2.0.1 (2017-04-26)
- [IMPROVED] Increased the resilience of replication to network failures.
- [FIXED] NPE when accessing indexes created in earlier versions that were
migrated to version 2. - [FIXED] Exception fetching attachments on a deleted revision.
- [FIXED] Correctly schedule periodic replications after WiFi connections have
been lost.
2.0.0 (2017-02-07)
- [BREAKING CHANGE] With the release of version 2.0 of the library,
there are a large number of breaking changes to package names,
classes and methods. API users will need to make changes to their
existing code in order to use this version of the library. Consult
the migration guide for a comprehensive list of
changes and suggested strategies to migrate your code. - [BREAKING CHANGE] The
name
field has been removed from
Attachment
. Additionally, thename
argument has been removed
from theUnsavedStreamAttachment
constructors. The name of the
attachment is the key used to add or retrieve the attachment to or
from the attachments map. - [IMPROVED]
DocumentStore.getInstance()
will try to create all
necessary sub-directories in order to construct the path represented
by theFile
argument. This differs from the behaviour of the 1.x
versions of the library which would only attempt to create one level
of directories. - [REMOVED] The
batchLimitPerRun
property has been removed from the
Pull and Push replicator builders. There is no limit to the number
of batches in a replicator run - the replicator will run to
completion unless an error occurs. - [IMPROVED] Removed limitation on
DocumentStore
names. Under the
oldDatastore
API, the directory containing the SQLite database
had to conform to the CouchDB database name restrictions. This no
longer applies. - [NOTE] The "CRUD Guide" markdown document (previously located in
doc/crud.md
) has been migrated to a
java source file. - [NEW]
advanced()
getter onDocumentStore
for specialist advanced use cases.
Adds support for creating specific document revisions with history. - [FIXED] Issue with double encoding of restricted URL characters in credentials when using
ReplicatorBuilder
. - [FIXED] Issue where push replicating a large number of attachments
could exhaust the operating system file handle limit, on some
platforms. - [FIXED] Issue querying indexed fields when combining the
$not
and
$size
operators.
1.1.5 (2016-12-08)
- [FIXED] Issue where replicator would not get the latest revision if
_bulk_get
was available.
1.1.4 (2016-11-23)
- [FIXED] Issue performing cookie authentication in version 1.1.3.