BREAKING read the announcement
-
Remove the deprecated PouchDB RxStorage.
-
REMOVE old
replication-couchdb
plugin. Renamereplication-couchdb-new
toreplication-couchdb
. -
Remove depricated
skipIfSame
fromputAttachment()
-
CHANGE use plain json errors inside of RxError parameters to make debugging easier.
-
CHANGE Make RxDocuments immutable
-
ADD
RxDocument.getLatest()
-
CHANGE
RxCollection.findByIds()
now returns aRxQuery
. -
REMOVED
RxCollection.findByIds$
, useRxCollection.findByIds().$
instead. -
CHANGE Prefix storage plugins with
storage-
likerxdb/plugins/storage-dexie
. -
RENAME
atomicUpdate()
toincrementalModify()
-
RENAME
atomicPatch()
toincrementalPatch()
-
RENAME
atomicUpsert()
toincrementalUpsert()
-
ADD
RxDocument().incrementalUpdate()
-
ADD
RxDocument.incrementalRemove()
-
ADD non-incremental
RxDocument
methodspatch()
andmodify()
-
ADD typings to the query selector
-
CHANGE start replication via pure functions instead of RxCollection methods.
-
CHANGE
RxDocument.$
emitsRxDocument
instances instead of the plain document data. -
ADD
push.initialCheckpoint
to start a replication from a given checkpoint. -
CHANGE Do not use hash for revisions but use database instance token instead.
-
CHANGE crunch multiple incremental (aka 'atomic') operations into a single database write. Also batch writes to multiple documents into a single write.
-
REMOVE deprecated
babel-plugin-transform-async-to-promises
plugin. -
CHANGE to reduce bundle size and improve performance, the following JavaScript features will no longer be transpiled:
Bugfixes:
- CHANGE (memory RxStorage) do not clean up database state on closing of the storage, only on
remove()
. - FIX CouchDB replication: Use correct default fetch method.
- FIX schema hashing should respect the sort order #4005
- FIX replication does not provide a
._rev
to the storage write when a conflict is resolved. - FIX(remote storage) ensure caching works properly even on parallel create-calls
- FIX(replication) Composite Primary Keys broken on replicated collections #4190
- FIX(sqlite) $in Query not working SQLite #4278
- FIX CouchDB push is throwing error because of missing revision #4299
- ADD dev-mode shows a
console.warn()
to ensure people do not use it in production. - Remove the usage of
Buffer
. We now useBlob
everywhere. - FIX import of socket.io #4307
- FIX Id length limit reached with composite key #4315
- FIX
$regex
query not working on remote storage. - FIX SQLite must store attachments data as Blob instead of base64 string to reduce the database size.
- FIX CouchDB replication conflict handling
- CHANGE Encryption plugin was renamed to
encryption-crypto-js
- FIX replication state meta data must also be encrypted.
- FIX crash with null in selector #4369
- FIX storage instances MUST NOT mutate the given database- and collection-name.
- REMOVE deprecated
babel-plugin-transform-async-to-promises
plugin. - ADD Ability to use a responseModifier for GraphQL push replication #4385
- FIX Add null check for isRxDocument #4406
NOTICE: An overview about all releases can be found at the changelog